Lines Matching refs:env

244   UCHAR gr, env;
273 for (env=0; env<pBsData->noEnv; env++) {
279 if (env==0) {
284 aPrevIidIndex = pBsData->aaIidIndex[env-1];
285 aPrevIccIndex = pBsData->aaIccIndex[env-1];
289 pBsData->aaIidIndex[env],
291 pBsData->abIidDtFlag[env],
298 pBsData->aaIccIndex[env],
300 pBsData->abIccDtFlag[env],
305 } /* for (env=0; env<pBsData->noEnv; env++) */
350 /* handling of env borders for FIX & VAR */
354 for (env=1; env<pBsData->noEnv; env++) {
355 pBsData->aEnvStartStop[env] =
356 (env * h_ps_d->noSubSamples) / pBsData->noEnv;
359 /* 1024 (32 slots) env borders: 0, 8, 16, 24, 32 */
360 /* 960 (30 slots) env borders: 0, 7, 15, 22, 30 */
382 for (env=1; env<pBsData->noEnv; env++) {
384 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env);
385 if (pBsData->aEnvStartStop[env] > thr) {
386 pBsData->aEnvStartStop[env] = thr;
389 thr = pBsData->aEnvStartStop[env-1]+1;
390 if (pBsData->aEnvStartStop[env] < thr) {
391 pBsData->aEnvStartStop[env] = thr;
398 for (env=0; env<pBsData->noEnv; env++) {
401 h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env][i] = pBsData->aaIidIndex[env][i];
404 h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env][i] = pBsData->aaIccIndex[env][i];
415 for (env=0; env<pBsData->noEnv; env++) {
417 map34IndexTo20 (h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env], NO_HI_RES_IID_BINS);
419 map34IndexTo20 (h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env], NO_HI_RES_ICC_BINS);
444 UCHAR gr, env;
485 /* all additional handling of env borders is now in DecodePs() */
490 for (env=1; env<pBsData->noEnv+1; env++)
491 pBsData->aEnvStartStop[env] = ((UCHAR) FDKreadBits (hBitBuf, 5)) + 1;
492 /* all additional handling of env borders is now in DecodePs() */
531 for (env=0; env<pBsData->noEnv; env++) {
549 pBsData->aaIidIndex[env][gr] = decode_huff_cw(CurrentTable,hBitBuf,NULL);
550 pBsData->abIidDtFlag[env] = dtFlag;
556 for (env=0; env<pBsData->noEnv; env++) {
564 pBsData->aaIccIndex[env][gr] = decode_huff_cw(CurrentTable,hBitBuf,NULL);
565 pBsData->abIccDtFlag[env] = dtFlag;