[misc]: Add compatible for fbc header alignment

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I0ae4ec4b8603648a7186d0cccf63aa3ea3fb29b3
This commit is contained in:
Herman Chen
2022-12-23 16:38:54 +08:00
parent f115d415b4
commit 5469f9d08b
14 changed files with 57 additions and 33 deletions

View File

@@ -48,10 +48,19 @@ static MppCompat compats[] = {
"support encoder async input mode",
NULL,
},
{
MPP_COMPAT_DEC_FBC_HDR_256_ODD,
MPP_COMPAT_BOOL,
0,
0,
"set decoder fbc header stride to 256 odd align",
NULL,
},
};
RK_S32 *compat_ext_fbc_buf_size = &compats[MPP_COMPAT_INC_FBC_BUF_SIZE].value_usr;
RK_S32 *compat_ext_async_input = &compats[MPP_COMPAT_ENC_ASYNC_INPUT].value_usr;
RK_S32 *compat_ext_fbc_hdr_256_odd = &compats[MPP_COMPAT_DEC_FBC_HDR_256_ODD].value_usr;
MppCompat *mpp_compat_query(void)
{