xref: /aosp_15_r20/external/libhevc/common/ihevc_recon.h (revision c83a76b084498d55f252f48b2e3786804cdf24b7)
1*c83a76b0SSuyog Pawar /******************************************************************************
2*c83a76b0SSuyog Pawar *
3*c83a76b0SSuyog Pawar * Copyright (C) 2012 Ittiam Systems Pvt Ltd, Bangalore
4*c83a76b0SSuyog Pawar *
5*c83a76b0SSuyog Pawar * Licensed under the Apache License, Version 2.0 (the "License");
6*c83a76b0SSuyog Pawar * you may not use this file except in compliance with the License.
7*c83a76b0SSuyog Pawar * You may obtain a copy of the License at:
8*c83a76b0SSuyog Pawar *
9*c83a76b0SSuyog Pawar * http://www.apache.org/licenses/LICENSE-2.0
10*c83a76b0SSuyog Pawar *
11*c83a76b0SSuyog Pawar * Unless required by applicable law or agreed to in writing, software
12*c83a76b0SSuyog Pawar * distributed under the License is distributed on an "AS IS" BASIS,
13*c83a76b0SSuyog Pawar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*c83a76b0SSuyog Pawar * See the License for the specific language governing permissions and
15*c83a76b0SSuyog Pawar * limitations under the License.
16*c83a76b0SSuyog Pawar *
17*c83a76b0SSuyog Pawar ******************************************************************************/
18*c83a76b0SSuyog Pawar /**
19*c83a76b0SSuyog Pawar *******************************************************************************
20*c83a76b0SSuyog Pawar * @file
21*c83a76b0SSuyog Pawar *  ihevc_recon.h
22*c83a76b0SSuyog Pawar *
23*c83a76b0SSuyog Pawar * @brief
24*c83a76b0SSuyog Pawar *  Functions declarations reconstruction
25*c83a76b0SSuyog Pawar *
26*c83a76b0SSuyog Pawar * @author
27*c83a76b0SSuyog Pawar *  Ittiam
28*c83a76b0SSuyog Pawar *
29*c83a76b0SSuyog Pawar * @remarks
30*c83a76b0SSuyog Pawar *  None
31*c83a76b0SSuyog Pawar *
32*c83a76b0SSuyog Pawar *******************************************************************************
33*c83a76b0SSuyog Pawar */
34*c83a76b0SSuyog Pawar #ifndef _IHEVC_RECON_H_
35*c83a76b0SSuyog Pawar #define _IHEVC_RECON_H_
36*c83a76b0SSuyog Pawar 
37*c83a76b0SSuyog Pawar typedef void ihevc_recon_4x4_ttype1_ft(WORD16 *pi2_src,
38*c83a76b0SSuyog Pawar                                        UWORD8 *pu1_pred,
39*c83a76b0SSuyog Pawar                                        UWORD8 *pu1_dst,
40*c83a76b0SSuyog Pawar                                        WORD32 src_strd,
41*c83a76b0SSuyog Pawar                                        WORD32 pred_strd,
42*c83a76b0SSuyog Pawar                                        WORD32 dst_strd,
43*c83a76b0SSuyog Pawar                                        WORD32 zero_cols);
44*c83a76b0SSuyog Pawar typedef void ihevc_hbd_recon_4x4_ttype1_ft(WORD16 *pi2_src,
45*c83a76b0SSuyog Pawar                                            UWORD16 *pu2_pred,
46*c83a76b0SSuyog Pawar                                            UWORD16 *pu2_dst,
47*c83a76b0SSuyog Pawar                                            WORD32 src_strd,
48*c83a76b0SSuyog Pawar                                            WORD32 pred_strd,
49*c83a76b0SSuyog Pawar                                            WORD32 dst_strd,
50*c83a76b0SSuyog Pawar                                            WORD32 zero_cols,
51*c83a76b0SSuyog Pawar                                            UWORD8 bit_depth);
52*c83a76b0SSuyog Pawar typedef void ihevc_recon_4x4_ft(WORD16 *pi2_src,
53*c83a76b0SSuyog Pawar                                 UWORD8 *pu1_pred,
54*c83a76b0SSuyog Pawar                                 UWORD8 *pu1_dst,
55*c83a76b0SSuyog Pawar                                 WORD32 src_strd,
56*c83a76b0SSuyog Pawar                                 WORD32 pred_strd,
57*c83a76b0SSuyog Pawar                                 WORD32 dst_strd,
58*c83a76b0SSuyog Pawar                                 WORD32 zero_cols);
59*c83a76b0SSuyog Pawar typedef void ihevc_hbd_recon_4x4_ft(WORD16 *pi2_src,
60*c83a76b0SSuyog Pawar                                     UWORD16 *pu2_pred,
61*c83a76b0SSuyog Pawar                                     UWORD16 *pu2_dst,
62*c83a76b0SSuyog Pawar                                     WORD32 src_strd,
63*c83a76b0SSuyog Pawar                                     WORD32 pred_strd,
64*c83a76b0SSuyog Pawar                                     WORD32 dst_strd,
65*c83a76b0SSuyog Pawar                                     WORD32 zero_cols,
66*c83a76b0SSuyog Pawar                                     UWORD8 bit_depth);
67*c83a76b0SSuyog Pawar typedef void ihevc_recon_8x8_ft(WORD16 *pi2_src,
68*c83a76b0SSuyog Pawar                                 UWORD8 *pu1_pred,
69*c83a76b0SSuyog Pawar                                 UWORD8 *pu1_dst,
70*c83a76b0SSuyog Pawar                                 WORD32 src_strd,
71*c83a76b0SSuyog Pawar                                 WORD32 pred_strd,
72*c83a76b0SSuyog Pawar                                 WORD32 dst_strd,
73*c83a76b0SSuyog Pawar                                 WORD32 zero_cols);
74*c83a76b0SSuyog Pawar typedef void ihevc_hbd_recon_8x8_ft(WORD16 *pi2_src,
75*c83a76b0SSuyog Pawar                                     UWORD16 *pu2_pred,
76*c83a76b0SSuyog Pawar                                     UWORD16 *pu2_dst,
77*c83a76b0SSuyog Pawar                                     WORD32 src_strd,
78*c83a76b0SSuyog Pawar                                     WORD32 pred_strd,
79*c83a76b0SSuyog Pawar                                     WORD32 dst_strd,
80*c83a76b0SSuyog Pawar                                     WORD32 zero_cols,
81*c83a76b0SSuyog Pawar                                     UWORD8 bit_depth);
82*c83a76b0SSuyog Pawar typedef void ihevc_recon_16x16_ft(WORD16 *pi2_src,
83*c83a76b0SSuyog Pawar                                   UWORD8 *pu1_pred,
84*c83a76b0SSuyog Pawar                                   UWORD8 *pu1_dst,
85*c83a76b0SSuyog Pawar                                   WORD32 src_strd,
86*c83a76b0SSuyog Pawar                                   WORD32 pred_strd,
87*c83a76b0SSuyog Pawar                                   WORD32 dst_strd,
88*c83a76b0SSuyog Pawar                                   WORD32 zero_cols);
89*c83a76b0SSuyog Pawar typedef void ihevc_hbd_recon_16x16_ft(WORD16 *pi2_src,
90*c83a76b0SSuyog Pawar                                       UWORD16 *pu2_pred,
91*c83a76b0SSuyog Pawar                                       UWORD16 *pu2_dst,
92*c83a76b0SSuyog Pawar                                       WORD32 src_strd,
93*c83a76b0SSuyog Pawar                                       WORD32 pred_strd,
94*c83a76b0SSuyog Pawar                                       WORD32 dst_strd,
95*c83a76b0SSuyog Pawar                                       WORD32 zero_cols,
96*c83a76b0SSuyog Pawar                                       UWORD8 bit_depth);
97*c83a76b0SSuyog Pawar typedef void ihevc_recon_32x32_ft(WORD16 *pi2_src,
98*c83a76b0SSuyog Pawar                                   UWORD8 *pu1_pred,
99*c83a76b0SSuyog Pawar                                   UWORD8 *pu1_dst,
100*c83a76b0SSuyog Pawar                                   WORD32 src_strd,
101*c83a76b0SSuyog Pawar                                   WORD32 pred_strd,
102*c83a76b0SSuyog Pawar                                   WORD32 dst_strd,
103*c83a76b0SSuyog Pawar                                   WORD32 zero_cols);
104*c83a76b0SSuyog Pawar typedef void ihevc_hbd_recon_32x32_ft(WORD16 *pi2_src,
105*c83a76b0SSuyog Pawar                                       UWORD16 *pu2_pred,
106*c83a76b0SSuyog Pawar                                       UWORD16 *pu2_dst,
107*c83a76b0SSuyog Pawar                                       WORD32 src_strd,
108*c83a76b0SSuyog Pawar                                       WORD32 pred_strd,
109*c83a76b0SSuyog Pawar                                       WORD32 dst_strd,
110*c83a76b0SSuyog Pawar                                       WORD32 zero_cols,
111*c83a76b0SSuyog Pawar                                       UWORD8 bit_depth);
112*c83a76b0SSuyog Pawar 
113*c83a76b0SSuyog Pawar ihevc_recon_4x4_ttype1_ft ihevc_recon_4x4_ttype1;
114*c83a76b0SSuyog Pawar ihevc_hbd_recon_4x4_ttype1_ft ihevc_hbd_recon_4x4_ttype1;
115*c83a76b0SSuyog Pawar ihevc_recon_4x4_ft ihevc_recon_4x4;
116*c83a76b0SSuyog Pawar ihevc_hbd_recon_4x4_ft ihevc_hbd_recon_4x4;
117*c83a76b0SSuyog Pawar ihevc_recon_8x8_ft ihevc_recon_8x8;
118*c83a76b0SSuyog Pawar ihevc_hbd_recon_8x8_ft ihevc_hbd_recon_8x8;
119*c83a76b0SSuyog Pawar ihevc_recon_16x16_ft ihevc_recon_16x16;
120*c83a76b0SSuyog Pawar ihevc_hbd_recon_16x16_ft ihevc_hbd_recon_16x16;
121*c83a76b0SSuyog Pawar ihevc_recon_32x32_ft ihevc_recon_32x32;
122*c83a76b0SSuyog Pawar ihevc_hbd_recon_32x32_ft ihevc_hbd_recon_32x32;
123*c83a76b0SSuyog Pawar 
124*c83a76b0SSuyog Pawar #endif /*_IHEVC_RECON_H_*/
125