[h264e_prep]: add prep cfg interface for dsp

1. cfg sharpen parameters

export h264e_hal_debug=0x8001, to open log
export h264e_hal_debug=0x1,    to close log

Change-Id: I97322f9819cfbb6909b86afc25f84bacac9841af
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
This commit is contained in:
Lin Kesheng
2016-11-29 19:58:12 +08:00
parent 6a4c890291
commit 0e8b435b82
4 changed files with 44 additions and 6 deletions

View File

@@ -18,6 +18,7 @@
#define __RK_MPI_CMD_H__
#include "rk_type.h"
#include "mpp_frame.h"
/*
* Command id bit usage is defined as follows:
@@ -315,6 +316,17 @@ typedef struct MppEncPrepCfg_t {
MppFrameFormat format_in;
MppFrameFormat format_out;
RK_U32 rotation;
// sharpen
RK_U32 src_shp_en_y;
RK_U32 src_shp_en_uv;
RK_U32 src_shp_thr;
RK_U32 src_shp_div;
RK_U32 src_shp_w0;
RK_U32 src_shp_w1;
RK_U32 src_shp_w2;
RK_U32 src_shp_w3;
RK_U32 src_shp_w4;
} MppEncPrepCfg;
/*