-
Notifications
You must be signed in to change notification settings - Fork 370
Display caps for vaCopy #1187
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
Display caps for vaCopy #1187
Conversation
dfdb30b to
897b040
Compare
|
ping? libva 1.12 is out with this intel/libva#513 merged, but without support in media-driver :) |
0aad94e to
cffe5a8
Compare
| #define DDI_CODEC_GEN_MAX_DISPLAY_ATTRIBUTES 4 | ||
| #else | ||
| #define DDI_CODEC_GEN_MAX_DISPLAY_ATTRIBUTES 0 // set it to zero, unsupported. | ||
| #define DDI_CODEC_GEN_MAX_DISPLAY_ATTRIBUTES 1 |
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.
How about change to DDI_MEDIA_GEN_MAX_DISPLAY_ATTRIBUTES
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.
accept
| return VA_STATUS_SUCCESS; | ||
| } | ||
|
|
||
| VAStatus MediaLibvaCaps::SetDisplayAttributes( |
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.
pls remove it if media doesn't need it.
| { | ||
| switch(attribList->type) | ||
| { | ||
| case VADisplayAttribSubDevice: |
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.
Does it for VADisplayAttribCopy?
1b75ec9 to
72711ad
Compare
72711ad to
1aca4f1
Compare
move the implementation of display attributes into MediaLibvaCaps class inherit display attributes from MediaLibvaCaps for Gen12 Signed-off-by: XinfengZhang <[email protected]>
intel/libva#513