From db26a246c387ab5acf24a2f57bcc491dfb593cda Mon Sep 17 00:00:00 2001 From: "james.lin" Date: Thu, 20 Apr 2017 11:41:04 +0800 Subject: [PATCH] [h265d_parser]: update h265 MAX_DPB_SIZE 17 Alloc_frame function is before mpp_hevc_frame_rps, In the max order/ref num case, all dpb slots are used before update rps. But alloc_frame fail first, could not get a unused slots. So update MAX_DPB_SIZE as MAX_REF_SIZE + 1 Change-Id: I25044ff0073e9b241575a09d1250683bc923b394 Signed-off-by: james.lin --- mpp/codec/dec/h265/h265d_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpp/codec/dec/h265/h265d_parser.h b/mpp/codec/dec/h265/h265d_parser.h index fa0ca93d..a86c262b 100644 --- a/mpp/codec/dec/h265/h265d_parser.h +++ b/mpp/codec/dec/h265/h265d_parser.h @@ -53,7 +53,7 @@ extern RK_U32 h265d_debug; #define h265d_dbg(flag, fmt, ...) _mpp_dbg(h265d_debug, flag, fmt, ## __VA_ARGS__) -#define MAX_DPB_SIZE 16 // A.4.1 +#define MAX_DPB_SIZE 17 // A.4.1 #define MAX_REFS 16 /**