Lines Matching refs:k0
172 UCHAR k0) /*!< Start freq index */
205 k2 = 2*k0;
207 k2 = 3*k0;
216 if ( ((k2 - k0) > MAX_FREQ_COEFFS) || (k2 <= k0) ) {
222 if ( (fs >= 42000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) {
226 if ( (fs >= 46009) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) {
232 if ( (fs == 44100) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) {
236 if ( (fs >= 48000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) {
265 UCHAR k0, k2, i;
278 k0 = getStartBand(fs, hHeaderData->bs_data.startFreq, flags);
279 if (k0 == 255) {
286 k2 = getStopBand(fs, hHeaderData->bs_data.stopFreq, flags, k0);
305 if( 1000 * k2 > 2245 * k0 ) { /* Two or more regions */
306 k1 = 2*k0;
308 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0);
317 CalcBands(diff0, k0, k1, num_bands0);
325 cumSum(k0, diff0, num_bands0, v_k_master);
345 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0);
349 CalcBands(diff0, k0, k1, num_bands0);
357 cumSum(k0, diff0, num_bands0, v_k_master);
366 num_bands0 = (k2 - k0) & 254;
369 num_bands0 = ( ((k2 - k0) >> 1) + 1 ) & 254; /* ROUND to the closest fit */
377 k2_achived = k0 + num_bands0*dk;
404 cumSum(k0, diff_tot, num_bands0, v_k_master);/* cumsum */