mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:20:38 +01:00
fix[mpp_enc]: Fix some exceptions when force pskip
1. Add rc model in when force skip frm 2. Fix ref frm error when force pskip 3. Disable pskip when cfg force idr 4. Support pskip frm as ref frm 5. Support force skip frm as is_ref or non_ref Change-Id: Ib138ab75a9df2c4521cb376e3a3d7fd30565ecd9 Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
parent
d03adfa967
commit
3ea5eb5a51
16 changed files with 187 additions and 84 deletions
|
|
@ -225,7 +225,7 @@ HalBuf *hal_bufs_get_buf(HalBufs bufs, RK_S32 buf_idx)
|
|||
RK_S32 i;
|
||||
|
||||
if (NULL == impl || buf_idx < 0 || buf_idx >= impl->max_cnt) {
|
||||
mpp_err_f("invalid input impl %p buf_idx %d\n", impl, buf_idx);
|
||||
mpp_err_f("invalid input impl %p buf_idx %d max_cnt %d\n", impl, buf_idx, impl->max_cnt);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue