summaryrefslogtreecommitdiff
path: root/libavcodec/wmavoice.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.
* wmavoice: set channel layoutJustin Ruggles2012-11-01
|
* avutil: Move memcpy_backptr() to mem.cDiego Biurrun2012-10-25
| | | | The function is used elsewhere and does not belong with the LZO code.
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-23
|
* Use proper return values in case of missing featuresDiego Biurrun2012-10-12
|
* celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()Diego Biurrun2012-08-27
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* 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>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* wmavoice: fix stack overread.Ronald S. Bultje2012-03-22
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* doxygen: Remove documentation for non-existing parameters; misc small fixes.Diego Biurrun2012-02-28
|
* get_bits: introduce safe bitreading to prevent overreads.Ronald S. Bultje2011-12-17
| | | | | | | | | | | | | | | When turned on, H264/CAVLC gets ~15% (CVPCMNL1_SVA_C.264) slower for ultra-high-bitrate files, or ~2.5% (CVFI1_SVA_C.264) for lower-bitrate files. Other codecs are affected to a lesser extent because they are less optimized; e.g., VC-1 slows down by less than 1% (all on x86). The patch generated 3 extra instructions (cmp, cmovae and mov) per call to get_bits(). The performance penalty on ARM is within the error margin for most files, up to 4% in extreme cases such as CVPCMNL1_SVA_C.264. Based on work (for GCI) by Aneesh Dogra <lionaneesh@gmail.com>, and inspired by patch in Chromium by Chris Evans <cevans@chromium.org>.
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* 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.
* wmavoice: Make format string match variable type.Alex Converse2011-11-26
|
* wmavoice: move output buffer size check to synth_superframe().Justin Ruggles2011-10-28
| | | | this allows for checking against the actual output size instead of max size.
* wmavoice: only set data_size to 0 when necessaryJustin Ruggles2011-10-28
|
* lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.Anton Khirnov2011-10-20
| | | | They are used in lavf.
* wmavoice: fix a signed overflowMans Rullgard2011-10-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wmavoice: Check for corrupted extra dataLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* wmavoice: Check for out of bound writesLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* wmavoice: Use proper size in memeset().Alex Converse2011-05-05
| | | | | sizeof(array_functrion_argument) gives the size of the pointer type not the size of the array to which it points.
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-17
|
* Move dct and rdft definitions to separate filesMans Rullgard2011-03-20
| | | | | | | This leaves fft.h with only the core FFT and MDCT definitions thus making it more managable. Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* 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>
* Fix typo.Ronald S. Bultje2010-12-26
| | | | Originally committed as revision 26099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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 buffer overrun if idx is negative (it can be down to -23>>4), by prependingRonald S. Bultje2010-08-09
| | | | | | | two padding zeroes before it. Should fix fate failures on openBSD and crashes on MacOSX (that I cannot reproduce). Originally committed as revision 24750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename pow variable to pwr.Axel Holzinger2010-07-26
| | | | | | Patch by Axel Holzinger <aholzinger gmx de>. Originally committed as revision 24508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use correct length modifier for size comparison in printf expression, fixes:Diego Biurrun2010-07-12
| | | | | | | libavcodec/wmavoice.c:1906: warning: format `%lu' expects type `long unsigned int', but argument 5 has type `unsigned int' approved by Ronald and Mans on IRC Originally committed as revision 24218 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix two doxy warnings.Ronald S. Bultje2010-07-08
| | | | Originally committed as revision 24109 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
* Silense one warning:Eli Friedman2010-06-30
| | | | | | | | "passing argument 1 of ‘av_memcpy_backptr’ from incompatible pointer type" Patch by Eli Friedman, eli D friedman A gmail Originally committed as revision 23895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Another buffer overflow, fixes issue1758.Ronald S. Bultje2010-05-02
| | | | Originally committed as revision 23011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix buffer overrun (or, well, actually a typo, 80 should be 0x80...).Ronald S. Bultje2010-05-01
| | | | | | Partially fixes issue 1758. Originally committed as revision 23005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMAVoice postfilter.Ronald S. Bultje2010-04-21
| | | | Originally committed as revision 22938 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
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-30
| | | | Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMAVoice decoder.Ronald S. Bultje2010-02-12
Originally committed as revision 21770 to svn://svn.ffmpeg.org/ffmpeg/trunk