Lines Matching refs:ich
27 int ich; in alloc_encode_ldac() local
32 for (ich = 0; ich < nchs; ich++) { in alloc_encode_ldac()
33 p_sfinfo->ap_ac[ich] = (AC *)calloc_ldac(p_sfinfo, 1, sizeof(AC)); in alloc_encode_ldac()
34 if (p_sfinfo->ap_ac[ich] != (AC *)NULL) { in alloc_encode_ldac()
35 p_sfinfo->ap_ac[ich]->p_acsub = (ACSUB *)calloc_ldac(p_sfinfo, 1, sizeof(ACSUB)); in alloc_encode_ldac()
36 if (p_sfinfo->ap_ac[ich]->p_acsub == (ACSUB *)NULL) { in alloc_encode_ldac()
69 int ibk, ich; in init_encode_ldac() local
92 for (ich = 0; ich < blk_nchs; ich++) { in init_encode_ldac()
93 p_ab->ap_ac[ich] = p_sfinfo->ap_ac[ch_offset++]; in init_encode_ldac()
94 p_ab->ap_ac[ich]->p_ab = p_ab; in init_encode_ldac()
95 p_ab->ap_ac[ich]->ich = ich; in init_encode_ldac()
96 p_ab->ap_ac[ich]->frmana_cnt = 0; in init_encode_ldac()
146 int ich; in free_encode_ldac() local
156 for (ich = 0; ich < nchs; ich++) { in free_encode_ldac()
157 if (p_sfinfo->ap_ac[ich] != (AC *)NULL) { in free_encode_ldac()
158 if (p_sfinfo->ap_ac[ich]->p_acsub != (ACSUB *)NULL) { in free_encode_ldac()
159 free(p_sfinfo->ap_ac[ich]->p_acsub); in free_encode_ldac()
160 p_sfinfo->ap_ac[ich]->p_acsub = (ACSUB *)NULL; in free_encode_ldac()
162 free(p_sfinfo->ap_ac[ich]); in free_encode_ldac()
163 p_sfinfo->ap_ac[ich] = (AC *)NULL; in free_encode_ldac()
177 int ich; in encode_audio_block_ldac() local
180 for (ich = 0; ich < nchs; ich++) { in encode_audio_block_ldac()
181 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_ldac()
190 for (ich = 0; ich < nchs; ich++) { in encode_audio_block_ldac()
191 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_ldac()