summaryrefslogtreecommitdiffstats
path: root/libavcodec/atrac3.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-1/+2
|
* atrac3: avoid oversized shifting in decode_bytes()Xi Wang2013-03-151-1/+4
| | | | | | | | | | | | | | 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-131-1/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* atrac3: decode directly to the user-provided AVFrameJustin Ruggles2013-02-121-9/+5
|
* atrac3: use correct loop variable in add_tonal_components()Michael Karcher2013-01-251-1/+1
| | | | | | | 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-041-1/+2
| | | | 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-231-0/+1
| | | | Also fixes 3 compiler warnings about using uninitialized variables.
* atrac3: replace a calculation with FFALIGN()Justin Ruggles2012-10-221-2/+1
| | | | | 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-221-4/+0
|
* atrac3: use sizeof(variable) instead of sizeof(type)Justin Ruggles2012-10-221-6/+7
|
* atrac3: simplify MDCT window calculationJustin Ruggles2012-10-221-10/+7
|
* atrac3: initialize static tables in AVCodec.init_static_data()Justin Ruggles2012-10-221-26/+27
|
* atrac3: separate window initialization from IMDCT initializationJustin Ruggles2012-10-221-12/+9
|
* atrac3: move the 'frame_factor' field from ATRAC3Context to where it is usedJustin Ruggles2012-10-221-7/+6
|
* atrac3: remove unused ATRAC3Context field, bit_rateJustin Ruggles2012-10-221-2/+0
|
* atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is ↵Justin Ruggles2012-10-221-7/+6
| | | | used
* atrac3: remove unused ATRAC3Context field, samples_per_channelJustin Ruggles2012-10-221-3/+1
|
* atrac3: use AVCodecContext.block_align instead of keeping a private copyJustin Ruggles2012-10-221-17/+13
|
* atrac3: move the 'delay' field from ATRAC3Context to where it is usedJustin Ruggles2012-10-221-6/+5
|
* atrac3: move the 'version' field from ATRAC3Context to where it is usedJustin Ruggles2012-10-221-5/+5
|
* atrac3: use AVCodecContext.channels instead of keeping a private copyJustin Ruggles2012-10-221-21/+20
|
* atrac3: simplify some loop indexingJustin Ruggles2012-10-221-30/+30
|
* atrac3: cosmetics: pretty-printing and renamingJustin Ruggles2012-10-221-540/+519
| | | | also does some minor refactoring.
* atrac3: use float planar sample formatJustin Ruggles2012-10-011-37/+7
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* Add a float DSP framework to libavutilJustin Ruggles2012-06-081-4/+4
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-8/+8
| | | | | | | 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-161-0/+2
| | | | | | | | | | | | 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-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add ff_ prefix to some nonstatic symbolsMartin Storsjö2012-02-151-4/+4
| | | | | | 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-301-3/+3
|
* cosmetics: drop some completely pointless parenthesesDiego Biurrun2011-12-071-4/+7
|
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-13/+21
| | | | | | 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-291-10/+23
|
* atrac3: add CODEC_CAP_SUBFRAMES capabilityJustin Ruggles2011-10-291-0/+1
| | | | the decoder can handle multiple frames in a packet
* atrac3: return appropriate error codes instead of -1Justin Ruggles2011-10-291-14/+14
|
* atrac3: make sure all memory is freed on init failureJustin Ruggles2011-10-291-5/+9
|
* atrac3: add a couple macro constantsJustin Ruggles2011-10-291-13/+16
|
* atrac3: return error if packet is too smallJustin Ruggles2011-10-291-2/+1
|
* atrac3: check output buffer size before decodingJustin Ruggles2011-10-291-2/+8
|
* atrac3: use separate pointers for each channel in decodeFrame()Justin Ruggles2011-10-291-9/+8
|
* atrac3: use optimized float_interleave() function for stereo interleavingJustin Ruggles2011-10-291-7/+19
|
* atrac3: decode mono directly to the output bufferJustin Ruggles2011-10-291-14/+11
|
* atrac3: decode output to float samples instead of converting to s16Justin Ruggles2011-10-291-8/+7
|
* Add AVX FFT implementation.Vitor Sessak2011-04-261-3/+3
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Use av_log_ask_for_sample() to request samples from users.Diego Biurrun2011-04-221-1/+1
|
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-191-2/+2
| | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-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-261-1/+1
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud