- 07 Dec, 2012 18 commits
-
-
Mans Rullgard authored
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>
-
Mans Rullgard authored
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>
-
Mans Rullgard authored
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>
-
Mans Rullgard authored
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>
-
Mans Rullgard authored
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>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Anton Khirnov authored
-
Mans Rullgard authored
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>
-
Martin Storsjö authored
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>
-
Janne Grunau authored
Reusing MpegEncContext's obmc_scratchpad for this becomes a mess with adaptive frame-mt.
-
Janne Grunau authored
Fixes infinite or long taking loop in frame num gap code in the fuzzed sample bipbop234.ts_s223302. CC: libav-stable@libav.org
-
Janne Grunau authored
Avoids a 2G memory allocation and parsing of random data in mov_read_dref(). The fuzzed sample sample.mp4_s224424 triggers this.
-
Janne Grunau authored
Fixes an assert in fuzzed sample sample.mp4_s265930.
-
Janne Grunau authored
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.
-
Diego Biurrun authored
-
Christophe Gisquet authored
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>
-
Christophe Gisquet authored
Around 5% speedup on the code block using 'vector_fmul_add's. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
-
- 06 Dec, 2012 2 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
- 05 Dec, 2012 11 commits
-
-
Janne Grunau authored
Fixes errors in slice based multithreading introduced in 0b300daa. CC: libav-stable@libav.org
-
Janne Grunau authored
Fixes fate-h264-conformance-cvnlfi2_sony_h and smllwebdl.mkv from https://github.com/OpenELEC/OpenELEC.tv/issues/1557 . CC: libav-stable@libav.org
-
Justin Ruggles authored
-
Paul B Mahol authored
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>
-
Justin Ruggles authored
Remove the code for volume scaling in avconv.c and instead auto-insert a volume filter into the beginning of the filter chain.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Based on the volume filter in FFmpeg written by Stefano Sabatini <stefasab@gmail.com>.
-
Justin Ruggles authored
This allows parsing of special-case negative numbers like decibels.
-
Justin Ruggles authored
-
Justin Ruggles authored
Include x86-optimized versions for SSE2 and AVX.
-
- 04 Dec, 2012 9 commits
-
-
Mans Rullgard authored
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>
-
Janne Grunau authored
-
Janne Grunau authored
-
Janne Grunau authored
-
Anton Khirnov authored
It's got_frame, not data size
-
Anton Khirnov authored
-
Anton Khirnov authored
Any performance gain from this is negligible and not worth the extra code.
-
Anton Khirnov authored
There is no point in duplicating this code in every get_buffer() implementation.
-
Anton Khirnov authored
It will be useful in the upcoming transition to refcounted AVFrames.
-