summaryrefslogtreecommitdiff
path: root/libavcodec/twinvq.c
Commit message (Collapse)AuthorAge
* 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>
* metasound: add last missing modes (8kHz @ 6kbps per channel)Kostya Shishkov2013-11-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* twinvq: consume block_align+1 packets as full onesKostya Shishkov2013-11-14
| | | | | | They can be produced by VQF. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* twinvq: support multiple frames per packetKostya Shishkov2013-11-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* twinvq: set block align for codecs and use it in size checksKostya Shishkov2013-08-26
| | | | | | This both allows factoring out size check for both MetaSound and TwinVQ-VQF decoders and fixes the situation when there are several MetaSound frames stuffed together (that happens in 8kHz @ 8kbps MetaSound in ASF for example).
* Voxware MetaSound decoderKostya Shishkov2013-08-08
|
* twinvq: Split VQF-specific part from common TwinVQ decoder coreKostya Shishkov2013-08-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* twinvq: Prefix enums and defines shared with VoxWare MetaSoundDiego Biurrun2013-08-05
|
* twinvq: move all bitstream reading into single placeKostya Shishkov2013-08-05
| | | | | | | | This is required for the future addition of VoxWare MetaSound decoder, for its functions are mostly the same but bitstream reader is completely different and bitstream format is slightly different too. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* twinvq: Add proper twinvq prefixes to identifiersDiego Biurrun2013-08-01
|
* miscellaneous typo fixesDiego Biurrun2013-07-25
|
* cosmetics: Add '0' to float constants ending in '.'.Diego Biurrun2013-07-25
|
* twinvq: K&R formatting cosmeticsDiego Biurrun2013-07-25
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* twinvq: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* floatdsp: move butterflies_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | | This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3) independent of dsputil.
* lavc: Move vector_fmul_window to AVFloatDSPContextJustin Ruggles2013-01-16
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* 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