1 /****************************************************************************** 2 * 3 * Copyright (C) 2022 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 /** 21 ******************************************************************************* 22 * @file 23 * isvcd_iquant_itrans_residual_recon.h 24 * 25 * @brief 26 * Contains declarations for forward and inverse transform paths for SVC Target 27 * Layer 28 * 29 * @author 30 * Kishore 31 * 32 * @remarks 33 * None 34 * 35 ******************************************************************************* 36 */ 37 38 #ifndef ISVCD_ITRANS_IQUANT_RESD_RECON_ 39 #define ISVCD_ITRANS_IQUANT_RESD_RECON_ 40 41 /*Function prototype declarations*/ 42 typedef WORD32 ih264_iquant_itrans_residual_recon_ft( 43 WORD16 *pi2_src, UWORD8 *pu1_pred, WORD16 *pi2_rsd, UWORD8 *pu1_out, WORD32 pred_strd, 44 WORD32 rsd_stride, WORD32 out_strd, const UWORD16 *pu2_iscale_mat, const UWORD16 *pu2_weigh_mat, 45 UWORD32 qp_div, WORD16 *pi2_tmp, WORD32 iq_start_idx, WORD16 *pi2_dc_ld_addr); 46 47 typedef void ih264_iquant_itrans_residual_recon_chroma_ft( 48 WORD16 *pi2_src, UWORD8 *pu1_pred, WORD16 *pi2_rsd, UWORD8 *pu1_out, WORD32 pred_strd, 49 WORD32 rsd_stride, WORD32 out_strd, const UWORD16 *pu2_iscal_mat, const UWORD16 *pu2_weigh_mat, 50 UWORD32 u4_qp_div_6, WORD16 *pi2_tmp, WORD16 *pi2_dc_src); 51 52 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_4x4; 53 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_8x8; 54 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_4x4_dc; 55 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_8x8_dc; 56 ih264_iquant_itrans_residual_recon_chroma_ft isvcd_iquant_itrans_residual_recon_chroma_4x4; 57 ih264_iquant_itrans_residual_recon_chroma_ft isvcd_iquant_itrans_residual_recon_chroma_4x4_dc; 58 59 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_4x4_dc_neonintr; 60 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_8x8_dc_neonintr; 61 ih264_iquant_itrans_residual_recon_chroma_ft 62 isvcd_iquant_itrans_residual_recon_chroma_4x4_dc_neonintr; 63 64 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_4x4_neonintr; 65 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_8x8_neonintr; 66 ih264_iquant_itrans_residual_recon_chroma_ft isvcd_iquant_itrans_residual_recon_chroma_4x4_neonintr; 67 68 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_4x4_dc_sse42; 69 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_8x8_dc_sse42; 70 ih264_iquant_itrans_residual_recon_chroma_ft isvcd_iquant_itrans_residual_recon_chroma_4x4_dc_sse42; 71 72 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_4x4_sse42; 73 ih264_iquant_itrans_residual_recon_ft isvcd_iquant_itrans_residual_recon_8x8_sse42; 74 ih264_iquant_itrans_residual_recon_chroma_ft isvcd_iquant_itrans_residual_recon_chroma_4x4_sse42; 75 76 #endif /* ISVCD_ITRANS_IQUANT_RESD_RECON_ */ 77