summaryrefslogtreecommitdiffstats
path: root/libavcodec/wmadec.c
Commit message (Collapse)AuthorAgeFilesLines
* wma: K&R formatting cosmeticsGabriel Dume2014-09-031-193/+193
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-2/+2
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-2/+3
|
* wmadec: require block_align to be set.Anton Khirnov2013-03-081-0/+5
| | | | | | | Avoids an infinite loop in the calling programs with decoder not consuming any input and not returning output. CC:libav-stable@libav.org
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* wma: decode directly to the user-provided AVFrameJustin Ruggles2013-02-121-8/+5
|
* floatdsp: move butterflies_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-1/+1
| | | | | This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3) independent of dsputil.
* floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-2/+2
| | | | | | Now, nellymoserenc and aacenc no longer depends on dsputil. Independent of this patch, wmaprodec also does not depend on dsputil, so I removed it from there also.
* floatdsp: move vector_fmul_add from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-4/+4
|
* 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.
* wma: do not keep private copies of some AVCodecContext fieldsJustin Ruggles2012-11-011-17/+17
| | | | | channels, sample_rate, bit_rate, and block_align can be used directly from the AVCodecContext
* wmadec: use float planar sample format outputJustin Ruggles2012-10-141-37/+28
|
* wmadec: Adjust debug printf argument length modifierDiego Biurrun2012-10-011-1/+1
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-011-1/+3
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-011-1/+0
|
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-011-2/+0
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-4/+4
|
* wma: fix off-by-one in array bounds check.Ronald S. Bultje2012-03-071-1/+1
| | | | | 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-021-3/+10
| | | | | 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-181-2/+6
| | | | | | | | 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-301-0/+2
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-12/+18
| | | | | | 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-281-11/+14
|
* Use explicit struct initializers for AVCodec declarations.Diego Biurrun2011-09-241-24/+20
|
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-291-9/+0
|
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-191-1/+4
| | | | | | | 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-5/+5
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-021-1/+1
| | | | | | | 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-281-7/+7
|
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-281-19/+2
|
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-2/+2
| | | | | | | 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-121-1/+1
| | | | | | 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-071-2/+2
| | | | | | | | 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-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-2/+2
| | | | | | 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-091-10/+10
| | | | Originally committed as revision 22415 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SIMD optimization using float_to_int16_interleave.Zhou Zongyi2010-03-091-0/+11
| | | | | | 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-191-3/+3
| | | | Originally committed as revision 21902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flush the bitreservour.Michael Niedermayer2010-01-301-0/+10
| | | | | | Fixes issue1716 Originally committed as revision 21559 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print error messages on errors.Michael Niedermayer2009-12-071-6/+19
| | | | Originally committed as revision 20757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix apparent 10l typos introduced in r8627.Michael Niedermayer2009-12-061-5/+5
| | | | | | | 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-241-1/+11
| | | | | | 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-231-3/+10
| | | | | | 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-291-12/+12
| | | | | | 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-291-6/+16
| | | | | | | | 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-291-4/+73
| | | | 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-271-4/+4
| | | | | | | | | 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-261-7/+3
| | | | Originally committed as revision 20030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variables, fixes the warnings:Diego Biurrun2009-09-231-3/+0
| | | | | | | | 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-231-6/+1
| | | | Originally committed as revision 19981 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud