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:
84a46f0
)
msdk: set right BitDepth and Shift for Y410 mfx frame
author
Haihao Xiang
<haihao.xiang@intel.com>
Mon, 3 Jun 2019 06:05:07 +0000
(14:05 +0800)
committer
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Sat, 29 Jun 2019 15:33:57 +0000
(17:33 +0200)
BitDepth is 10 and Shitf must be set to 0 when creating Y410 mfx
frame in MSDK
sys/msdk/msdk.c
patch
|
blob
|
history
diff --git
a/sys/msdk/msdk.c
b/sys/msdk/msdk.c
index
bdbc75f
..
de186a6
100644
(file)
--- a/
sys/msdk/msdk.c
+++ b/
sys/msdk/msdk.c
@@
-294,6
+294,15
@@
gst_msdk_set_mfx_frame_info_from_video_info (mfxFrameInfo * mfx_info,
break;
+#if (MFX_VERSION >= 1027)
+ case MFX_FOURCC_Y410:
+ mfx_info->BitDepthLuma = 10;
+ mfx_info->BitDepthChroma = 10;
+ mfx_info->Shift = 0;
+
+ break;
+#endif
+
default:
break;
}