[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 <james.lin@rock-chips.com>
This commit is contained in:
james.lin
2017-04-20 11:41:04 +08:00
committed by Herman Chen
parent e39b6456b9
commit db26a246c3

View File

@@ -53,7 +53,7 @@ extern RK_U32 h265d_debug;
#define h265d_dbg(flag, fmt, ...) _mpp_dbg(h265d_debug, flag, fmt, ## __VA_ARGS__) #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 #define MAX_REFS 16
/** /**