Marc Hoffman
f1639f69b4
cosmetics: adding some white space to align the arguments of a couple of functions
...
Originally committed as revision 9709 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
f999b63c77
float_t was a typo that compiled on macosx
...
Originally committed as revision 9703 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
dae92b62a3
fixpoint: move cplscales to context structure and provide hook for data format conversion
...
Originally committed as revision 9702 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
28d997f932
fixpoint: lowlevel functional abstraction for all buffer arithmetics
...
Originally committed as revision 9701 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
e66442f4e3
fixpoint: separate windowing arithmetic imlt_window_float
...
Originally committed as revision 9700 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
dc0c20f99b
separate the actual math for recovering stereo from a signal channel, this is to allow fixpoint implementation
...
Originally committed as revision 9698 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
29b4b8351b
separating saturation codes so that we can support other data formats
...
Originally committed as revision 9693 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
8c9d2954f7
moving automatic allocation of joint_decode/decode_buffer
...
to a statically allocated buffer decode_buffer_0 in cook instance.
Originally committed as revision 9692 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marc Hoffman
2843a452c9
cosmetic changing hardwired 20 to SUBBAND_SIZE
...
Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
de8e2c1d22
Use 1 array with double the size instead of 2 arrays with normal size
...
Eliminates need for concatenation and adds proper fix for FIXME
Originally committed as revision 8958 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
a5cb1f13ba
Add bias instead of -32 or 0, as is done in g.722.1
...
Originally committed as revision 8957 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
39938968e8
Indentation for previous patch
...
Originally committed as revision 8956 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
6b01997012
Add another tmpbias variable, as bias' value will be used later
...
Originally committed as revision 8955 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
cdb59552df
Fix logic for return value of init_vlc
...
Originally committed as revision 8954 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5a6a6cc7dc
Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.
...
Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
a31978e97c
Simplify, patch by Ramiro Polla.
...
ramiro ta lisha tod ufsc tod br
Originally committed as revision 8754 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
4620ce8bb8
Remove unused vars, patch by Ramiro Polla.
...
ramiro ta lisha tod ufsc tod br
Originally committed as revision 8753 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
d9fd5461aa
Remove unused vars, patch by Ramiro Polla.
...
ramiro ta lisha tod ufsc tod br
Originally committed as revision 8752 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
b707cbb3e8
Cosmetics, patch by Ramiro Polla.
...
ramiro ta lisha tod ufsc tod br
Originally committed as revision 8751 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
940d8f7614
As usual Real actually took something existing and rebranded it.
...
Cook looks very much like G.722.1.
Originally committed as revision 8723 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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