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
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 100644
--
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 +
-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
-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
UTPUT
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 ++
"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
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
"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
UTPUT
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 ++
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
UTPUT
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 ++
12 matches
Mail list logo