summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* flvdec: remove incomplete, disabled seeking codeDiego Biurrun2012-06-19
|
* lavc: Extend the documentation for avcodec_init_packetSimon A. Eugster2012-06-19
| | | | | | Add a note that pkt->data and pkt->size must be initialized. Signed-off-by: Martin Storsjö <martin@martin.st>
* float_dsp: Move vector_fmac_scalar() from libavcodec to libavutilJustin Ruggles2012-06-18
|
* Add support for iLBC decoding/encoding via the external library libilbcMartin Storsjö2012-06-18
| | | | | | The library is 3-clause BSD licensed. Signed-off-by: Martin Storsjö <martin@martin.st>
* dirac: replace compound literal with normal initialiserRonald S. Bultje2012-06-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vorbisdec: replace div/mod in loop with a counterMans Rullgard2012-06-18
| | | | | | 2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dwt: remove variable-length arraysRonald S. Bultje2012-06-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Avoid C99 variable declarations within for statements.Diego Biurrun2012-06-14
| | | | | We generally do not declare variables within for statements and there are compilers that choke on such constructs.
* ppc: Rename H.264 optimization template file for consistency.Diego Biurrun2012-06-12
|
* golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()Justin Ruggles2012-06-12
| | | | | | | | | Fixes infinite loop in FLAC decoding in case of a truncated bitstream due to the safe bitstream reader returning 0's at the end. Fixes Bug 310. CC:libav-stable@libav.org
* libmp3lame: add missing layout terminatorMichael Niedermayer2012-06-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: allow cropping to AVCodecContext.width/heightMans Rullgard2012-06-09
| | | | | | | | Override the frame size from the SPS with AVCodecContext values if the latter specify a size smaller by less than one macroblock. This is required for correct cropping of MOV files from Canon cameras. Signed-off-by: Mans Rullgard <mans@mansr.com>
* iac: generate codec tables as they are supposed to beKostya Shishkov2012-06-09
| | | | | | | | | Unlike its predecessor, Indeo Audio codec generates tables depending on sampling rate. Previously decoder used pre-generated tables for 22050 Hz which obviously doesn't work with other frequencies. Many thanks to Maxim Poliakovsky for providing all needed information for this.
* indeo4: handle frame type 1 properlyKostya Shishkov2012-06-09
| | | | | It turns out that this frame type is actually intra and should be used as a reference for interframes too.
* Add a float DSP framework to libavutilJustin Ruggles2012-06-08
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutilJustin Ruggles2012-06-08
| | | | | This will allow for easier implementation of Altivec functions in libraries other than libavcodec.
* ARM: Move asm.S from libavcodec to libavutilJustin Ruggles2012-06-08
| | | | | This will allow for easier implementation of ARM-optimized functions in libraries other than libavcodec.
* vc1dsp: mark put/avg_vc1_mspel_mc() always_inlineMans Rullgard2012-06-08
| | | | | | | | | | This ensures that these functions are inlined into the per-position entry points, allowing constant propagation as needed for proper optimisation. 18% faster VC1 decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vorbis: Validate that the floor 1 X values contain no duplicates.Alex Converse2012-06-05
| | | | | Duplicate values in this vector are explicitly banned by the Vorbis I spec and cause divide-by-zero crashes later on.
* Indeo Audio decoderKostya Shishkov2012-06-05
|
* imc: make IMDCT support stereo outputKostya Shishkov2012-06-05
| | | | | This will be useful for Indeo Audio decoder which is almost the same but supports stereo.
* imc: move channel-specific data into separate contextKostya Shishkov2012-06-05
| | | | | This will be useful for Indeo Audio decoder which is almost the same but supports stereo.
* mpc8: fix maximum bands handlingKostya Shishkov2012-06-05
| | | | | | | In Musepack SV8 codec property tell the maximum nonzero band, but every frame codes maximum band as a limit (i.e. strictly less than given value). Synthesis also expects maximum nonzero band, so there's a need to convert frame maximum band limit value.
* aacdec: Turn PS off when switching to stereo and turn it to implicit when ↵Alex Converse2012-06-04
| | | | switching to mono.
* bmv: add stricter checks for invalid decoded lengthKostya Shishkov2012-06-03
| | | | This makes decoder handle random data passed as BMV frame data.
* avpacket: fix duplicating side data.Anton Khirnov2012-06-03
| | | | Use correct side data size instead of just zeroed field.
* vp8: move block coeff arithcoder on stack.Ronald S. Bultje2012-05-30
| | | | | | | This prevents gcc from assuming that contents of it may have changed between calls to vp56_range_get_prob(), thus preventing countless (and unnecessary) movs. Decoding of sintel trailer goes from (avg+SG) 9.796 +/- 0.003 to 9.635 +/- 0.010.
* pcm-mpeg: improve log message wordingChristian Schmidt2012-05-30
| | | | | | | | We support every defined value for channel layout, bitrate and sample depth. All other values are not unsupported, but reserved. Update comments to say "are used" instead of "are known or exist". Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* pcm_mpeg: fix number of consumed bytes to include the header.Hendrik Leppkes2012-05-29
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* x86: use new schema for ASM macrosVitor Sessak2012-05-29
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* imc: some cosmeticsKostya Shishkov2012-05-25
|
* tqi: Pass errors from the MB decoderMichael Niedermayer2012-05-23
| | | | | | | | | | | | This silences some valgrind warnings. CC: libav-stable@libav.org Fixes second half of http://ffmpeg.org/trac/ffmpeg/ticket/794 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Reinhard Tartler <siretart@tauware.de> (cherry picked from commit f85334f58e1286287d0547a49fa9c93b40cbf48f)
* x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.Justin Ruggles2012-05-22
| | | | | | This is needed for older versions of yasm/nasm that do not support AVX. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dwt: return errors from ff_slice_buffer_init()Diego Biurrun2012-05-22
|
* dwt: check malloc callsJordi Ortiz2012-05-22
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ppc: Drop unused header regs.hDiego Biurrun2012-05-22
|
* Convert vector_fmul range of functions to YASM and add AVX versionsKieran Kunhya2012-05-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* dwt: K&R prettyprinting cosmeticsJordi Ortiz2012-05-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo: Make ivi_calc_band_checksum() static, it is only used in one file.Diego Biurrun2012-05-20
|
* indeo: Drop unused debug function ivi_check_band().Diego Biurrun2012-05-20
|
* avcodec/utils: cast a function argument to shut up a compiler warningDiego Biurrun2012-05-20
| | | | libavcodec/utils.c:251: note: expected ‘const uint8_t *’ but argument is of type ‘const short int *’
* truemotion1: remove disabled codeDiego Biurrun2012-05-20
|
* fix typo in commentKostya Shishkov2012-05-20
|
* indeo: check for invalid motion vectorsKostya Shishkov2012-05-20
|
* indeo: check that band output buffer existsKostya Shishkov2012-05-20
|
* indeo: clear allocated band buffersKostya Shishkov2012-05-20
|
* indeo: track tile macroblock sizeKostya Shishkov2012-05-20
|
* indeo: check custom Huffman tables for errorsKostya Shishkov2012-05-20
|
* factor out common decoding code for Indeo 4 and Indeo 5Kostya Shishkov2012-05-20
|
* mp3: fix start band index for block type 2 in 8kHz audioKostya Shishkov2012-05-20
| | | | | | | | In hybrid frames long window part ends at 36 samples for most of the cases but at 72 for 8kHz case. For some reason decoder assumed it's 48 or even 36 samples, which caused wrong bitstream decoding for such blocks. l3_25207.mpg from conformance suite demonstrates it the best.