-
Notifications
You must be signed in to change notification settings - Fork 351
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 query support for HEVC features #866
base: master
Are you sure you want to change the base?
Conversation
features.bits.separate_colour_plane_supported = 0; | ||
features.bits.scaling_list_supported = 1; | ||
features.bits.amp_supported = 1; | ||
features.bits.sao_supported = 0; |
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.
HEVC VDENC can support this
features.bits.scaling_list_supported = 1; | ||
features.bits.amp_supported = 1; | ||
features.bits.sao_supported = 0; | ||
features.bits.temporal_mvp_supported = 0; |
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.
HEVC VDENC can support this
features.bits.pcm_supported = 0; | ||
features.bits.strong_intra_smoothing_supported = 0; | ||
features.bits.sign_data_hiding_supported = 0; | ||
features.bits.transform_skip_supported = 0; |
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.
HEVC VDENC can support this
features.bits.strong_intra_smoothing_supported = 0; | ||
features.bits.sign_data_hiding_supported = 0; | ||
features.bits.transform_skip_supported = 0; | ||
features.bits.weighted_prediction_supported = 0; |
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.
HEVC VDENC can support this.
// All transform sizes allowed, with no limit on the hierarchy. | ||
features.bits.log2_max_luma_transform_block_size_minus2 = 3; | ||
features.bits.log2_min_luma_transform_block_size_minus2 = 0; | ||
features.bits.max_transform_hierarchy_depth_inter = 3; |
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.
Should be 2 for HEVC VDENC, same for max_transform_hierarchy_depth_intra
Also interested on: |
This is a sufficient example to go with intel/libva#385 to get 4:2:2 encode working on Ice Lake. None of this is documented anywhere that I can find, so it is likely to be incomplete and break other cases.
(Are Ice Lake manuals available anywhere like the ones for earlier platforms at https://01.org/linuxgraphics/documentation/hardware-specification-prms ?)