mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
msdk: set right BitDepth and Shift for Y410 mfx frame
BitDepth is 10 and Shitf must be set to 0 when creating Y410 mfx frame in MSDK
This commit is contained in:
parent
84a46f04a7
commit
ba24af0490
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue