Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-12 | ape: decode directly to the user-provided AVFrame | Justin Ruggles | |
2012-12-05 | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | |
It will be useful in the upcoming transition to refcounted AVFrames. | |||
2012-11-11 | Include libavutil/channel_layout.h instead of libavutil/audioconvert.h | Justin Ruggles | |
Also reorder some other #include when applicable. | |||
2012-10-01 | apedec: output in planar sample format | Justin Ruggles | |
2012-09-05 | avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-09-05 | avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-08-07 | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | |
2012-05-10 | ape: Use unsigned integer maths | Christophe Gisquet | |
This involves a division that should be a shift. Signed-off-by: Diego Biurrun <diego@biurrun.de> | |||
2012-04-06 | cosmetics: Align codec declarations | Martin Storsjö | |
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> | |||
2012-03-31 | apedec: check bits <= 32. | Michael Niedermayer | |
Fixes a floating-point exception further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> | |||
2012-02-16 | dsputil: Add ff_ prefix to the dsputil*_init* functions | Martin Storsjö | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2012-02-07 | apedec: allow the user to set the maximum number of output samples per call | Justin Ruggles | |
It makes sense in some cases to split up the output packet to save on memory usage (ape frames can be very large), but the current/default size is arbitrary. Allowing the user to configure this gives more flexibility and requires minimal additional code. | |||
2012-02-07 | apedec: do not unnecessarily zero output samples for mono frames | Justin Ruggles | |
2012-02-07 | apedec: allocate a single flat buffer for decoded samples | Justin Ruggles | |
This will allow the decoder to return samples for the full packet, and it also makes the decoded buffer pointers aligned. | |||
2012-02-07 | apedec: use sizeof(field) instead of sizeof(type) | Justin Ruggles | |
2012-02-04 | apedec: 8bit and 24bit support | Paul B Mahol | |
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | |||
2012-02-03 | apedec: remove unneeded #include of get_bits.h and associated macro | Justin Ruggles | |
2012-02-03 | apedec: av_fast_malloc() instead of av_realloc() | Justin Ruggles | |
av_realloc() does not guarantee alignment, which is required for DSPContext.bswap_buf(). | |||
2012-02-03 | apedec: fix handling of packet sizes that are not a multiple of 4 bytes | Justin Ruggles | |
2011-12-22 | Drop ALT_ prefix from BITSTREAM_READER_LE name. | Diego Biurrun | |
The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore. | |||
2011-12-03 | Add avcodec_decode_audio4(). | Justin Ruggles | |
Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders. | |||
2011-11-26 | apedec: fix signed integer overflows | Mans Rullgard | |
This bit manipulation is equivalent but avoids undefined shifts and overflows. Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2011-11-10 | apedec: consume the whole packet when copying to the decoder buffer. | Justin Ruggles | |
This avoids artifically consuming a partial packet but ignoring remaining data in subsequent calls. | |||
2011-11-10 | apedec: do not needlessly copy s->samples to nblocks. | Justin Ruggles | |
also move nblocks to the local scope where it is used. | |||
2011-11-10 | apedec: check output buffer size after calculating actual output size | Justin Ruggles | |
2011-11-10 | apedec: remove unneeded entropy decoder normalization. | Justin Ruggles | |
The decoder already skips data at the end of the packet without this. Also remove 2 APEContext fields that were only used for the end-of-frame normalization. | |||
2011-10-28 | apedec: assert that s->samples is not negative before trying to decode | Justin Ruggles | |
2011-10-28 | apedec: use FFALIGN macro for internal data buffer size | Justin Ruggles | |
2011-10-28 | apedec: do not keep incrementing the input data pointer past the end of the | Justin Ruggles | |
buffer during entropy decoding. The pointer address could overflow, which would likely segfault. Instead set the context error flag to indicate that the decoder tried to read past the end of the packet data. | |||
2011-10-28 | apedec: check for input buffer overflow while reading frame header | Justin Ruggles | |
2011-10-28 | apedec: use unsigned int for offset | Justin Ruggles | |
avoids implementation-defined unsigned-to-signed conversion and simplifies the bounds checking. | |||
2011-10-28 | apedec: remove pointless increment of 'buf' | Justin Ruggles | |
The variable is not used anymore at that point. | |||
2011-10-28 | apedec: set s->currentframeblocks after validating nblocks | Justin Ruggles | |
2011-10-28 | apedec: use unsigned int for 'nblocks' and make sure that it's within int range | Justin Ruggles | |
2011-10-28 | apedec: do not set s->samples until after validation. | Justin Ruggles | |
This prevents errors and/or invalid writes in the next decode call due to s->samples still being negative. | |||
2011-10-28 | apedec: check for data buffer realloc failure | Justin Ruggles | |
2011-10-28 | apedec: return meaningful error values in ape_decode_frame() | Justin Ruggles | |
2011-10-28 | apedec: correct an error message | Justin Ruggles | |
2011-10-28 | apedec: cosmetics | Justin Ruggles | |
break some excessively long lines and remove space after '*' | |||
2011-10-28 | apedec: return meaningful error codes from ape_decode_init() | Justin Ruggles | |
2011-10-28 | apedec: check for filter buffer allocation failure | Justin Ruggles | |
2011-10-28 | apedec: use memcpy for pseudo-stereo mode | Justin Ruggles | |
2011-10-28 | apedec: remove unneeded check for zero-size packet. | Justin Ruggles | |
This is already checked by avcodec_decode_audio3(). | |||
2011-07-29 | lavc: use designated initialisers for all codecs. | Anton Khirnov | |
It's more readable and less prone to breakage. | |||
2011-07-02 | doxygen: Prefer member groups over grouping into modules | Reinhard Tartler | |
Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances. | |||
2011-03-19 | Replace FFmpeg with Libav in licence headers | Mans Rullgard | |
Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2011-02-15 | Merge libavcore into libavutil | Reinhard Tartler | |
It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de> | |||
2011-02-06 | Replace remaining occurrences of deprecated CH_* with AV_CH_* | Anton Khirnov | |
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||
2011-01-26 | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf. | Diego Elio Pettenò | |
None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> | |||
2010-11-12 | Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum | Stefano Sabatini | |
SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk |