Home
last modified time | relevance | path

Searched refs:scalefac (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_mpeg2_get_scale_factors.cpp118 void pvmp3_mpeg2_get_scale_factors(mp3ScaleFactors *scalefac, in pvmp3_mpeg2_get_scale_factors() argument
149 scalefac->l[sfb] = scalefac_buffer[sfb]; in pvmp3_mpeg2_get_scale_factors()
158 scalefac->s[window][sfb] = scalefac_buffer[k]; in pvmp3_mpeg2_get_scale_factors()
180 scalefac->s[window][sfb] = scalefac_buffer[k]; in pvmp3_mpeg2_get_scale_factors()
186 scalefac->s[0][12] = 0; in pvmp3_mpeg2_get_scale_factors()
187 scalefac->s[1][12] = 0; in pvmp3_mpeg2_get_scale_factors()
188 scalefac->s[2][12] = 0; in pvmp3_mpeg2_get_scale_factors()
195 scalefac->l[sfb] = scalefac_buffer[sfb]; in pvmp3_mpeg2_get_scale_factors()
197 scalefac->l[21] = 0; in pvmp3_mpeg2_get_scale_factors()
198 scalefac->l[22] = 0; in pvmp3_mpeg2_get_scale_factors()
Dpvmp3_get_scale_factors.cpp132 void pvmp3_get_scale_factors(mp3ScaleFactors *scalefac, in pvmp3_get_scale_factors() argument
149 scalefac->l[sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
156scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
163scalefac->s[window][sfb] = getNbits(pMainData, slen[1][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
175scalefac->s[window][sfb] = getNbits(pMainData, slen[i][gr_info->scalefac_compress]); in pvmp3_get_scale_factors()
181 scalefac->s[0][12] = 0; /* sfb = 12 win= 0 */ in pvmp3_get_scale_factors()
182 scalefac->s[1][12] = 0; /* sfb = 12 win= 1 */ in pvmp3_get_scale_factors()
183 scalefac->s[2][12] = 0; /* sfb = 12 win= 2 */ in pvmp3_get_scale_factors()
188 int32 *ptr = &scalefac->l[0]; in pvmp3_get_scale_factors()
222 scalefac->l[21] = 0; in pvmp3_get_scale_factors()
[all …]
Dpvmp3_stereo_proc.cpp262 mp3ScaleFactors *scalefac, in pvmp3_stereo_proc() argument
365 if (scalefac->l[sfbTemp] != 7) in pvmp3_stereo_proc()
367 pvmp3_st_intensity(xr, xl, scalefac->l[sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc()
384 if (scalefac->s[j][sfbTemp] != 7) in pvmp3_stereo_proc()
386 … pvmp3_st_intensity(xr, xl, scalefac->s[j][sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc()
460 if (scalefac->s[j][sfbTemp] != 7) in pvmp3_stereo_proc()
462 … pvmp3_st_intensity(xr, xl, scalefac->s[j][sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc()
534 if (scalefac->s[j][sfbTemp] != 7) in pvmp3_stereo_proc()
536 pvmp3_st_intensity(xr, xl, scalefac->s[j][sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc()
631 if (scalefac->l[sfb] != 7) in pvmp3_stereo_proc()
[all …]
Dpvmp3_dequantize_sample.cpp188 mp3ScaleFactors *scalefac, in pvmp3_dequantize_sample() argument
257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample()
280 global_gain -= (1 + gr_info->scalefac_scale) * (scalefac->s[temp2][cb] << 1); in pvmp3_dequantize_sample()
331 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample()
Dpvmp3_get_scale_factors.h89 void pvmp3_get_scale_factors(mp3ScaleFactors *scalefac,
Dpvmp3_mpeg2_get_scale_factors.h89 void pvmp3_mpeg2_get_scale_factors(mp3ScaleFactors *scalefac,
Dpvmp3_dequantize_sample.h92 mp3ScaleFactors *scalefac,
Dpvmp3_mpeg2_stereo_proc.h89 mp3ScaleFactors *scalefac,
Dpvmp3_stereo_proc.h91 mp3ScaleFactors *scalefac,