Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | vaapi_h264: Fix CFR mode with frame_rate set in AVCodecContext | Mark Thompson | 2016-10-02 | 1 | -2/+2 | |
| | ||||||
* | vaapi_encode: Decide on GOP setup before initialising sequence parameters | Mark Thompson | 2016-10-02 | 1 | -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 API | Anton Khirnov | 2016-10-02 | 9 | -403/+0 | |
| | | | | It has been replaced by C11 stdatomic.h and is now unused. | |||||
* | pthread_frame: use atomics for frame progress | Anton Khirnov | 2016-10-02 | 1 | -10/+17 | |
| | ||||||
* | pthread_frame: use atomics for PerThreadContext.state | Anton Khirnov | 2016-10-02 | 1 | -28/+39 | |
| | ||||||
* | pthread_frame: use a thread-safe way for signalling threads to die | Anton Khirnov | 2016-10-02 | 1 | -9/+11 | |
| | | | | Current code uses a plain int in a racy way, which is UB. | |||||
* | mmaldec: convert to stdatomic | Anton Khirnov | 2016-10-02 | 1 | -12/+13 | |
| | ||||||
* | v4l2: convert to stdatomic | Anton Khirnov | 2016-10-02 | 1 | -9/+9 | |
| | ||||||
* | buffer: convert to stdatomic | Anton Khirnov | 2016-10-02 | 2 | -12/+14 | |
| | ||||||
* | Add a compat dummy stdatomic.h used when threading is disabled | Anton Khirnov | 2016-10-02 | 2 | -0/+179 | |
| | | | | Adapted from the code by Rémi Denis-Courmont from VLC | |||||
* | Add a compat stdatomic.h implementation based on pthreads | Anton Khirnov | 2016-10-02 | 3 | -0/+239 | |
| | | | | Adapted from the code by Rémi Denis-Courmont from VLC | |||||
* | Add a compat stdatomic.h implementation based on suncc atomics | Anton Khirnov | 2016-10-02 | 2 | -0/+188 | |
| | | | | Adapted from the code by Rémi Denis-Courmont from VLC | |||||
* | Add a compat stdatomic.h implementation based on windows atomics | Anton Khirnov | 2016-10-02 | 2 | -0/+181 | |
| | | | | Adapted from the code by Rémi Denis-Courmont from VLC | |||||
* | Add a compat stdatomic.h implementation based on GCC atomics | Anton Khirnov | 2016-10-02 | 2 | -0/+179 | |
| | | | | Adapted from the code by Rémi Denis-Courmont from VLC | |||||
* | configure: check for stdatomic.h | Anton Khirnov | 2016-10-02 | 1 | -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 well | Luca Barbato | 2016-10-02 | 1 | -4/+4 | |
| | | | | Confirmed to work by checkasm. | |||||
* | huffyuvdsp: Reenable PPC optimizations | Luca Barbato | 2016-10-02 | 1 | -0/+2 | |
| | ||||||
* | checkasm: Add test for huffyuvdsp add_bytes | Alexandra Hájková | 2016-10-02 | 4 | -0/+81 | |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | |||||
* | avconv: only retry decoding on actual decoding errors | Anton Khirnov | 2016-10-02 | 1 | -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 failure | Anton Khirnov | 2016-10-02 | 1 | -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 CFR | Anton Khirnov | 2016-10-02 | 1 | -0/+2 | |
| | ||||||
* | h264dec: support broken files with mp4 extradata/annex b data | Anton Khirnov | 2016-10-02 | 1 | -1/+18 | |
| | | | | Bug-Id: 966 | |||||
* | hwcontext_vaapi: add a quirk for the missing MemoryType attribute | Anton Khirnov | 2016-10-02 | 4 | -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 asm | Justin Ruggles | 2016-10-01 | 6 | -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 function | Justin Ruggles | 2016-10-01 | 1 | -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 Ruggles | 2016-10-01 | 5 | -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 timestamp | Anton Khirnov | 2016-09-30 | 4 | -2/+13 | |
| | ||||||
* | avio: cosmetics, prettify AVIO_SEEKABLE_NORMAL | Anton Khirnov | 2016-09-30 | 1 | -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.seekable | Anton Khirnov | 2016-09-30 | 48 | -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 parameters | Hendrik Leppkes | 2016-09-30 | 1 | -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_t | Diego Biurrun | 2016-09-29 | 5 | -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_t | Diego Biurrun | 2016-09-29 | 9 | -46/+50 | |
| | | | | ptrdiff_t is the correct type for array strides and similar. | |||||
* | ea: Change type of array stride parameters to ptrdiff_t | Diego Biurrun | 2016-09-29 | 7 | -11/+13 | |
| | | | | ptrdiff_t is the correct type for array strides and similar. | |||||
* | hevc: Change type of array stride parameters to ptrdiff_t | Diego Biurrun | 2016-09-29 | 4 | -34/+34 | |
| | | | | ptrdiff_t is the correct type for array strides and similar. | |||||
* | h264chroma: Change type of stride parameters to ptrdiff_t | Diego Biurrun | 2016-09-29 | 17 | -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_t | Diego Biurrun | 2016-09-29 | 36 | -166/+184 | |
| | | | | ptrdiff_t is the correct type for array strides and similar. | |||||
* | blockdsp: Change type of array stride parameters to ptrdiff_t | Diego Biurrun | 2016-09-29 | 2 | -3/+6 | |
| | | | | ptrdiff_t is the correct type for array strides and similar. | |||||
* | intrax8: Change type of array stride parameters to ptrdiff_t | Diego Biurrun | 2016-09-29 | 3 | -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 Biurrun | 2016-09-29 | 1 | -8/+8 | |
| | | | | 25841dfe806a13de526ae09c11149ab1f83555a8 | |||||
* | x86: fpel: Remove unnecessary sign extend | Diego Biurrun | 2016-09-29 | 1 | -1/+0 | |
| | ||||||
* | vaapi_h264: Set max_num_ref_frames to 1 when not using B frames | Mark Thompson | 2016-09-28 | 1 | -1/+1 | |
| | ||||||
* | vaapi_encode: Sync to input surface rather than output | Mark Thompson | 2016-09-28 | 1 | -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 capabilities | Mark Thompson | 2016-09-28 | 5 | -7/+54 | |
| | | | | | This improves behaviour with drivers which do not support packed headers, such as AMD VCE on mesa/gallium. | |||||
* | vaapi_encode: Refactor initialisation | Mark Thompson | 2016-09-28 | 5 | -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 API | Anton Khirnov | 2016-09-28 | 1 | -27/+44 | |
| | ||||||
* | tdsc: use the new decoding API | Anton Khirnov | 2016-09-28 | 1 | -6/+9 | |
| | ||||||
* | lavc: add clobber tests for the new encoding/decoding API | Anton Khirnov | 2016-09-28 | 4 | -0/+68 | |
| | ||||||
* | mpegvideo_enc: use the new encoding API for b_strategy=2 | Anton Khirnov | 2016-09-28 | 1 | -39/+49 | |
| | ||||||
* | mpegvideo_enc: handle encoding errors with b_strategy=2 | Anton Khirnov | 2016-09-28 | 1 | -0/+18 | |
| | ||||||
* | mpegvideo_enc: add const to the AVCodec instance | Anton Khirnov | 2016-09-28 | 1 | -1/+1 | |
| |