Home
last modified time | relevance | path

Searched refs:sfb (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codecs/mp3dec/src/
Dpvmp3_mpeg2_get_scale_factors.cpp127 int32 sfb; in pvmp3_mpeg2_get_scale_factors() local
147 for (sfb = 0; sfb < 6; sfb++) in pvmp3_mpeg2_get_scale_factors()
149 scalefac->l[sfb] = scalefac_buffer[sfb]; in pvmp3_mpeg2_get_scale_factors()
154 for (sfb = 3; sfb < 12; sfb++) in pvmp3_mpeg2_get_scale_factors()
158 scalefac->s[window][sfb] = scalefac_buffer[k]; in pvmp3_mpeg2_get_scale_factors()
166 for (sfb = 11; sfb >= 3; sfb--) in pvmp3_mpeg2_get_scale_factors()
168 scalefac_IIP_buffer[3*sfb + 2] = scalefac_IIP_buffer[3*sfb - 1]; in pvmp3_mpeg2_get_scale_factors()
169 scalefac_IIP_buffer[3*sfb + 1] = scalefac_IIP_buffer[3*sfb - 2]; in pvmp3_mpeg2_get_scale_factors()
170 scalefac_IIP_buffer[3*sfb ] = scalefac_IIP_buffer[3*sfb - 3]; in pvmp3_mpeg2_get_scale_factors()
176 for (sfb = 0; sfb < 12; sfb++) in pvmp3_mpeg2_get_scale_factors()
[all …]
Dpvmp3_mpeg2_stereo_proc.cpp233 int32 sfb; in pvmp3_mpeg2_stereo_proc() local
323 for (sfb = sfbTemp; sfb < 6; sfb++) in pvmp3_mpeg2_stereo_proc()
325 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; /* = Start in 0 ... 575 */ in pvmp3_mpeg2_stereo_proc()
326 …sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process… in pvmp3_mpeg2_stereo_proc()
328 if ((uint32)(scalefac_R->l[sfb]) != scalefac_IIP_buffer[sfb]) in pvmp3_mpeg2_stereo_proc()
330 … pvmp3_st_intensity_ver2(xr, xl, io, scalefac_R->l[sfb], sfbStart, sfbNo); in pvmp3_mpeg2_stereo_proc()
353 for (sfb = 3; sfb < 13; sfb++) in pvmp3_mpeg2_stereo_proc()
355 …sfbNo = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; /* No of lines to process… in pvmp3_mpeg2_stereo_proc()
356 sfbStart = 3 * mp3_sfBandIndex[sfreq].s[sfb] + j * sfbNo; in pvmp3_mpeg2_stereo_proc()
358 if ((uint32)(scalefac_R->s[j][sfb]) != scalefac_IIP_buffer[3*sfb + j]) in pvmp3_mpeg2_stereo_proc()
[all …]
Dpvmp3_get_scale_factors.cpp138 int32 sfb; in pvmp3_get_scale_factors() local
147 for (sfb = 0; sfb < 8; sfb++) in pvmp3_get_scale_factors()
149 scalefac->l[sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
152 for (sfb = 3; sfb < 6; sfb++) in pvmp3_get_scale_factors()
156 … scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
159 for (sfb = 6; sfb < 12; sfb++) in pvmp3_get_scale_factors()
163 … scalefac->s[window][sfb] = getNbits(pMainData, slen[1][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
171 for (sfb = sfbtable.s[i]; sfb < sfbtable.s[i+1]; sfb++) in pvmp3_get_scale_factors()
175 … scalefac->s[window][sfb] = getNbits(pMainData, slen[i][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
210 for (sfb = tmp4; sfb != 0; sfb--) in pvmp3_get_scale_factors()
Dpvmp3_stereo_proc.cpp274 int32 sfb; in pvmp3_stereo_proc() local
331 sfb = 4; in pvmp3_stereo_proc()
335 sfb = 0; in pvmp3_stereo_proc()
338 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) in pvmp3_stereo_proc()
340 sfb++; in pvmp3_stereo_proc()
344 sfbTemp = sfb; /* save for later use */ in pvmp3_stereo_proc()
346 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; in pvmp3_stereo_proc()
411 for (sfb = 12; sfb >= 3; sfb--) in pvmp3_stereo_proc()
414 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_stereo_proc()
415 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; in pvmp3_stereo_proc()
[all …]
Dpvmp3_reorder.cpp133 int32 sfb; in pvmp3_reorder() local
137 sfb = 3; /* no reorder for low 2 subbands */ in pvmp3_reorder()
142 sfb = 0; in pvmp3_reorder()
147 for (; sfb < 13; sfb++) in pvmp3_reorder()
149 if (*used_freq_lines > 3*mp3_sfBandIndex[sfreq].s[sfb+1]) in pvmp3_reorder()
151 sfb_lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_reorder()
172 sfb_lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_reorder()
187 *used_freq_lines = mp3_sfBandIndex[sfreq].s[sfb+1] * 3; in pvmp3_reorder()
189 sfb = 13; /* force out of the for-loop */ in pvmp3_reorder()