summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* libspeexenc: add supported sample rates and channel layouts.Anton Khirnov2012-06-22
|
* utvideo: mark interlaced frames as suchHendrik Leppkes2012-06-22
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* utvideo: Fix interlaced prediction for RGB utvideo.Carl Eugen Hoyos2012-06-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: do not use full path for local headersDiego Biurrun2012-06-22
|
* fix hardcoded tables compililation caused by missing math constantsJanne Grunau2012-06-21
| | | | | | Add -D_XOPEN_SOURCE=600 to host cflags to make the constants in math.h available. Include math.h where necessary and remove redundant M_PI defines.
* twinvq: give massive struct a name.Ronald S. Bultje2012-06-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: remove stats_in from AVCodecContext options table.Anton Khirnov2012-06-21
| | | | | | | | | | | | Its documentation states that it is allocated/freed by the caller, but it is declared as an AV_OPT_TYPE_STRING AVOption. Since 367732832faaf1bac4ece37cf7fef8c911e16312 the AVOptions system frees strings automatically. This can be considered an API break, since it won't work when the caller doesn't use av_malloc() to allocate the memory or wants to use the string after closing the codec. Since there is not much value in this field being an AVOption, the best solution is to remove it from the options table.
* MS Screen 1 decoderKostya Shishkov2012-06-20
|
* aacdec: Fix popping channel layouts.Alex Converse2012-06-20
| | | | | 'channel_layout' not 'channels' from the stored configuration should go to AVCodecContext's 'channel_layout'.
* Use av_gettime() in various placesMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: use emms_c() from libavutil instead of duplicating itMans Rullgard2012-06-20
|
* 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
|