summaryrefslogtreecommitdiff
path: root/libavcodec/twinvq.c
Commit message (Collapse)AuthorAge
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* twinvq: validate sample rate codeJustin Ruggles2012-11-01
| | | | | A large invalid value could cause undefined behavior when left-shifted by 8 later in the function.
* twinvq: set channel layoutJustin Ruggles2012-11-01
|
* twinvq: validate that channels is not <= 0Justin Ruggles2012-11-01
| | | | | This could occur due to integer overflow when reading the channel count from the extradata.
* twinvq: use 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.
* twinvq: fix out of bounds array accessMans Rullgard2012-05-01
| | | | | | | | | ModeTab.fmode has only 3 elements, so indexing it with ftype in the initialier for 'size' is invalid when ftype == FT_PPC. This fixes crashes with gcc 4.8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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.
* twinvq: add SSE/AVX optimized sum/difference stereo interleavingJustin Ruggles2011-11-11
|
* vqf/twinvq: pass vqf COMM chunk info in extradataJustin Ruggles2011-11-11
| | | | | | This is needed because the twinvq decoder cannot rely on bit_rate to be set. The API documentation says that bit_rate is set by libavcodec, not by the user.
* twinvq: check for allocation failure in init_mdct_win()Justin Ruggles2011-11-11
|
* twinvq: check output buffer size before decodingJustin Ruggles2011-10-22
|
* twinvq: return an error when the packet size is too smallJustin Ruggles2011-10-22
|
* Use explicit struct initializers for AVCodec declarations.Diego Biurrun2011-09-24
|
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vorbis: Rename decoder/encoder files to follow general file naming scheme.Diego Biurrun2011-04-23
|
* Move sine windows to a separate fileMans Rullgard2011-03-20
| | | | | | | 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-19
| | | | | | | 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-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unneeded add bias from 3 functions.Justin Ruggles2011-01-31
| | | | | | | | 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-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-22
| | | | 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
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* twinvq: remove VLAsMåns Rullgård2010-06-25
| | | | Originally committed as revision 23775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-21
| | | | | | to the audio conversion routines. Originally committed as revision 22937 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
* Move FFT parts from dsputil.h to fft.hMåns Rullgård2010-03-06
| | | | Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for hard-coded MDCT-related ff_sine_windows tables.Reimar Döffinger2010-01-09
| | | | Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing include. Fix the following compiler warnings:Vitor Sessak2009-11-23
| | | | | | | twinvq.c: In function 'decode_lsp': twinvq.c:575: warning: implicit declaration of function 'ff_sort_nearly_sorted_floats' Originally committed as revision 20594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sorting function used in TwinVQ a shared functionVitor Sessak2009-11-22
| | | | Originally committed as revision 20584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use enum FrameType as parameter to construct_perm_table().Carl Eugen Hoyos2009-11-08
| | | | Originally committed as revision 20480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-20
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add two more sizes to ff_sine_windows[] and also pad it with NULLs soVitor Sessak2009-09-15
| | | | | | | | that FF_ELEMS(ff_sine_windows[x]) == 1 << x. Fix issue 1384. Originally committed as revision 19862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Formatting K&R fixesVitor Sessak2009-08-27
| | | | Originally committed as revision 19732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, revision 19728 added a bug that broke twinvq decoding. I forgot toVitor Sessak2009-08-27
| | | | | | multiply the buffer size by the number of channels. Originally committed as revision 19730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SSE optimized vector_clipf(). 10% faster TwinVQ decoding.Vitor Sessak2009-08-27
| | | | Originally committed as revision 19728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: add some whitespace around operatorsVitor Sessak2009-08-24
| | | | Originally committed as revision 19695 to svn://svn.ffmpeg.org/ffmpeg/trunk
* TwinVQ decoderVitor Sessak2009-08-23
Originally committed as revision 19682 to svn://svn.ffmpeg.org/ffmpeg/trunk