Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | 2013-10-03 | 1 | -2/+2 |
| | |||||
* | lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft | Anton Khirnov | 2013-03-09 | 1 | -18/+0 |
| | |||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -1/+1 |
| | |||||
* | g726: decode directly to the user-provided AVFrame | Justin Ruggles | 2013-02-12 | 1 | -9/+5 |
| | |||||
* | miscellaneous typo fixes | Diego Biurrun | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -1/+1 |
| | | | | It will be useful in the upcoming transition to refcounted AVFrames. | ||||
* | Include libavutil/channel_layout.h instead of libavutil/audioconvert.h | Justin Ruggles | 2012-11-11 | 1 | -1/+1 |
| | | | | Also reorder some other #include when applicable. | ||||
* | g726dec: do not validate sample rate | Justin Ruggles | 2012-11-01 | 1 | -8/+0 |
| | | | | For decoding it does not really matter what the sample rate is. | ||||
* | g726dec: set channel layout at initialization instead of validating it | Justin Ruggles | 2012-11-01 | 1 | -4/+4 |
| | |||||
* | avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -2/+2 |
| | |||||
* | cosmetics: Align codec declarations | Martin Storsjö | 2012-04-06 | 1 | -4/+5 |
| | | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | g726enc: use AVCodec.encode2() | Justin Ruggles | 2012-03-20 | 1 | -8/+21 |
| | |||||
* | Add avcodec_decode_audio4(). | Justin Ruggles | 2011-12-02 | 1 | -10/+19 |
| | | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders. | ||||
* | g726dec: add flush() function to reset state when seeking | Justin Ruggles | 2011-11-01 | 1 | -0/+7 |
| | |||||
* | g726: don't pass index to g726_reset() | Justin Ruggles | 2011-11-01 | 1 | -4/+4 |
| | | | | calculate it from c->code_size instead. | ||||
* | g726enc: add private option for setting code size directly. | Justin Ruggles | 2011-11-01 | 1 | -9/+29 |
| | | | | | This is an easy alternative to setting bit_rate. This patch also selects the closest bit_rate to the requested one rather than requiring an exact value. | ||||
* | g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check | Justin Ruggles | 2011-11-01 | 1 | -0/+2 |
| | |||||
* | g726: group the g726_encoder AVCodec with the other encoding functions | Justin Ruggles | 2011-11-01 | 1 | -15/+13 |
| | |||||
* | g726: return AVERROR(EINVAL) instead of -1 for invalid channel count | Justin Ruggles | 2011-11-01 | 1 | -2/+2 |
| | |||||
* | g726enc: use av_assert0() for sample_rate validation | Justin Ruggles | 2011-11-01 | 1 | -4/+2 |
| | | | | This should never happen, but the check avoids a divide-by-zero. | ||||
* | g726: treat sample rates other than 8kHz as unofficial. | Justin Ruggles | 2011-11-01 | 1 | -0/+15 |
| | |||||
* | g726dec: remove the sample_rate validation | Justin Ruggles | 2011-11-01 | 1 | -5/+0 |
| | |||||
* | g726: use bits_per_coded_sample instead of bitrate to determine mode | Justin Ruggles | 2011-11-01 | 1 | -21/+19 |
| | | | | | | | | | | This requires some workarounds in the WAV muxer and demuxer. We need to write the correct bits_per_coded_sample and block_align in the muxer. In the demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit rate and sample rate to determine the value. This avoids having the decoder rely on AVCodecContext.bit_rate, which is not required to be set by the user for decoding according to our API. | ||||
* | g726: split the init function for the encoder and decoder | Justin Ruggles | 2011-11-01 | 1 | -14/+35 |
| | | | | This also allows for not having a decoder close function. | ||||
* | g726: pre-calculate the number of output samples. | Justin Ruggles | 2011-11-01 | 1 | -3/+11 |
| | | | | Allows for checking output buffer size and simplification of decoding loop. | ||||
* | g726: use int16_t instead of short | Justin Ruggles | 2011-11-01 | 1 | -2/+2 |
| | |||||
* | lavc: use designated initialisers for all codecs. | Anton Khirnov | 2011-07-29 | 1 | -16/+14 |
| | | | | It's more readable and less prone to breakage. | ||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf. | Diego Elio Pettenò | 2011-01-26 | 1 | -2/+2 |
| | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum | Stefano Sabatini | 2010-11-12 | 1 | -2/+2 |
| | | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Set a constant frame size for encoding G.726 audio. | Justin Ruggles | 2010-09-11 | 1 | -1/+8 |
| | | | | Originally committed as revision 25107 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Use "const" qualifier for pointers that point to input data of | Reimar Döffinger | 2010-07-24 | 1 | -1/+1 |
| | | | | | | | 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, which | Stefano Sabatini | 2010-03-30 | 1 | -2/+2 |
| | | | | | | 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 of | Reimar Döffinger | 2009-09-06 | 1 | -1/+1 |
| | | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Rename bitstream.h to get_bits.h. | Stefano Sabatini | 2009-04-13 | 1 | -1/+1 |
| | | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Split bitstream.h, put the bitstream writer stuff in the new file | Stefano Sabatini | 2009-04-12 | 1 | -0/+1 |
| | | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an | Thilo Borgmann | 2009-04-07 | 1 | -1/+3 |
| | | | | | | | | | | | 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 Biurrun | 2009-01-19 | 1 | -1/+1 |
| | | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Change semantic of CONFIG_*, HAVE_* and ARCH_*. | Aurelien Jacobs | 2009-01-13 | 1 | -3/+3 |
| | | | | | | 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 specific | Diego Biurrun | 2008-09-03 | 1 | -4/+4 |
| | | | | | | 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 Aimar | 2008-09-02 | 1 | -1/+8 |
| | | | | | | 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 Ross | 2008-07-31 | 1 | -0/+4 |
| | | | | 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 Niedermayer | 2008-06-19 | 1 | -2/+2 |
| | | | | Originally committed as revision 13818 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Factorize c->ap += (-c->ap) >> 4 out | Michael Niedermayer | 2008-06-19 | 1 | -3/+4 |
| | | | | Originally committed as revision 13817 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Get rid of G726Tables.bits. | Michael Niedermayer | 2008-06-19 | 1 | -9/+8 |
| | | | | Originally committed as revision 13816 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Copy 4 pointers to avid dozends of ptr dereferences. | Michael Niedermayer | 2008-06-19 | 1 | -11/+11 |
| | | | | Originally committed as revision 13815 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Does not need to be int16. | Michael Niedermayer | 2008-06-19 | 1 | -1/+1 |
| | | | | Originally committed as revision 13814 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Factorize I >> (c->tbls->bits - 1) out. | Michael Niedermayer | 2008-06-19 | 1 | -2/+3 |
| | | | | Originally committed as revision 13812 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | 1 abs() less | Michael Niedermayer | 2008-06-19 | 1 | -4/+5 |
| | | | | Originally committed as revision 13810 to svn://svn.ffmpeg.org/ffmpeg/trunk |