: [FFmpeg-devel] [PATCH v1] libavutil: add A2R10G10B10 &
A2B10G10R10
Am Di., 10. Sept. 2019 um 11:35 Uhr schrieb Zachary Zhou
:
---
libavutil/hwcontext_vaapi.c | 6 ++
libavutil/pixfmt.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/libavutil/hwcontext_vaapi.c b/libav
On 9/16/19 7:37 PM, Carl Eugen Hoyos wrote:
Am Mi., 11. Sept. 2019 um 07:40 Uhr schrieb Zachary Zhou
:
+AV_PIX_FMT_A2R10G10B10, ///< 10-bit Pixel RGB formats.
+AV_PIX_FMT_A2B10G10R10, ///< 10-bit Pixel BGR formats.
Without more explanation, this patch is not ok imo.
Thank Ca
On 9/16/19 7:36 PM, Carl Eugen Hoyos wrote:
Am Mi., 11. Sept. 2019 um 23:02 Uhr schrieb Carl Eugen Hoyos
:
Am Mi., 11. Sept. 2019 um 07:41 Uhr schrieb Zachary Zhou
:
It supports ICL platform.
H2H (HDR to HDR): P010 -> A2R10G10B10
H2S (HDR to SDR): P010 -> ARGB
+if (ctx->
It supports ICL platform.
H2H (HDR to HDR): P010 -> A2R10G10B10
H2S (HDR to SDR): P010 -> ARGB
---
configure | 2 +
doc/filters.texi | 72 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vaapi_vpp.c|
---
libavutil/hwcontext_vaapi.c | 6 ++
libavutil/pixfmt.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index cf117640f2..9838250b66 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -125,
---
libavutil/hwcontext_vaapi.c | 6 ++
libavutil/pixfmt.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index cf117640f2..9838250b66 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -125,
---
configure | 3 +
doc/filters.texi | 50
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vf_overlay_vaapi.c | 461 +
5 files changed, 516 insertions(+)
create mode 100644 liba
Hi Mark,
Do you have any comments on this patch ?
Thanks,
Zachary
On 7/11/19 5:29 PM, Zachary Zhou wrote:
---
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vf_overlay_vaapi.c | 424
---
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vf_overlay_vaapi.c | 424 +
4 files changed, 427 insertions(+)
create mode 100644 libavfilter/vf_overlay_vaapi.c
diff --git a/co
---
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vaapi_vpp.c| 95 +
libavfilter/vaapi_vpp.h| 5 +
libavfilter/vf_overlay_vaapi.c | 365 +
6 files change
---
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vaapi_vpp.c| 95 +
libavfilter/vaapi_vpp.h| 5 +
libavfilter/vf_overlay_vaapi.c | 357 +
6 files change
---
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vaapi_vpp.c| 95 +
libavfilter/vaapi_vpp.h| 5 +
libavfilter/vf_overlay_vaapi.c | 352 +
6 files change
On 4/8/19 5:18 PM, myp...@gmail.com wrote:
On Mon, Apr 8, 2019 at 4:54 PM Zachary Zhou wrote:
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For VAAPI -
https://github.com/intel/libva
basically, it allows multiple outputs (in different resolutions)
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For VAAPI -
https://github.com/intel/libva
basically, it allows multiple outputs (in different resolutions)
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For VAAPI -
https://github.com/intel/libva
basically, it allows multiple outputs (in different resolutions)
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For VAAPI -
https://github.com/intel/libva
basically, it allows multiple outputs (in different resolutions)
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For VAAPI -
https://github.com/intel/libva
basically, it allows multiple outputs (in different resolutions)
This is sample code for reference
HW support for decode+scaling in a single HW command (VDBOX+SFC).
The primary target usage is video analytics, but can be used playback,
transcoding, etc.
For VAAPI -
https://github.com/intel/libva
basically, it allows multiple outputs (in different resolutions)
params.pipeline_flags:
https://github.com/intel/libva/blob/master/va/va_vpp.h#L503-L529
params.filter_flags:
https://github.com/intel/libva/blob/master/va/va.h#L217-L220
Signed-off-by: Zachary Zhou
---
libavfilter/vf_deinterlace_vaapi.c | 4
libavfilter/vf_misc_vaapi.c| 10
Swap width and height when do clock/cclock rotation
Add reversal/hflip/vflip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
Swap width and height when do clock/cclock rotation
Add reversal/hflip/vflip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
Swap width and height when do clock/cclock rotation
Add reversal/hflip/vflip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
It supports ICL platform.
H2H (HDR to HDR): P010 -> RGB10
H2S (HDR to SDR): P010 -> RGB8
libva commit for HDR10
https://github.com/intel/libva/commit/cf11abe5e1b9c93ee75cf974076957162c1605b9
Signed-off-by: Zachary Zhou
---
configure | 2 +
doc/filter
It supports ICL platform.
H2H (HDR to HDR): P010 -> RGB10
H2S (HDR to SDR): P010 -> RGB8
libva commit for HDR10
https://github.com/intel/libva/commit/cf11abe5e1b9c93ee75cf974076957162c1605b9
Signed-off-by: Zachary Zhou
---
configure | 2 +
libavfilter/Ma
It supports ICL platform.
H2H (HDR to HDR): P010 -> RGB10
H2S (HDR to SDR): P010 -> RGB8
libva commit for HDR10
https://github.com/intel/libva/commit/cf11abe5e1b9c93ee75cf974076957162c1605b9
Signed-off-by: Zachary Zhou
---
configure | 2 +
libavfilter/Ma
Swap width and height when do clock/cclock rotation
Add reversal/reversal_flip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
Signed-off-by: Zachary Zhou
---
libavfilter/vaapi_vpp.h| 2 ++
libavfilter/vf_deinterlace_vaapi.c | 2 +-
libavfilter/vf_misc_vaapi.c| 2 +-
libavfilter/vf_procamp_vaapi.c | 2 +-
libavfilter/vf_scale_vaapi.c | 2 +-
5 files changed, 6 insertions(+), 4 deletions
Swap width and height when do clock/cclock rotation
Add reveral/reveral_flip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
Swap width and height when do clock/cclock rotation
Add 180/180_flip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
Swap width and height when do clock/cclock rotation
Add 180/180_flip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
Swap width and height when do clock/cclock rotation
Add 180/180_flip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
configure| 2 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vf_transpose_vaapi.c | 337 +++
4 files changed, 341 insertions(+)
create m
From: Zachary Zhou
It supports clockwise rotation by 0/90/180/270 degrees and mirroring by
horizontal/vertical. video size is changed when rotation by 90/270.
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf
"transpose_vaapi=rotate=90:m
ned-off-by: Zachary Zhou
---
configure | 4 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vaapi_vpp.h | 1 +
libavfilter/vf_rotate_vaapi.c | 252 ++
5 files changed, 259 insertions(+)
c
input.264 -vf "rotation_vaapi=dir=1"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou
---
configure | 3 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vaapi_vpp.h | 1 +
libavfilter/vf_rotate_vaa
Reproduce the issue:
$ ./configure --enable-libmfx --enable-vaapi --enable-shared
--samples=fate-suite/
$ make fate
LD tests/checkasm/checkasm
/usr/bin/x86_64-linux-gnu-ld: libavutil/libavutil.a(hwcontext_vaapi.o):
undefined reference to symbol 'XDisplayName'
//usr/lib/x86_64-linux-gnu/libX
Reproduce the issue:
$ ./configure --enable-libmfx --enable-vaapi --enable-shared
--samples=fate-suite/
$ make fate
LD tests/checkasm/checkasm
/usr/bin/x86_64-linux-gnu-ld: libavutil/libavutil.a(hwcontext_vaapi.o):
undefined reference to symbol 'XDisplayName'
//usr/lib/x86_64-linux-gnu/libX
It supports clockwise rotation by 0/90/180/270 degrees defined in
va/va_vpp.h, tested following command line on SKL platform
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "rotation_vaapi=angle=90"
-c:v h264_vaapi output.h264
---
libavfilter/
39 matches
Mail list logo