summaryrefslogtreecommitdiff
path: root/libavcodec/atrac1.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* atrac1: do not keep a copy of channel count in the private contextJustin Ruggles2012-11-011-4/+2
|
* atrac1: use planar sample formatJustin Ruggles2012-10-091-25/+4
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* 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>
* 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-3/+3
| | | | | | Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-9/+17
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* atrac1: use correct context for av_log()Justin Ruggles2011-11-101-1/+1
|
* atrac1: return appropriate error codes instead of -1Justin Ruggles2011-10-291-5/+5
|
* atrac1: check for ff_mdct_init() failureJustin Ruggles2011-10-291-15/+22
|
* atrac1: use optimized float_interleave() function for stereo interleavingJustin Ruggles2011-10-291-7/+19
|
* atrac1: fix a typoJustin Ruggles2011-10-291-1/+1
|
* atrac1: validate number of channelsJustin Ruggles2011-10-291-0/+5
|
* atrac1: decode mono audio directly to output bufferJustin Ruggles2011-10-291-6/+2
| | | | | For stereo we need to use intermediate planar buffers, but mono does not need to be deinterleaved so the output buffer can be used directly.
* atrac1: check output buffer size before decodingJustin Ruggles2011-10-291-2/+9
|
* Add AVX FFT implementation.Vitor Sessak2011-04-261-10/+10
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Move sine windows to a separate fileMans Rullgard2011-03-201-0/+1
| | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-191-1/+1
| | | | | | | 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>
* Remove unneeded add bias from 3 functions.Justin Ruggles2011-01-311-1/+1
| | | | | | | | DSPContext.vector_fmul_window() DCADSPContext.lfe_fir() SynthFilterContext.synth_filter_float() 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>
* Rename sf_table in atrac.c unit to ff_atrac_sf_table.Diego Elio Pettenò2011-01-241-1/+1
| | | | | | | This ensures a locally-unique name as well as marks the symbol as FFmpeg-private at least by declaration. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-121-1/+1
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-211-9/+4
| | | | | | to the audio conversion routines. Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make some functions staticMåns Rullgård2010-03-061-1/+1
| | | | | | | These functions are not used outside their respective files, and they lack a prototype in a header. Originally committed as revision 22259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move FFT parts from dsputil.h to fft.hMåns Rullgård2010-03-061-0/+1
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-061-10/+10
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-221-10/+10
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for hard-coded MDCT-related ff_sine_windows tables.Reimar Döffinger2010-01-091-1/+1
| | | | Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent code folowing previous commit (r20019)Vitor Sessak2009-09-241-18/+18
| | | | Originally committed as revision 20020 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize duplicated code in at1_imdct_block()Vitor Sessak2009-09-241-18/+17
| | | | Originally committed as revision 20019 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mention SDDS so search engines will pick it up for when someoneBenjamin Larsson2009-09-221-1/+1
| | | | | | needs to decode the SDDS tracks found on 35 mm movies. Originally committed as revision 19968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_sine_32 in atrac1.Benjamin Larsson2009-09-221-5/+3
| | | | Originally committed as revision 19967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add forgotten cleanup function in atrac1.Benjamin Larsson2009-09-211-1/+12
| | | | Originally committed as revision 19954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics, indentation.Benjamin Larsson2009-09-211-1/+1
| | | | Originally committed as revision 19953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics. Merge declaration and initialization.Benjamin Larsson2009-09-211-3/+1
| | | | Originally committed as revision 19952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the scale factor and word length indexes to the stack.Benjamin Larsson2009-09-211-7/+7
| | | | Originally committed as revision 19951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-201-2/+2
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix embarassing typo in last commit: Restore mistakenly removed ','.Diego Biurrun2009-09-201-1/+1
| | | | Originally committed as revision 19930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* K&R coding style whitespace cosmeticsDiego Biurrun2009-09-201-47/+48
| | | | Originally committed as revision 19929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align sample output buffer in atrac1.Benjamin Larsson2009-09-191-1/+1
| | | | Originally committed as revision 19918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the short block transform for atrac1.Benjamin Larsson2009-09-191-15/+7
| | | | Originally committed as revision 19917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only use one mdct window size in atrac1.Benjamin Larsson2009-09-171-50/+22
| | | | Originally committed as revision 19900 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics. Renames, indentation and spacing.Benjamin Larsson2009-09-131-20/+28
| | | | Originally committed as revision 19832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initial commit of the atrac1 decoder, not hooked up yetBenjamin Larsson2009-09-101-0/+402
Originally committed as revision 19811 to svn://svn.ffmpeg.org/ffmpeg/trunk