xref: /rockchip-linux_mpp/mpp/hal/rkenc/common/vepu580_tune.c (revision 437bfbeb9567cca9cd9080e3f6954aa9d6a94f18)
1 /* SPDX-License-Identifier: Apache-2.0 */
2 /*
3  * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
4  */
5 
6 #define MODULE_TAG "vepu580_tune"
7 
8 #include "rk_type.h"
9 #include "vepu580_tune.h"
10 
11 RK_S32 ctu_madp_cnt_thd[6][8] = {
12     {50,  100, 130, 50,  100, 550, 500, 550},
13     {100, 150, 200, 80,  120, 500, 450, 550},
14     {150, 200, 250, 100, 150, 450, 400, 450},
15     {50,  100, 130, 50,  100, 550, 500, 550},
16     {100, 150, 200, 80,  120, 500, 450, 550},
17     {150, 200, 250, 100, 150, 450, 400, 450}
18 };
19 
20 RK_S32 madp_num_map[5][4] = {
21     {0, 0, 0, 1},
22     {0, 0, 1, 0},
23     {0, 0, 1, 1},
24     {1, 0, 0, 0},
25     {1, 1, 1, 1},
26 };
27