Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Y410 image change for CreateImage #459

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

XinfengZhang
Copy link
Contributor

Fixes #431

Signed-off-by: XinfengZhang carl.zhang@intel.com

@@ -3926,6 +3926,9 @@ VAStatus DdiMedia_CreateImage(
gmmParams.Format = GMM_FORMAT_UYVY;
gmmParams.Flags.Info.TiledY = true;
break;
case VA_FOURCC_Y410:
gmmParams.Format = GMM_FORMAT_Y410_TYPE;
gmmParams.BaseHeight = MOS_ALIGN_CEIL(height, 32);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is here leak of "break"?

@intel-mediadev intel-mediadev merged commit fb20edf into intel:master Apr 16, 2019
Fixes intel#431

Signed-off-by: XinfengZhang <carl.zhang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verifying PR: fix ready and verifying with build/test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[gst-vaapi][ICL][Dec] when use Y410 to vaCreateImage, the image num_planes will return 0.
3 participants