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 query support for HEVC features #866

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

fhvwy
Copy link
Contributor

@fhvwy fhvwy commented Mar 5, 2020

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 ?)

features.bits.separate_colour_plane_supported = 0;
features.bits.scaling_list_supported = 1;
features.bits.amp_supported = 1;
features.bits.sao_supported = 0;
Copy link
Contributor

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;
Copy link
Contributor

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;
Copy link
Contributor

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;
Copy link
Contributor

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;
Copy link
Contributor

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

@oscarbg
Copy link

oscarbg commented Mar 25, 2020

Also interested on:
"Ice Lake manuals available anywhere like the ones for earlier platforms at" :https://01.org/linuxgraphics/documentation/hardware-specification-prms ?
EDIT: they seem to have been posted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants