Skip to content

add RequestCRC flag of hevc picture parameters and crc valuses are requested if set to 1#211

Closed
Jexu wants to merge 0 commit intointel:masterfrom
Jexu:master
Closed

add RequestCRC flag of hevc picture parameters and crc valuses are requested if set to 1#211
Jexu wants to merge 0 commit intointel:masterfrom
Jexu:master

Conversation

@Jexu
Copy link
Copy Markdown
Contributor

@Jexu Jexu commented May 21, 2018

No description provided.

Comment thread va/va_dec_hevc.h Outdated
/** current picture has only intra slices */
uint32_t IntraPicFlag : 1;
/** CRC valuses are requested if set to 1 */
uint32_t RequestCRC : 1;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since you're adding this to H.265 standard parts, presumably this is the CRC as defined in §D.3.20?

How will the CRC values for each colour component be retrieved from the decoder?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is defined in that. @XinfengZhang adds an interface to get the calculated values from decoder in PR #213

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add a bit more comment to explain it?

Will anyone ever want the other hash types? If so, it might be better to add a separate uint8_t hash_type (as table D-10) and then make this bit be request_hash (or something along those lines).

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.

2 participants