1*15dc779aSAndroid Build Coastguard Worker /****************************************************************************** 2*15dc779aSAndroid Build Coastguard Worker * * 3*15dc779aSAndroid Build Coastguard Worker * Copyright (C) 2018 The Android Open Source Project 4*15dc779aSAndroid Build Coastguard Worker * 5*15dc779aSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 6*15dc779aSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 7*15dc779aSAndroid Build Coastguard Worker * You may obtain a copy of the License at: 8*15dc779aSAndroid Build Coastguard Worker * 9*15dc779aSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 10*15dc779aSAndroid Build Coastguard Worker * 11*15dc779aSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 12*15dc779aSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 13*15dc779aSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*15dc779aSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 15*15dc779aSAndroid Build Coastguard Worker * limitations under the License. 16*15dc779aSAndroid Build Coastguard Worker * 17*15dc779aSAndroid Build Coastguard Worker ***************************************************************************** 18*15dc779aSAndroid Build Coastguard Worker * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore 19*15dc779aSAndroid Build Coastguard Worker */ 20*15dc779aSAndroid Build Coastguard Worker #ifndef IXHEAACD_PVC_DEC_H 21*15dc779aSAndroid Build Coastguard Worker #define IXHEAACD_PVC_DEC_H 22*15dc779aSAndroid Build Coastguard Worker 23*15dc779aSAndroid Build Coastguard Worker typedef struct { 24*15dc779aSAndroid Build Coastguard Worker UWORD8 pvc_mode; 25*15dc779aSAndroid Build Coastguard Worker UWORD8 div_mode; 26*15dc779aSAndroid Build Coastguard Worker UWORD8 ns_mode; 27*15dc779aSAndroid Build Coastguard Worker UWORD8 num_time_slots; 28*15dc779aSAndroid Build Coastguard Worker UWORD8 nb_high; 29*15dc779aSAndroid Build Coastguard Worker UWORD8 nb_high_per_grp; 30*15dc779aSAndroid Build Coastguard Worker UWORD8 prev_pvc_flg; 31*15dc779aSAndroid Build Coastguard Worker UWORD8 prev_pvc_mode; 32*15dc779aSAndroid Build Coastguard Worker UWORD8 pvc_rate; 33*15dc779aSAndroid Build Coastguard Worker UWORD8 prev_pvc_rate; 34*15dc779aSAndroid Build Coastguard Worker WORD16 dummy; 35*15dc779aSAndroid Build Coastguard Worker 36*15dc779aSAndroid Build Coastguard Worker UWORD16 pvc_id[PVC_NUM_TIME_SLOTS]; 37*15dc779aSAndroid Build Coastguard Worker UWORD16 prev_pvc_id; 38*15dc779aSAndroid Build Coastguard Worker WORD8 *p_pred_coeff_tab_1; 39*15dc779aSAndroid Build Coastguard Worker WORD8 *p_pred_coeff_tab_2; 40*15dc779aSAndroid Build Coastguard Worker UWORD8 *p_pvc_id_boundary; 41*15dc779aSAndroid Build Coastguard Worker WORD16 prev_first_bnd_idx; 42*15dc779aSAndroid Build Coastguard Worker WORD32 prev_sbr_mode; 43*15dc779aSAndroid Build Coastguard Worker FLOAT32 *p_smth_wind_coeff; 44*15dc779aSAndroid Build Coastguard Worker FLOAT32 *p_q_fac; 45*15dc779aSAndroid Build Coastguard Worker FLOAT32 esg[2 * PVC_NUM_TIME_SLOTS - 1][3]; 46*15dc779aSAndroid Build Coastguard Worker FLOAT32 smooth_esg_arr[PVC_NUM_TIME_SLOTS * 3]; 47*15dc779aSAndroid Build Coastguard Worker FLOAT32 sbr_range_esg_arr[PVC_NUM_TIME_SLOTS * 8]; 48*15dc779aSAndroid Build Coastguard Worker 49*15dc779aSAndroid Build Coastguard Worker } ia_pvc_data_struct; 50*15dc779aSAndroid Build Coastguard Worker 51*15dc779aSAndroid Build Coastguard Worker WORD32 ixheaacd_pvc_process(ia_pvc_data_struct *ptr_pvc_data, 52*15dc779aSAndroid Build Coastguard Worker WORD16 first_bnd_idx, WORD32 first_pvc_timelost, 53*15dc779aSAndroid Build Coastguard Worker FLOAT32 *a_qmfl, FLOAT32 *a_qmfh); 54*15dc779aSAndroid Build Coastguard Worker 55*15dc779aSAndroid Build Coastguard Worker #endif /* IXHEAACD_PVC_DEC_H */ 56