summaryrefslogtreecommitdiff
path: root/libavcodec/adxdec.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* adxdec: get rid of an avpriv functionAnton Khirnov2014-07-09
| | | | | The only thing the demuxer needs is the sample rate to set the timebase, which can be simply read with AV_RB32.
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* adx: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* adxdec: use planar sample formatJustin Ruggles2012-10-09
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* adxdec: clear eof flag and channel states when seekingJustin Ruggles2012-01-03
|
* adxdec: Do not require extradata.Michael Niedermayer2012-01-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* adx: rename ff_adx_decode_header() to avpriv_adx_decode_header()Justin Ruggles2011-11-26
| | | | | It is used by the ADX decoder, and therefore needs to be exported in order to work with shared libs.
* adx: add an ADX parser.Justin Ruggles2011-11-26
| | | | | | This simplifies the decoder so it doesn't have to process an in-packet header or handle arbitrary-sized packets. It also fixes decoding of files with large headers.
* adx: move header decoding to ADX common codeJustin Ruggles2011-11-26
|
* adx: calculate the number of blocks in a packetJustin Ruggles2011-11-26
|
* adx: define and use 2 new macro constants BLOCK_SIZE and BLOCK_SAMPLESJustin Ruggles2011-11-26
|
* adx: check for unsupported ADX formatsJustin Ruggles2011-11-26
|
* adx: calculate correct LPC coeffsJustin Ruggles2011-11-26
| | | | | | Instead of using fixed coefficients, the correct way is to calculate the coefficients using the highpass cutoff frequency from the ADX stream header and the sample rate.
* adx: use 12-bit coefficients instead of 14-bit to avoid integer overflowJustin Ruggles2011-11-26
|
* adx: simplify adx_decode() by using get_sbits() to read residual samplesJustin Ruggles2011-11-26
|
* adx: fix the data offset parsing in adx_decode_header()Justin Ruggles2011-11-26
| | | | | first 2 bytes are 0x80, 0x00. offset is only 16-bit. this is according to format descriptions on multimedia wiki and wikipedia.
* adx: remove unneeded post-decode channel interleavingJustin Ruggles2011-11-26
| | | | instead interleave channels while decoding
* adx: validate header valuesJustin Ruggles2011-11-26
|
* adx: cosmetics: general pretty-printing and comment clean-upJustin Ruggles2011-11-26
|
* adx: remove useless commentsJustin Ruggles2011-11-26
|
* adx: change short to int16_tJustin Ruggles2011-11-26
|
* adx: rename struct PREV to ADXChannelStateJustin Ruggles2011-11-26
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | 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
| | | | | | | 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 enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 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
* 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
* Change a bunch of codec long_names to be more consistent and descriptive.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix filenames in Doxygen comments.Diego Biurrun2009-01-26
| | | | Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark adx_decode_init() as type int instead of void, the function returnsDiego Biurrun2008-08-17
| | | | | | | a value. Fixes the warning: adxdec.c:36: warning: 'return' with a value, in function returning void Originally committed as revision 14814 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
* 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
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move adx.c to adxdec.cAurelien Jacobs2007-11-01
Originally committed as revision 10904 to svn://svn.ffmpeg.org/ffmpeg/trunk