Lines Matching refs:noEnv
266 /* => keep latest data constant (i.e. FIX with noEnv=0) */
267 pBsData->noEnv = 0;
273 for (env=0; env<pBsData->noEnv; env++) {
305 } /* for (env=0; env<pBsData->noEnv; env++) */
307 /* handling of FIX noEnv=0 */
308 if (pBsData->noEnv==0) {
309 /* set noEnv=1, keep last parameters or force 0 if not enabled */
310 pBsData->noEnv = 1;
314 pBsData->aaIidIndex[pBsData->noEnv-1][gr] =
320 pBsData->aaIidIndex[pBsData->noEnv-1][gr] = 0;
326 pBsData->aaIccIndex[pBsData->noEnv-1][gr] =
332 pBsData->aaIccIndex[pBsData->noEnv-1][gr] = 0;
340 pBsData->aaIidIndex[pBsData->noEnv-1][gr];
344 pBsData->aaIccIndex[pBsData->noEnv-1][gr];
352 /* FIX_BORDERS NoEnv=0,1,2,4 */
354 for (env=1; env<pBsData->noEnv; env++) {
356 (env * h_ps_d->noSubSamples) / pBsData->noEnv;
358 pBsData->aEnvStartStop[pBsData->noEnv] = h_ps_d->noSubSamples;
363 /* VAR_BORDERS NoEnv=1,2,3,4 */
366 /* handle case aEnvStartStop[noEnv]<noSubSample for VAR_BORDERS by
367 duplicating last PS parameters and incrementing noEnv */
368 if (pBsData->aEnvStartStop[pBsData->noEnv] < h_ps_d->noSubSamples) {
370 pBsData->aaIidIndex[pBsData->noEnv][gr] =
371 pBsData->aaIidIndex[pBsData->noEnv-1][gr];
374 pBsData->aaIccIndex[pBsData->noEnv][gr] =
375 pBsData->aaIccIndex[pBsData->noEnv-1][gr];
377 pBsData->noEnv++;
378 pBsData->aEnvStartStop[pBsData->noEnv] = h_ps_d->noSubSamples;
382 for (env=1; env<pBsData->noEnv; env++) {
384 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env);
398 for (env=0; env<pBsData->noEnv; env++) {
415 for (env=0; env<pBsData->noEnv; env++) {
483 /* FIX_BORDERS NoEnv=0,1,2,4 */
484 pBsData->noEnv = FDK_sbrDecoder_aFixNoEnvDecode[(UCHAR) FDKreadBits (hBitBuf, 2)];
488 /* VAR_BORDERS NoEnv=1,2,3,4 */
489 pBsData->noEnv = 1+(UCHAR) FDKreadBits (hBitBuf, 2);
490 for (env=1; env<pBsData->noEnv+1; env++)
531 for (env=0; env<pBsData->noEnv; env++) {
556 for (env=0; env<pBsData->noEnv; env++) {