1 /****************************************************************************** 2 * * 3 * Copyright (C) 2018 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 #ifndef IXHEAACD_HCR_H 22 #define IXHEAACD_HCR_H 23 void ixheaacd_huff_code_reorder_tbl_init(ia_hcr_info_struct* ptr_hcr_info); 24 UWORD32 ixheaacd_huff_code_reorder_init( 25 ia_hcr_info_struct* ptr_hcr_info, 26 ia_aac_dec_channel_info_struct* ptr_aac_dec_channel_info, 27 ia_aac_dec_tables_struct* ptr_aac_tables, ia_bit_buf_struct* itt_bit_buff); 28 UWORD32 ixheaacd_hcr_decoder( 29 ia_hcr_info_struct* ptr_hcr_info, 30 ia_aac_dec_channel_info_struct* ptr_aac_dec_channel_info, 31 ia_aac_dec_tables_struct* ptr_aac_tables, ia_bit_buf_struct* itt_bit_buff); 32 VOID ixheaacd_huff_mute_erroneous_lines(ia_hcr_info_struct* ptr_hcr_info); 33 34 void ixheaacd_lt_prediction( 35 ia_aac_dec_channel_info_struct* ptr_aac_dec_channel_info, ltp_info* ltp, 36 WORD32* spec, ia_aac_dec_tables_struct* aac_tables_ptr, 37 UWORD16 win_shape_prev, UWORD32 sr_index, UWORD32 object_type, 38 UWORD32 frame_len, WORD32* in_data, WORD32* out_data); 39 40 WORD32 ixheaacd_ltp_data(WORD32 object_type, ia_ics_info_struct* ics, 41 ltp_info* ltp, ia_handle_bit_buf_struct bs, 42 WORD32 frame_len); 43 44 #endif 45