Lines Matching refs:nmean
105 int nmean;
128 if (FFMAX(1, s->nmean) >= UINT_MAX / sizeof(int32_t)) {
129 av_log(s->avctx, AV_LOG_ERROR, "nmean too large\n");
141 FFMAX(1, s->nmean))) < 0)
178 int nblock = FFMAX(1, s->nmean);
339 s->nmean = -1;
370 s->nmean = get_uint(s, 0);
557 if (s->nmean == 0)
560 int32_t sum = (s->version < 2) ? 0 : s->nmean / 2;
561 for (i = 0; i < s->nmean; i++)
563 coffset = sum / s->nmean;
579 if (s->nmean > 0) {
584 for (i = 1; i < s->nmean; i++)
588 s->offset[channel][s->nmean - 1] = sum / s->blocksize;
590 s->offset[channel][s->nmean - 1] = (sum / s->blocksize) << s->bitshift;