summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a compat stdatomic.h implementation based on windows atomicsAnton Khirnov2016-10-022-0/+181
| | | | Adapted from the code by Rémi Denis-Courmont from VLC
* Add a compat stdatomic.h implementation based on GCC atomicsAnton Khirnov2016-10-022-0/+179
| | | | Adapted from the code by Rémi Denis-Courmont from VLC
* configure: check for stdatomic.hAnton Khirnov2016-10-021-1/+28
| | | | | | | Since this is a C11 feature, it requires -std=c11. Not actually used for anything yet, that will be added in the following commits.
* huffyuvdsp: Enable the altivec code for PPC little-endian as wellLuca Barbato2016-10-021-4/+4
| | | | Confirmed to work by checkasm.
* huffyuvdsp: Reenable PPC optimizationsLuca Barbato2016-10-021-0/+2
|
* checkasm: Add test for huffyuvdsp add_bytesAlexandra Hájková2016-10-024-0/+81
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: only retry decoding on actual decoding errorsAnton Khirnov2016-10-021-10/+27
| | | | | | | | | Errors during decoding are currently considered non-fatal and do not terminate transcoding, so even if parts of the data are corrupted, the rest may be decodable. However, that should apply only to the actual decoding calls, not to the failures elsewhere (e.g. configuring filters).
* avconv: make sure the filtergraph is freed on init failureAnton Khirnov2016-10-021-6/+10
| | | | | | | The filtergraph's existence is used in several places to mean that the filtergraph is fully configured. This causes problems if it's allocated, but the initialization fails (e.g. if a non-existent filter is specified).
* avconv: set the encoding framerate when the output is CFRAnton Khirnov2016-10-021-0/+2
|
* h264dec: support broken files with mp4 extradata/annex b dataAnton Khirnov2016-10-021-1/+18
| | | | Bug-Id: 966
* hwcontext_vaapi: add a quirk for the missing MemoryType attributeAnton Khirnov2016-10-024-2/+17
| | | | | | The Intel binary iHD driver does not support the VASurfaceAttribMemoryType, so surface allocation will fail when using it.
* ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asmJustin Ruggles2016-10-016-177/+316
| | | | | | | | | 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-011-1/+38
| | | | | | 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-015-36/+52
| | | | | | | 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>
* avio: add a new flag for marking streams seekable by timestampAnton Khirnov2016-09-304-2/+13
|
* avio: cosmetics, prettify AVIO_SEEKABLE_NORMALAnton Khirnov2016-09-301-2/+4
| | | | | Move the doxy above the definition, change the value itself to the (1 << n) pattern, which is more readable for flags.
* lavf: fix usage of AVIOContext.seekableAnton Khirnov2016-09-3048-78/+84
| | | | | | | | It is supposed to be a flag. The only currently defined value is AVIO_SEEKABLE_NORMAL, but other ones may be added in the future. However all the current lavf code treats this field as a bool (mainly for historical reasons). Change all those cases to properly check for AVIO_SEEKABLE_NORMAL.
* x86/h264_weight: use appropriate register size for weight parametersHendrik Leppkes2016-09-301-6/+6
| | | | | | 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-295-11/+14
| | | | | 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-299-46/+50
| | | | ptrdiff_t is the correct type for array strides and similar.
* ea: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-297-11/+13
| | | | ptrdiff_t is the correct type for array strides and similar.
* hevc: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-294-34/+34
| | | | ptrdiff_t is the correct type for array strides and similar.
* h264chroma: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-2917-110/+110
| | | | | 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-2936-166/+184
| | | | ptrdiff_t is the correct type for array strides and similar.
* blockdsp: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-292-3/+6
| | | | ptrdiff_t is the correct type for array strides and similar.
* intrax8: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-293-42/+46
| | | | | | 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-291-8/+8
| | | | 25841dfe806a13de526ae09c11149ab1f83555a8
* x86: fpel: Remove unnecessary sign extendDiego Biurrun2016-09-291-1/+0
|
* vaapi_h264: Set max_num_ref_frames to 1 when not using B framesMark Thompson2016-09-281-1/+1
|
* vaapi_encode: Sync to input surface rather than outputMark Thompson2016-09-281-3/+3
| | | | | | | | | 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-285-7/+54
| | | | | This improves behaviour with drivers which do not support packed headers, such as AMD VCE on mesa/gallium.
* vaapi_encode: Refactor initialisationMark Thompson2016-09-285-437/+418
| | | | | | | | 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.
* examples/output: switch to the new encoding APIAnton Khirnov2016-09-281-27/+44
|
* tdsc: use the new decoding APIAnton Khirnov2016-09-281-6/+9
|
* lavc: add clobber tests for the new encoding/decoding APIAnton Khirnov2016-09-284-0/+68
|
* mpegvideo_enc: use the new encoding API for b_strategy=2Anton Khirnov2016-09-281-39/+49
|
* mpegvideo_enc: handle encoding errors with b_strategy=2Anton Khirnov2016-09-281-0/+18
|
* mpegvideo_enc: add const to the AVCodec instanceAnton Khirnov2016-09-281-1/+1
|
* APIchanges: fix a typo in the version numberAnton Khirnov2016-09-281-1/+1
|
* lavu: Bump version for the 12bit Planar YUV supportLuca Barbato2016-09-272-1/+4
|
* pixfmt: Add yuv444p12 pixel formatLuca Barbato2016-09-2710-1/+44
|
* pixfmt: Add yuv422p12 pixel formatLuca Barbato2016-09-2711-1/+48
|
* pixfmt: Add yuv420p12 pixel formatLuca Barbato2016-09-2712-2/+56
|
* swscale: Rename is9_OR_10 to match what it doesLuca Barbato2016-09-276-10/+10
| | | | It is used to select functions that work with 9-15bits.
* swscale: Update bitdepth range checkLuca Barbato2016-09-273-11/+11
| | | | | Make sure the scaling functions for the 9-15bits are used for 9-15bits bit depths correctly.
* swscale: Consistently order input YUV pixel formatsVittorio Giovara2016-09-271-29/+29
| | | | | | | Follow a 420, 422, 444 order instead of a random one. This simplifies double-checking additions of new formats. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* nvenc: Extended rate-control support as provided by SDK 7Yogender Gupta2016-09-245-1/+80
| | | | | 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-243-5/+96
| | | | | 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-244-5/+22
| | | | | | 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-241-9/+14
| | | | | | | | 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>
OpenPOWER on IntegriCloud