xref: /rockchip-linux_mpp/mpp/hal/rkenc/common/vepu580_tune.h (revision 437bfbeb9567cca9cd9080e3f6954aa9d6a94f18)
1 /*
2  * Copyright 2022 Rockchip Electronics Co. LTD
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef __VEPU580_TUNE_H__
18 #define __VEPU580_TUNE_H__
19 
20 #define FRAME_CONTENT_ANALYSIS_NUM  5
21 #define FRAME_MOTION_ANALYSIS_NUM   5
22 #define MD_WIN_LEN                  5
23 #define MD_SHOW_LEN                 4
24 
25 typedef enum MotionLevel_e {
26     MOTION_LEVEL_STILL              = 0,
27     MOTION_LEVEL_MOTION             = 1,
28     MOTION_LEVEL_BIG_MOTION         = 2,
29     MOTION_LEVEL_UNKNOW_SCENE       = 3,
30 } MotionLevel;
31 
32 extern RK_S32 ctu_madp_cnt_thd[6][8];
33 extern RK_S32 madp_num_map[5][4];
34 
35 #endif
36