- Oct 11, 2018
-
-
Zhong Li authored
Libmfx requires 16 bytes aligned input/output for uploading. Currently only output is 16 byte aligned and assigning same width/height to input with smaller buffer size actually, thus definitely will cause segment fault. Can reproduce with any 1080p nv12 rawvideo input: ffmpeg -init_hw_device qsv=qsv:hw -hwaccel qsv -filter_hw_device qsv -f rawvideo -pix_fmt nv12 -s:v 1920x1080 -i 1080p_nv12.yuv -vf 'format=nv12,hwupload=extra_hw_frames=16,hwdownload,format=nv12' -an -y out_nv12.yuv It can fix #7418 Signed-off-by:
Zhong Li <zhong.li@intel.com>
-
Zhong Li authored
RGB32(AV_PIX_FMT_BGRA on intel platforms) format may be used as overlay with alpha blending. So add AV_PIX_FMT_BGRA format support. One example of alpha blending overlay: ffmpeg -hwaccel qsv -c:v h264_qsv -i BA1_Sony_D.jsv -filter_complex 'movie=lena-rgba.png,hwupload=extra_hw_frames=16[a];[0:v][a]overlay_qsv=x=10:y=10' -c:v h264_qsv -y out.mp4 Rename RGB32 to be BGRA to make it clearer as Mark Thompson's suggestion. V2: Add P010 format support else will introduce HEVC 10bit encoding regression. Thanks for LinJie's discovery. Signed-off-by:
Zhong Li <zhong.li@intel.com> Verified-by:
Fu, Linjie <linjie.fu@intel.com>
-
- Oct 07, 2018
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Also properly return AVERROR(ERANGE) in case of actual overflows. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- Oct 03, 2018
-
-
Zhong Li authored
Variable 'ret' hasn't been initialized,thus introducing a random hwupload failure regression due to qsv session uninitialized. Signed-off-by:
Zhong Li <zhong.li@intel.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- Sep 23, 2018
-
-
Mark Thompson authored
Give the entries in the VAAPI format map table an explicit type and add functions to do the necessary lookups. Add another field to this table indicating whether the chroma planes are swapped (as in YV12), and use that rather than explicit comparisons where swapping is needed.
-
Mark Thompson authored
Clarify that the list is the naughty list, and therefore being on it is not desirable. The i965 driver does not need to be on the list after version 2.0 (when the standard parameter buffer rendering behaviour was changed).
-
- Sep 21, 2018
-
-
Jun Zhao authored
Add missing conversions from side data enum to name. Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
- Sep 14, 2018
-
-
Michael Bunk authored
-
James Almer authored
~3x to 5x faster. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Sep 12, 2018
-
-
Paul B Mahol authored
-
- Sep 09, 2018
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Shiyou Yin authored
Simplify macro TRANSPOSE_4H in mmiutils.h and add TRANSPOSE_8B as a common macro. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
gxw authored
Optimize vp8 loop filter with mmi, four functions optimized: 1. ff_vp8_h_loop_filter8uv_mmi. 2. ff_vp8_v_loop_filter8uv_mmi. 3. ff_vp8_h_loop_filter16_mmi. 4. ff_vp8_v_loop_filter16_mmi. Vp8 decoding speed improved about 50%(from 73fps to 110fps, Tested on loongson 3A3000). Signed-off-by:
Shiyou Yin <yinshiyou-hf@loongson.cn> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Sep 04, 2018
-
-
Joe Olivas authored
Removing unused VPP sessions by initializing only when used in order to help reduce CPU utilization. Thanks to Maxym for the guidance. Signed-off-by:
Joe Olivas <joseph.k.olivas@intel.com> Signed-off-by:
Maxym Dmytrychenko <maxim.d33@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- Sep 02, 2018
-
-
Shiyou Yin authored
Performance of mpeg4 decoding improved about 23%(from 128fps to 158fps, tested on loongson 3A3000). Reoptimized following functions with mmi. 1. ff_simple_idct_put_8_mmi 2. ff_simple_idct_add_8_mmi 3. ff_simple_idct_8_mmi Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Aug 14, 2018
-
-
Jacob Trimble authored
Found by Chrome's ClusterFuzz: https://crbug.com/873693 Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Aug 11, 2018
-
-
Sergey Lavrushkin authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Aug 05, 2018
-
-
Luca Barbato authored
-
- Aug 01, 2018
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Should fix compilation with old yasm/nasm Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Jul 31, 2018
-
-
Jun Zhao authored
add ff_pixelutils_sad_32x32_sse2, ff_pixelutils_sad_{a,u}_32x32_sse2, ff_pixelutils_sad_32x32_avx22, ff_pixelutils_sad_{a,u}_32x32_avx2 use perf record/report profiling, get instructions:u for avx2 sad_32x32: 72.05% pixelutils pixelutils [.] block_sad_32x32_c 18.50% pixelutils pixelutils [.] block_sad_16x16_c 4.78% pixelutils pixelutils [.] block_sad_8x8_c 2.69% pixelutils pixelutils [.] block_sad_4x4_c 0.89% pixelutils pixelutils [.] block_sad_2x2_c 0.16% pixelutils pixelutils [.] ff_pixelutils_sad_32x32_avx2 0.16% pixelutils pixelutils [.] ff_pixelutils_sad_u_32x32_avx2 0.12% pixelutils pixelutils [.] ff_pixelutils_sad_a_32x32_avx2 sse2 sad_32x32 instructions:u like: 71.86% pixelutils pixelutils [.] block_sad_32x32_c 18.42% pixelutils pixelutils [.] block_sad_16x16_c 4.81% pixelutils pixelutils [.] block_sad_8x8_c 2.68% pixelutils pixelutils [.] block_sad_4x4_c 0.88% pixelutils pixelutils [.] block_sad_2x2_c 0.29% pixelutils pixelutils [.] ff_pixelutils_sad_32x32_sse2 0.26% pixelutils pixelutils [.] ff_pixelutils_sad_u_32x32_sse2 0.23% pixelutils pixelutils [.] ff_pixelutils_sad_a_32x32_sse2 Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
Jun Zhao authored
add sad_32x32 in pixelutils API, and update the fate. Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
- Jul 25, 2018
-
-
James Almer authored
libavutil/hwcontext_d3d11va.c: In function 'd3d11va_device_create': libavutil/hwcontext_d3d11va.c:554:46: warning: passing argument 2 of 'pAdapter->lpVtbl->GetDesc' from incompatible pointer type [-Wincompatible-pointer-types] hr = IDXGIAdapter2_GetDesc(pAdapter, &desc); ^ libavutil/hwcontext_d3d11va.c:554:46: note: expected 'DXGI_ADAPTER_DESC * {aka struct DXGI_ADAPTER_DESC *}' but argument is of type 'DXGI_ADAPTER_DESC2 * {aka struct DXGI_ADAPTER_DESC2 *}' Reviewed-by:
Jean-Baptiste Kempf <jb@videolan.org> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Jul 20, 2018
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jul 19, 2018
-
-
alexander schmid authored
-
- Jul 11, 2018
-
-
Jun Zhao authored
Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
- Jun 28, 2018
-
-
Jun Zhao authored
remove an unused variable Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
Jun Zhao authored
In opencl device derived case, don't need to call opencl_device_init. Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
Jun Zhao authored
opencl_vaapi_intel_media doesn't depend on libmfx, OpenCL™ Drivers and Runtimes for Intel® Architectureis is a standalone release, more information can be found in the link: https://software.intel.com/en-us/articles/opencl-drivers . Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
- Jun 27, 2018
-
-
Jacob Trimble authored
Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Jacob Trimble authored
Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Jacob Trimble authored
Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jun 24, 2018
-
-
Mark Thompson authored
Unused since a2613647.
-
- Jun 22, 2018
-
-
Jacob Trimble authored
It is possible for there to be multiple encryption init info structure. For example, to support multiple key systems or in key rotation. This changes the AVEncryptionInitInfo struct to be a linked list so there can be multiple structs without breaking ABI. Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jun 21, 2018
-
-
Rostislav Pehlivanov authored
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Used to fix unmapping when no direct interop exists between APIs. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- Jun 17, 2018
-
-
Jun Zhao authored
Replace the number by macro for bprint init. Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-
Jun Zhao authored
Replace the number by macro for bprint init. Signed-off-by:
Jun Zhao <mypopydev@gmail.com>
-