Lines Matching refs:nmean
101 int nmean;
130 if (FFMAX(1, s->nmean) >= UINT_MAX / sizeof(int32_t)) {
131 av_log(s->avctx, AV_LOG_ERROR, "nmean too large\n");
142 av_realloc(s->offset[chan], sizeof(int32_t) * FFMAX(1, s->nmean));
185 int nblock = FFMAX(1, s->nmean);
337 s->nmean = -1;
368 s->nmean = get_uint(s, 0);
545 if (s->nmean == 0)
548 int32_t sum = (s->version < 2) ? 0 : s->nmean / 2;
549 for (i = 0; i < s->nmean; i++)
551 coffset = sum / s->nmean;
567 if (s->nmean > 0) {
572 for (i = 1; i < s->nmean; i++)
576 s->offset[channel][s->nmean - 1] = sum / s->blocksize;
578 s->offset[channel][s->nmean - 1] = (sum / s->blocksize) << s->bitshift;