Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Queries reagarding Cook Decoder Std

RE: Queries reagarding Cook Decoder Std

From: Mike Giacomelli <giac2000_at_hotmail.com>
Date: Wed, 19 May 2010 07:59:28 -0700

> I want floating point as i have a hardware floating point unit. Since
> the base version of libcook is floating point based(is from FFMpeg), I
> took that.

You shouldn't be using the rockbox decoder at all then.  It intended for devices with no FPU.  Use ffmpeg as Dave suggested.


> I want to get rid off all the table calculations, as most
> of the tables are calculated as part of initialization, so calculating
> this before hand is required as I don't have any math library function
> (cos,sin,sinf,sqrt).
>
> Can you help let me know if now my question make sense?
> Please help, I will greatly appreciate your response.


Dump the values generated by the ffmpeg decoder to disk, then put them as constants in your program.  The rockbox decoder already does this, though obviously you won't be able to use its values since they will not be floating point.  

Mike
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
Received on 2010-05-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy