summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* vaapi_h264: Fix CFR mode with frame_rate set in AVCodecContextMark Thompson2016-10-021-2/+2
|
* vaapi_encode: Decide on GOP setup before initialising sequence parametersMark Thompson2016-10-021-6/+6
| | | | | This was always too late; several fields related to it have been incorrectly zero since the encoder was added.
* lavu: remove the custom atomic APIAnton Khirnov2016-10-029-403/+0
| | | | It has been replaced by C11 stdatomic.h and is now unused.
* pthread_frame: use atomics for frame progressAnton Khirnov2016-10-021-10/+17
|
* pthread_frame: use atomics for PerThreadContext.stateAnton Khirnov2016-10-021-28/+39
|
* pthread_frame: use a thread-safe way for signalling threads to dieAnton Khirnov2016-10-021-9/+11
| | | | Current code uses a plain int in a racy way, which is UB.
* mmaldec: convert to stdatomicAnton Khirnov2016-10-021-12/+13
|
* v4l2: convert to stdatomicAnton Khirnov2016-10-021-9/+9
|
* buffer: convert to stdatomicAnton Khirnov2016-10-022-12/+14
|
* Add a compat dummy stdatomic.h used when threading is disabledAnton Khirnov2016-10-022-0/+179
| | | | Adapted from the code by Rémi Denis-Courmont from VLC
* Add a compat stdatomic.h implementation based on pthreadsAnton Khirnov2016-10-023-0/+239
| | | | Adapted from the code by Rémi Denis-Courmont from VLC
* Add a compat stdatomic.h implementation based on suncc atomicsAnton Khirnov2016-10-022-0/+188
| | | | Adapted from the code by Rémi Denis-Courmont from VLC
* 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
|
OpenPOWER on IntegriCloud