diff options
Diffstat (limited to 'apps/codecs/libcook/README.rockbox')
-rw-r--r-- | apps/codecs/libcook/README.rockbox | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/codecs/libcook/README.rockbox b/apps/codecs/libcook/README.rockbox index 9447b96be5..b51508f8a9 100644 --- a/apps/codecs/libcook/README.rockbox +++ b/apps/codecs/libcook/README.rockbox | |||
@@ -31,6 +31,24 @@ compile cook.c and the related files outside ffmpeg. | |||
31 | The decoder still uses floating point and relies on dynamic allocations | 31 | The decoder still uses floating point and relies on dynamic allocations |
32 | in some parts of it. It's still not ready to be ported to rockbox. | 32 | in some parts of it. It's still not ready to be ported to rockbox. |
33 | 33 | ||
34 | CONVERSION TO FIXED-POINT | ||
35 | |||
36 | A patch from ffmpeg's mailing list was used to convert the decoder to | ||
37 | use fixed-point arithmetic. The patch was done by Ian Braithwaite, and | ||
38 | discussed here : | ||
39 | |||
40 | http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/46024 | ||
41 | |||
42 | The patch is a bit dated (2007) so the modifications to cook.c had to | ||
43 | be done manually. The patch was also applied to cookdata.h and was | ||
44 | used to create cookdata_fixpoint.h, cook_fixpoint.h and | ||
45 | cook_fixp_mdct.h. | ||
46 | |||
47 | The patch used a cook_random() function for noise filling. this was | ||
48 | dropped and av_lfg_get() was used instead for consistency. | ||
49 | |||
50 | Note : Only parts of the patch were committed to ffmpeg's repository. | ||
51 | |||
34 | TESTING | 52 | TESTING |
35 | 53 | ||
36 | The test program should compile in any Unix-like environment using the | 54 | The test program should compile in any Unix-like environment using the |