-
Notifications
You must be signed in to change notification settings - Fork 349
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 VA_RT_FORMAT_YUV422 for VAProfileHEVCMain422_10. #323
Conversation
@@ -776,6 +780,10 @@ VAStatus MediaLibvaCaps::CreateDecAttributes( | |||
// at present, latest libva have not support RGB24. | |||
attrib.value = VA_RT_FORMAT_YUV420 | VA_RT_FORMAT_YUV422 | VA_RT_FORMAT_YUV444 | VA_RT_FORMAT_YUV400 | VA_RT_FORMAT_YUV411 | VA_RT_FORMAT_RGB16 | VA_RT_FORMAT_RGB32; | |||
} | |||
else if(profile == VAProfileHEVCMain422_10) | |||
{ | |||
attrib.value = VA_RT_FORMAT_YUV422_10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @wangyan42164 , hevc main-422-10 support 8bit/10bit of 4:0:0/4:2:0/4:2:2. So the arrib.value should include all those RT format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @feiwan1 I updated it. But there isn't 10bit of 4:0:0. Thanks.
70405b0
to
d21089e
Compare
else if(profile == VAProfileHEVCMain422_10) | ||
{ | ||
attrib.value = VA_RT_FORMAT_YUV420 | VA_RT_FORMAT_YUV422 | VA_RT_FORMAT_YUV400 | VA_RT_FORMAT_YUV420_10 | VA_RT_FORMAT_YUV422_10; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks.
#351 includes this PR. |
close for #351 merged. |
Fix issue #318.
#318
Signed-off-by: Yan Wang yan.wang@linux.intel.com