summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Add GBRAP12 pixel format supportKieran Kunhya2016-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: bsf: Document input/output codecparam alloc/init processVittorio Giovara2016-10-12
|
* hevc: Add SSE2 and AVX IDCTAlexandra Hájková2016-10-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aarch64: Add missing sign extension in ff_h264_idct8_add_neonMartin Storsjö2016-10-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* nvenc: Fix error logYogender Gupta2016-10-09
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* nvenc: Force high_444 profile for 444 inputYogender Gupta2016-10-07
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Revert "hevc: x86: Refactor IDCT macro declarations"Anton Khirnov2016-10-06
| | | | | This reverts commit d9dccc03890a976dba59d66ed3b5aceeaa33d14c. There were outstanding objections to this commit.
* h264_intrapred: x86: Update comments left behind in ↵Diego Biurrun2016-10-06
| | | | 95c89da36ebeeb96b7146c0d70f46c582397da7f
* hevc: x86: Refactor IDCT macro declarationsDiego Biurrun2016-10-06
|
* d3d11va: Use the proper decoding slice indexSteve Lhomme2016-10-05
| | | | | | | | | | | | The decoding buffer index expected by D3D11VA is the one from the ID3D11Texture2D not the one from the ID3D11VideoDecoderOutputView array in AVD3D11VAContext. Otherwise, when providing decoder slices that do not start from 0, pictures appear in bogus order. For an invalid index crashes and image corruption can occur. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vp9lpf/x86: make filter_16_h work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make filter_48/84/88_h work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make filter_44_h work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make filter_16_v work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make filter_48/84_v work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make filter_88_v work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make filter_44_v work on 32-bit.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: save one register in SIGN_ADD/SUB.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: store unpacked intermediates for filter6/14 on stack.Ronald S. Bultje2016-10-04
| | | | | | | filter16 goes from 508 to 482 (h) or 346 to 314 (v) cycles; filter88 goes from 240 to 238 (h) or 174 to 165 (v) cycles, measured on TOS. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: move variable assigned inside macro branch.Ronald S. Bultje2016-10-04
| | | | | | The value is not used outside the branch. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: simplify ABSSUM_CMP by inverting the comparison meaning.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: remove unused register from ABSSUB_CMP macro.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: slightly simplify 44/48/84/88 h stores.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: make cglobal statement more conservative in register allocation.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: save one register in loopfilter surface coverage.Ronald S. Bultje2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: add ff_vp9_loop_filter_[vh]_44_16_{sse2,ssse3,avx}.Clément Bœsch2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: add ff_vp9_loop_filter_h_{48,84}_16_{sse2,ssse3,avx}().Clément Bœsch2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: add an SSE2 version of vp9_loop_filter_[vh]_88_16James Almer2016-10-04
| | | | | | | | | Similar gains as the ssse3 version once again Additional improvements by Clément Bœsch <u@pkh.me>. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: add ff_vp9_loop_filter_[vh]_88_16_{ssse3,avx}.Clément Bœsch2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: add ff_vp9_loop_filter_[vh]_16_16_sse2().James Almer2016-10-04
| | | | | | | Similar gains in performance as the SSSE3 version Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9lpf/x86: add x86 SSSE3/AVX SIMD for vp9_loop_filter_[vh]_16_16.Clément Bœsch2016-10-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9: ignore reference segmentation map if error_resilience flag is set.Ronald S. Bultje2016-10-04
| | | | | | | | Fixes ffvp9_fails_where_libvpx.succeeds.webm. Bug-Id: ffmpeg/3849. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rscc: Support palette formatCarl Eugen Hoyos2016-10-02
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Document AV_PKT_DATA_PALETTE side data typeVittorio Giovara2016-10-02
|
* vaapi_h265: Add main 10 encode supportMark Thompson2016-10-02
|
* vaapi_h265: Fix buffering parametersMark Thompson2016-10-02
| | | | | A decoder may need this to be set correctly to output frames in the right order.
* vaapi_h265: Fix slice header writingMark Thompson2016-10-02
| | | | | | | | | | | This was not observed earlier because the only syntax element which it normally misses with the current setup is slice_qp_delta, but that is always going to be zero (in IDR frames QP isn't varied on the slice) which will always exp-golomb code as a single 1 bit. The immediately following part is the byte alignment, which is always a 1 bit followed by 0s which are ignored, so as long as the bitstream is never aligned at that point we will never notice because the only difference is that an ignored bit is a 1 instead of a 0.
* vaapi_h264: Write bitstream restriction fieldsMark Thompson2016-10-02
|
* vaapi_h264: Fix CFR mode with frame_rate set in AVCodecContextMark Thompson2016-10-02
|
* vaapi_encode: Decide on GOP setup before initialising sequence parametersMark Thompson2016-10-02
| | | | | This was always too late; several fields related to it have been incorrectly zero since the encoder was added.
* pthread_frame: use atomics for frame progressAnton Khirnov2016-10-02
|
* pthread_frame: use atomics for PerThreadContext.stateAnton Khirnov2016-10-02
|
* pthread_frame: use a thread-safe way for signalling threads to dieAnton Khirnov2016-10-02
| | | | Current code uses a plain int in a racy way, which is UB.
* mmaldec: convert to stdatomicAnton Khirnov2016-10-02
|
* 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>