summaryrefslogtreecommitdiff
path: root/libavcodec/atrac3.c
Commit message (Collapse)AuthorAge
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: remove unused traces of fmtconvert usageAnton Khirnov2015-02-28
| | | | | Those decoders have been switched to float output and so do not use fmtconvert anymore.
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* atrac3: Better name for IMDCT window initializationMaxim Poliakovski2013-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* atrac3: Remove unused gain compensation tablesMaxim Poliakovski2013-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* atrac3: Generalize gain compensation codeMaxim Poliakovski2013-10-03
| | | | | | Move it to the ATRAC common code, to reuse in the upcoming ATRAC3+ decoder. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Use correct Doxygen syntaxDiego Biurrun2013-10-03
|
* atrac3: Replace a silly counter variable name with plain 'j'Diego Biurrun2013-10-03
|
* cosmetics: Fix ATRAC codec name spellingDiego Biurrun2013-09-02
|
* atrac3: Error on impossible encoding/channel combinationsLuca Barbato2013-07-09
| | | | | | | Joint stereo encoded mono is impossible. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: set the getbits context the right buffer_endLuca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: fix error handlingLuca Barbato2013-07-09
| | | | | | | decode_tonal_components returns a proper AVERROR. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* atrac3: avoid oversized shifting in decode_bytes()Xi Wang2013-03-15
| | | | | | | | | | | | | | When `off' is 0, `0x537F6103 << 32' in the following expression invokes undefined behavior, the result of which is not necessarily 0. (0x537F6103 >> (off * 8)) | (0x537F6103 << (32 - (off * 8))) Avoid oversized shifting. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* atrac3: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* atrac3: use correct loop variable in add_tonal_components()Michael Karcher2013-01-25
| | | | | | | Signed-off-by: Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* atrac3: return an error if extradata_size is not a specific known sizeJustin Ruggles2012-10-23
| | | | Also fixes 3 compiler warnings about using uninitialized variables.
* atrac3: replace a calculation with FFALIGN()Justin Ruggles2012-10-22
| | | | | This allocates 4 bytes less than the previous code if avctx->block_align is a multiple of 4, but the extra 4 bytes is not really needed.
* atrac3: remove unused ATRAC3Context field, sample_rateJustin Ruggles2012-10-22
|
* atrac3: use sizeof(variable) instead of sizeof(type)Justin Ruggles2012-10-22
|
* atrac3: simplify MDCT window calculationJustin Ruggles2012-10-22
|
* atrac3: initialize static tables in AVCodec.init_static_data()Justin Ruggles2012-10-22
|
* atrac3: separate window initialization from IMDCT initializationJustin Ruggles2012-10-22
|
* atrac3: move the 'frame_factor' field from ATRAC3Context to where it is usedJustin Ruggles2012-10-22
|
* atrac3: remove unused ATRAC3Context field, bit_rateJustin Ruggles2012-10-22
|
* atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is ↵Justin Ruggles2012-10-22
| | | | used
* atrac3: remove unused ATRAC3Context field, samples_per_channelJustin Ruggles2012-10-22
|
* atrac3: use AVCodecContext.block_align instead of keeping a private copyJustin Ruggles2012-10-22
|
* atrac3: move the 'delay' field from ATRAC3Context to where it is usedJustin Ruggles2012-10-22
|
* atrac3: move the 'version' field from ATRAC3Context to where it is usedJustin Ruggles2012-10-22
|
* atrac3: use AVCodecContext.channels instead of keeping a private copyJustin Ruggles2012-10-22
|
* atrac3: simplify some loop indexingJustin Ruggles2012-10-22
|
* atrac3: cosmetics: pretty-printing and renamingJustin Ruggles2012-10-22
| | | | also does some minor refactoring.
* atrac3: use float planar sample formatJustin Ruggles2012-10-01
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Add a float DSP framework to libavutilJustin Ruggles2012-06-08
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* atrac3: Fix crash in tonal component decoding.Michael Niedermayer2012-02-16
| | | | | | | | | | | | Add a check to avoid writing past the end of the channel_unit.components[] array. Bug Found by: cosminamironesei Fixes CVE-2012-0853 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add ff_ prefix to some nonstatic symbolsMartin Storsjö2012-02-15
| | | | | | Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Drop unnecessary parentheses around return values.Diego Biurrun2011-12-30
|
* cosmetics: drop some completely pointless parenthesesDiego Biurrun2011-12-07
|
* 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.
* atrac3: support float or int16 output using request_sample_fmtJustin Ruggles2011-10-29
|
* atrac3: add CODEC_CAP_SUBFRAMES capabilityJustin Ruggles2011-10-29
| | | | the decoder can handle multiple frames in a packet