Lines Matching defs:k0
165 UCHAR k0) /*!< Start freq index */
198 k2 = 2*k0;
200 k2 = 3*k0;
209 if ( ((k2 - k0) > MAX_FREQ_COEFFS) || (k2 <= k0) ) {
215 if ( (fs >= 42000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) {
219 if ( (fs >= 46009) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) {
225 if ( (fs == 44100) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS44100 ) ) {
229 if ( (fs >= 48000) && ( (k2 - k0) > MAX_FREQ_COEFFS_FS48000 ) ) {
258 UCHAR k0, k2, i;
271 k0 = getStartBand(fs, hHeaderData->bs_data.startFreq, flags);
272 if (k0 == 255) {
279 k2 = getStopBand(fs, hHeaderData->bs_data.stopFreq, flags, k0);
298 if( 1000 * k2 > 2245 * k0 ) { /* Two or more regions */
299 k1 = 2*k0;
301 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0);
310 CalcBands(diff0, k0, k1, num_bands0);
318 cumSum(k0, diff0, num_bands0, v_k_master);
338 num_bands0 = numberOfBands(bpo_div16, k0, k1, 0);
342 CalcBands(diff0, k0, k1, num_bands0);
350 cumSum(k0, diff0, num_bands0, v_k_master);
359 num_bands0 = (k2 - k0) & 254;
362 num_bands0 = ( ((k2 - k0) >> 1) + 1 ) & 254; /* ROUND to the closest fit */
370 k2_achived = k0 + num_bands0*dk;
397 cumSum(k0, diff_tot, num_bands0, v_k_master);/* cumsum */