Skip to content

radeonsi/vcn: VCN4 av1 encoding "long term reference" support

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

What does this MR do and why?

Here it borrowed the term "long term reference" to represent
the customized reference frame rather than the default ones used.

To enable that, it needs application to leverage VAAPI existing
interface to mark a frame as "long term reference", and then
it will be preserved in the DPB for later usage. This preserved
frame later could be refered to by having its signature used in
the ref_frame_idx[] list, and the index can be indicated by
RefFrameCtrl index2, which has not been used for other purpose.

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

Merge request reports