Module: Mesa
Branch: master
Commit: 3c64c090e0d2250d7ee880550f8cbeac0052c8d9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c64c090e0d2250d7ee880550f8cbeac0052c8d9

Author: Boyuan Zhang <[email protected]>
Date:   Mon Mar 15 13:28:11 2021 -0400

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 <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9881>

---

 src/gallium/frontends/omx/bellagio/vid_dec_h265.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/frontends/omx/bellagio/vid_dec_h265.c 
b/src/gallium/frontends/omx/bellagio/vid_dec_h265.c
index 11766691668..5fa199990f9 100644
--- a/src/gallium/frontends/omx/bellagio/vid_dec_h265.c
+++ b/src/gallium/frontends/omx/bellagio/vid_dec_h265.c
@@ -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;
             }
          }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to