summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
Commit message (Collapse)AuthorAge
* Remove redundant #inclusion of common.h, avcodec.h already #includes it.Diego Biurrun2007-05-10
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use 1 array with double the size instead of 2 arrays with normal sizeRamiro Polla2007-05-09
| | | | | | Eliminates need for concatenation and adds proper fix for FIXME Originally committed as revision 8958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add bias instead of -32 or 0, as is done in g.722.1Ramiro Polla2007-05-09
| | | | Originally committed as revision 8957 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Indentation for previous patchRamiro Polla2007-05-09
| | | | Originally committed as revision 8956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add another tmpbias variable, as bias' value will be used laterRamiro Polla2007-05-09
| | | | Originally committed as revision 8955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix logic for return value of init_vlcRamiro Polla2007-05-09
| | | | Originally committed as revision 8954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.Diego Biurrun2007-05-05
| | | | Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify, patch by Ramiro Polla.Ramiro Polla2007-04-18
| | | | | | ramiro ta lisha tod ufsc tod br Originally committed as revision 8754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused vars, patch by Ramiro Polla.Ramiro Polla2007-04-18
| | | | | | ramiro ta lisha tod ufsc tod br Originally committed as revision 8753 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused vars, patch by Ramiro Polla.Ramiro Polla2007-04-18
| | | | | | ramiro ta lisha tod ufsc tod br Originally committed as revision 8752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics, patch by Ramiro Polla.Ramiro Polla2007-04-18
| | | | | | ramiro ta lisha tod ufsc tod br Originally committed as revision 8751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* As usual Real actually took something existing and rebranded it.Benjamin Larsson2007-04-12
| | | | | | Cook looks very much like G.722.1. Originally committed as revision 8723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Small simplifications to subband coefficient handling and use av_random().Ian Braithwaite2007-03-20
| | | | | | Patch by Ian Braithwaite ian .. braithwaite ... dk Originally committed as revision 8456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* subband_coef_noise -> subband_coef_signIan Braithwaite2007-03-15
| | | | | | Cosmetics patch by Ian Braithwaite ian .. braithwaite dot dk Originally committed as revision 8417 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine the window and overlap loops,Ian Braithwaite2007-03-13
| | | | | | | | 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
* Replace custom modified discrete cosine transform with ffmpeg's own.Ian Braithwaite2007-03-11
| | | | | | | | | | 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
* Simplify gain block handling.Ian Braithwaite2007-03-08
| | | | | | Patch by Ian Braithwaite <ian at braithwaite dot dk> Originally committed as revision 8298 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't output the first two frames, since they don't contain valid audio.Ian Braithwaite2007-03-08
| | | | | | | | 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
* Add av_ prefix to clip functionsReimar Döffinger2007-02-25
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clairyfication of the gain tool struct.Benjamin Larsson2007-02-18
| | | | Originally committed as revision 8023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't use byte swaps and use the more portable wayBenjamin Larsson2007-02-18
| | | | | | of declaring aligned buffers. Originally committed as revision 8021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that js_vlc_bits from the extradata is in a valid range.Benjamin Larsson2007-01-29
| | | | Originally committed as revision 7756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of the COOKextradata struct. And use valid C to parse the extradata.Benjamin Larsson2007-01-29
| | | | Originally committed as revision 7755 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Kill a warning and don't use modulus.Benjamin Larsson2007-01-29
| | | | Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* decode_subpacket cleanup by Ian Braithwaite ian braithwaite dot dk.Benjamin Larsson2007-01-29
| | | | Originally committed as revision 7753 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sort out the diffrent cook versions.Benjamin Larsson2007-01-28
| | | | Originally committed as revision 7739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cook stereo (MONO_COOK2) bugfix, by Ian Braithwaite.Benjamin Larsson2007-01-28
| | | | | | ian at braithwaite dot dk. Originally committed as revision 7738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of one warning.Benjamin Larsson2007-01-27
| | | | Originally committed as revision 7735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_log(NULL,... -> av_log(avctx,.. where appropriate.Benjamin Larsson2006-12-14
| | | | Originally committed as revision 7319 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cook shouldn't try to enforce the bitstream reader typeAurelien Jacobs2006-08-24
| | | | Originally committed as revision 6080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sanity checks, some might have been exploitable ...Michael Niedermayer2006-05-13
| | | | Originally committed as revision 5369 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't use pow/powf functions where we just need integer arithmetic.Alexander Strasser2006-02-10
| | | | | | approved by Benjamin Originally committed as revision 4973 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix broken cosmetics commit and add a check for valid headers.Benjamin Larsson2006-02-06
| | | | Originally committed as revision 4945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Small cosmetics and better variable names.Benjamin Larsson2006-02-06
| | | | Originally committed as revision 4944 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Incorrect check removed.Benjamin Larsson2006-01-07
| | | | Originally committed as revision 4823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dual mono stereo strems sound ok now, added sanity checks and removedBenjamin Larsson2006-01-06
| | | | | | | some unused variables and redundant memsets. Patch by Benjamin Larsson Originally committed as revision 4816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix an out of array access and some minor cleanup of the code.Benjamin Larsson2006-01-04
| | | | | | | 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
* This patch adds some support for non-joint stereo streams. It alsoBenjamin Larsson2005-12-11
| | | | | | | removes some fixmes. Patch by Benjamin Larsson Originally committed as revision 4733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cook compatibe decoder, patch by Benjamin LarssonBenjamin Larsson2005-12-09
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