mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
frontends/omx/h265: search entire dpb list
When more than 1 idr frames have been added to dpb list, there might be 2 frames with same poc in the dpb list. In this case, driver needs to search the entire dpb list in order to get newly added reference frame with given poc Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9881>
This commit is contained in:
parent
eaf197605e
commit
3c64c090e0
1 changed files with 0 additions and 1 deletions
|
|
@ -710,7 +710,6 @@ static void vid_dec_h265_EndFrame(vid_dec_PrivateType *priv)
|
|||
LIST_FOR_EACH_ENTRY(entry, &priv->codec_data.h265.dpb_list, list) {
|
||||
if (entry->poc == priv->picture.h265.PicOrderCntVal[i]) {
|
||||
priv->picture.h265.ref[i] = entry->buffer;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue