Home | History | Annotate | Download | only in common
      1 /******************************************************************************
      2 *
      3 * Copyright (C) 2012 Ittiam Systems Pvt Ltd, Bangalore
      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 /**
     19 *******************************************************************************
     20 * @file
     21 *  ihevc_chroma_iquant_recon.h
     22 *
     23 * @brief
     24 *  Functions declarations for inverse quantization and  reconstruction  of
     25 * chroma interleaved data.
     26 *
     27 * @author
     28 *  Ittiam
     29 *
     30 * @remarks
     31 *  None
     32 *
     33 *******************************************************************************
     34 */
     35 
     36 
     37 #ifndef _IHEVC_CHROMA_IQUANT_RECON_H_
     38 #define _IHEVC_CHROMA_IQUANT_RECON_H_
     39 
     40 typedef void ihevc_chroma_iquant_recon_4x4_ft(WORD16 *pi2_src,
     41                                               UWORD8 *pu1_pred,
     42                                               WORD16 *pi2_dequant_coeff,
     43                                               UWORD8 *pu1_dst,
     44                                               WORD32 qp_div, /* qpscaled / 6 */
     45                                               WORD32 qp_rem, /* qpscaled % 6 */
     46                                               WORD32 src_strd,
     47                                               WORD32 pred_strd,
     48                                               WORD32 dst_strd,
     49                                               WORD32 zero_cols);
     50 typedef void ihevc_hbd_chroma_iquant_recon_4x4_ft(WORD16 *pi2_src,
     51                                                   UWORD16 *pu2_pred,
     52                                                   WORD16 *pi2_dequant_coeff,
     53                                                   UWORD16 *pu2_dst,
     54                                                   WORD32 qp_div, /* qpscaled / 6 */
     55                                                   WORD32 qp_rem, /* qpscaled % 6 */
     56                                                   WORD32 src_strd,
     57                                                   WORD32 pred_strd,
     58                                                   WORD32 dst_strd,
     59                                                   WORD32 zero_cols,
     60                                                   UWORD8 bit_depth);
     61 typedef void ihevc_chroma_iquant_recon_8x8_ft(WORD16 *pi2_src,
     62                                               UWORD8 *pu1_pred,
     63                                               WORD16 *pi2_dequant_coeff,
     64                                               UWORD8 *pu1_dst,
     65                                               WORD32 qp_div, /* qpscaled / 6 */
     66                                               WORD32 qp_rem, /* qpscaled % 6 */
     67                                               WORD32 src_strd,
     68                                               WORD32 pred_strd,
     69                                               WORD32 dst_strd,
     70                                               WORD32 zero_cols);
     71 typedef void ihevc_hbd_chroma_iquant_recon_8x8_ft(WORD16 *pi2_src,
     72                                                   UWORD16 *pu2_pred,
     73                                                   WORD16 *pi2_dequant_coeff,
     74                                                   UWORD16 *pu2_dst,
     75                                                   WORD32 qp_div, /* qpscaled / 6 */
     76                                                   WORD32 qp_rem, /* qpscaled % 6 */
     77                                                   WORD32 src_strd,
     78                                                   WORD32 pred_strd,
     79                                                   WORD32 dst_strd,
     80                                                   WORD32 zero_cols,
     81                                                   UWORD8 bit_depth);
     82 typedef void ihevc_chroma_iquant_recon_16x16_ft(WORD16 *pi2_src,
     83                                                 UWORD8 *pu1_pred,
     84                                                 WORD16 *pi2_dequant_coeff,
     85                                                 UWORD8 *pu1_dst,
     86                                                 WORD32 qp_div, /* qpscaled / 6 */
     87                                                 WORD32 qp_rem, /* qpscaled % 6 */
     88                                                 WORD32 src_strd,
     89                                                 WORD32 pred_strd,
     90                                                 WORD32 dst_strd,
     91                                                 WORD32 zero_cols);
     92 typedef void ihevc_hbd_chroma_iquant_recon_16x16_ft(WORD16 *pi2_src,
     93                                                     UWORD16 *pu2_pred,
     94                                                     WORD16 *pi2_dequant_coeff,
     95                                                     UWORD16 *pu2_dst,
     96                                                     WORD32 qp_div, /* qpscaled / 6 */
     97                                                     WORD32 qp_rem, /* qpscaled % 6 */
     98                                                     WORD32 src_strd,
     99                                                     WORD32 pred_strd,
    100                                                     WORD32 dst_strd,
    101                                                     WORD32 zero_cols,
    102                                                     UWORD8 bit_depth);
    103 
    104 ihevc_chroma_iquant_recon_4x4_ft ihevc_chroma_iquant_recon_4x4;
    105 ihevc_hbd_chroma_iquant_recon_4x4_ft ihevc_hbd_chroma_iquant_recon_4x4;
    106 ihevc_chroma_iquant_recon_8x8_ft ihevc_chroma_iquant_recon_8x8;
    107 ihevc_hbd_chroma_iquant_recon_8x8_ft ihevc_hbd_chroma_iquant_recon_8x8;
    108 ihevc_chroma_iquant_recon_16x16_ft ihevc_chroma_iquant_recon_16x16;
    109 ihevc_hbd_chroma_iquant_recon_16x16_ft ihevc_hbd_chroma_iquant_recon_16x16;
    110 
    111 #endif /*_IHEVC_CHROMA_IQUANT_RECON_H_*/
    112