[FFmpeg-devel] [PATCH v3] avfilter: add overlay vaapi filter

2020-02-25 Thread Xinpeng Sun
\ OUTPUT Signed-off-by: Xinpeng Sun Signed-off-by: Zachary Zhou --- configure | 3 + doc/filters.texi | 51 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_overlay_vaapi.c | 426 ++

[FFmpeg-devel] [PATCH] avfilter/tonemap_vaapi: pass filter parameters to VA parameter buffer

2020-01-16 Thread Xinpeng Sun
Signed-off-by: Xinpeng Sun --- libavfilter/vf_tonemap_vaapi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_tonemap_vaapi.c b/libavfilter/vf_tonemap_vaapi.c index 2f41b90424..540d656dca 100644 --- a/libavfilter/vf_tonemap_vaapi.c +++ b/libavfilter/vf_tonemap_vaapi.c

[FFmpeg-devel] [PATCH v2] avfilter: add overlay vaapi filter

2020-01-05 Thread Xinpeng Sun
\ OUTPUT Signed-off-by: Xinpeng Sun Signed-off-by: Zachary Zhou --- configure | 3 + doc/filters.texi | 51 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_overlay_vaapi.c | 426 ++

[FFmpeg-devel] [PATCH v2 2/2] configure: Reorder the filters part by alphabet

2019-12-29 Thread Xinpeng Sun
Signed-off-by: Xinpeng Sun --- configure | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 01b4acd77e..e7036b04ec 100755 --- a/configure +++ b/configure @@ -3510,6 +3510,7 @@ interlace_filter_deps="gpl" kerndeint_filter

[FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure check for tonemap_vaapi

2019-12-29 Thread Xinpeng Sun
"VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2.4.1, which will lead to build failure for the filter tonemap_vaapi for libva 2.3.0 with current check. This patch is to fix this build error. Signed-off-by: Xinpeng Sun --- configure | 4 ++-- 1 file changed, 2

[FFmpeg-devel] [PATCH] configure: Change the configure check for tonemap_vaapi

2019-12-23 Thread Xinpeng Sun
"VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2.4.1, which will lead to build failure for the filter tonemap_vaapi for libva 2.3.0 with current check. This patch is to fix this build error. Signed-off-by: Xinpeng Sun --- configure | 4 ++-- 1 file changed, 2

[FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter

2019-12-19 Thread Xinpeng Sun
\ OUTPUT Signed-off-by: Xinpeng Sun Signed-off-by: Zachary Zhou --- configure | 3 + doc/filters.texi | 51 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_overlay_vaapi.c | 432 ++

[FFmpeg-devel] [PATCH v3] avfilter: Add tonemap vaapi filter for H2S

2019-12-01 Thread Xinpeng Sun
-vf 'tonemap_vaapi=format=p010' -c:v hevc_vaapi -profile 2 OUTPUT Signed-off-by: Xinpeng Sun Signed-off-by: Zachary Zhou --- configure | 2 + doc/filters.texi | 81 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1

[FFmpeg-devel] [PATCH v2] avfilter: Add tonemap vaapi filter for H2S

2019-11-27 Thread Xinpeng Sun
-vf 'tonemap_vaapi=format=p010' -c:v hevc_vaapi -profile 2 OUTPUT Signed-off-by: Xinpeng Sun Signed-off-by: Zachary Zhou --- configure | 2 + doc/filters.texi | 81 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1

[FFmpeg-devel] [PATCH v1] avfilter: Add tonemap vaapi filter for H2S

2019-11-12 Thread Xinpeng Sun
mat vaapi \ -i INPUT -vf 'tonemap_vaapi=h2s,hwdownload,format=nv12' -pix_fmt nv12 \ -f rawvideo -y OUTPUT Signed-off-by: Xinpeng Sun Signed-off-by: Zachary Zhou --- doc/filters.texi | 30 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfil

[FFmpeg-devel] [PATCH v1 1/2] lavu/pixfmt: add new pixel format a2r10g10b10/a2b10g10r10

2019-09-24 Thread Xinpeng Sun
Add two 10 bit RGBA pixel format for hardware color space conversion support in VAAPI and QSV: 2:10:10:10 10 bit: A2R10G10B10 2:10:10:10 10 bit: A2B10G10R10 Add query support in fate. Signed-off-by: Xinpeng Sun --- libavutil/pixdesc.c | 26 ++ libavutil

[FFmpeg-devel] [PATCH v1 2/2] lavu/hwcontext_vaapi: add vaapi_format_map support for A2R10G10B10/A2B10G10R10

2019-09-24 Thread Xinpeng Sun
Enalbe the color space convertions p010->a2r10g10b10/a2b10g10r10 in VAAPI. Signed-off-by: Xinpeng Sun --- libavutil/hwcontext_vaapi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index cf117640f2..3aaa5ff0b5 100