Backport of "va: av1enc: Correct the reference number and improve the reference setting" into 1.24
Backport of !6379 (merged) "va: av1enc: Correct the reference number and improve the reference setting".
Commits:
Backport of !6379 (merged) "va: av1enc: Correct the reference number and improve the reference setting".
Commits: