/external/opencore/codecs_v2/audio/mp3/dec/src/ |
pvmp3_mpeg2_get_scale_factors.cpp | 127 int32 sfb; local 147 for (sfb = 0; sfb < 6; sfb++) 149 scalefac->l[sfb] = scalefac_buffer[sfb]; 154 for (sfb = 3; sfb < 12; sfb++) 158 scalefac->s[window][sfb] = scalefac_buffer[k] [all...] |
pvmp3_get_scale_factors.cpp | 138 int32 sfb; local 147 for (sfb = 0; sfb < 8; sfb++) 149 scalefac->l[sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 152 for (sfb = 3; sfb < 6; sfb++) 156 scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 159 for (sfb = 6; sfb < 12; sfb++ [all...] |
pvmp3_mpeg2_stereo_proc.cpp | 233 int32 sfb; local 310 sfbTemp = i; /* from that (long) sfb on we have intensity stereo */ 320 /* 2. long blocks from intensity border up to sfb band 6: intensity */ 323 for (sfb = sfbTemp; sfb < 6; sfb++) 325 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; /* = Start in 0 ... 575 */ 326 sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process */ 328 if ((uint32)(scalefac_R->l[sfb]) != scalefac_IIP_buffer[sfb] [all...] |
pvmp3_reorder.cpp | 133 int32 sfb; local 137 sfb = 3; /* no reorder for low 2 subbands */ 142 sfb = 0; 147 for (; sfb < 13; sfb++) 149 if (*used_freq_lines > 3*mp3_sfBandIndex[sfreq].s[sfb+1]) 151 sfb_lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; 172 sfb_lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; [all...] |
pvmp3_stereo_proc.cpp | 100 scalefactors of the left channel) and a stereo position is_pos[sfb], 266 int32 sfb; local 323 sfb = 4; 327 sfb = 0; 330 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) 332 sfb++; 335 /* from that sfb on intensity stereo */ 336 sfbTemp = sfb; /* save for later use */ 338 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; 347 /* 2. long blocks from intensity border up to sfb band 8: intensity * [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_mpeg2_get_scale_factors.cpp | 127 int32 sfb; local 147 for (sfb = 0; sfb < 6; sfb++) 149 scalefac->l[sfb] = scalefac_buffer[sfb]; 154 for (sfb = 3; sfb < 12; sfb++) 158 scalefac->s[window][sfb] = scalefac_buffer[k] [all...] |
pvmp3_get_scale_factors.cpp | 138 int32 sfb; local 147 for (sfb = 0; sfb < 8; sfb++) 149 scalefac->l[sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 152 for (sfb = 3; sfb < 6; sfb++) 156 scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 159 for (sfb = 6; sfb < 12; sfb++ [all...] |
pvmp3_mpeg2_stereo_proc.cpp | 233 int32 sfb; local 310 sfbTemp = i; /* from that (long) sfb on we have intensity stereo */ 320 /* 2. long blocks from intensity border up to sfb band 6: intensity */ 323 for (sfb = sfbTemp; sfb < 6; sfb++) 325 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; /* = Start in 0 ... 575 */ 326 sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process */ 328 if ((uint32)(scalefac_R->l[sfb]) != scalefac_IIP_buffer[sfb] [all...] |
pvmp3_reorder.cpp | 133 int32 sfb; local 137 sfb = 3; /* no reorder for low 2 subbands */ 142 sfb = 0; 147 for (; sfb < 13; sfb++) 149 if (*used_freq_lines > 3*mp3_sfBandIndex[sfreq].s[sfb+1]) 151 sfb_lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; 172 sfb_lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; [all...] |
pvmp3_stereo_proc.cpp | 100 scalefactors of the left channel) and a stereo position is_pos[sfb], 266 int32 sfb; local 323 sfb = 4; 327 sfb = 0; 330 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) 332 sfb++; 335 /* from that sfb on intensity stereo */ 336 sfbTemp = sfb; /* save for later use */ 338 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; 347 /* 2. long blocks from intensity border up to sfb band 8: intensity * [all...] |
/external/opencore/codecs_v2/audio/aac/dec/src/ |
hufffac.cpp | 79 each sfb, type Int 190 FOR(sfb = 0; sfb < nsfb_win; sfb++) 192 IF ((pHuffBookUsed[sfb] > 0)&&(pHuffBookUsed[sfb] < BOOKSCL)) 204 pFactors[sfb] = fac; 209 ELSE IF (pHuffBookUsed[sfb] == ZERO_HCB) 214 ELSE IF ((pHuffBookUsed[sfb] == INTENSITY_HCB)|| 215 (pHuffBookUsed[sfb] == INTENSITY_HCB2) 374 Int sfb; \/* scalefactor band index *\/ local [all...] |
getmask.cpp | 157 FOR(sfb = pFrameInfo->sfb_per_win[win]; sfb > 0; sfb--) 185 FOR (sfb = nCall; sfb > 0; sfb--) 186 *(pMask++) = (tempMask & bitmask) >> (sfb - 1); 264 Int sfb; local 294 for (sfb = pFrameInfo->sfb_per_win[win]; sfb > 0; sfb-- [all...] |
pns_left.cpp | 78 of long term prediction on a sfb 116 When a SFB utilizing NOISE_HCB is detected, the band in every window in the 184 FOR (sfb = num_bands; sfb > 0; sfb--) 214 RETURNING q_format[start_indx] = q-format for this sfb. 331 Int sfb; local 378 for (sfb = 0; sfb < num_bands; sfb++ [all...] |
calc_gsfb_table.cpp | 135 FOR (sfb = 0; sfb < pFrameInfo->sfb_per_win[group_idx]; sfb++) 137 offset += pFrameInfo->sfb_width_128[sfb] * len; 220 Int sfb; local 258 for (sfb = nsfb; sfb > 0; sfb--)
|
apply_ms_synt.cpp | 104 place, ms_mask_map must be TRUE for that particular SFB, AND the Huffman 167 FOR (sfb = sfb_per_win; sfb > 0; sfb--) 313 Int sfb; local 379 for (sfb = sfb_per_win; sfb > 0; sfb--) 392 * Example... sfb[3] == NOISE_HCB 398 * The for(sfb) steps through the sfb's 0-7 in win 0 [all...] |
deinterleave.cpp | 128 FOR (sfb = pSfbPerWin[ngroups-group]; sfb > 0; sfb--) 149 ENDFOR (sfb) 229 Int sfb; /* scalefactor band index */ local 260 for (sfb = pSfbPerWin[ngroups-group]; sfb > 0; sfb--) 281 } /* for (sfb) */
|
q_normalize.cpp | 120 FOR (sfb = nsfb; sfb > 0; sfb--) 144 FOR (sfb = nsfb; sfb > 0; sfb--) 243 Int sfb; local 278 for (sfb = nsfb; sfb != 0; sfb-- [all...] |
huffspec_fxp.cpp | 47 by sfb 105 factors[] = array that contains scalefactors for each sfb, type Int16 316 Int sfb; local 321 Int stop_idx; /* index of 1st coef in next sfb */ 322 Int sect_start; /* start index of sfb in one section*/ 323 Int sect_end; /* index of 1st sfb in next section */ 358 /* pSfb: ptr to array that holds stop index of each sfb */ 476 /* move ptr to first sfb of current section */ 480 for (sfb = sect_start; sfb < sect_end; sfb++ [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
hufffac.cpp | 79 each sfb, type Int 190 FOR(sfb = 0; sfb < nsfb_win; sfb++) 192 IF ((pHuffBookUsed[sfb] > 0)&&(pHuffBookUsed[sfb] < BOOKSCL)) 204 pFactors[sfb] = fac; 209 ELSE IF (pHuffBookUsed[sfb] == ZERO_HCB) 214 ELSE IF ((pHuffBookUsed[sfb] == INTENSITY_HCB)|| 215 (pHuffBookUsed[sfb] == INTENSITY_HCB2) 374 Int sfb; \/* scalefactor band index *\/ local [all...] |
getmask.cpp | 157 FOR(sfb = pFrameInfo->sfb_per_win[win]; sfb > 0; sfb--) 185 FOR (sfb = nCall; sfb > 0; sfb--) 186 *(pMask++) = (tempMask & bitmask) >> (sfb - 1); 264 Int sfb; local 294 for (sfb = pFrameInfo->sfb_per_win[win]; sfb > 0; sfb-- [all...] |
pns_left.cpp | 78 of long term prediction on a sfb 116 When a SFB utilizing NOISE_HCB is detected, the band in every window in the 184 FOR (sfb = num_bands; sfb > 0; sfb--) 214 RETURNING q_format[start_indx] = q-format for this sfb. 331 Int sfb; local 378 for (sfb = 0; sfb < num_bands; sfb++ [all...] |
calc_gsfb_table.cpp | 135 FOR (sfb = 0; sfb < pFrameInfo->sfb_per_win[group_idx]; sfb++) 137 offset += pFrameInfo->sfb_width_128[sfb] * len; 220 Int sfb; local 258 for (sfb = nsfb; sfb > 0; sfb--)
|
apply_ms_synt.cpp | 104 place, ms_mask_map must be TRUE for that particular SFB, AND the Huffman 167 FOR (sfb = sfb_per_win; sfb > 0; sfb--) 313 Int sfb; local 379 for (sfb = sfb_per_win; sfb > 0; sfb--) 392 * Example... sfb[3] == NOISE_HCB 398 * The for(sfb) steps through the sfb's 0-7 in win 0 [all...] |
deinterleave.cpp | 128 FOR (sfb = pSfbPerWin[ngroups-group]; sfb > 0; sfb--) 149 ENDFOR (sfb) 229 Int sfb; /* scalefactor band index */ local 260 for (sfb = pSfbPerWin[ngroups-group]; sfb > 0; sfb--) 281 } /* for (sfb) */
|
q_normalize.cpp | 120 FOR (sfb = nsfb; sfb > 0; sfb--) 144 FOR (sfb = nsfb; sfb > 0; sfb--) 243 Int sfb; local 278 for (sfb = nsfb; sfb != 0; sfb-- [all...] |