summaryrefslogtreecommitdiff
path: root/apps/codecs/libcook/README.rockbox
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-05-10 22:26:02 +0000
committerDave Chapman <dave@dchapman.com>2009-05-10 22:26:02 +0000
commitfc28cb4ed5adf4a0bc548af38ca6de95bbf027e5 (patch)
tree5902a50d7efe84a5f3e6270c464dbf54572a744a /apps/codecs/libcook/README.rockbox
parent3a0a9915eb802d558c0399d17a5ac045934d6be1 (diff)
downloadrockbox-fc28cb4ed5adf4a0bc548af38ca6de95bbf027e5.tar.gz
rockbox-fc28cb4ed5adf4a0bc548af38ca6de95bbf027e5.zip
Patch by Mohamed Tarek from FS#10182 - convert codec to fixed-point using patches submitted to the ffmpeg mailing list in 2007 by Ian Braithwaite.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20901 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/README.rockbox')
-rw-r--r--apps/codecs/libcook/README.rockbox18
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.
31The decoder still uses floating point and relies on dynamic allocations 31The decoder still uses floating point and relies on dynamic allocations
32in some parts of it. It's still not ready to be ported to rockbox. 32in some parts of it. It's still not ready to be ported to rockbox.
33 33
34CONVERSION TO FIXED-POINT
35
36A patch from ffmpeg's mailing list was used to convert the decoder to
37use fixed-point arithmetic. The patch was done by Ian Braithwaite, and
38discussed here :
39
40http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/46024
41
42The patch is a bit dated (2007) so the modifications to cook.c had to
43be done manually. The patch was also applied to cookdata.h and was
44used to create cookdata_fixpoint.h, cook_fixpoint.h and
45cook_fixp_mdct.h.
46
47The patch used a cook_random() function for noise filling. this was
48dropped and av_lfg_get() was used instead for consistency.
49
50Note : Only parts of the patch were committed to ffmpeg's repository.
51
34TESTING 52TESTING
35 53
36The test program should compile in any Unix-like environment using the 54The test program should compile in any Unix-like environment using the