summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* huffyuvdsp: Enable the altivec code for PPC little-endian as wellLuca Barbato2016-10-02
| | | | Confirmed to work by checkasm.
* huffyuvdsp: Reenable PPC optimizationsLuca Barbato2016-10-02
|
* h264dec: support broken files with mp4 extradata/annex b dataAnton Khirnov2016-10-02
| | | | Bug-Id: 966
* ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asmJustin Ruggles2016-10-01
| | | | | | | | | Adds a wrapper function for downmixing which detects channel count changes and updates the selected downmix function accordingly. Simplification and porting to current x86inc infrastructure by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ac3dsp: Add some special-case handling for the C downmix functionJustin Ruggles2016-10-01
| | | | | | This is about 200% faster for in-decoder downmixing of 5.0 and 5.1 content. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ac3dsp: Reverse matrix in/out order in downmix()Justin Ruggles2016-10-01
| | | | | | | Also use (float **) instead of (float (*)[2]). This matches the matrix layout in libavresample so we can reuse assembly code between the two. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86/h264_weight: use appropriate register size for weight parametersHendrik Leppkes2016-09-30
| | | | | | This fixes decoding corruption on 64 bit windows. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegaudiodsp: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
* mss*: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | ptrdiff_t is the correct type for array strides and similar.
* ea: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | ptrdiff_t is the correct type for array strides and similar.
* hevc: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | ptrdiff_t is the correct type for array strides and similar.
* h264chroma: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
* idct: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | ptrdiff_t is the correct type for array strides and similar.
* blockdsp: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | ptrdiff_t is the correct type for array strides and similar.
* intrax8: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | | ptrdiff_t is the correct type for array strides and similar. Also rename all such parameters to "stride" for consistency.
* hpeldsp: arm: Update comments left behind in ↵Diego Biurrun2016-09-29
| | | | 25841dfe806a13de526ae09c11149ab1f83555a8
* x86: fpel: Remove unnecessary sign extendDiego Biurrun2016-09-29
|
* vaapi_h264: Set max_num_ref_frames to 1 when not using B framesMark Thompson2016-09-28
|
* vaapi_encode: Sync to input surface rather than outputMark Thompson2016-09-28
| | | | | | | | | While outwardly bizarre, this change makes the behaviour consistent with other VAAPI encoders which sync to the encode /input/ picture in order to wait for /output/ from the encoder. It is not harmful on i965 (because synchronisation already happens in vaRenderPicture(), so it has no effect there), and it allows the encoder to work on mesa/gallium which assumes this behaviour.
* vaapi_encode: Check packed header capabilitiesMark Thompson2016-09-28
| | | | | This improves behaviour with drivers which do not support packed headers, such as AMD VCE on mesa/gallium.
* vaapi_encode: Refactor initialisationMark Thompson2016-09-28
| | | | | | | | This allows better checking of capabilities and will make it easier to add more functionality later. It also commonises some duplicated code around rate control setup and adds more comments explaining the internals.
* tdsc: use the new decoding APIAnton Khirnov2016-09-28
|
* lavc: add clobber tests for the new encoding/decoding APIAnton Khirnov2016-09-28
|
* mpegvideo_enc: use the new encoding API for b_strategy=2Anton Khirnov2016-09-28
|
* mpegvideo_enc: handle encoding errors with b_strategy=2Anton Khirnov2016-09-28
|
* mpegvideo_enc: add const to the AVCodec instanceAnton Khirnov2016-09-28
|
* nvenc: Extended rate-control support as provided by SDK 7Yogender Gupta2016-09-24
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* nvenc: Add support for high bitdepthYogender Gupta2016-09-24
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* nvenc: Add some easier to understand presets that match x264 terminologyYogender Gupta2016-09-24
| | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* nvenc: Make sure that enum and array index matchLuca Barbato2016-09-24
| | | | | | | | And use a macro to reduce the boilerplate. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* audiodsp/x86: yasmify vector_clipf_sseAnton Khirnov2016-09-22
|
* audiodsp: reorder arguments for vector_clipfAnton Khirnov2016-09-22
| | | | | | | This will make the x86 asm simpler. ARM conversion by Martin Storsjö <martin@martin.st> and Janne Grunau <janne-libav@jannau.net>
* audiodsp: fix vector_clipf documentationAnton Khirnov2016-09-22
| | | | | The x86 version processes 16 floats per iteration, so len must be a multiple of 16.
* blockdsp: drop the high_bit_depth parameterAnton Khirnov2016-09-22
| | | | | It has no effect, since the code is supposed to operate the same way for any bit depth.
* audiodsp/x86: clear the high bits of the order parameter on 64bitAnton Khirnov2016-09-19
| | | | | | Also change shl to add, since it can be faster on some CPUs. CC: libav-stable@libav.org
* audiodsp/x86: fix ff_vector_clip_int32_sse2Anton Khirnov2016-09-19
| | | | | | | | This version, which is the only one doing two processing cycles per loop iteration, computes the load/store indices incorrectly for the second cycle. CC: libav-stable@libav.org
* avcodec: Add the extended pixel format profile for HEVCYogender Gupta2016-09-19
| | | | | | It is supported by the NVIDIA video SDK 7. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo_motion: Handle edge emulation even without unrestricted_mvMichael Niedermayer2016-09-16
| | | | | | | | Fix out of bounds read. Bug-Id: 962 Found by: F4B3CD@STARLAB and Agostino Sarubbo Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* vaapi_h264: Fix HRD bit_rate/cpb_size scalingMark Thompson2016-09-14
| | | | | There should be an extra offset of 6 on bit_rate_scale and of 4 on cpb_size_scale which were not accounted for here.
* pixblockdsp: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-14
| | | | | | | This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere.
* ppc: mpegvideo: Add proper runtime AltiVec detectionDiego Biurrun2016-09-11
|
* ppc: Update #endif commentsDiego Biurrun2016-09-11
|
* audiodsp: ppc: Add VSX variantLuca Barbato2016-09-11
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vaapi_vp8: Explicitly include libva vp8 decode headerMark Thompson2016-09-09
| | | | | | With some old libva versions <va/va.h> does not automatically include the per-codec subsidiary headers, so we need to include the right one explicitly ourselves.
* vaapi_decode: Ignore the profile when not usefulMark Thompson2016-09-08
| | | | | Enables VP8 decoding - the decoder places the the bitstream version in the profile field, which we want to ignore.
* lavc/vaapi: Add VP8 decode hwaccelMark Thompson2016-09-08
|
* vp8: Add hwaccel hooksMark Thompson2016-09-08
| | | | | Also adds some extra fields to the main context structure that may be needed by a hwaccel decoder.
* utvideo: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-08
| | | | ptrdiff_t is the correct type for array strides and similar.
* iir_filter: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-07
| | | | ptrdiff_t is the correct type for array strides and similar.
* error_resilience: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-07
| | | | ptrdiff_t is the correct type for array strides and similar.