summaryrefslogtreecommitdiff
path: root/libavcodec/g726.c
Commit message (Collapse)AuthorAge
* Use "const" qualifier for pointers that point to input data ofReimar Döffinger2010-07-24
| | | | | | | audio encoders. This is purely for clarity/documentation purposes. Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-06
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace generic CONFIG_ENCODERS preprocessor conditionals by more specificDiego Biurrun2008-09-03
| | | | | | CONFIG_FOO_ENCODER conditionals where appropriate. Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent a division by 0 in the g726 decoder when the configured samplerate is 0.Laurent Aimar2008-09-02
| | | | | | patch by Laurent Aimar, fenrir via.ecp fr Originally committed as revision 15160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not shift F[I] twice, it is also clearer and smaller now.Michael Niedermayer2008-06-19
| | | | Originally committed as revision 13818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize c->ap += (-c->ap) >> 4 outMichael Niedermayer2008-06-19
| | | | Originally committed as revision 13817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of G726Tables.bits.Michael Niedermayer2008-06-19
| | | | Originally committed as revision 13816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Copy 4 pointers to avid dozends of ptr dereferences.Michael Niedermayer2008-06-19
| | | | Originally committed as revision 13815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Does not need to be int16.Michael Niedermayer2008-06-19
| | | | Originally committed as revision 13814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize I >> (c->tbls->bits - 1) out.Michael Niedermayer2008-06-19
| | | | Originally committed as revision 13812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1 abs() lessMichael Niedermayer2008-06-19
| | | | Originally committed as revision 13810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2008-06-18
| | | | Originally committed as revision 13807 to svn://svn.ffmpeg.org/ffmpeg/trunk
* useless ()Michael Niedermayer2008-06-18
| | | | Originally committed as revision 13806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded tr == 0Michael Niedermayer2008-06-18
| | | | Originally committed as revision 13805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2008-06-18
| | | | Originally committed as revision 13804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of the redundant AVG726Context.Michael Niedermayer2008-06-18
| | | | Originally committed as revision 13803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the truncated bitstream handling from our g726 decoder.Michael Niedermayer2008-06-18
| | | | | | The stuff belongs in a parser. Originally committed as revision 13802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change iquant tables to int16.Michael Niedermayer2008-06-17
| | | | Originally committed as revision 13798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2008-06-17
| | | | Originally committed as revision 13797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of useless wrapper function.Michael Niedermayer2008-06-17
| | | | Originally committed as revision 13796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not inline g726_iterate() the function is big so its inlining willMichael Niedermayer2008-06-17
| | | | | | | not help speedwise IMHO. .o size changes from 70k -> 49k Originally committed as revision 13793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace i2f(0) by the actual thing done, gcc is not an optimizing compiler.Michael Niedermayer2008-06-16
| | | | | | a little over 1kb smaller .o Originally committed as revision 13792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant zeroing (the context is memset(0)).Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use smaller data types for tables.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Float11 does not need int, .o file becomes smaller and the code mightMichael Niedermayer2008-06-16
| | | | | | be faster. Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2008-06-16
| | | | Originally committed as revision 13788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct validity checks.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print sane error message for channels != 1.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check number of bits so we do not try to use table entries which do not exist.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13785 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support decoding of sample_g726.asf.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get_bits() outputs exactly as many bits as requested no need to mask them.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13782 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead code.Michael Niedermayer2008-06-16
| | | | Originally committed as revision 13781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* -0x8000 == 0x8000 with int16Michael Niedermayer2008-06-13
| | | | | | fixes segfault / issue491 Originally committed as revision 13767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ;;Michael Niedermayer2008-02-19
| | | | Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark the tables in g726.c as constant.Diego Pettenò2008-01-07
| | | | | | Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11444 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* Add av_ prefix to clip functionsReimar Döffinger2007-02-25
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentation, patch by From: Steve Lhomme, slhomme divxcorp comSteve L'Homme2006-11-01
| | | | Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk