Skip to content

radeonsi/vcn: change max_poc to fixed value for hevc encoder.

Ruijing Dong requested to merge rdong/mesa-rdong-2021:hevc_poc_issue into main

What does this MR do and why?

radeonsi/vcn: change max_poc to fixed value for hevc encoder.

problem: max_poc means the number of bits used in poc lsb in slice header, and it should not be related to GOP size. When large GOP size used, it could generate corrupted video, as the POC could not be correctly decoded.

solution: use fixed value of max_poc (16) for now.

Signed-off-by: Ruijing Dong ruijing.dong@amd.com

Merge request reports