mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
video: rockchip: mpp: Add scaledown idx and change rkvdec reg num
1.add scaledown idx to trans_tbl
2.change rkvdec reg num
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I5f2911ce8285cda6159478bf9b02f8fa13361343
This commit is contained in:
@@ -54,27 +54,27 @@ static const u16 trans_tbl_h264d[] = {
|
||||
128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
||||
161, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
||||
177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
||||
192, 193, 194, 195, 196, 197
|
||||
192, 193, 194, 195, 196, 197, 198, 199
|
||||
};
|
||||
|
||||
static const u16 trans_tbl_h265d[] = {
|
||||
128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
||||
161, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
||||
177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
||||
192, 193, 194, 195, 196, 197
|
||||
192, 193, 194, 195, 196, 197, 198, 199
|
||||
};
|
||||
|
||||
static const u16 trans_tbl_vp9d[] = {
|
||||
128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
||||
160, 162, 164, 165, 166, 167, 168, 169, 170, 171, 172, 180, 181, 182, 183,
|
||||
184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197
|
||||
184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199
|
||||
};
|
||||
|
||||
static const u16 trans_tbl_avs2d[] = {
|
||||
128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
||||
161, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
||||
177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
||||
192, 193, 194, 195, 196, 197
|
||||
192, 193, 194, 195, 196, 197, 198, 199
|
||||
};
|
||||
|
||||
static struct mpp_trans_info rkvdec_v2_trans[] = {
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
|
||||
#define RKVDEC_SESSION_MAX_BUFFERS 40
|
||||
/* The maximum registers number of all the version */
|
||||
#define RKVDEC_REG_NUM 278
|
||||
#define RKVDEC_REG_NUM 279
|
||||
#define RKVDEC_REG_HW_ID_INDEX 0
|
||||
#define RKVDEC_REG_START_INDEX 0
|
||||
#define RKVDEC_REG_END_INDEX 277
|
||||
#define RKVDEC_REG_END_INDEX 278
|
||||
|
||||
#define REVDEC_GET_PROD_NUM(x) (((x) >> 16) & 0xffff)
|
||||
#define RKVDEC_REG_FORMAT_INDEX 9
|
||||
|
||||
Reference in New Issue
Block a user