Lines Matching refs:it_bit_buff

71 VOID ixheaacd_huffman_decode(WORD32 it_bit_buff, WORD16 *h_index, WORD16 *len,  in ixheaacd_huffman_decode()  argument
89 temp = (UWORD32)(it_bit_buff & mask); in ixheaacd_huffman_decode()
111 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_esbr_pvc_envelope() argument
124 div_mode = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_DIV_MODE_BITS); in ixheaacd_read_esbr_pvc_envelope()
125 ns_mode = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_NS_MODE_BITS); in ixheaacd_read_esbr_pvc_envelope()
137 (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_REUSE_PVC_ID_BITS); in ixheaacd_read_esbr_pvc_envelope()
142 pvc_id[0] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
158 length = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, length_bits); in ixheaacd_read_esbr_pvc_envelope()
167 pvc_id[k++] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
198 grid_info = ixheaacd_read_bits_buf(it_bit_buff, PVC_GRID_INFO_BITS); in ixheaacd_read_esbr_pvc_envelope()
201 pvc_id[0] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
210 grid_info = ixheaacd_read_bits_buf(it_bit_buff, PVC_GRID_INFO_BITS); in ixheaacd_read_esbr_pvc_envelope()
212 pvc_id[k++] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
232 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_pvc_env_dtdf_data() argument
241 ixheaacd_read_bits_buf(it_bit_buff, ESBR_DOMAIN_BITS); in ixheaacd_pvc_env_dtdf_data()
246 ixheaacd_read_bits_buf(it_bit_buff, ESBR_DOMAIN_BITS); in ixheaacd_pvc_env_dtdf_data()
253 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_read_sbr_addi_data() argument
256 WORD32 flag = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_sbr_addi_data()
267 ptr_frame_data->add_harmonics[i] = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_sbr_addi_data()
273 ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_sbr_addi_data()
276 ptr_frame_data->sine_position = ixheaacd_read_bits_buf(it_bit_buff, 5); in ixheaacd_read_sbr_addi_data()
308 ia_handle_bit_buf_struct it_bit_buff) { in ixheaacd_ssc_huff_dec() argument
317 bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_ssc_huff_dec()
337 ia_sbr_header_data_struct *pstr_sbr_header, ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_read_header_data() argument
352 it_bit_buff, SBR_AMPLITUDE_RESOLUTION_BITS + SBR_BEGIN_SAMP_FREQ_BITS + in ixheaacd_sbr_read_header_data()
368 it_bit_buff, in ixheaacd_sbr_read_header_data()
387 info_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_header_data()
389 header_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_header_data()
396 tmp = ixheaacd_read_bits_buf(it_bit_buff, SBR_AMPLITUDE_RESOLUTION_BITS + in ixheaacd_sbr_read_header_data()
406 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PVC_MODE_BITS); in ixheaacd_sbr_read_header_data()
413 use_dflt_hdr = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_header_data()
428 it_bit_buff, SBR_BEGIN_SAMP_FREQ_BITS + SBR_END_SAMP_FREQ_BITS + in ixheaacd_sbr_read_header_data()
447 it_bit_buff, in ixheaacd_sbr_read_header_data()
462 it_bit_buff, SBR_BND_LIMIT_BITS + SBR_GAIN_LIMIT_BITS + in ixheaacd_sbr_read_header_data()
496 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_sbr_sin_coding_data() argument
503 (FLAG)ixheaacd_read_bits_buf(it_bit_buff, SBR_ADD_SINE_FLAG_BITS); in ixheaacd_sbr_sin_coding_data()
569 ia_bit_buf_struct *it_bit_buff, ia_ps_tables_struct *ps_tables_ptr) { in ixheaacd_read_extn_data() argument
574 extended_data = ixheaacd_read_bits_buf(it_bit_buff, SBR_ENLARGED_DATA_BITS); in ixheaacd_read_extn_data()
582 cnt = ixheaacd_read_bits_buf(it_bit_buff, SBR_CONT_SIZE_BITS); in ixheaacd_read_extn_data()
585 cnt = (cnt + ixheaacd_read_bits_buf(it_bit_buff, SBR_CONT_ESC_CNT_BITS)); in ixheaacd_read_extn_data()
591 WORD extension_id = ixheaacd_read_bits_buf(it_bit_buff, SBR_CONT_ID_BITS); in ixheaacd_read_extn_data()
604 (no_bits_left - ixheaacd_read_ps_data(ptr_ps_dec, it_bit_buff, in ixheaacd_read_extn_data()
617 for (i = cnt - 1; i >= 0; i--) ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_extn_data()
625 ixheaacd_read_bits_buf(it_bit_buff, no_bits_left); in ixheaacd_read_extn_data()
631 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_read_pvc_sce() argument
644 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PATCHING_MODE_BITS); in ixheaacd_sbr_read_pvc_sce()
648 ixheaacd_read_bits_buf(it_bit_buff, ESBR_OVERSAMPLING_FLAG_BITS); in ixheaacd_sbr_read_pvc_sce()
649 if (ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_FLAG_BITS)) in ixheaacd_sbr_read_pvc_sce()
651 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_BINS_BITS); in ixheaacd_sbr_read_pvc_sce()
659 err_code = ixheaacd_pvc_time_freq_grid_info(it_bit_buff, ptr_frame_data); in ixheaacd_sbr_read_pvc_sce()
664 ixheaacd_pvc_env_dtdf_data(ptr_frame_data, it_bit_buff); in ixheaacd_sbr_read_pvc_sce()
669 (WORD32)ixheaacd_read_bits_buf(it_bit_buff, ESBR_INVF_MODE_BITS); in ixheaacd_sbr_read_pvc_sce()
674 ixheaacd_read_esbr_pvc_envelope(ptr_pvc_data, it_bit_buff, in ixheaacd_sbr_read_pvc_sce()
678 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_pvc_sce()
685 ixheaacd_read_sbr_addi_data(ptr_frame_data, ptr_header_data, it_bit_buff); in ixheaacd_sbr_read_pvc_sce()
695 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_read_sce() argument
709 bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_sce()
711 if (bit) ixheaacd_read_bits_buf(it_bit_buff, SBR_SCE_RESERV_BITS); in ixheaacd_sbr_read_sce()
715 if (!ixheaacd_extract_frame_info_ld(it_bit_buff, ptr_frame_data)) in ixheaacd_sbr_read_sce()
719 if (!ixheaacd_sbr_time_freq_grid_info(it_bit_buff, ptr_frame_data, in ixheaacd_sbr_read_sce()
732 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PATCHING_MODE_BITS); in ixheaacd_sbr_read_sce()
735 ixheaacd_read_bits_buf(it_bit_buff, ESBR_OVERSAMPLING_FLAG_BITS); in ixheaacd_sbr_read_sce()
736 if (ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_FLAG_BITS)) in ixheaacd_sbr_read_sce()
738 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_BINS_BITS); in ixheaacd_sbr_read_sce()
746 if (!ixheaacd_sbr_time_freq_grid_info(it_bit_buff, ptr_frame_data, in ixheaacd_sbr_read_sce()
758 ixheaacd_sbr_env_dtdf_data(ptr_frame_data, it_bit_buff, in ixheaacd_sbr_read_sce()
768 (WORD32)ixheaacd_read_bits_buf(it_bit_buff, SBR_INVERSE_FILT_MODE_BITS); in ixheaacd_sbr_read_sce()
771 if (!ixheaacd_read_sbr_env_data(ptr_header_data, ptr_frame_data, it_bit_buff, in ixheaacd_sbr_read_sce()
776 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_sce()
785 bit = (FLAG)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_sce()
787 ixheaacd_sbr_sin_coding_data(ptr_header_data, ptr_frame_data, it_bit_buff); in ixheaacd_sbr_read_sce()
793 ixheaacd_read_extn_data(ptr_header_data, ptr_ps_dec, it_bit_buff, in ixheaacd_sbr_read_sce()
802 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_read_cpe() argument
812 bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_cpe()
819 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PATCHING_MODE_BITS); in ixheaacd_sbr_read_cpe()
823 it_bit_buff, ESBR_OVERSAMPLING_FLAG_BITS); in ixheaacd_sbr_read_cpe()
824 if (ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_FLAG_BITS)) in ixheaacd_sbr_read_cpe()
827 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_BINS_BITS); in ixheaacd_sbr_read_cpe()
843 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PATCHING_MODE_BITS); in ixheaacd_sbr_read_cpe()
846 ixheaacd_read_bits_buf(it_bit_buff, ESBR_OVERSAMPLING_FLAG_BITS); in ixheaacd_sbr_read_cpe()
847 if (ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_FLAG_BITS)) in ixheaacd_sbr_read_cpe()
849 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_BINS_BITS); in ixheaacd_sbr_read_cpe()
857 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PATCHING_MODE_BITS); in ixheaacd_sbr_read_cpe()
860 ixheaacd_read_bits_buf(it_bit_buff, ESBR_OVERSAMPLING_FLAG_BITS); in ixheaacd_sbr_read_cpe()
861 if (ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_FLAG_BITS)) in ixheaacd_sbr_read_cpe()
863 ixheaacd_read_bits_buf(it_bit_buff, ESBR_PITCHIN_BINS_BITS); in ixheaacd_sbr_read_cpe()
877 ixheaacd_read_bits_buf(it_bit_buff, in ixheaacd_sbr_read_cpe()
886 bit = ixheaacd_read_bits_buf(it_bit_buff, SBR_COUPLNG_MODE_BITS); in ixheaacd_sbr_read_cpe()
902 if (!ixheaacd_extract_frame_info_ld(it_bit_buff, ptr_frame_data[i])) in ixheaacd_sbr_read_cpe()
906 if (!ixheaacd_sbr_time_freq_grid_info(it_bit_buff, ptr_frame_data[i], in ixheaacd_sbr_read_cpe()
929 ixheaacd_sbr_env_dtdf_data(ptr_frame_data[0], it_bit_buff, in ixheaacd_sbr_read_cpe()
931 ixheaacd_sbr_env_dtdf_data(ptr_frame_data[1], it_bit_buff, in ixheaacd_sbr_read_cpe()
941 (WORD32)ixheaacd_read_bits_buf(it_bit_buff, ESBR_INVF_MODE_BITS); in ixheaacd_sbr_read_cpe()
945 ixheaacd_read_sbr_env_data(ptr_header_data, ptr_frame_data[0], it_bit_buff, in ixheaacd_sbr_read_cpe()
948 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_cpe()
950 ixheaacd_read_sbr_env_data(ptr_header_data, ptr_frame_data[1], it_bit_buff, in ixheaacd_sbr_read_cpe()
953 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_cpe()
963 ixheaacd_sbr_env_dtdf_data(ptr_frame_data[0], it_bit_buff, in ixheaacd_sbr_read_cpe()
965 ixheaacd_sbr_env_dtdf_data(ptr_frame_data[1], it_bit_buff, in ixheaacd_sbr_read_cpe()
978 it_bit_buff, SBR_INVERSE_FILT_MODE_BITS); in ixheaacd_sbr_read_cpe()
987 it_bit_buff, env_extr_tables_ptr, in ixheaacd_sbr_read_cpe()
993 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_cpe()
996 it_bit_buff, env_extr_tables_ptr, in ixheaacd_sbr_read_cpe()
1002 it_bit_buff, env_extr_tables_ptr, in ixheaacd_sbr_read_cpe()
1007 it_bit_buff, env_extr_tables_ptr, in ixheaacd_sbr_read_cpe()
1012 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_cpe()
1015 it_bit_buff, env_extr_tables_ptr); in ixheaacd_sbr_read_cpe()
1018 bit = (FLAG)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_cpe()
1021 it_bit_buff); in ixheaacd_sbr_read_cpe()
1026 bit = (FLAG)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_read_cpe()
1029 it_bit_buff); in ixheaacd_sbr_read_cpe()
1035 ixheaacd_read_extn_data(ptr_header_data, NULL, it_bit_buff, in ixheaacd_sbr_read_cpe()
1042 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_env_dtdf_data() argument
1057 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, SBR_DEL_COD_DIR_BITS); in ixheaacd_sbr_env_dtdf_data()
1062 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, SBR_DEL_COD_DIR_BITS); in ixheaacd_sbr_env_dtdf_data()
1069 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, SBR_DEL_COD_DIR_BITS); in ixheaacd_sbr_env_dtdf_data()
1074 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, SBR_DEL_COD_DIR_BITS); in ixheaacd_sbr_env_dtdf_data()
1079 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, SBR_DEL_COD_DIR_BITS); in ixheaacd_sbr_env_dtdf_data()
1084 (WORD16)ixheaacd_read_bits_buf(it_bit_buff, SBR_DEL_COD_DIR_BITS); in ixheaacd_sbr_env_dtdf_data()
1090 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_env_data() argument
1131 (WORD16)(ixheaacd_read_bits_buf(it_bit_buff, bits) << shift); in ixheaacd_read_env_data()
1141 if (it_bit_buff->cnt_bits < 20) { in ixheaacd_read_env_data()
1142 readword = ixheaacd_show_bits_buf(it_bit_buff, it_bit_buff->cnt_bits); in ixheaacd_read_env_data()
1143 readword = readword << (32 - it_bit_buff->cnt_bits); in ixheaacd_read_env_data()
1145 readword = ixheaacd_show_bits_buf(it_bit_buff, 20); in ixheaacd_read_env_data()
1151 ixheaacd_read_bits_buf(it_bit_buff, length); in ixheaacd_read_env_data()
1160 WORD32 flag = (WORD32)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_env_data()
1163 (WORD32)ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_read_env_data()
1174 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_sbr_noise_floor_data() argument
1220 ixheaacd_read_env_data(ptr_frame_data, it_bit_buff, hcb_noise, hcb_noise_env, in ixheaacd_read_sbr_noise_floor_data()
1230 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_sbr_env_data() argument
1319 ixheaacd_read_env_data(ptr_frame_data, it_bit_buff, hcb_t, hcb_f, idx_t, in ixheaacd_read_sbr_env_data()
1328 ia_bit_buf_struct *it_bit_buff, in ixheaacd_extract_frame_info_ld() argument
1344 ixheaacd_read_bits_buf(it_bit_buff, SBRLD_CLA_BITS); in ixheaacd_extract_frame_info_ld()
1348 temp = ixheaacd_read_bits_buf(it_bit_buff, SBR_ENV_BITS); in ixheaacd_extract_frame_info_ld()
1353 ixheaacd_read_bits_buf(it_bit_buff, SBR_AMPLITUDE_RESOLUTION_BITS); in ixheaacd_extract_frame_info_ld()
1355 f[0] = ixheaacd_read_bits_buf(it_bit_buff, SBR_RES_BITS); in ixheaacd_extract_frame_info_ld()
1361 ixheaacd_read_bits_buf(it_bit_buff, SBR_TRAN_BITS); in ixheaacd_extract_frame_info_ld()
1372 f[env] = ixheaacd_read_bits_buf(it_bit_buff, SBR_RES_BITS); in ixheaacd_extract_frame_info_ld()
1457 ia_bit_buf_struct *it_bit_buff, in ixheaacd_pvc_time_freq_grid_info() argument
1473 bs_noise_pos = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_pvc_time_freq_grid_info()
1475 tmp = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_pvc_time_freq_grid_info()
1479 tmp = ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_pvc_time_freq_grid_info()
1546 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_time_freq_grid_info() argument
1558 frame_class = ixheaacd_read_bits_buf(it_bit_buff, SBR_FRAME_CLASS_BITS); in ixheaacd_sbr_time_freq_grid_info()
1564 ixheaacd_read_bits_buf(it_bit_buff, SBR_ENV_BITS + SBR_FRQ_RES_BITS); in ixheaacd_sbr_time_freq_grid_info()
1577 ixheaacd_read_bits_buf(it_bit_buff, SBR_VAR_BORD_BITS + SBR_NUM_BITS); in ixheaacd_sbr_time_freq_grid_info()
1585 temp = ixheaacd_read_bits_buf(it_bit_buff, SBR_REL_BITS); in ixheaacd_sbr_time_freq_grid_info()
1592 bs_pointer = ixheaacd_read_bits_buf(it_bit_buff, bs_pointer_bits); in ixheaacd_sbr_time_freq_grid_info()
1598 ixheaacd_read_bits_buf(it_bit_buff, SBR_FRQ_RES_BITS); in ixheaacd_sbr_time_freq_grid_info()
1616 ixheaacd_read_bits_buf(it_bit_buff, SBR_VAR_BORD_BITS + SBR_NUM_BITS); in ixheaacd_sbr_time_freq_grid_info()
1624 temp = ixheaacd_read_bits_buf(it_bit_buff, SBR_REL_BITS); in ixheaacd_sbr_time_freq_grid_info()
1633 bs_pointer = ixheaacd_read_bits_buf(it_bit_buff, bs_pointer_bits); in ixheaacd_sbr_time_freq_grid_info()
1645 ixheaacd_read_bits_buf(it_bit_buff, SBR_FRQ_RES_BITS); in ixheaacd_sbr_time_freq_grid_info()
1666 it_bit_buff, 2 * SBR_VAR_BORD_BITS + 2 * SBR_NUM_BITS); in ixheaacd_sbr_time_freq_grid_info()
1677 temp = ixheaacd_read_bits_buf(it_bit_buff, SBR_REL_BITS); in ixheaacd_sbr_time_freq_grid_info()
1688 temp = ixheaacd_read_bits_buf(it_bit_buff, SBR_REL_BITS); in ixheaacd_sbr_time_freq_grid_info()
1695 bs_pointer = ixheaacd_read_bits_buf(it_bit_buff, bs_pointer_bits); in ixheaacd_sbr_time_freq_grid_info()
1706 ixheaacd_read_bits_buf(it_bit_buff, SBR_FRQ_RES_BITS); in ixheaacd_sbr_time_freq_grid_info()