Lines Matching refs:scale_spec
254 WORD win, filt, start, stop, size, scale_spec; in ixheaacd_aac_tns_process() local
354 scale_spec = (*ixheaacd_calc_max_spectral_line)(ptr_tmp, size); in ixheaacd_aac_tns_process()
367 scale_spec = ((scale_spec - 4) - scale_lpc); in ixheaacd_aac_tns_process()
369 if (scale_spec > 17) in ixheaacd_aac_tns_process()
370 scale_spec = ((scale_spec - 6) - scale_lpc); in ixheaacd_aac_tns_process()
371 else if (scale_spec > 11) in ixheaacd_aac_tns_process()
372 scale_spec = ((scale_spec - 5) - scale_lpc); in ixheaacd_aac_tns_process()
374 scale_spec = ((scale_spec - 4) - scale_lpc); in ixheaacd_aac_tns_process()
377 if (scale_spec > 0) { in ixheaacd_aac_tns_process()
378 scale_spec = ixheaacd_min32(scale_spec, 31); in ixheaacd_aac_tns_process()
386 (WORD32)scale_lpc, scale_spec); in ixheaacd_aac_tns_process()
393 if (object_type == AOT_ER_AAC_ELD) scale_spec = scale_spec - 1; in ixheaacd_aac_tns_process()
398 scale_spec, scratch_buf); in ixheaacd_aac_tns_process()
406 scale_spec = -scale_spec; in ixheaacd_aac_tns_process()
407 scale_spec = ixheaacd_min32(scale_spec, 31); in ixheaacd_aac_tns_process()
410 *ptr_tmp = (*ptr_tmp >> scale_spec); in ixheaacd_aac_tns_process()
437 *ptr_tmp = (*ptr_tmp << scale_spec); in ixheaacd_aac_tns_process()