mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:30:40 +01:00
feat[smart_v3]: Add new frame qp interface
min_bg_fqp: min frame qp for background region max_bg_fqp: max frame qp for background region min_fg_fqp: min frame qp for foreground region max_fg_fqp: max frame qp for foreground region Change-Id: Idc10767d545dd83e4157f839a621e4801c98201e Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com>
This commit is contained in:
parent
db6deeef62
commit
72492494ee
8 changed files with 26 additions and 4 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#define HAL_H264E_DBG_AMEND (0x00000040)
|
||||
|
||||
#define HAL_H264E_DBG_RC (0x00000100)
|
||||
#define HAL_H264E_DBG_SMART_V3 (0x00000200)
|
||||
|
||||
#define hal_h264e_dbg(flag, fmt, ...) _mpp_dbg(hal_h264e_debug, flag, fmt, ## __VA_ARGS__)
|
||||
#define hal_h264e_dbg_f(flag, fmt, ...) _mpp_dbg_f(hal_h264e_debug, flag, fmt, ## __VA_ARGS__)
|
||||
|
|
@ -42,6 +43,7 @@
|
|||
#define hal_h264e_dbg_amend(fmt, ...) hal_h264e_dbg_f(HAL_H264E_DBG_AMEND, fmt, ## __VA_ARGS__)
|
||||
|
||||
#define hal_h264e_dbg_rc(fmt, ...) hal_h264e_dbg_f(HAL_H264E_DBG_RC, fmt, ## __VA_ARGS__)
|
||||
#define hal_h264e_dbg_smartv3(fmt, ...) hal_h264e_dbg_f(HAL_H264E_DBG_SMART_V3, fmt, ## __VA_ARGS__)
|
||||
|
||||
#define hal_h264e_enter() hal_h264e_dbg_func("enter\n");
|
||||
#define hal_h264e_leave() hal_h264e_dbg_func("leave\n");
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
#define HAL_H265E_DBG_WGT_REGS (0x00000080)
|
||||
#define HAL_H265E_DBG_RDO_REGS (0x000000C0)
|
||||
#define HAL_H265E_DBG_ST_REGS (0x00000100) /* status registers */
|
||||
#define HAL_H265E_DBG_SMART_V3 (0x00000200)
|
||||
|
||||
#define HAL_H265E_DBG_INPUT (0x00020000)
|
||||
#define HAL_H265E_DBG_OUTPUT (0x00040000)
|
||||
|
|
@ -50,6 +51,7 @@
|
|||
#define hal_h265e_dbg_wgt(fmt, ...) hal_h265e_dbg(HAL_H265E_DBG_WGT_REGS, fmt, ## __VA_ARGS__)
|
||||
#define hal_h265e_dbg_rdo(fmt, ...) hal_h265e_dbg(HAL_H265E_DBG_RDO_REGS, fmt, ## __VA_ARGS__)
|
||||
#define hal_h265e_dbg_st(fmt, ...) hal_h265e_dbg(HAL_H265E_DBG_ST_REGS, fmt, ## __VA_ARGS__)
|
||||
#define hal_h265e_dbg_smartv3(fmt, ...) hal_h265e_dbg(HAL_H265E_DBG_SMART_V3, fmt, ## __VA_ARGS__)
|
||||
|
||||
#define hal_h265e_dbg_input(fmt, ...) hal_h265e_dbg(HAL_H265E_DBG_INPUT, fmt, ## __VA_ARGS__)
|
||||
#define hal_h265e_dbg_output(fmt, ...) hal_h265e_dbg(HAL_H265E_DBG_OUTPUT, fmt, ## __VA_ARGS__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue