summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tak: demuxer, parser, and decoderPaul B Mahol2012-12-07
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* parser: fix large overreadsMichael Niedermayer2012-12-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* bitstream: add get_bits64() to support reading more than 32 bits at onceMichael Niedermayer2012-12-07
| | | | | | | Also remove a duplicate function in the MPEG-TS demuxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* arm: detect cpu features at runtime on LinuxMans Rullgard2012-12-07
| | | | | | | | This allows compiling optimised functions for features not enabled in the core build and selecting these at runtime if the system has the necessary support. Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: rename ARMVFP config symbol to VFPMans Rullgard2012-12-07
| | | | | | | This is consistent with usual ARM nomenclature as well as with the VFPV3 and NEON symbols which both lack the ARM prefix. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: make _inline arch ext symbols depend on inline_asmMans Rullgard2012-12-07
| | | | | | This makes --disable-inline-asm work as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: use HAVE*_INLINE/EXTERNAL macros for conditional compilationMans Rullgard2012-12-07
| | | | | | These macros reflect the actual capabilities required here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: check inline and external asm support for extensionsMans Rullgard2012-12-07
| | | | | | | This tests instruction set support in both inline and external asm. If both fail, the base config option is disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add check_insn functionMans Rullgard2012-12-07
| | | | | | | | The check_insn function tests an instruction in both inline asm and standalone assembly, and sets _external/_inline config properties accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: clean up check_inline_asm and check_as functionsMans Rullgard2012-12-07
| | | | | | | | | | | | | | | The check_inline_asm function should check the actual C compiler, not the one used for assembly files. Usually these are the same, but they might be different, typically when using a compiler other than gcc. The check_as should, as its name suggests, test the type of input the AS command is used with, i.e. a standalond assembly (.S) file. Finally, check for gnu assembler using the modified check_as as this reflects actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: set fast_clz and fast_unaligned in cpuflags sectionMans Rullgard2012-12-07
| | | | | | | | These are properties of the targeted core and do not depend on specific assembly support in the toolchain which if missing will render the controlling options here disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: detect toolchain default arch versionMans Rullgard2012-12-07
| | | | | | | | | | | | | Probe for the toolchain default architecture version if no --cpu flag is present or an unknown cpu is specified. Works with gcc, clang and armcc. This allows configuring based on the arch version even if it is not explicitly specified to configure. It also causes an explicit -march flag to be added to CFLAGS and ASFLAGS, which in turn lets us do proper instruction set tests with the assembler. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: do not bypass cpuflags section if --cpu not givenMans Rullgard2012-12-07
| | | | | | | This will allow arch-specific ways of determining the target variant when none is specified on the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: arm: indicate required cpu features for optimised funcsMans Rullgard2012-12-07
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* snow: fix build after 594d4d5df3c70404168701dd5c90b7e6e5587793Anton Khirnov2012-12-07
|
* arm: fix use of uninitialised value in ff_fft_fixed_init_arm()Mans Rullgard2012-12-07
| | | | | | | | | When initialising an FFTContext for a plain FFT, mdct_bits is not set and can contain a garbage value. Since nbits is always valid and for MDCT operation is mdct_bits - 2 checking this instead avoids using an uninitialised value while having the same effect. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avpicture: Don't assume a valid pix fmt in avpicture_get_sizeMartin Storsjö2012-12-07
| | | | | | | | | When called from the v4l2 input device, pix_fmt can be AV_PIX_FMT_NONE (for jpeg formats). Before 50ba57e0, this wasn't an issue for avpicture_get_size, but after that commit, this lead to crashes. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: add a pointer for weighted prediction temporary bufferJanne Grunau2012-12-07
| | | | | Reusing MpegEncContext's obmc_scratchpad for this becomes a mess with adaptive frame-mt.
* h264: check sps.log2_max_frame_num for validityJanne Grunau2012-12-07
| | | | | | | Fixes infinite or long taking loop in frame num gap code in the fuzzed sample bipbop234.ts_s223302. CC: libav-stable@libav.org
* mov: validate number of DataReferenceBox entries against box sizeJanne Grunau2012-12-07
| | | | | Avoids a 2G memory allocation and parsing of random data in mov_read_dref(). The fuzzed sample sample.mp4_s224424 triggers this.
* mov: compute avg_frame_rate only if duration is knownJanne Grunau2012-12-07
| | | | Fixes an assert in fuzzed sample sample.mp4_s265930.
* flac: change minimum and default of lpc_passes option to 1Janne Grunau2012-12-07
| | | | | | Avoid use of uninitialized and uncomputed linear least square models during ff_lpc_calc_coefs() for FF_LPC_TYPE_CHOLESKY. Fixes running make fate-flac-16-lpc-cholesk with valgrind --undef-value-errors=yes.
* fate: dpcm: Add dependenciesDiego Biurrun2012-12-07
|
* SBR DSP x86: implement SSE sbr_hf_genChristophe Gisquet2012-12-07
| | | | | | | | | | | | Start and end index are multiple of 2, therefore guaranteeing aligned access. Also, this allows to generate 4 floats per loop, keeping the alignment all along. Timing: - 32 bits: 326c -> 172c - 64 bits: 323c -> 156c Signed-off-by: Diego Biurrun <diego@biurrun.de>
* AAC SBR: use AVFloatDSPContext's vector_fmulChristophe Gisquet2012-12-07
| | | | | | Around 5% speedup on the code block using 'vector_fmul_add's. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fate: image: Add dependenciesDiego Biurrun2012-12-07
|
* Changelog: add an entry for deprecating the avconv -vol optionJustin Ruggles2012-12-06
|
* x86: float_dsp: fix compilation of ff_vector_dmul_scalar_avx() on x86-32Justin Ruggles2012-12-06
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* h264: slice-mt: check master context for valid current_picture_ptrJanne Grunau2012-12-05
| | | | | | Fixes errors in slice based multithreading introduced in 0b300daad2f5. CC: libav-stable@libav.org
* h264: slice-mt: get last_pic_dropable from master contextJanne Grunau2012-12-05
| | | | | | | Fixes fate-h264-conformance-cvnlfi2_sony_h and smllwebdl.mkv from https://github.com/OpenELEC/OpenELEC.tv/issues/1557 . CC: libav-stable@libav.org
* alacenc: add support for multi-channel encodingJustin Ruggles2012-12-05
|
* pixdesc: fix yuva 10bit bit depthPaul B Mahol2012-12-05
| | | | | | | It was wrongly set as the yuva 16bit one. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: deprecate the -vol optionJustin Ruggles2012-12-05
| | | | | Remove the code for volume scaling in avconv.c and instead auto-insert a volume filter into the beginning of the filter chain.
* x86: af_volume: add SSE2/SSSE3/AVX-optimized s32 volume scalingJustin Ruggles2012-12-05
|
* x86: af_volume: add SSE2-optimized s16 volume scalingJustin Ruggles2012-12-05
|
* lavfi: add volume filterJustin Ruggles2012-12-05
| | | | | Based on the volume filter in FFmpeg written by Stefano Sabatini <stefasab@gmail.com>.
* lavu/opt: do not filter out the initial sign character except for flagsJustin Ruggles2012-12-05
| | | | This allows parsing of special-case negative numbers like decibels.
* eval: treat dB as decibels instead of decibytesJustin Ruggles2012-12-05
|
* float_dsp: add vector_dmul_scalar() to multiply a vector of doublesJustin Ruggles2012-12-05
| | | | Include x86-optimized versions for SSE2 and AVX.
* fate: workaround for slighly broken 'test' shell builtinMans Rullgard2012-12-04
| | | | | | | | Some shells, e.g. minix3, have a broken 'test' builtin which fails if the first operand of a binary operator looks like a unary operator. Prefixing the values with 'x' prevents this from happening. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mimic: initialize padding of swap_buf through av_fast_padded_mallocJanne Grunau2012-12-05
|
* eamad: initialize padding of bitstream_buf through av_fast_padded_malloc()Janne Grunau2012-12-05
|
* raw demuxer: initialize end of partial packetsJanne Grunau2012-12-05
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: factorise setting buffer type in avcodec_default_get_buffer().Anton Khirnov2012-12-04
|
* lavc: don't reuse audio buffersAnton Khirnov2012-12-04
| | | | | Any performance gain from this is negligible and not worth the extra code.
* lavc: set frame properties in ff_get_buffer().Anton Khirnov2012-12-04
| | | | | There is no point in duplicating this code in every get_buffer() implementation.
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-04
|
* fate: Add dependencies for bmp, cdxl, dfa, mp3Diego Biurrun2012-12-04
|