summaryrefslogtreecommitdiffstats
path: root/libavcodec/wmadec.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Introduce WMACoef typedef for decoded coefficientsSascha Sommer2009-06-201-3/+3
| | | | | | | 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-121-43/+7
| | | | | | 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-161-1/+1
| | | | | | | | 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-171-2/+1
| | | | Originally committed as revision 18568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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-011-1/+1
| | | | | | | 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-191-1/+1
| | | | 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-281-7/+1
| | | | Originally committed as revision 15004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mdct wrapper function to match fftLoren Merritt2008-08-121-1/+1
| | | | Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove mdct tmp bufferLoren Merritt2008-08-121-2/+1
| | | | Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-07-111-17/+17
| | | | Originally committed as revision 14172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix not coded channels / silence decoding.Michael Niedermayer2008-07-111-5/+8
| | | | | | Fixes issue264 WMV audio stutter Originally committed as revision 14171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that we have enough output space available.Michael Niedermayer2008-07-111-0/+9
| | | | Originally committed as revision 14170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-2/+2
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-0/+2
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-1/+1
| | | | Originally committed as revision 11790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wma_decode_superframe always returns s->block_align, so makeReimar Döffinger2007-11-301-0/+3
| | | | | | | | sure we actually consume exactly that amount. Fixes sound artefacts (mostly blips) that mysteriously disappeared after e.g. remuxing with mencoder. Originally committed as revision 11115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* various simplifications around recent av_clip_int16() usageAurelien Jacobs2007-08-111-4/+2
| | | | Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_clip_int16() where it makes senseAurelien Jacobs2007-08-111-4/+1
| | | | Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use skip_bits where appropriateAlex Beregszaszi2007-08-091-1/+1
| | | | Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud