mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 16:42:33 -05:00
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
This commit is contained in:
parent
3a0a9915eb
commit
fc28cb4ed5
7 changed files with 1313 additions and 123 deletions
|
|
@ -31,6 +31,24 @@ compile cook.c and the related files outside ffmpeg.
|
|||
The decoder still uses floating point and relies on dynamic allocations
|
||||
in some parts of it. It's still not ready to be ported to rockbox.
|
||||
|
||||
CONVERSION TO FIXED-POINT
|
||||
|
||||
A patch from ffmpeg's mailing list was used to convert the decoder to
|
||||
use fixed-point arithmetic. The patch was done by Ian Braithwaite, and
|
||||
discussed here :
|
||||
|
||||
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/46024
|
||||
|
||||
The patch is a bit dated (2007) so the modifications to cook.c had to
|
||||
be done manually. The patch was also applied to cookdata.h and was
|
||||
used to create cookdata_fixpoint.h, cook_fixpoint.h and
|
||||
cook_fixp_mdct.h.
|
||||
|
||||
The patch used a cook_random() function for noise filling. this was
|
||||
dropped and av_lfg_get() was used instead for consistency.
|
||||
|
||||
Note : Only parts of the patch were committed to ffmpeg's repository.
|
||||
|
||||
TESTING
|
||||
|
||||
The test program should compile in any Unix-like environment using the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue