Ian Braithwaite
058ee0cf95
Small simplifications to subband coefficient handling and use av_random().
...
Patch by Ian Braithwaite ian .. braithwaite ... dk
Originally committed as revision 8456 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Braithwaite
baab295750
subband_coef_noise -> subband_coef_sign
...
Cosmetics patch by Ian Braithwaite ian .. braithwaite dot dk
Originally committed as revision 8417 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Braithwaite
85e7386ae0
Combine the window and overlap loops,
...
and get rid of the data swapping.
Patch by Ian Braithwaite <dk dot braithwaite at ian>
Originally committed as revision 8387 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Braithwaite
e7485bf378
Replace custom modified discrete cosine transform with ffmpeg's own.
...
This does alter the decoded output, but not by much.
The new output is closer to that produced by Real's "official" decoder,
and the decoder runs slightly faster.
Patch by Ian Braithwaite ian at braithwaite dot dk
Originally committed as revision 8325 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Braithwaite
d0429b4ff5
Simplify gain block handling.
...
Patch by Ian Braithwaite <ian at braithwaite dot dk>
Originally committed as revision 8298 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Braithwaite
4ff5e6563e
Don't output the first two frames, since they don't contain valid audio.
...
This also eases comparison of decoded output with Real's binary decoder.
Patch by Ian Braithwaite <ian at braithwaite dot dk>
Originally committed as revision 8297 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
0564528eff
Clairyfication of the gain tool struct.
...
Originally committed as revision 8023 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
dd462087fd
Don't use byte swaps and use the more portable way
...
of declaring aligned buffers.
Originally committed as revision 8021 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
753c9d3260
Check that js_vlc_bits from the extradata is in a valid range.
...
Originally committed as revision 7756 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
862be28b19
Get rid of the COOKextradata struct. And use valid C to parse the extradata.
...
Originally committed as revision 7755 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
6e584be16c
Kill a warning and don't use modulus.
...
Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
a5b8a69c70
decode_subpacket cleanup by Ian Braithwaite ian braithwaite dot dk.
...
Originally committed as revision 7753 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
d7973906de
Sort out the diffrent cook versions.
...
Originally committed as revision 7739 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
70ab75eb6a
Cook stereo (MONO_COOK2) bugfix, by Ian Braithwaite.
...
ian at braithwaite dot dk.
Originally committed as revision 7738 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
b3203b64c6
Get rid of one warning.
...
Originally committed as revision 7735 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
162b983598
av_log(NULL,... -> av_log(avctx,.. where appropriate.
...
Originally committed as revision 7319 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
5902bdd8d4
cook shouldn't try to enforce the bitstream reader type
...
Originally committed as revision 6080 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
3a1a7e32ac
sanity checks, some might have been exploitable ...
...
Originally committed as revision 5369 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alexander Strasser
5c4b1b2538
Don't use pow/powf functions where we just need integer arithmetic.
...
approved by Benjamin
Originally committed as revision 4973 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
2e9c78d354
Fix broken cosmetics commit and add a check for valid headers.
...
Originally committed as revision 4945 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
7f129a33b1
Small cosmetics and better variable names.
...
Originally committed as revision 4944 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
51bb91cb24
Incorrect check removed.
...
Originally committed as revision 4823 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
560b10a6c3
Dual mono stereo strems sound ok now, added sanity checks and removed
...
some unused variables and redundant memsets.
Patch by Benjamin Larsson
Originally committed as revision 4816 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
7022003581
Fix an out of array access and some minor cleanup of the code.
...
All available cook samples decode correctly now.
patch by Benjamin Larsson < banan ** at ** student ** dot ** ltu ** dot ** se >
Originally committed as revision 4810 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
b7c24ff668
This patch adds some support for non-joint stereo streams. It also
...
removes some fixmes.
Patch by Benjamin Larsson
Originally committed as revision 4733 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
e0f7e32970
Cook compatibe decoder, patch by Benjamin Larsson
...
Add cook demucing, change rm demuxer so that it reorders audio packets
before sending them to the decoder, and send minimum decodeable sized
packets; pass only real codec extradata fo the decoder
Fix 28_8 decoder for the new demuxer strategy
Originally committed as revision 4726 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago