1 /******************************************************************************
2  *
3  * Copyright (C) 2015 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *****************************************************************************
18  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20 #ifndef __IMPEG2D_GLOBALS_H__
21 #define __IMPEG2D_GLOBALS_H__
22 
23 typedef struct
24 {
25     UWORD16     mvy_cf;
26     UWORD16     mv_num_cf;
27     UWORD16     frm_wd_cf;
28     UWORD16     src_wd_cf;
29     UWORD32      rows;
30     UWORD32      dst_wd;
31     UWORD32      dst_offset_scale;
32 }mc_type_consts_t;
33 
34 extern const mc_type_consts_t gas_impeg2d_mc_params_luma[][2];
35 extern const mc_type_consts_t gas_impeg2d_mc_params_chroma[][2];
36 
37 extern const dec_mb_params_t gas_impeg2d_func_frm_fw_or_bk[];
38 extern const dec_mb_params_t gas_impeg2d_func_fld_fw_or_bk[];
39 
40 extern const dec_mb_params_t gas_impeg2d_func_frm_bi_direct[];
41 extern const dec_mb_params_t gas_impeg2d_func_fld_bi_direct[];
42 
43 #endif /* __IMPEG2D_GLOBALS_H__ */
44