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