projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ed945
)
msdk: map Y412_LE to VA_FOURCC_Y416
author
Haihao Xiang
<haihao.xiang@intel.com>
Thu, 12 Mar 2020 05:21:02 +0000
(13:21 +0800)
committer
Haihao Xiang
<haihao.xiang@intel.com>
Fri, 3 Apr 2020 01:19:45 +0000
(
01:19
+0000)
In media driver, VA_FOURCC_Y416 is used for packed 12 bits 4:4:4:4 YUV
format, the corresponding RT format is VA_RT_FORMAT_YUV442_12
sys/msdk/gstmsdkallocator_libva.c
patch
|
blob
|
history
diff --git
a/sys/msdk/gstmsdkallocator_libva.c
b/sys/msdk/gstmsdkallocator_libva.c
index 23f090bb76523af30fe52becf93c6d64a38a6ae3..90d8c36d8c34d3adbdd39eb4da0ab9f8e14ab685 100644
(file)
--- a/
sys/msdk/gstmsdkallocator_libva.c
+++ b/
sys/msdk/gstmsdkallocator_libva.c
@@
-601,6
+601,10
@@
gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
va_chroma = VA_RT_FORMAT_YUV422_12;
va_fourcc = VA_FOURCC_Y216;
break;
+ case GST_VIDEO_FORMAT_Y412_LE:
+ va_chroma = VA_RT_FORMAT_YUV444_12;
+ va_fourcc = VA_FOURCC_Y416;
+ break;
#endif
default:
goto error_unsupported_format;