mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 11:00:53 +08:00
[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:
@@ -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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user