summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* libspeexenc: add supported sample rates and channel layouts.Anton Khirnov2012-06-221-0/+6
|
* utvideo: mark interlaced frames as suchHendrik Leppkes2012-06-221-0/+2
| | | | | 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-221-4/+11
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: do not use full path for local headersDiego Biurrun2012-06-221-1/+1
|
* fix hardcoded tables compililation caused by missing math constantsJanne Grunau2012-06-213-6/+1
| | | | | | 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-211-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: remove stats_in from AVCodecContext options table.Anton Khirnov2012-06-211-1/+0
| | | | | | | | | | | | 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-205-1/+849
|
* aacdec: Fix popping channel layouts.Alex Converse2012-06-201-1/+1
| | | | | 'channel_layout' not 'channels' from the stored configuration should go to AVCodecContext's 'channel_layout'.
* Use av_gettime() in various placesMans Rullgard2012-06-203-31/+11
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: use emms_c() from libavutil instead of duplicating itMans Rullgard2012-06-201-11/+3
|
* flvdec: remove incomplete, disabled seeking codeDiego Biurrun2012-06-191-12/+0
|
* lavc: Extend the documentation for avcodec_init_packetSimon A. Eugster2012-06-191-0/+3
| | | | | | 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-185-75/+5
|
* Add support for iLBC decoding/encoding via the external library libilbcMartin Storsjö2012-06-186-1/+219
| | | | | | 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-181-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vorbisdec: replace div/mod in loop with a counterMans Rullgard2012-06-181-5/+12
| | | | | | 2x speedup of surround decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dwt: remove variable-length arraysRonald S. Bultje2012-06-177-74/+79
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Avoid C99 variable declarations within for statements.Diego Biurrun2012-06-141-1/+2
| | | | | 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-123-4/+4
|
* golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()Justin Ruggles2012-06-121-1/+1
| | | | | | | | | 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-101-1/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: allow cropping to AVCodecContext.width/heightMans Rullgard2012-06-091-0/+6
| | | | | | | | 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-092-25/+62
| | | | | | | | | 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-091-4/+6
| | | | | 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-0823-188/+63
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutilJustin Ruggles2012-06-0815-188/+23
| | | | | This will allow for easier implementation of Altivec functions in libraries other than libavcodec.
* ARM: Move asm.S from libavcodec to libavutilJustin Ruggles2012-06-0839-269/+38
| | | | | 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-081-1/+1
| | | | | | | | | | 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-054-4/+17
| | | | | 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-056-15/+83
|
* imc: make IMDCT support stereo outputKostya Shishkov2012-06-051-6/+10
| | | | | 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-051-187/+217
| | | | | This will be useful for Indeo Audio decoder which is almost the same but supports stereo.
* mpc8: fix maximum bands handlingKostya Shishkov2012-06-051-2/+3
| | | | | | | 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-041-0/+3
| | | | switching to mono.
* bmv: add stricter checks for invalid decoded lengthKostya Shishkov2012-06-031-3/+7
| | | | This makes decoder handle random data passed as BMV frame data.
* avpacket: fix duplicating side data.Anton Khirnov2012-06-031-1/+1
| | | | Use correct side data size instead of just zeroed field.
* vp8: move block coeff arithcoder on stack.Ronald S. Bultje2012-05-301-18/+20
| | | | | | | 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-301-5/+5
| | | | | | | | 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-291-1/+1
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* x86: use new schema for ASM macrosVitor Sessak2012-05-294-76/+82
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* imc: some cosmeticsKostya Shishkov2012-05-251-181/+204
|
* tqi: Pass errors from the MB decoderMichael Niedermayer2012-05-231-3/+7
| | | | | | | | | | | | 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-221-0/+8
| | | | | | 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-223-7/+13
|
* dwt: check malloc callsJordi Ortiz2012-05-221-1/+15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ppc: Drop unused header regs.hDiego Biurrun2012-05-221-37/+0
|
* Convert vector_fmul range of functions to YASM and add AVX versionsKieran Kunhya2012-05-2110-158/+149
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* dwt: K&R prettyprinting cosmeticsJordi Ortiz2012-05-212-553/+713
| | | | 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-202-6/+1
|
OpenPOWER on IntegriCloud