summaryrefslogtreecommitdiff
path: root/libavcodec/wmadec.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.
* wma: do not keep private copies of some AVCodecContext fieldsJustin Ruggles2012-11-01
| | | | | channels, sample_rate, bit_rate, and block_align can be used directly from the AVCodecContext
* wmadec: use float planar sample format outputJustin Ruggles2012-10-14
|
* wmadec: Adjust debug printf argument length modifierDiego Biurrun2012-10-01
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-01
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* wma: fix off-by-one in array bounds check.Ronald S. Bultje2012-03-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wma: fix invalid buffer size assumptions causing random overreads.Ronald S. Bultje2012-03-02
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wma: don't return 0 on invalid packets.Ronald S. Bultje2012-02-18
| | | | | | | | Return 0 means "please return the same data again", i.e. it causes an infinite loop. Instead, return an error. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmadec: Verify bitstream size makes sense before calling init_get_bits.Alex Converse2012-01-30
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* 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.
* wmadec: consolidate 2 output buffer size checks into 1 checkJustin Ruggles2011-10-28
|
* Use explicit struct initializers for AVCodec declarations.Diego Biurrun2011-09-24
|
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* 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>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-02
| | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: indentation and spacingJustin Ruggles2011-01-28
|
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* 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>
* 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
* Silence warning "new qualifiers in middle of multi-levelEli Friedman2010-07-07
| | | | | | | | non-const cast are unsafe". Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 24080 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
* Fix indentation after r22414.Carl Eugen Hoyos2010-03-09
| | | | Originally committed as revision 22415 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SIMD optimization using float_to_int16_interleave.Zhou Zongyi2010-03-09
| | | | | | Patch by Zhou Zongyi, zhouzy A os D pku D edu D cn Originally committed as revision 22414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove a Huffman table from WMA which also exists in AACStefan Gehrer2010-02-19
| | | | Originally committed as revision 21902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flush the bitreservour.Michael Niedermayer2010-01-30
| | | | | | Fixes issue1716 Originally committed as revision 21559 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print error messages on errors.Michael Niedermayer2009-12-07
| | | | Originally committed as revision 20757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix apparent 10l typos introduced in r8627.Michael Niedermayer2009-12-06
| | | | | | | These typos moved the exponent pointer too far ahead. Fixes issue1055. Originally committed as revision 20756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: extend exponent range to 95Måns Rullgård2009-11-24
| | | | | | Hopefully this will be enough. Fixes issue 1565 (again). Originally committed as revision 20598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: extend exponent table up to 75Måns Rullgård2009-11-23
| | | | | | Fixes issue 1565. Originally committed as revision 20593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: fix loop unrolling in decode_exp_vlc()Måns Rullgård2009-09-29
| | | | | | The count can be a non-multiple of 4 after all. Originally committed as revision 20081 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: use type punning and unroll loops in decode_exp_vlc()Måns Rullgård2009-09-29
| | | | | | | | GCC does stupid things if these assignments are done using floats directly, so fill the runs using integer operations instead. Also unroll the loops since the length is always a multiple of 4. Originally committed as revision 20077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: use a table instead of pow() in decode_exp_vlcMåns Rullgård2009-09-29
| | | | Originally committed as revision 20076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop unused args from vector_fmul_add_add, simpify code, and renameMåns Rullgård2009-09-27
| | | | | | | | | The src3 and step arguments to vector_fmul_add_add() are always zero and one, respectively. This removes these arguments from the function, simplifies the code accordingly, and renames the function to better match the new operation. Originally committed as revision 20061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: remove some unused variablesMåns Rullgård2009-09-26
| | | | Originally committed as revision 20030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variables, fixes the warnings:Diego Biurrun2009-09-23
| | | | | | | | libavcodec/wmadec.c:629: warning: unused variable `i' libavcodec/wmadec.c:628: warning: unused variable `b' libavcodec/wmadec.c:628: warning: unused variable `a' Originally committed as revision 19994 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: use DSPContext.butterflies_floatMåns Rullgård2009-09-23
| | | | Originally committed as revision 19981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce WMACoef typedef for decoded coefficientsSascha Sommer2009-06-20
| | | | | | | and change default type to float so that the run level decoding functionality can be shared with wmapro Originally committed as revision 19231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move run level decode functionality to ff_wma_run_level_decodeSascha Sommer2009-06-12
| | | | | | so that it can be reused for wmapro Originally committed as revision 19171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for getting (i)MDCT output multiplied by a constant scaling factor.Siarhei Siamashka2009-05-16
| | | | | | | | Scaling (i)MDCT output has no runtime overhead and can be used to improve performance of audio codecs. All the changes are only needed in 'ff_mdct_init' function and slow down initialization a bit. Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable from wma_decode_block() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix mid/side stereo buggy output zeroing, fixes issue264 part 2.Michael Niedermayer2008-08-28
| | | | Originally committed as revision 15004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mdct wrapper function to match fftLoren Merritt2008-08-12
| | | | Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk