max 142 fftools/cmdutils.c double min, double max) max 149 fftools/cmdutils.c else if (d < min || d > max) max 157 fftools/cmdutils.c av_log(NULL, AV_LOG_FATAL, error, context, numstr, min, max); max 1061 fftools/cmdutils.c size_t max; max 1063 fftools/cmdutils.c max = strtol(arg, &tail, 10); max 1068 fftools/cmdutils.c av_max_alloc(max); max 127 fftools/cmdutils.h double min, double max); max 791 fftools/ffmpeg.c int64_t max = ost->last_mux_dts + !(s->oformat->flags & AVFMT_TS_NONSTRICT); max 792 fftools/ffmpeg.c if (pkt->dts < max) { max 793 fftools/ffmpeg.c int loglevel = max - pkt->dts > 2 || st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO ? AV_LOG_WARNING : AV_LOG_DEBUG; max 805 fftools/ffmpeg.c max); max 807 fftools/ffmpeg.c pkt->pts = FFMAX(pkt->pts, max); max 808 fftools/ffmpeg.c pkt->dts = max; max 643 libavcodec/aacenc.c float max = 0; max 647 libavcodec/aacenc.c max = FFMAX(max, fabsf(wbuf[j])); max 648 libavcodec/aacenc.c wi[ch].clipping[w] = max; max 157 libavcodec/aacpsy.c float max; ///< maximum allowed PE for bit factor calculation max 325 libavcodec/aacpsy.c pctx->pe.max = 12.0f * AAC_BLOCK_SIZE_LONG * bandwidth / (ctx->avctx->sample_rate * 2.0f); max 505 libavcodec/aacpsy.c clipped_pe = av_clipf(pe, ctx->pe.min, ctx->pe.max); max 516 libavcodec/aacpsy.c bit_factor = 1.0f - bit_save + ((bit_spend - bit_save) / (ctx->pe.max - ctx->pe.min)) * (clipped_pe - ctx->pe.min); max 521 libavcodec/aacpsy.c ctx->pe.max = FFMAX(pe, ctx->pe.max); max 523 libavcodec/aacpsy.c + FFMAX(ctx->pe.min, pe * (pe / ctx->pe.max))) / (PSY_PE_FORGET_SLOPE + 1); max 721 libavcodec/aacpsy.c pctx->pe.max = FFMAX(pe, pctx->pe.max); max 109 libavcodec/ac3.c int max = FFMAX(v, psd[bin]); max 111 libavcodec/ac3.c int adr = FFMIN(max - ((v + psd[bin] + 1) >> 1), 255); max 112 libavcodec/ac3.c v = max + ff_ac3_log_add_tab[adr]; max 44 libavcodec/adxenc.c int max = 0; max 52 libavcodec/adxenc.c if (max < d) max 53 libavcodec/adxenc.c max = d; max 60 libavcodec/adxenc.c if (max == 0 && min == 0) { max 67 libavcodec/adxenc.c if (max / 7 > -min / 8) max 68 libavcodec/adxenc.c scale = max / 7; max 104 libavcodec/agm.c int len = 0, skip = 0, max; max 161 libavcodec/agm.c max = 1 << (len - 1); max 162 libavcodec/agm.c if (*level < max) max 163 libavcodec/agm.c *level = -(max + *level); max 495 libavcodec/alsdec.c int max = get_bits_left(gb) - k; max 496 libavcodec/alsdec.c unsigned q = get_unary(gb, 0, max); max 28 libavcodec/arm/audiodsp_init_neon.c void ff_vector_clipf_neon(float *dst, const float *src, int len, float min, float max); max 30 libavcodec/arm/audiodsp_init_neon.c int32_t max, unsigned int len); max 37 libavcodec/audiodsp.c float *min, float *max, int len) max 41 libavcodec/audiodsp.c uint32_t maxi = *(uint32_t *) max; max 59 libavcodec/audiodsp.c float min, float max) max 63 libavcodec/audiodsp.c if (min < 0 && max > 0) { max 64 libavcodec/audiodsp.c vector_clipf_c_opposite_sign(dst, src, &min, &max, len); max 67 libavcodec/audiodsp.c dst[i] = av_clipf(src[i], min, max); max 68 libavcodec/audiodsp.c dst[i + 1] = av_clipf(src[i + 1], min, max); max 69 libavcodec/audiodsp.c dst[i + 2] = av_clipf(src[i + 2], min, max); max 70 libavcodec/audiodsp.c dst[i + 3] = av_clipf(src[i + 3], min, max); max 71 libavcodec/audiodsp.c dst[i + 4] = av_clipf(src[i + 4], min, max); max 72 libavcodec/audiodsp.c dst[i + 5] = av_clipf(src[i + 5], min, max); max 73 libavcodec/audiodsp.c dst[i + 6] = av_clipf(src[i + 6], min, max); max 74 libavcodec/audiodsp.c dst[i + 7] = av_clipf(src[i + 7], min, max); max 91 libavcodec/audiodsp.c int32_t max, unsigned int len) max 94 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 95 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 96 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 97 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 98 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 99 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 100 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 101 libavcodec/audiodsp.c *dst++ = av_clip(*src++, min, max); max 47 libavcodec/audiodsp.h int32_t max, unsigned int len); max 52 libavcodec/audiodsp.h float min, float max); max 611 libavcodec/cbs_av1.c #define increment(name, min, max) do { \ max 613 libavcodec/cbs_av1.c CHECK(cbs_av1_read_increment(ctx, rw, min, max, #name, &value)); \ max 617 libavcodec/cbs_av1.c #define subexp(name, max, subs, ...) do { \ max 619 libavcodec/cbs_av1.c CHECK(cbs_av1_read_subexp(ctx, rw, max, #name, \ max 692 libavcodec/cbs_av1.c #define increment(name, min, max) do { \ max 693 libavcodec/cbs_av1.c CHECK(cbs_av1_write_increment(ctx, rw, min, max, #name, \ max 697 libavcodec/cbs_av1.c #define subexp(name, max, subs, ...) do { \ max 698 libavcodec/cbs_av1.c CHECK(cbs_av1_write_subexp(ctx, rw, max, #name, \ max 1363 libavcodec/cbs_h264_syntax_template.c unsigned int pic_size, max, bits; max 1367 libavcodec/cbs_h264_syntax_template.c max = (pic_size + pps->slice_group_change_rate_minus1) / max 1369 libavcodec/cbs_h264_syntax_template.c bits = av_ceil_log2(max + 1); max 1371 libavcodec/cbs_h264_syntax_template.c u(bits, slice_group_change_cycle, 0, max); max 283 libavcodec/cbs_vp9.c #define increment(name, min, max) do { \ max 285 libavcodec/cbs_vp9.c CHECK(cbs_vp9_read_increment(ctx, rw, min, max, #name, &value)); \ max 358 libavcodec/cbs_vp9.c #define increment(name, min, max) do { \ max 359 libavcodec/cbs_vp9.c CHECK(cbs_vp9_write_increment(ctx, rw, min, max, #name, current->name)); \ max 579 libavcodec/cbs_vp9.c size_t size, max, pos; max 588 libavcodec/cbs_vp9.c max = 0; max 590 libavcodec/cbs_vp9.c if (max < frag->units[i].data_size) max 591 libavcodec/cbs_vp9.c max = frag->units[i].data_size; max 593 libavcodec/cbs_vp9.c if (max < 2) max 596 libavcodec/cbs_vp9.c size_len = av_log2(max) / 8 + 1; max 448 libavcodec/cook.c int max = -999999; max 453 libavcodec/cook.c if (v >= max) { max 454 libavcodec/cook.c max = v; max 131 libavcodec/dcaadpcm.c int32_t max = 0; max 136 libavcodec/dcaadpcm.c max |= FFABS(in[i]); max 139 libavcodec/dcaadpcm.c shift_bits = av_log2(max) - 11; max 122 libavcodec/dnxhdenc.c int max = 0; max 159 libavcodec/dnxhdenc.c max |= level; max 164 libavcodec/dnxhdenc.c *overflow = ctx->max_qcoeff < max; //overflow might have happened max 382 libavcodec/dvenc.c int max = classes[0]; max 405 libavcodec/dvenc.c if (level > max) max 406 libavcodec/dvenc.c max = level; max 414 libavcodec/dvenc.c for (bi->cno = 0; max > classes[bi->cno]; bi->cno++) max 450 libavcodec/dvenc.c int i, max = 0; max 482 libavcodec/dvenc.c if (bi->save[i+0] > max) max 483 libavcodec/dvenc.c max = bi->save[i+0]; max 484 libavcodec/dvenc.c if (bi->save[i+1] > max) max 485 libavcodec/dvenc.c max = bi->save[i+1]; max 496 libavcodec/dvenc.c bi->min_qlevel = ((max+256) >> 8); max 178 libavcodec/elbg.c int *max = newcentroid_p; max 183 libavcodec/elbg.c max[i]=0; max 189 libavcodec/elbg.c max[i]=FFMAX(max[i], elbg->points[tempcell->index*elbg->dim + i]); max 193 libavcodec/elbg.c int ni = min[i] + (max[i] - min[i])/3; max 194 libavcodec/elbg.c int np = min[i] + (2*(max[i] - min[i]))/3; max 34 libavcodec/g723_1.c int bits, max = 0; max 38 libavcodec/g723_1.c max |= FFABS(vector[i]); max 40 libavcodec/g723_1.c bits= 14 - av_log2_16bit(max); max 205 libavcodec/g723_1enc.c int max, shift, cur_val, prev_val, count, p; max 229 libavcodec/g723_1enc.c max = FFABS(f[0]); max 231 libavcodec/g723_1enc.c max = FFMAX(max, FFABS(f[i])); max 233 libavcodec/g723_1enc.c shift = ff_g723_1_normalize_bits(max, 31); max 295 libavcodec/g723_1enc.c int error, max = -1; \ max 306 libavcodec/g723_1enc.c if (error > max) { \ max 307 libavcodec/g723_1enc.c max = error; \ max 322 libavcodec/g723_1enc.c int16_t min, max; max 339 libavcodec/g723_1enc.c max = 0; max 341 libavcodec/g723_1enc.c max = FFMAX(weight[i], max); max 343 libavcodec/g723_1enc.c shift = ff_g723_1_normalize_bits(max, 15); max 498 libavcodec/g723_1enc.c int exp, max, diff; max 513 libavcodec/g723_1enc.c max = 0; max 515 libavcodec/g723_1enc.c max = FFMAX(max, FFABS(energy[i])); max 517 libavcodec/g723_1enc.c exp = ff_g723_1_normalize_bits(max, 31); max 657 libavcodec/g723_1enc.c int i, j, k, l, max; max 708 libavcodec/g723_1enc.c max = 0; max 710 libavcodec/g723_1enc.c max = FFMAX(max, FFABS(ccr_buf[i])); max 712 libavcodec/g723_1enc.c temp = ff_g723_1_normalize_bits(max, 31); max 718 libavcodec/g723_1enc.c max = 0; max 733 libavcodec/g723_1enc.c if (temp > max) { max 734 libavcodec/g723_1enc.c max = temp; max 787 libavcodec/g723_1enc.c int amp, err, max, max_amp_index, min, scale, i, j, k, l; max 827 libavcodec/g723_1enc.c max = 0; max 830 libavcodec/g723_1enc.c if (temp >= max) { max 831 libavcodec/g723_1enc.c max = temp; max 837 libavcodec/g723_1enc.c amp = max; max 864 libavcodec/g723_1enc.c max = INT_MIN; max 873 libavcodec/g723_1enc.c if (temp > max) { max 874 libavcodec/g723_1enc.c max = temp; max 231 libavcodec/h264_parse.c unsigned max[2]; max 232 libavcodec/h264_parse.c max[0] = max[1] = picture_structure == PICT_FRAME ? 15 : 31; max 250 libavcodec/h264_parse.c if (ref_count[0] - 1 > max[0] || (list_count == 2 && (ref_count[1] - 1 > max[1]))) { max 252 libavcodec/h264_parse.c ref_count[0] - 1, max[0], ref_count[1] - 1, max[1]); max 256 libavcodec/h264_parse.c } else if (ref_count[1] - 1 > max[1]) { max 258 libavcodec/h264_parse.c ref_count[1] - 1, max[1]); max 810 libavcodec/hevc_cabac.c int max = num_ref_idx_lx - 1; max 811 libavcodec/hevc_cabac.c int max_ctx = FFMIN(max, 2); max 816 libavcodec/hevc_cabac.c while (i < max && get_cabac_bypass(&s->HEVClc->cc)) max 913 libavcodec/hevc_cabac.c int max = (log2_size << 1) - 1; max 923 libavcodec/hevc_cabac.c while (i < max && max 929 libavcodec/hevc_cabac.c while (i < max && max 127 libavcodec/hevcpred_template.c int max = FFMIN(size_in_luma_pu_v, s->ps.sps->min_pu_height - y_bottom_pu); max 129 libavcodec/hevcpred_template.c for (i = 0; i < max; i += 2) max 135 libavcodec/hevcpred_template.c int max = FFMIN(size_in_luma_pu_v, s->ps.sps->min_pu_height - y_left_pu); max 137 libavcodec/hevcpred_template.c for (i = 0; i < max; i += 2) max 148 libavcodec/hevcpred_template.c int max = FFMIN(size_in_luma_pu_h, s->ps.sps->min_pu_width - x_top_pu); max 150 libavcodec/hevcpred_template.c for (i = 0; i < max; i += 2) max 156 libavcodec/hevcpred_template.c int max = FFMIN(size_in_luma_pu_h, s->ps.sps->min_pu_width - x_right_pu); max 158 libavcodec/hevcpred_template.c for (i = 0; i < max; i += 2) max 961 libavcodec/ilbcdec.c int16_t max, cross_square_max, cross_square; max 991 libavcodec/ilbcdec.c max = max_abs_value_w16(s->prevResidual, s->block_samples); max 992 libavcodec/ilbcdec.c scale3 = (get_size_in_bits(max) << 1) - 25; max 1209 libavcodec/ilbcdec.c int16_t max; max 1231 libavcodec/ilbcdec.c max = max_abs_value_w16(regressor, (int16_t) (subl + searchLen - 1)); max 1235 libavcodec/ilbcdec.c max = max_abs_value_w16(®ressor[-searchLen], (int16_t) (subl + searchLen - 1)); max 1244 libavcodec/ilbcdec.c if (max > 5000) { max 376 libavcodec/intrax8dsp.c int min, max; max 378 libavcodec/intrax8dsp.c min = max = p1; max 380 libavcodec/intrax8dsp.c max = FFMAX(max, p3); max 382 libavcodec/intrax8dsp.c max = FFMAX(max, p5); max 384 libavcodec/intrax8dsp.c max = FFMAX(max, p8); max 385 libavcodec/intrax8dsp.c if (max - min < 2 * quant) { // early stop max 387 libavcodec/intrax8dsp.c max = FFMAX(max, p2); max 389 libavcodec/intrax8dsp.c max = FFMAX(max, p4); max 391 libavcodec/intrax8dsp.c max = FFMAX(max, p6); max 393 libavcodec/intrax8dsp.c max = FFMAX(max, p7); max 394 libavcodec/intrax8dsp.c if (max - min < 2 * quant) { max 644 libavcodec/j2kenc.c int pass_t = 2, passno, x, y, max=0, nmsedec, bpno; max 655 libavcodec/j2kenc.c max = FFMAX(max, t1->data[(y) * t1->stride + x]); max 659 libavcodec/j2kenc.c if (max == 0){ max 663 libavcodec/j2kenc.c cblk->nonzerobits = av_log2(max) + 1 - NMSEDEC_FRACBITS; max 55 libavcodec/magicyuv.c int max; max 193 libavcodec/magicyuv.c int *left, int *left_top, int max) max 203 libavcodec/magicyuv.c l &= max; max 218 libavcodec/magicyuv.c const int max = s->max - 1; max 262 libavcodec/magicyuv.c dst[x] = max - pix; max 271 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); max 274 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); max 278 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, dst[-fake_stride]); max 284 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); max 287 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); max 293 libavcodec/magicyuv.c dst[0] = left & max; max 298 libavcodec/magicyuv.c dst[x] = left & max; max 305 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); max 308 libavcodec/magicyuv.c s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); max 313 libavcodec/magicyuv.c magicyuv_median_pred16(dst, dst - fake_stride, dst, width, &left, &lefttop, max); max 332 libavcodec/magicyuv.c b[k] = (b[k] + g[k]) & max; max 333 libavcodec/magicyuv.c r[k] = (r[k] + g[k]) & max; max 476 libavcodec/magicyuv.c static int build_huffman(AVCodecContext *avctx, GetBitContext *gbit, int max) max 488 libavcodec/magicyuv.c if (j + k < max) max 492 libavcodec/magicyuv.c if (j == max) { max 502 libavcodec/magicyuv.c } else if (j > max) { max 621 libavcodec/magicyuv.c s->max = 1 << s->bps; max 713 libavcodec/magicyuv.c ret = build_huffman(avctx, &gbit, s->max); max 1975 libavcodec/mips/hevcpred_msa.c int max = max 1981 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 1991 libavcodec/mips/hevcpred_msa.c int max = max 1997 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 2015 libavcodec/mips/hevcpred_msa.c int max = max 2021 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 2031 libavcodec/mips/hevcpred_msa.c int max = max 2037 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 2492 libavcodec/mips/hevcpred_msa.c int max = max 2498 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 2508 libavcodec/mips/hevcpred_msa.c int max = max 2514 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 2532 libavcodec/mips/hevcpred_msa.c int max = max 2538 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 2548 libavcodec/mips/hevcpred_msa.c int max = max 2554 libavcodec/mips/hevcpred_msa.c for (i = 0; i < max; i += 2) max 94 libavcodec/mlpenc.c int32_t max; max 1354 libavcodec/mlpenc.c int min = INT_MAX, max = INT_MIN; max 1364 libavcodec/mlpenc.c if (coeff > max) max 1365 libavcodec/mlpenc.c max = coeff; max 1370 libavcodec/mlpenc.c bits = FFMAX(number_sbits(min), number_sbits(max)); max 1562 libavcodec/mlpenc.c int32_t min, int32_t max, max 1570 libavcodec/mlpenc.c max -= offset; max 1572 libavcodec/mlpenc.c lsb_bits = FFMAX(number_sbits(min), number_sbits(max)) - 1; max 1583 libavcodec/mlpenc.c bo->max = offset + unsign; max 1591 libavcodec/mlpenc.c int32_t min, int32_t max, max 1603 libavcodec/mlpenc.c max = FFMAX(max, 2 * HUFF_OFFSET_MIN - min + 1); max 1604 libavcodec/mlpenc.c if (max > HUFF_OFFSET_MAX) max 1605 libavcodec/mlpenc.c min = FFMIN(min, 2 * HUFF_OFFSET_MAX - max - 1); max 1608 libavcodec/mlpenc.c diff = max - min; max 1622 libavcodec/mlpenc.c bo->min = max - unsign + 1; max 1623 libavcodec/mlpenc.c bo->max = min + unsign; max 1687 libavcodec/mlpenc.c bo->max = FFMIN(offset + offset_max, HUFF_OFFSET_MAX); max 1695 libavcodec/mlpenc.c int offset, int32_t min, int32_t max, max 1703 libavcodec/mlpenc.c offset_max = FFMIN(max, HUFF_OFFSET_MAX); max 1709 libavcodec/mlpenc.c min, max, offset, max 1723 libavcodec/mlpenc.c offset = temp_bo.max + 1; max 1742 libavcodec/mlpenc.c int32_t min = INT32_MAX, max = INT32_MIN; max 1753 libavcodec/mlpenc.c if (sample > max) max 1754 libavcodec/mlpenc.c max = sample; max 1763 libavcodec/mlpenc.c no_codebook_bits(ctx, channel, min, max, &ctx->cur_best_offset[channel][0]); max 1766 libavcodec/mlpenc.c no_codebook_bits_offset(ctx, channel, offset, min, max, &ctx->cur_best_offset[channel][0]); max 1774 libavcodec/mlpenc.c min, max, offset, max 1778 libavcodec/mlpenc.c offset_max = temp_bo.max; max 1781 libavcodec/mlpenc.c min, max, &temp_bo, 0); max 1783 libavcodec/mlpenc.c min, max, &temp_bo, 1); max 1413 libavcodec/motion_est.c int min, max; max 1422 libavcodec/motion_est.c max= FFMAX(c->direct_basis_mv[i][0], c->direct_basis_mv[i][0] - c->co_located_mv[i][0])>>shift; max 1424 libavcodec/motion_est.c max+= 16*mb_x + 1; // +-1 is for the simpler rounding max 1426 libavcodec/motion_est.c xmax= FFMIN(xmax, s->width - max); max 1429 libavcodec/motion_est.c max= FFMAX(c->direct_basis_mv[i][1], c->direct_basis_mv[i][1] - c->co_located_mv[i][1])>>shift; max 1431 libavcodec/motion_est.c max+= 16*mb_y + 1; // +-1 is for the simpler rounding max 1433 libavcodec/motion_est.c ymax= FFMIN(ymax, s->height - max); max 1828 libavcodec/mpeg4videodec.c const int max = ((1 << (s->avctx->bits_per_raw_sample + 6)) - 1); max 1871 libavcodec/mpeg4videodec.c block[0] = av_clip(block[0], min, max); max 1926 libavcodec/mpeg4videodec.c block[j] = av_clip(block[j], min, max); max 158 libavcodec/mpegvideo_enc.c int64_t max = 8191; max 160 libavcodec/mpegvideo_enc.c max = (8191LL * ff_aanscales[i]) >> 14; max 162 libavcodec/mpegvideo_enc.c while (((max * qmat[qscale][i]) >> shift) > INT_MAX) { max 3959 libavcodec/mpegvideo_enc.c int max=0; max 4067 libavcodec/mpegvideo_enc.c max |=level; max 4074 libavcodec/mpegvideo_enc.c *overflow= s->max_qcoeff < max; //overflow might have happened max 4646 libavcodec/mpegvideo_enc.c int max=0; max 4706 libavcodec/mpegvideo_enc.c max |=level; max 4711 libavcodec/mpegvideo_enc.c *overflow= s->max_qcoeff < max; //overflow might have happened max 122 libavcodec/nellymoser.c int max, sum, last_off, tmp; max 126 libavcodec/nellymoser.c max = 0; max 128 libavcodec/nellymoser.c max = FFMAX(max, buf[i]); max 131 libavcodec/nellymoser.c shift += headroom(&max); max 534 libavcodec/ppc/h264dsp.c register vec_u8 max; max 543 libavcodec/ppc/h264dsp.c max = vec_adds(p1, tc0); max 546 libavcodec/ppc/h264dsp.c newp1 = vec_min(max, newp1); max 1353 libavcodec/qdm2.c int i, j, min, max, value, type, unknown_flag; max 1365 libavcodec/qdm2.c for (i = 0, max = 256; i < q->sub_packets_B; i++) { max 1371 libavcodec/qdm2.c if (value > min && value < max) { max 1377 libavcodec/qdm2.c max = min; max 332 libavcodec/roqvideoenc.c int max=(enc->width/blocksize)*enc->height/blocksize; max 353 libavcodec/roqvideoenc.c if (offset < max && offset >= 0) max 357 libavcodec/roqvideoenc.c if (offset < max && offset >= 0) max 361 libavcodec/roqvideoenc.c if (offset < max && offset >= 0) max 832 libavcodec/roqvideoenc.c int max = enc->width*enc->height/16; max 835 libavcodec/roqvideoenc.c uint8_t *yuvClusters=av_malloc_array(max, sizeof(int)*6*4); max 836 libavcodec/roqvideoenc.c int *points = av_malloc_array(max, 6*4*sizeof(int)); max 848 libavcodec/roqvideoenc.c for (i=0; i<max*24; i++) { max 854 libavcodec/roqvideoenc.c if ((ret = generate_codebook(enc, tempData, points, max, max 860 libavcodec/roqvideoenc.c tempData->closest_cb2 = av_malloc_array(max, 4*sizeof(int)); max 867 libavcodec/roqvideoenc.c if ((ret = generate_codebook(enc, tempData, points, max * 4, max 375 libavcodec/scpr.c int ret, temp = 0, min, max, x, y, cx = 0, cx1 = 0; max 389 libavcodec/scpr.c ret = decode_value(s, s->range_model, 256, 1, &max); max 394 libavcodec/scpr.c max += temp << 8; max 395 libavcodec/scpr.c if (min > max || min >= s->nbcount) max 400 libavcodec/scpr.c while (min <= max) { max 123 libavcodec/scpr3.c static int add_symbol(PixelModel3 *m, int index, uint32_t symbol, int *totfr, int max) max 125 libavcodec/scpr3.c if (m->size == max) max 148 libavcodec/scpr3.c uint16_t *a, uint16_t *b, uint32_t *c, int max) max 170 libavcodec/scpr3.c ret = add_symbol(m, q, *value, &totfr, max); max 199 libavcodec/scpr3.c ret = add_symbol(m, q, *value, &totfr, max); max 748 libavcodec/scpr3.c static int decode_value3(SCPRContext *s, uint32_t max, uint32_t *cntsum, max 758 libavcodec/scpr3.c if (r < max) { max 760 libavcodec/scpr3.c if (++r >= max) max 765 libavcodec/scpr3.c if (r > max) max 774 libavcodec/scpr3.c for (int c = 0, i = 0; i < max + 1; i++) { max 1034 libavcodec/scpr3.c int ret, temp, min, max, x, y, cx = 0, cx1 = 0; max 1060 libavcodec/scpr3.c s->range_model3.dectab, &max); max 1069 libavcodec/scpr3.c max += temp << 8; max 1070 libavcodec/scpr3.c if (min > max || min >= s->nbcount) max 1075 libavcodec/scpr3.c while (min <= max) { max 454 libavcodec/siren.c int min, max; max 487 libavcodec/siren.c min = max = expected_number_of_code_bits; max 491 libavcodec/siren.c if (min + max > number_of_available_bits * 2) { max 528 libavcodec/siren.c max += expected_bits_table[max_rate_categories[raw_max_idx] - 1] - max 219 libavcodec/sonic.c static void write_uint_max(PutBitContext *pb, unsigned int value, unsigned int max) max 223 libavcodec/sonic.c if (!max) max 226 libavcodec/sonic.c bits = bits_to_store(max); max 231 libavcodec/sonic.c if ( (value | (1 << (bits-1))) <= max) max 235 libavcodec/sonic.c static unsigned int read_uint_max(GetBitContext *gb, int max) max 239 libavcodec/sonic.c if (!max) max 242 libavcodec/sonic.c bits = bits_to_store(max); max 248 libavcodec/sonic.c if ( (value | (1<<(bits-1))) <= max) max 257 libavcodec/sonic.c int i, j, x = 0, low_bits = 0, max = 0; max 283 libavcodec/sonic.c if (copy[i] > max) max 284 libavcodec/sonic.c max = abs(copy[i]); max 287 libavcodec/sonic.c bits = av_calloc(entries*max, sizeof(*bits)); max 294 libavcodec/sonic.c for (i = 0; i <= max; i++) max 206 libavcodec/tests/fft.c double error = 0, max = 0; max 216 libavcodec/tests/fft.c if (e > max) max 217 libavcodec/tests/fft.c max = e; max 219 libavcodec/tests/fft.c av_log(NULL, AV_LOG_INFO, "max:%f e:%g\n", max, sqrt(error / n)); max 248 libavcodec/texturedspenc.c int mu[3], min[3], max[3]; max 269 libavcodec/texturedspenc.c max[ch] = maxv; max 292 libavcodec/texturedspenc.c vfr = (float) (max[0] - min[0]); max 293 libavcodec/texturedspenc.c vfg = (float) (max[1] - min[1]); max 294 libavcodec/texturedspenc.c vfb = (float) (max[2] - min[2]); max 199 libavcodec/vp6.c int max = 0; max 202 libavcodec/vp6.c if (v > max) max 203 libavcodec/vp6.c max = v; max 206 libavcodec/vp6.c max++; max 207 libavcodec/vp6.c s->modelp->coeff_index_to_idct_selector[idx] = max; max 506 libavcodec/vp9.c int c, i, j, k, l, m, n, w, h, max, size2, ret, sharp; max 775 libavcodec/vp9.c for (max = 0; (s->sb_cols >> max) >= 4; max++) ; max 776 libavcodec/vp9.c max = FFMAX(0, max - 1); max 777 libavcodec/vp9.c while (max > s->s.h.tiling.log2_tile_cols) { max 38 libavcodec/vp9_superframe_bsf.c unsigned max = 0, sum = 0; max 43 libavcodec/vp9_superframe_bsf.c if (sz > max) max 44 libavcodec/vp9_superframe_bsf.c max = sz; max 48 libavcodec/vp9_superframe_bsf.c *_max = max; max 54 libavcodec/vp9_superframe_bsf.c unsigned max, sum, mag, marker, n, sz; max 58 libavcodec/vp9_superframe_bsf.c stats(in, n_in, &max, &sum); max 59 libavcodec/vp9_superframe_bsf.c mag = av_log2(max) >> 3; max 466 libavcodec/webp.c int ret, block_bits, width, blocks_w, blocks_h, x, y, max; max 483 libavcodec/webp.c max = 0; max 489 libavcodec/webp.c max = FFMAX(max, p); max 492 libavcodec/webp.c s->nb_huffman_groups = max + 1; max 608 libavcodec/wmavoice.c float last_coeff, min = 15.0, max = -15.0; max 616 libavcodec/wmavoice.c max = FFMAX(max, tmp); min = FFMIN(min, tmp); \ max 624 libavcodec/wmavoice.c range = max - min; max 639 libavcodec/wmavoice.c idx = lrint((max - lpcs[n]) * irange - 1); max 33 libavcodec/x86/audiodsp_init.c int32_t min, int32_t max, unsigned int len); max 35 libavcodec/x86/audiodsp_init.c int32_t min, int32_t max, unsigned int len); max 37 libavcodec/x86/audiodsp_init.c int32_t min, int32_t max, unsigned int len); max 39 libavcodec/x86/audiodsp_init.c int32_t min, int32_t max, unsigned int len); max 41 libavcodec/x86/audiodsp_init.c int len, float min, float max); max 300 libavdevice/android_camera.c int32_t max = available_framerates.data.i32[i * 2 + 1]; max 302 libavdevice/android_camera.c if (requested_framerate == max) { max 303 libavdevice/android_camera.c if (min == max) { max 305 libavdevice/android_camera.c ctx->framerate_range[1] = max; max 99 libavdevice/jack.c latency += range.max; max 699 libavdevice/opengl_enc.c int max = FFMIN(FFMAX(in_width, in_height), opengl->max_texture_size); max 701 libavdevice/opengl_enc.c while (power_of_2 < max) max 188 libavfilter/af_aecho.c #define ECHO(name, type, min, max) \ max 220 libavfilter/af_aecho.c *d = av_clipd(out, min, max); \ max 366 libavfilter/af_afftdn.c double sum = 0.0, min, max; max 381 libavfilter/af_afftdn.c max = 2.0E-4 * i * i; max 383 libavfilter/af_afftdn.c max = 2.0E-4 * (4 * i - 4); max 389 libavfilter/af_afftdn.c max *= 0.75; max 392 libavfilter/af_afftdn.c max *= 1.0; max 395 libavfilter/af_afftdn.c max *= 1.3; max 398 libavfilter/af_afftdn.c max *= 1.6; max 401 libavfilter/af_afftdn.c max *= 2.0; max 404 libavfilter/af_afftdn.c max *= 2.5; max 408 libavfilter/af_afftdn.c sum = av_clipd(sum, -min, max); max 759 libavfilter/af_afftdn.c double min, max; max 792 libavfilter/af_afftdn.c max = pow(0.1, 1.0); max 799 libavfilter/af_afftdn.c dnch->band_excit[i] = av_clipd(dnch->band_excit[i], min, max); max 288 libavfilter/af_afir.c float *mag, *phase, *delay, min = FLT_MAX, max = FLT_MIN; max 320 libavfilter/af_afir.c max = fmaxf(max, mag[i]); max 326 libavfilter/af_afir.c int ymag = mag[i] / max * (s->h - 1); max 352 libavfilter/af_afir.c snprintf(text, sizeof(text), "%.2f", max); max 123 libavfilter/af_aiir.c #define IIR_CH(name, type, min, max, need_clipping) \ max 163 libavfilter/af_aiir.c } else if (need_clipping && sample > max) { \ max 165 libavfilter/af_aiir.c dst[n] = max; \ max 179 libavfilter/af_aiir.c #define SERIAL_IIR_CH(name, type, min, max, need_clipping) \ max 221 libavfilter/af_aiir.c } else if (need_clipping && o0 > max) { \ max 223 libavfilter/af_aiir.c dst[n] = max; \ max 869 libavfilter/af_aiir.c double *mag, *phase, *temp, *delay, min = DBL_MAX, max = -DBL_MAX; max 898 libavfilter/af_aiir.c max = fmax(max, mag[i]); max 926 libavfilter/af_aiir.c int ymag = mag[i] / max * (s->h - 1); max 952 libavfilter/af_aiir.c snprintf(text, sizeof(text), "%.2f", max); max 34 libavfilter/af_asetrate.c #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ max 36 libavfilter/af_asetrate.c { .deffield = def }, min, max, FLAGS, __VA_ARGS__ } max 38 libavfilter/af_asetrate.c #define OPT_INT(name, field, def, min, max, descr, ...) \ max 39 libavfilter/af_asetrate.c OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) max 69 libavfilter/af_astats.c double min, max; max 190 libavfilter/af_astats.c p->max = p->nmax = p->max_sigma_x2 =-DBL_MAX; max 274 libavfilter/af_astats.c if (d > p->max) max 275 libavfilter/af_astats.c p->max = d; max 299 libavfilter/af_astats.c if (d > p->max) { max 300 libavfilter/af_astats.c p->max = d; max 305 libavfilter/af_astats.c } else if (d == p->max) { max 308 libavfilter/af_astats.c } else if (p->last == p->max) { max 414 libavfilter/af_astats.c min = DBL_MAX, max =-DBL_MAX, min_diff = DBL_MAX, max_diff = 0, max 434 libavfilter/af_astats.c max = FFMAX(max, p->max); max 465 libavfilter/af_astats.c set_meta(metadata, c + 1, "Max_level", "%f", p->max); max 483 libavfilter/af_astats.c set_meta(metadata, c + 1, "Crest_factor", "%f", p->sigma_x2 ? FFMAX(-p->min, p->max) / sqrt(p->sigma_x2 / p->nb_samples) : 1); max 498 libavfilter/af_astats.c set_meta(metadata, c + 1, "Dynamic_range", "%f", LINEAR_TO_DB(2 * FFMAX(FFABS(p->min), FFABS(p->max))/ p->min_non_zero)); max 516 libavfilter/af_astats.c set_meta(metadata, 0, "Overall.Max_level", "%f", max); max 584 libavfilter/af_astats.c UPDATE_STATS_##planar(type, update_minmax(s, p, sample), , p->nmin = p->min normalizer_suffix; p->nmax = p->max normalizer_suffix;); \ max 662 libavfilter/af_astats.c min = DBL_MAX, max =-DBL_MAX, min_diff = DBL_MAX, max_diff = 0, max 682 libavfilter/af_astats.c max = FFMAX(max, p->max); max 714 libavfilter/af_astats.c av_log(ctx, AV_LOG_INFO, "Max level: %f\n", p->max); max 747 libavfilter/af_astats.c av_log(ctx, AV_LOG_INFO, "Dynamic range: %f\n", LINEAR_TO_DB(2 * FFMAX(FFABS(p->min), FFABS(p->max))/ p->min_non_zero)); max 766 libavfilter/af_astats.c av_log(ctx, AV_LOG_INFO, "Max level: %f\n", max); max 362 libavfilter/af_atempo.c FFTSample s, max, ti, si; \ max 369 libavfilter/af_atempo.c max = (FFTSample)tmp; \ max 371 libavfilter/af_atempo.c (FFTSample)fabsf(max)); \ max 383 libavfilter/af_atempo.c max = ti; \ max 387 libavfilter/af_atempo.c *xdat = max; \ max 178 libavfilter/af_biquads.c #define BIQUAD_FILTER(name, type, min, max, need_clipping) \ max 209 libavfilter/af_biquads.c } else if (need_clipping && out > max) { \ max 211 libavfilter/af_biquads.c obuf[i] = max; \ max 224 libavfilter/af_biquads.c } else if (need_clipping && out > max) { \ max 226 libavfilter/af_biquads.c obuf[i] = max; \ max 243 libavfilter/af_biquads.c } else if (need_clipping && out > max) { \ max 245 libavfilter/af_biquads.c obuf[i] = max; \ max 41 libavfilter/af_deesser.c double max; max 60 libavfilter/af_deesser.c { "m", "set max deessing", OFFSET(max), AV_OPT_TYPE_DOUBLE, {.dbl=0.5}, 0.0, 1.0, A }, max 142 libavfilter/af_deesser.c double maxdess = 1.0 / pow(10.0, ((s->max - 1.0) * 48.0) / 20); max 393 libavfilter/af_dynaudnorm.c double max = DBL_EPSILON; max 401 libavfilter/af_dynaudnorm.c max = FFMAX(max, fabs(data_ptr[i])); max 407 libavfilter/af_dynaudnorm.c max = FFMAX(max, fabs(data_ptr[i])); max 410 libavfilter/af_dynaudnorm.c return max; max 1126 libavfilter/af_hdcd.c static int hdcd_scan(HDCDContext *ctx, hdcd_state *states, int channels, const int32_t *samples, int max, int stride) max 1139 libavfilter/af_hdcd.c if (states[i].sustain <= (unsigned)max) { max 1141 libavfilter/af_hdcd.c max = states[i].sustain; max 1143 libavfilter/af_hdcd.c states[i].sustain -= max; max 1148 libavfilter/af_hdcd.c while (result < max) { max 1150 libavfilter/af_hdcd.c int consumed = hdcd_integrate(ctx, states, channels, &flag, samples, max - result, stride); max 242 libavfilter/af_loudnorm.c double max; max 244 libavfilter/af_loudnorm.c max = 0.; max 247 libavfilter/af_loudnorm.c max = fabs(buf[c]) > max ? fabs(buf[c]) : max; max 252 libavfilter/af_loudnorm.c if (max > ceiling) { max 253 libavfilter/af_loudnorm.c s->gain_reduction[1] = ceiling / max; max 53 libavfilter/asrc_sine.c #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ max 55 libavfilter/asrc_sine.c { .deffield = def }, min, max, FLAGS, __VA_ARGS__ } max 57 libavfilter/asrc_sine.c #define OPT_INT(name, field, def, min, max, descr, ...) \ max 58 libavfilter/asrc_sine.c OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) max 60 libavfilter/asrc_sine.c #define OPT_DBL(name, field, def, min, max, descr, ...) \ max 61 libavfilter/asrc_sine.c OPT_GENERIC(name, field, def, min, max, descr, DOUBLE, dbl, __VA_ARGS__) max 63 libavfilter/asrc_sine.c #define OPT_DUR(name, field, def, min, max, descr, ...) \ max 64 libavfilter/asrc_sine.c OPT_GENERIC(name, field, def, min, max, descr, DURATION, str, __VA_ARGS__) max 66 libavfilter/asrc_sine.c #define OPT_STR(name, field, def, min, max, descr, ...) \ max 67 libavfilter/asrc_sine.c OPT_GENERIC(name, field, def, min, max, descr, STRING, str, __VA_ARGS__) max 140 libavfilter/avf_abitscope.c static void count_bits(AudioBitScopeContext *s, uint32_t sample, int max) max 144 libavfilter/avf_abitscope.c for (i = 0; i < max; i++) { max 265 libavfilter/avf_avectorscope.c float max = 0; max 273 libavfilter/avf_avectorscope.c max = FFMAX(FFABS(sample), max); max 282 libavfilter/avf_avectorscope.c max = FFMAX(FFABS(samples[i]), max); max 290 libavfilter/avf_avectorscope.c zoom = 1. / max; max 186 libavfilter/avf_showcqt.c double val, double min, double max, max 198 libavfilter/avf_showcqt.c } else if (val > max) { max 200 libavfilter/avf_showcqt.c idx, name, val, max); max 201 libavfilter/avf_showcqt.c val = max; max 632 libavfilter/avf_showspectrum.c static float log_scale(const float value, const float min, const float max) max 636 libavfilter/avf_showspectrum.c if (value > max) max 637 libavfilter/avf_showspectrum.c return max; max 640 libavfilter/avf_showspectrum.c const float b = logf(max / min) / (max - min); max 641 libavfilter/avf_showspectrum.c const float a = max / expf(max * b); max 657 libavfilter/avf_showspectrum.c static float inv_log_scale(const float value, const float min, const float max) max 661 libavfilter/avf_showspectrum.c if (value > max) max 662 libavfilter/avf_showspectrum.c return max; max 665 libavfilter/avf_showspectrum.c const float b = logf(max / min) / (max - min); max 666 libavfilter/avf_showspectrum.c const float a = max / expf(max * b); max 58 libavfilter/avf_showvolume.c float *max; max 68 libavfilter/avf_showvolume.c void (*meter)(float *src, int nb_samples, float *max, float factor); max 177 libavfilter/avf_showvolume.c s->max = av_calloc(inlink->channels, sizeof(*s->max)); max 178 libavfilter/avf_showvolume.c if (!s->max) max 218 libavfilter/avf_showvolume.c float max = i / (float)(s->w - 1); max 220 libavfilter/avf_showvolume.c s->values[ch * VAR_VARS_NB + VAR_PEAK] = max; max 221 libavfilter/avf_showvolume.c s->values[ch * VAR_VARS_NB + VAR_VOLUME] = 20.0 * log10(max); max 276 libavfilter/avf_showvolume.c static inline int calc_max_draw(ShowVolumeContext *s, AVFilterLink *outlink, float max) max 280 libavfilter/avf_showvolume.c max_val = max; max 282 libavfilter/avf_showvolume.c max_val = av_clipf(0.21 * log10(max) + 1, 0, 1); max 291 libavfilter/avf_showvolume.c static inline void calc_persistent_max(ShowVolumeContext *s, float max, int channel) max 294 libavfilter/avf_showvolume.c if ((max >= s->max_persistent[channel]) || (s->nb_frames_max_display[channel] >= s->persistent_max_frames)) { /* update max value for display */ max 295 libavfilter/avf_showvolume.c s->max_persistent[channel] = max; max 359 libavfilter/avf_showvolume.c float max; max 361 libavfilter/avf_showvolume.c s->meter(src, insamples->nb_samples, &s->max[c], s->rms_factor); max 362 libavfilter/avf_showvolume.c max = s->max[c]; max 364 libavfilter/avf_showvolume.c s->values[c * VAR_VARS_NB + VAR_VOLUME] = 20.0 * log10(max); max 365 libavfilter/avf_showvolume.c max = av_clipf(max, 0, 1); max 366 libavfilter/avf_showvolume.c max_draw = calc_max_draw(s, outlink, max); max 385 libavfilter/avf_showvolume.c calc_persistent_max(s, max, c); max 394 libavfilter/avf_showvolume.c float max; max 396 libavfilter/avf_showvolume.c s->meter(src, insamples->nb_samples, &s->max[c], s->rms_factor); max 397 libavfilter/avf_showvolume.c max = s->max[c]; max 399 libavfilter/avf_showvolume.c s->values[c * VAR_VARS_NB + VAR_VOLUME] = 20.0 * log10(max); max 400 libavfilter/avf_showvolume.c max = av_clipf(max, 0, 1); max 401 libavfilter/avf_showvolume.c max_draw = calc_max_draw(s, outlink, max); max 421 libavfilter/avf_showvolume.c calc_persistent_max(s, max, c); max 480 libavfilter/avf_showvolume.c av_freep(&s->max); max 1133 libavfilter/avfilter.c static int take_samples(AVFilterLink *link, unsigned min, unsigned max, max 1144 libavfilter/avfilter.c if (!link->fifo.samples_skipped && frame->nb_samples >= min && frame->nb_samples <= max) { max 1151 libavfilter/avfilter.c if (nb_samples + frame->nb_samples > max) { max 1153 libavfilter/avfilter.c nb_samples = max; max 1495 libavfilter/avfilter.c int ff_inlink_consume_samples(AVFilterLink *link, unsigned min, unsigned max, max 1507 libavfilter/avfilter.c ret = take_samples(link, min, max, &frame); max 300 libavfilter/buffersrc.c { "pix_fmt", NULL, OFFSET(pix_fmt), AV_OPT_TYPE_PIXEL_FMT, { .i64 = AV_PIX_FMT_NONE }, .min = AV_PIX_FMT_NONE, .max = INT_MAX, .flags = V }, max 316 libavfilter/buffersrc.c { "sample_fmt", NULL, OFFSET(sample_fmt), AV_OPT_TYPE_SAMPLE_FMT, { .i64 = AV_SAMPLE_FMT_NONE }, .min = AV_SAMPLE_FMT_NONE, .max = INT_MAX, .flags = A }, max 45 libavfilter/convolution.h int max; max 324 libavfilter/ebur128.c double max = 0.0; \ max 327 libavfilter/ebur128.c if (v > max) { \ max 328 libavfilter/ebur128.c max = v; \ max 329 libavfilter/ebur128.c } else if (-v > max) { \ max 330 libavfilter/ebur128.c max = -1.0 * v; \ max 333 libavfilter/ebur128.c max /= scaling_factor; \ max 334 libavfilter/ebur128.c if (max > st->d->sample_peak[c]) st->d->sample_peak[c] = max; \ max 34 libavfilter/f_bench.c int64_t max, min; max 55 libavfilter/f_bench.c s->max = INT64_MIN; max 79 libavfilter/f_bench.c s->max = FFMAX(s->max, diff); max 81 libavfilter/f_bench.c T2F(diff), T2F(s->sum / s->n), T2F(s->max), T2F(s->min)); max 36 libavfilter/f_drawgraph.c float min, max; max 69 libavfilter/f_drawgraph.c { "max", "set maximal value", OFFSET(max), AV_OPT_TYPE_FLOAT, {.dbl=1.}, INT_MIN, INT_MAX, FLAGS }, max 95 libavfilter/f_drawgraph.c if (s->max <= s->min) { max 228 libavfilter/f_drawgraph.c vf = av_clipf(vf, s->min, s->max); max 236 libavfilter/f_drawgraph.c values[VAR_MAX] = s->max; max 266 libavfilter/f_drawgraph.c y = (outlink->h - 1) * (1 - ((vf - s->min) / (s->max - s->min))); max 362 libavfilter/f_drawgraph.c values[VAR_MAX] = s->max; max 369 libavfilter/f_drawgraph.c y = (outlink->h - 1) * (1 - ((vf - s->min) / (s->max - s->min))); max 115 libavfilter/filters.h int ff_inlink_consume_samples(AVFilterLink *link, unsigned min, unsigned max, max 27 libavfilter/generate_wave_table.c double min, double max, double phase) max 52 libavfilter/generate_wave_table.c d = d * (max - min) + min; max 33 libavfilter/generate_wave_table.h double min, double max, double phase); max 28 libavfilter/limiter.h int w, int h, int min, int max); max 34 libavfilter/opencl/avgblur.cl for (int xx = max(0, loc.x - rad); xx < min(loc.x + rad + 1, size.x); xx++) { max 54 libavfilter/opencl/avgblur.cl for (int yy = max(0, loc.y - radv); yy < min(loc.y + radv + 1, size.y); yy++) { max 56 libavfilter/opencl/colorspace_common.cl float a = max(p -ST2084_C1, 0.0f); max 57 libavfilter/opencl/colorspace_common.cl float b = max(ST2084_C2 - ST2084_C3 * p, 1e-6f); max 83 libavfilter/opencl/colorspace_common.cl gamma = max(1.0f, gamma); max 492 libavfilter/opencl/deshake.cl int2 start = max(loc - search_radius, 0); max 74 libavfilter/opencl/tonemap.cl b = (j * j - 2.0f * j * peak + peak) / max(peak - 1.0f, 1e-6f); max 131 libavfilter/opencl/tonemap.cl r.peak = max(1.0f, peak); max 132 libavfilter/opencl/tonemap.cl r.average = max(0.25f, avg); max 169 libavfilter/opencl/tonemap.cl float sig = max(max(rgb.x, max(rgb.y, rgb.z)), 1e-6f); max 189 libavfilter/opencl/tonemap.cl float coeff = max(sig - 0.18f, 1e-6f) / max(sig, 1e-6f); max 238 libavfilter/opencl/tonemap.cl float sig0 = max(c0.x, max(c0.y, c0.z)); max 239 libavfilter/opencl/tonemap.cl float sig1 = max(c1.x, max(c1.y, c1.z)); max 240 libavfilter/opencl/tonemap.cl float sig2 = max(c2.x, max(c2.y, c2.z)); max 241 libavfilter/opencl/tonemap.cl float sig3 = max(c3.x, max(c3.y, c3.z)); max 242 libavfilter/opencl/tonemap.cl float sig = max(sig0, max(sig1, max(sig2, sig3))); max 38 libavfilter/threshold.h const uint8_t *min, const uint8_t *max, max 63 libavfilter/vf_aspect.c int max; max 109 libavfilter/vf_aspect.c ret = av_parse_ratio(aspect_ratio, s->ratio_expr, s->max, 0, ctx); max 111 libavfilter/vf_aspect.c *aspect_ratio = av_d2q(res, s->max); max 164 libavfilter/vf_aspect.c { "max", "set max value for nominator or denominator in the ratio", OFFSET(max), AV_OPT_TYPE_INT, {.i64=100}, 1, INT_MAX, FLAGS }, max 228 libavfilter/vf_aspect.c { "max", "set max value for nominator or denominator in the ratio", OFFSET(max), AV_OPT_TYPE_INT, {.i64=100}, 1, INT_MAX, FLAGS }, max 105 libavfilter/vf_bm3d.c int max; max 282 libavfilter/vf_bm3d.c double MSE2SSE = s->group_size * s->block_size * s->block_size * src_range * src_range / (s->max * s->max); max 790 libavfilter/vf_bm3d.c s->max = (1 << s->depth) - 1; max 88 libavfilter/vf_bwdif.c int max = FFMAX3(de, dc, FFMIN(b, f)); \ max 90 libavfilter/vf_bwdif.c diff = FFMAX3(diff, min, -max); max 118 libavfilter/vf_cas.c const int max = 2 * (1 << s->depth) - 1; max 168 libavfilter/vf_cas.c amp = sqrtf(av_clipf(FFMIN(mn, max - mx) / (float)mx, 0.f, 1.f)); max 41 libavfilter/vf_chromakey.c int max; max 73 libavfilter/vf_chromakey.c double max = ctx->max; max 81 libavfilter/vf_chromakey.c diff += sqrt((du * du + dv * dv) / (max * max * 2)); max 87 libavfilter/vf_chromakey.c return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * max; max 89 libavfilter/vf_chromakey.c return (diff > ctx->similarity) ? max : 0; max 225 libavfilter/vf_chromakey.c double max = ctx->max; max 239 libavfilter/vf_chromakey.c diff = sqrt((du * du + dv * dv) / (max * max)); max 282 libavfilter/vf_chromakey.c ctx->max = (1 << ctx->depth) - 1; max 53 libavfilter/vf_colorbalance.c int max; max 127 libavfilter/vf_colorbalance.c float max = FFMAX3(*r, *g, *b); max 135 libavfilter/vf_colorbalance.c } else if (max == *r) { max 136 libavfilter/vf_colorbalance.c h = 60. * (0. + (*g - *b) / (max - min)); max 137 libavfilter/vf_colorbalance.c } else if (max == *g) { max 138 libavfilter/vf_colorbalance.c h = 60. * (2. + (*b - *r) / (max - min)); max 139 libavfilter/vf_colorbalance.c } else if (max == *b) { max 140 libavfilter/vf_colorbalance.c h = 60. * (4. + (*r - *g) / (max - min)); max 147 libavfilter/vf_colorbalance.c if (max == 0. || min == 1.) { max 150 libavfilter/vf_colorbalance.c s = (max - min) / (1. - FFABS(2. * l - 1)); max 174 libavfilter/vf_colorbalance.c const float max = s->max; max 179 libavfilter/vf_colorbalance.c float r = srcr[j] / max; max 180 libavfilter/vf_colorbalance.c float g = srcg[j] / max; max 181 libavfilter/vf_colorbalance.c float b = srcb[j] / max; max 191 libavfilter/vf_colorbalance.c dstr[j] = av_clip_uint8(r * max); max 192 libavfilter/vf_colorbalance.c dstg[j] = av_clip_uint8(g * max); max 193 libavfilter/vf_colorbalance.c dstb[j] = av_clip_uint8(b * max); max 228 libavfilter/vf_colorbalance.c const float max = s->max; max 233 libavfilter/vf_colorbalance.c float r = srcr[j] / max; max 234 libavfilter/vf_colorbalance.c float g = srcg[j] / max; max 235 libavfilter/vf_colorbalance.c float b = srcb[j] / max; max 245 libavfilter/vf_colorbalance.c dstr[j] = av_clip_uintp2_c(r * max, depth); max 246 libavfilter/vf_colorbalance.c dstg[j] = av_clip_uintp2_c(g * max, depth); max 247 libavfilter/vf_colorbalance.c dstb[j] = av_clip_uintp2_c(b * max, depth); max 279 libavfilter/vf_colorbalance.c const float max = s->max; max 290 libavfilter/vf_colorbalance.c float r = src[j + roffset] / max; max 291 libavfilter/vf_colorbalance.c float g = src[j + goffset] / max; max 292 libavfilter/vf_colorbalance.c float b = src[j + boffset] / max; max 302 libavfilter/vf_colorbalance.c dst[j + roffset] = av_clip_uint8(r * max); max 303 libavfilter/vf_colorbalance.c dst[j + goffset] = av_clip_uint8(g * max); max 304 libavfilter/vf_colorbalance.c dst[j + boffset] = av_clip_uint8(b * max); max 332 libavfilter/vf_colorbalance.c const float max = s->max; max 342 libavfilter/vf_colorbalance.c float r = src[j + roffset] / max; max 343 libavfilter/vf_colorbalance.c float g = src[j + goffset] / max; max 344 libavfilter/vf_colorbalance.c float b = src[j + boffset] / max; max 354 libavfilter/vf_colorbalance.c dst[j + roffset] = av_clip_uintp2_c(r * max, depth); max 355 libavfilter/vf_colorbalance.c dst[j + goffset] = av_clip_uintp2_c(g * max, depth); max 356 libavfilter/vf_colorbalance.c dst[j + boffset] = av_clip_uintp2_c(b * max, depth); max 374 libavfilter/vf_colorbalance.c const int max = (1 << depth) - 1; max 378 libavfilter/vf_colorbalance.c s->max = max; max 380 libavfilter/vf_colorbalance.c if (max == 255 && planar) { max 384 libavfilter/vf_colorbalance.c } else if (max == 255) { max 534 libavfilter/vf_convolution.c bias, matrix, c, s->max, radius, max 539 libavfilter/vf_convolution.c rdiv, bias, matrix, c, s->max, radius, max 547 libavfilter/vf_convolution.c bias, matrix, c, s->max, radius, max 566 libavfilter/vf_convolution.c s->max = (1 << s->depth) - 1; max 332 libavfilter/vf_convolve.c const int max = (1 << s->depth) - 1; max 362 libavfilter/vf_convolve.c dst[x] = av_clip(input[y * n + x].re * scale, 0, max); max 367 libavfilter/vf_convolve.c dst[x] = av_clip(input[y * n + n - hw + x].re * scale, 0, max); max 372 libavfilter/vf_convolve.c dst[x] = av_clip(input[(n - hh + y) * n + x].re * scale, 0, max); max 377 libavfilter/vf_convolve.c dst[x] = av_clip(input[(n - hh + y) * n + n - hw + x].re * scale, 0, max); max 161 libavfilter/vf_datascope.c const unsigned max = (1 << draw->desc->comp[p].depth) - 1; max 162 libavfilter/vf_datascope.c const unsigned mid = (max + 1) / 2; max 164 libavfilter/vf_datascope.c reverse->comp[p].u16[0] = color->comp[p].u16[0] > mid ? 0 : max; max 165 libavfilter/vf_datascope.c reverse->comp[p].u16[1] = color->comp[p].u16[1] > mid ? 0 : max; max 166 libavfilter/vf_datascope.c reverse->comp[p].u16[2] = color->comp[p].u16[2] > mid ? 0 : max; max 539 libavfilter/vf_datascope.c int max[4] = { 0 }, min[4] = { INT_MAX, INT_MAX, INT_MAX, INT_MAX }; max 602 libavfilter/vf_datascope.c max[i] = FFMAX(max[i], value[i]); max 662 libavfilter/vf_datascope.c snprintf(text, sizeof(text), "%c %07.1f %05d %05d %07.1f\n", s->is_rgb ? rgba[i] : yuva[i], average[c], min[c], max[c], rms[c]); max 729 libavfilter/vf_datascope.c int max; max 857 libavfilter/vf_datascope.c int py = s->height - s->values[i-1].p[s->rgba_map[c]] * s->height / s->max; max 858 libavfilter/vf_datascope.c int y = s->height - s->values[i].p[s->rgba_map[c]] * s->height / s->max; max 932 libavfilter/vf_datascope.c s->max = (1 << s->draw.desc->comp[0].depth); max 978 libavfilter/vf_datascope.c AV_WN16(out->data[0] + out->linesize[0] * y0 + 2 * x0 * (s->draw.pixelstep[0] + i), (s->max - 1) * ((s->nb_values + state) & 1)); max 980 libavfilter/vf_datascope.c AV_WN16(out->data[0] + out->linesize[0] * y0 + 2 * x0, (s->max - 1) * ((s->nb_values + state) & 1)); max 1009 libavfilter/vf_datascope.c int max[4] = { 0 }; max 1042 libavfilter/vf_datascope.c max[c] = FFMAX(max[c], s->values[i].p[s->rgba_map[c]]); max 1059 libavfilter/vf_datascope.c snprintf(text, sizeof(text), "%c avg:%.1f min:%d max:%d\n", s->is_rgb ? rgba[c] : yuva[c], average[c], min[c], max[c]); max 51 libavfilter/vf_deblock.c int max; max 59 libavfilter/vf_deblock.c int ath, int bth, int gth, int dth, int max); max 61 libavfilter/vf_deblock.c int ath, int bth, int gth, int dth, int max); max 95 libavfilter/vf_deblock.c int ath, int bth, int gth, int dth, int max) \ max 122 libavfilter/vf_deblock.c dst[x - 2 * dst_linesize] = av_clip(a, 0, max); \ max 123 libavfilter/vf_deblock.c dst[x - 1 * dst_linesize] = av_clip(b, 0, max); \ max 124 libavfilter/vf_deblock.c dst[x + 0 * dst_linesize] = av_clip(c, 0, max); \ max 125 libavfilter/vf_deblock.c dst[x + 1 * dst_linesize] = av_clip(d, 0, max); \ max 134 libavfilter/vf_deblock.c int ath, int bth, int gth, int dth, int max) \ max 161 libavfilter/vf_deblock.c dst[-2] = av_clip(a, 0, max); \ max 162 libavfilter/vf_deblock.c dst[-1] = av_clip(b, 0, max); \ max 163 libavfilter/vf_deblock.c dst[+0] = av_clip(c, 0, max); \ max 164 libavfilter/vf_deblock.c dst[+1] = av_clip(d, 0, max); \ max 175 libavfilter/vf_deblock.c int ath, int bth, int gth, int dth, int max) \ max 207 libavfilter/vf_deblock.c dst[x - 3 * dst_linesize] = av_clip(a, 0, max); \ max 208 libavfilter/vf_deblock.c dst[x - 2 * dst_linesize] = av_clip(b, 0, max); \ max 209 libavfilter/vf_deblock.c dst[x - 1 * dst_linesize] = av_clip(c, 0, max); \ max 210 libavfilter/vf_deblock.c dst[x + 0 * dst_linesize] = av_clip(d, 0, max); \ max 211 libavfilter/vf_deblock.c dst[x + 1 * dst_linesize] = av_clip(e, 0, max); \ max 212 libavfilter/vf_deblock.c dst[x + 2 * dst_linesize] = av_clip(f, 0, max); \ max 221 libavfilter/vf_deblock.c int ath, int bth, int gth, int dth, int max) \ max 253 libavfilter/vf_deblock.c dst[-3] = av_clip(a, 0, max); \ max 254 libavfilter/vf_deblock.c dst[-2] = av_clip(b, 0, max); \ max 255 libavfilter/vf_deblock.c dst[-1] = av_clip(c, 0, max); \ max 256 libavfilter/vf_deblock.c dst[+0] = av_clip(d, 0, max); \ max 257 libavfilter/vf_deblock.c dst[+1] = av_clip(e, 0, max); \ max 258 libavfilter/vf_deblock.c dst[+2] = av_clip(f, 0, max); \ max 279 libavfilter/vf_deblock.c s->max = (1 << s->depth) - 1; max 280 libavfilter/vf_deblock.c s->ath = s->alpha * s->max; max 281 libavfilter/vf_deblock.c s->bth = s->beta * s->max; max 282 libavfilter/vf_deblock.c s->gth = s->gamma * s->max; max 283 libavfilter/vf_deblock.c s->dth = s->delta * s->max; max 345 libavfilter/vf_deblock.c FFMIN(block, height), s->ath, s->bth, s->gth, s->dth, s->max); max 352 libavfilter/vf_deblock.c s->ath, s->bth, s->gth, s->dth, s->max); max 357 libavfilter/vf_deblock.c s->ath, s->bth, s->gth, s->dth, s->max); max 360 libavfilter/vf_deblock.c s->ath, s->bth, s->gth, s->dth, s->max); max 41 libavfilter/vf_dedot.c int max; max 238 libavfilter/vf_dedot.c s->max = (1 << s->depth) - 1; max 239 libavfilter/vf_dedot.c s->luma2d = s->lt * s->max; max 240 libavfilter/vf_dedot.c s->lumaT = s->tl * s->max; max 241 libavfilter/vf_dedot.c s->chromaT1 = s->tc * s->max; max 242 libavfilter/vf_dedot.c s->chromaT2 = s->ct * s->max; max 151 libavfilter/vf_deflicker.c const int max = (1 << s->depth) - 1; max 156 libavfilter/vf_deflicker.c dst[x] = av_clip(src[x] * f, 0, max); max 46 libavfilter/vf_derain.c #define CLIP(x, min, max) (x < min ? min : (x > max ? max : x)) max 77 libavfilter/vf_detelecine.c int max = 0; max 92 libavfilter/vf_detelecine.c max = FFMAX(*p - '0', max); max 120 libavfilter/vf_detelecine.c s->pattern, (max + 1) / 2, s->pts.num, s->pts.den); max 101 libavfilter/vf_drawtext.c static double drand(void *opaque, double min, double max) max 103 libavfilter/vf_drawtext.c return min + (max-min) / UINT_MAX * av_lfg_get(opaque); max 198 libavfilter/vf_fftfilt.c int max = (1 << s->depth) - 1; max 209 libavfilter/vf_fftfilt.c s->rdft_vlen[plane]), 0, max); max 160 libavfilter/vf_gblur.c const float max = (1 << s->depth) - 1; max 172 libavfilter/vf_gblur.c buffer[i] = av_clipf(buffer[i], 0.f, max); max 38 libavfilter/vf_limiter.c int max; max 53 libavfilter/vf_limiter.c { "max", "set max value", OFFSET(max), AV_OPT_TYPE_INT, {.i64=65535}, 0, 65535, .flags = FLAGS }, max 64 libavfilter/vf_limiter.c if (s->min > s->max) max 101 libavfilter/vf_limiter.c int w, int h, int min, int max) max 107 libavfilter/vf_limiter.c dst[x] = av_clip(src[x], min, max); max 117 libavfilter/vf_limiter.c int w, int h, int min, int max) max 128 libavfilter/vf_limiter.c dst[x] = av_clip(src[x], min, max); max 156 libavfilter/vf_limiter.c s->max = FFMIN(s->max, (1 << depth) - 1); max 198 libavfilter/vf_limiter.c s->min, s->max); max 38 libavfilter/vf_lumakey.c int max; max 86 libavfilter/vf_lumakey.c const int m = s->max; max 122 libavfilter/vf_lumakey.c s->max = (1 << depth) - 1; max 123 libavfilter/vf_lumakey.c s->white = av_clip((s->threshold + s->tolerance) * s->max, 0, s->max); max 124 libavfilter/vf_lumakey.c s->black = av_clip((s->threshold - s->tolerance) * s->max, 0, s->max); max 126 libavfilter/vf_lumakey.c s->so = s->softness * s->max; max 220 libavfilter/vf_lut.c int min[4], max[4]; max 270 libavfilter/vf_lut.c max[Y] = 235 * (1 << (desc->comp[0].depth - 8)); max 271 libavfilter/vf_lut.c max[U] = 240 * (1 << (desc->comp[1].depth - 8)); max 272 libavfilter/vf_lut.c max[V] = 240 * (1 << (desc->comp[2].depth - 8)); max 273 libavfilter/vf_lut.c max[A] = (1 << desc->comp[0].depth) - 1; max 278 libavfilter/vf_lut.c max[0] = max[1] = max[2] = max[3] = 65535; max 282 libavfilter/vf_lut.c max[0] = max[1] = max[2] = max[3] = 255 * (1 << (desc->comp[0].depth - 8)); max 315 libavfilter/vf_lut.c s->var_values[VAR_MAXVAL] = max[color]; max 320 libavfilter/vf_lut.c s->var_values[VAR_CLIPVAL] = av_clip(val, min[color], max[color]); max 322 libavfilter/vf_lut.c av_clip(min[color] + max[color] - s->var_values[VAR_VAL], max 323 libavfilter/vf_lut.c min[color], max[color]); max 332 libavfilter/vf_lut.c s->lut[comp][val] = av_clip((int)res, 0, max[A]); max 67 libavfilter/vf_lut3d.c float max[3]; max 492 libavfilter/vf_lut3d.c static char* fget_next_word(char* dst, int max, FILE* f) max 498 libavfilter/vf_lut3d.c max--; max 505 libavfilter/vf_lut3d.c max--; max 510 libavfilter/vf_lut3d.c for (; max > 0; max--) { max 616 libavfilter/vf_lut3d.c float max[3] = {1.0, 1.0, 1.0}; max 639 libavfilter/vf_lut3d.c else if (!strncmp(line + 7, "MAX ", 4)) vals = max; max 644 libavfilter/vf_lut3d.c min[0], min[1], min[2], max[0], max[1], max[2]); max 659 libavfilter/vf_lut3d.c lut3d->scale.r = av_clipf(1. / (max[0] - min[0]), 0.f, 1.f); max 660 libavfilter/vf_lut3d.c lut3d->scale.g = av_clipf(1. / (max[1] - min[1]), 0.f, 1.f); max 661 libavfilter/vf_lut3d.c lut3d->scale.b = av_clipf(1. / (max[2] - min[2]), 0.f, 1.f); max 974 libavfilter/vf_lut3d.c lut3d->prelut.max[c] = in_max[c]; max 1634 libavfilter/vf_lut3d.c float max[3] = {1.0, 1.0, 1.0}; max 1653 libavfilter/vf_lut3d.c else if (!strncmp(line + 7, "MAX ", 4)) vals = max; max 1658 libavfilter/vf_lut3d.c min[0], min[1], min[2], max[0], max[1], max[2]); max 1661 libavfilter/vf_lut3d.c av_sscanf(line + 19, "%f %f", min, max); max 1663 libavfilter/vf_lut3d.c max[1] = max[2] = max[0]; max 1676 libavfilter/vf_lut3d.c lut1d->scale.r = av_clipf(1. / (max[0] - min[0]), 0.f, 1.f); max 1677 libavfilter/vf_lut3d.c lut1d->scale.g = av_clipf(1. / (max[1] - min[1]), 0.f, 1.f); max 1678 libavfilter/vf_lut3d.c lut1d->scale.b = av_clipf(1. / (max[2] - min[2]), 0.f, 1.f); max 41 libavfilter/vf_maskfun.c int max; max 153 libavfilter/vf_maskfun.c const int max = s->max; \ max 172 libavfilter/vf_maskfun.c dst[x] = max; \ max 205 libavfilter/vf_maskfun.c s->max = (1 << s->depth) - 1; max 206 libavfilter/vf_maskfun.c s->fill = FFMIN(s->fill, s->max); max 47 libavfilter/vf_mix.c int max; max 181 libavfilter/vf_mix.c dst[x] = av_clip(val * s->wfactor, 0, s->max); max 245 libavfilter/vf_mix.c s->max = (1 << s->depth) - 1; max 44 libavfilter/vf_neighbor.c int max; max 129 libavfilter/vf_neighbor.c int max = p1[x]; max 130 libavfilter/vf_neighbor.c int limit = FFMIN(max + threshold, 255); max 134 libavfilter/vf_neighbor.c max = FFMAX(max, *(coordinates[i] + x)); max 136 libavfilter/vf_neighbor.c max = FFMIN(max, limit); max 139 libavfilter/vf_neighbor.c dst[x] = max; max 151 libavfilter/vf_neighbor.c int max = AV_RN16A(&p1[x * 2]); max 152 libavfilter/vf_neighbor.c int limit = FFMIN(max + threshold, maxc); max 156 libavfilter/vf_neighbor.c max = FFMAX(max, AV_RN16A(coordinates[i] + x * 2)); max 158 libavfilter/vf_neighbor.c max = FFMIN(max, limit); max 161 libavfilter/vf_neighbor.c dst[x] = max; max 238 libavfilter/vf_neighbor.c s->max = (1 << s->depth) - 1; max 300 libavfilter/vf_neighbor.c s->filter(dst, src, 1, threshold, coordinateslb, s->coordinates, s->max); max 302 libavfilter/vf_neighbor.c s->filter(dst + 1 * bpc, src + 1 * bpc, width - 2, threshold, coordinates, s->coordinates, s->max); max 303 libavfilter/vf_neighbor.c s->filter(dst + (width - 1) * bpc, src + (width - 1) * bpc, 1, threshold, coordinatesrb, s->coordinates, s->max); max 116 libavfilter/vf_normalize.c NormalizeHistory min[3], max[3]; // Min and max for each channel in {R,G,B}. max 121 libavfilter/vf_normalize.c void (*find_min_max)(struct NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]); max 140 libavfilter/vf_normalize.c static void find_min_max(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) max 143 libavfilter/vf_normalize.c min[c].in = max[c].in = in->data[0][s->co[c]]; max 149 libavfilter/vf_normalize.c max[c].in = FFMAX(max[c].in, inp[s->co[c]]); max 173 libavfilter/vf_normalize.c static void find_min_max_planar(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) max 175 libavfilter/vf_normalize.c min[0].in = max[0].in = in->data[2][0]; max 176 libavfilter/vf_normalize.c min[1].in = max[1].in = in->data[0][0]; max 177 libavfilter/vf_normalize.c min[2].in = max[2].in = in->data[1][0]; max 184 libavfilter/vf_normalize.c max[0].in = FFMAX(max[0].in, inrp[x]); max 186 libavfilter/vf_normalize.c max[1].in = FFMAX(max[1].in, ingp[x]); max 188 libavfilter/vf_normalize.c max[2].in = FFMAX(max[2].in, inbp[x]); max 214 libavfilter/vf_normalize.c static void find_min_max_16(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) max 217 libavfilter/vf_normalize.c min[c].in = max[c].in = AV_RN16(in->data[0] + 2 * s->co[c]); max 223 libavfilter/vf_normalize.c max[c].in = FFMAX(max[c].in, inp[s->co[c]]); max 247 libavfilter/vf_normalize.c static void find_min_max_planar_16(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) max 249 libavfilter/vf_normalize.c min[0].in = max[0].in = AV_RN16(in->data[2]); max 250 libavfilter/vf_normalize.c min[1].in = max[1].in = AV_RN16(in->data[0]); max 251 libavfilter/vf_normalize.c min[2].in = max[2].in = AV_RN16(in->data[1]); max 258 libavfilter/vf_normalize.c max[0].in = FFMAX(max[0].in, inrp[x]); max 260 libavfilter/vf_normalize.c max[1].in = FFMAX(max[1].in, ingp[x]); max 262 libavfilter/vf_normalize.c max[2].in = FFMAX(max[2].in, inbp[x]); max 294 libavfilter/vf_normalize.c NormalizeLocal min[3], max[3]; // Min and max for each channel in {R,G,B}. max 302 libavfilter/vf_normalize.c s->find_min_max(s, in, min, max); max 315 libavfilter/vf_normalize.c s->max[c].history_sum -= s->max[c].history[history_idx]; max 324 libavfilter/vf_normalize.c s->max[c].history_sum += (s->max[c].history[history_idx] = max[c].in); max 325 libavfilter/vf_normalize.c max[c].smoothed = s->max[c].history_sum / (float)num_history_vals; max 333 libavfilter/vf_normalize.c rgb_max_smoothed = FFMAX3(max[0].smoothed, max[1].smoothed, max[2].smoothed); max 344 libavfilter/vf_normalize.c max[c].smoothed = (max[c].smoothed * s->independence) max 352 libavfilter/vf_normalize.c max[c].out = (s->swhitept[c] * s->strength) max 353 libavfilter/vf_normalize.c + (max[c].in * (1.0f - s->strength)); max 360 libavfilter/vf_normalize.c if (min[c].smoothed == max[c].smoothed) { max 362 libavfilter/vf_normalize.c for (in_val = min[c].in; in_val <= max[c].in; in_val++) max 369 libavfilter/vf_normalize.c float scale = (max[c].out - min[c].out) / (max[c].smoothed - min[c].smoothed); max 370 libavfilter/vf_normalize.c for (in_val = min[c].in; in_val <= max[c].in; in_val++) { max 450 libavfilter/vf_normalize.c s->max[c].history = s->history_mem + (c*2+1) * s->history_len; max 333 libavfilter/vf_palettegen.c uint8_t max[3] = {0x00, 0x00, 0x00}; max 338 libavfilter/vf_palettegen.c min[0] = FFMIN(r, min[0]), max[0] = FFMAX(r, max[0]); max 339 libavfilter/vf_palettegen.c min[1] = FFMIN(g, min[1]), max[1] = FFMAX(g, max[1]); max 340 libavfilter/vf_palettegen.c min[2] = FFMIN(b, min[2]), max[2] = FFMAX(b, max[2]); max 345 libavfilter/vf_palettegen.c rr = max[0] - min[0]; max 346 libavfilter/vf_palettegen.c gr = max[1] - min[1]; max 347 libavfilter/vf_palettegen.c br = max[2] - min[2]; max 595 libavfilter/vf_paletteuse.c uint8_t max[3]; max 628 libavfilter/vf_paletteuse.c ranges.max[0] = ranges.max[1] = ranges.max[2] = 0x00; max 643 libavfilter/vf_paletteuse.c r > box->max[0] || g > box->max[1] || b > box->max[2]) max 650 libavfilter/vf_paletteuse.c if (r > ranges.max[0]) ranges.max[0] = r; max 651 libavfilter/vf_paletteuse.c if (g > ranges.max[1]) ranges.max[1] = g; max 652 libavfilter/vf_paletteuse.c if (b > ranges.max[2]) ranges.max[2] = b; max 664 libavfilter/vf_paletteuse.c wr = ranges.max[0] - ranges.min[0]; max 665 libavfilter/vf_paletteuse.c wg = ranges.max[1] - ranges.min[1]; max 666 libavfilter/vf_paletteuse.c wb = ranges.max[2] - ranges.min[2]; max 711 libavfilter/vf_paletteuse.c box1.max[component-1] = node->val[component]; max 716 libavfilter/vf_paletteuse.c if (box2.min[component-1] <= box2.max[component-1]) max 765 libavfilter/vf_paletteuse.c box.max[0] = box.max[1] = box.max[2] = 0xff; max 43 libavfilter/vf_premultiply.c int half, depth, offset, max; max 226 libavfilter/vf_premultiply.c int half, int max, int offset) max 249 libavfilter/vf_premultiply.c int half, int max, int offset) max 272 libavfilter/vf_premultiply.c int half, int max, int offset) max 295 libavfilter/vf_premultiply.c int half, int max, int offset) max 304 libavfilter/vf_premultiply.c if (asrc[x] > 0 && asrc[x] < max) max 305 libavfilter/vf_premultiply.c dst[x] = FFMIN(msrc[x] * (unsigned)max / asrc[x], max); max 321 libavfilter/vf_premultiply.c int half, int max, int offset) max 330 libavfilter/vf_premultiply.c if (asrc[x] > 0 && asrc[x] < max) max 331 libavfilter/vf_premultiply.c dst[x] = FFMAX(FFMIN((msrc[x] - half) * max / asrc[x], half - 1), -half) + half; max 347 libavfilter/vf_premultiply.c int half, int max, int offset) max 356 libavfilter/vf_premultiply.c if (asrc[x] > 0 && asrc[x] < max) max 357 libavfilter/vf_premultiply.c dst[x] = FFMAX(FFMIN(FFMAX(msrc[x] - offset, 0) * (unsigned)max / asrc[x] + offset, max), 0); max 397 libavfilter/vf_premultiply.c s->half, s->inverse ? s->max : s->depth, s->offset); max 571 libavfilter/vf_premultiply.c s->max = (1 << s->depth) - 1; max 64 libavfilter/vf_pseudocolor.c int max; max 75 libavfilter/vf_pseudocolor.c void (*filter[4])(int max, int width, int height, max 133 libavfilter/vf_pseudocolor.c static void pseudocolor_filter(int max, int width, int height, max 148 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 160 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_11(int max, int width, int height, max 175 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 186 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_11d(int max, int width, int height, max 201 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 212 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_10(int max, int width, int height, max 227 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 239 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_10d(int max, int width, int height, max 254 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 266 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_16(int max, int width, int height, max 284 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 296 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_16_10(int max, int width, int height, max 314 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 326 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_16_10d(int max, int width, int height, max 344 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 356 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_16_11(int max, int width, int height, max 378 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 389 libavfilter/vf_pseudocolor.c static void pseudocolor_filter_16_11d(int max, int width, int height, max 411 libavfilter/vf_pseudocolor.c if (v >= 0 && v <= max) { max 430 libavfilter/vf_pseudocolor.c s->max = (1 << depth) - 1; max 458 libavfilter/vf_pseudocolor.c s->var_values[VAR_AMAX] = s->max; max 622 libavfilter/vf_pseudocolor.c s->filter[plane](s->max, s->width[plane], s->height[plane], max 49 libavfilter/vf_psnr.c int max[4], average_max; max 78 libavfilter/vf_psnr.c static inline double get_psnr(double mse, uint64_t nb_frames, int max) max 80 libavfilter/vf_psnr.c return 10.0 * log10(pow_2(max) / (mse / nb_frames)); max 179 libavfilter/vf_psnr.c set_meta(metadata, "lavfi.psnr.psnr.", s->comps[j], get_psnr(comp_mse[c], 1, s->max[c])); max 213 libavfilter/vf_psnr.c get_psnr(comp_mse[c], 1, s->max[c])); max 219 libavfilter/vf_psnr.c fprintf(s->stats_file, "max_%c:%d ", s->comps[j], s->max[c]); max 303 libavfilter/vf_psnr.c s->max[0] = (1 << desc->comp[0].depth) - 1; max 304 libavfilter/vf_psnr.c s->max[1] = (1 << desc->comp[1].depth) - 1; max 305 libavfilter/vf_psnr.c s->max[2] = (1 << desc->comp[2].depth) - 1; max 306 libavfilter/vf_psnr.c s->max[3] = (1 << desc->comp[3].depth) - 1; max 324 libavfilter/vf_psnr.c average_max += s->max[j] * s->planeweight[j]; max 382 libavfilter/vf_psnr.c get_psnr(s->mse_comp[c], s->nb_frames, s->max[c])); max 313 libavfilter/vf_pullup.c static int find_first_break(PullupField *f, int max) max 317 libavfilter/vf_pullup.c for (i = 0; i < max; i++) { max 309 libavfilter/vf_selectivecolor.c const float max = 1. - value; max 312 libavfilter/vf_selectivecolor.c res *= max; max 313 libavfilter/vf_selectivecolor.c return lrint(av_clipf(res, min, max) * scale); max 54 libavfilter/vf_ssim.c int max; max 68 libavfilter/vf_ssim.c int max); max 163 libavfilter/vf_ssim.c static float ssim_end1x(int64_t s1, int64_t s2, int64_t ss, int64_t s12, int max) max 165 libavfilter/vf_ssim.c int64_t ssim_c1 = (int64_t)(.01*.01*max*max*64 + .5); max 166 libavfilter/vf_ssim.c int64_t ssim_c2 = (int64_t)(.03*.03*max*max*64*63 + .5); max 195 libavfilter/vf_ssim.c static float ssim_endn_16bit(const int64_t (*sum0)[4], const int64_t (*sum1)[4], int width, int max) max 205 libavfilter/vf_ssim.c max); max 228 libavfilter/vf_ssim.c int max) max 246 libavfilter/vf_ssim.c ssim += ssim_endn_16bit((const int64_t (*)[4])sum0, (const int64_t (*)[4])sum1, width - 1, max); max 256 libavfilter/vf_ssim.c int max) max 307 libavfilter/vf_ssim.c s->max); max 416 libavfilter/vf_ssim.c s->max = (1 << desc->comp[0].depth) - 1; max 75 libavfilter/vf_telecine.c int max = 0; max 88 libavfilter/vf_telecine.c max = FFMAX(*p - '0', max); max 95 libavfilter/vf_telecine.c s->out_cnt = (max + 1) / 2; max 75 libavfilter/vf_threshold.c AVFrame *max; max 84 libavfilter/vf_threshold.c AVFrame *max = td->max; max 106 libavfilter/vf_threshold.c max->data[p] + slice_start * max->linesize[p], max 109 libavfilter/vf_threshold.c min->linesize[p], max->linesize[p], max 122 libavfilter/vf_threshold.c AVFrame *out, *in, *threshold, *min, *max; max 129 libavfilter/vf_threshold.c (ret = ff_framesync_get_frame(&s->fs, 3, &max, 0)) < 0) max 146 libavfilter/vf_threshold.c td.max = max; max 157 libavfilter/vf_threshold.c const uint8_t *min, const uint8_t *max, max 168 libavfilter/vf_threshold.c out[x] = in[x] < threshold[x] ? min[x] : max[x]; max 174 libavfilter/vf_threshold.c max += slinesize; max 190 libavfilter/vf_threshold.c const uint16_t *max = (const uint16_t *)ssecond; max 196 libavfilter/vf_threshold.c out[x] = in[x] < threshold[x] ? min[x] : max[x]; max 202 libavfilter/vf_threshold.c max += slinesize / 2; max 250 libavfilter/vf_threshold.c AVFilterLink *max = ctx->inputs[3]; max 256 libavfilter/vf_threshold.c base->format != max->format) { max 264 libavfilter/vf_threshold.c base->w != max->w || max 265 libavfilter/vf_threshold.c base->h != max->h) { max 274 libavfilter/vf_threshold.c ctx->input_pads[3].name, max->w, max->h); max 290 libavfilter/vf_threshold.c in[3].time_base = max->time_base; max 297 libavfilter/vf_vectorscope.c const int max = s->size - 1; max 308 libavfilter/vf_vectorscope.c dpd[pos] = max; max 318 libavfilter/vf_vectorscope.c const int max = s->size - 1; max 339 libavfilter/vf_vectorscope.c dpd[pos] = max; max 439 libavfilter/vf_vectorscope.c const int max = s->size - 1; max 461 libavfilter/vf_vectorscope.c const int x = FFMIN(spx[iwx + j], max); max 462 libavfilter/vf_vectorscope.c const int y = FFMIN(spy[iwy + j], max); max 469 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(dpd[pos] + intensity, max); max 480 libavfilter/vf_vectorscope.c const int x = FFMIN(spx[iw1 + j], max); max 481 libavfilter/vf_vectorscope.c const int y = FFMIN(spy[iw2 + j], max); max 500 libavfilter/vf_vectorscope.c const int x = FFMIN(spx[iw1 + j], max); max 501 libavfilter/vf_vectorscope.c const int y = FFMIN(spy[iw2 + j], max); max 509 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(x + y, max); max 522 libavfilter/vf_vectorscope.c const int x = FFMIN(spx[iw1 + j], max); max 523 libavfilter/vf_vectorscope.c const int y = FFMIN(spy[iw2 + j], max); max 530 libavfilter/vf_vectorscope.c dpd[pos] = FFMIN(max, dpd[pos] + intensity); max 542 libavfilter/vf_vectorscope.c const int x = FFMIN(spx[iwx + (j >> hsub)], max); max 543 libavfilter/vf_vectorscope.c const int y = FFMIN(spy[iwy + (j >> hsub)], max); max 568 libavfilter/vf_vectorscope.c dst[3][pos] = max; max 589 libavfilter/vf_vectorscope.c dpx[pos] = av_clip(dpd[pos] + dpd[pos] * s->ftint[0], 0, max); max 590 libavfilter/vf_vectorscope.c dpy[pos] = av_clip(dpd[pos] + dpd[pos] * s->ftint[1], 0, max); max 1070 libavfilter/vf_vectorscope.c const int max = s->size - 1; max 1083 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1095 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1107 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1119 libavfilter/vf_vectorscope.c color[3] = max; max 1121 libavfilter/vf_vectorscope.c if (x > max / 2) max 1125 libavfilter/vf_vectorscope.c if (y > max / 2) max 1204 libavfilter/vf_vectorscope.c const int max = s->size - 1; max 1217 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1228 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1239 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1243 libavfilter/vf_vectorscope.c const uint16_t color[4] = { 128 * m, 0, 0, max }; max 1247 libavfilter/vf_vectorscope.c if (x > max / 2) max 1251 libavfilter/vf_vectorscope.c if (y > max / 2) max 1322 libavfilter/vf_vectorscope.c const int max = s->size - 1; max 1330 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[D] + y * out->linesize[D] + x * 2), out->linesize[D] / 2, max, o); max 1331 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[X] + y * out->linesize[X] + x * 2), out->linesize[X] / 2, max, o); max 1332 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[Y] + y * out->linesize[Y] + x * 2), out->linesize[Y] / 2, max, o); max 1334 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1341 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[D] + y * out->linesize[D] + x * 2), out->linesize[D] / 2, max, o); max 1342 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[X] + y * out->linesize[X] + x * 2), out->linesize[X] / 2, max, o); max 1343 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[Y] + y * out->linesize[Y] + x * 2), out->linesize[Y] / 2, max, o); max 1345 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1352 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[D] + y * out->linesize[D] + x * 2), out->linesize[D] / 2, max, o); max 1353 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[X] + y * out->linesize[X] + x * 2), out->linesize[X] / 2, max, o); max 1354 libavfilter/vf_vectorscope.c draw_idots16((uint16_t *)(out->data[Y] + y * out->linesize[Y] + x * 2), out->linesize[Y] / 2, max, o); max 1356 libavfilter/vf_vectorscope.c draw_dots16((uint16_t *)(out->data[3] + y * out->linesize[3] + x * 2), out->linesize[3] / 2, max, o); max 1360 libavfilter/vf_vectorscope.c uint16_t color[4] = { max, max, max, max }; max 1364 libavfilter/vf_vectorscope.c if (x > max / 2) max 1368 libavfilter/vf_vectorscope.c if (y > max / 2) max 109 libavfilter/vf_vibrance.c const float max = (1 << depth) - 1; max 110 libavfilter/vf_vibrance.c const float scale = 1.f / max; max 150 libavfilter/vf_vibrance.c gptr[x] = av_clip_uintp2_c(g * max, depth); max 151 libavfilter/vf_vibrance.c bptr[x] = av_clip_uintp2_c(b * max, depth); max 152 libavfilter/vf_vibrance.c rptr[x] = av_clip_uintp2_c(r * max, depth); max 46 libavfilter/vf_w3fdif.c int max; max 161 libavfilter/vf_w3fdif.c static void filter_scale(uint8_t *out_pixel, const int32_t *work_pixel, int linesize, int max) max 258 libavfilter/vf_w3fdif.c static void filter16_scale(uint8_t *out_pixel8, const int32_t *work_pixel, int linesize, int max) max 265 libavfilter/vf_w3fdif.c *out_pixel = av_clip(*work_pixel, 0, max) >> 15; max 299 libavfilter/vf_w3fdif.c s->max = ((1 << depth) - 1) * 256 * 128; max 374 libavfilter/vf_w3fdif.c const int max = s->max; max 447 libavfilter/vf_w3fdif.c s->dsp.filter_scale(out_pixel, work_pixel, linesize, max); max 107 libavfilter/vf_waveform.c int max; max 397 libavfilter/vf_waveform.c const int bg = s->bg_color[component] * (s->max / 256); max 398 libavfilter/vf_waveform.c const int limit = s->max - 1; max 492 libavfilter/vf_waveform.c const int bg = s->bg_color[component] * (s->max / 256); max 493 libavfilter/vf_waveform.c const int limit = s->max - 1; max 650 libavfilter/vf_waveform.c static void update16(uint16_t *target, int max, int intensity, int limit) max 652 libavfilter/vf_waveform.c if (*target <= max) max 658 libavfilter/vf_waveform.c static void update(uint8_t *target, int max, int intensity) max 660 libavfilter/vf_waveform.c if (*target <= max) max 696 libavfilter/vf_waveform.c const int limit = s->max - 1; max 697 libavfilter/vf_waveform.c const int max = limit - intensity; max 726 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 735 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 745 libavfilter/vf_waveform.c const int mult = s->max / 256; max 756 libavfilter/vf_waveform.c for (y = 0; y < s->max; y++) { max 769 libavfilter/vf_waveform.c const int mult = s->max / 256; max 781 libavfilter/vf_waveform.c for (x = 0; x < s->max; x++) { max 834 libavfilter/vf_waveform.c const int max = 255 - intensity; max 863 libavfilter/vf_waveform.c update(target, max, intensity); max 872 libavfilter/vf_waveform.c update(target, max, intensity); max 976 libavfilter/vf_waveform.c const int limit = s->max - 1; max 977 libavfilter/vf_waveform.c const int max = limit - intensity; max 978 libavfilter/vf_waveform.c const int mid = s->max / 2; max 1003 libavfilter/vf_waveform.c const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit) + s->max; max 1008 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1010 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1012 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1038 libavfilter/vf_waveform.c const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit) + s->max; max 1044 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1046 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1048 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1051 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1053 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1055 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1115 libavfilter/vf_waveform.c const int max = 255 - intensity; max 1145 libavfilter/vf_waveform.c update(target, max, intensity); max 1147 libavfilter/vf_waveform.c update(target, max, intensity); max 1149 libavfilter/vf_waveform.c update(target, max, intensity); max 1181 libavfilter/vf_waveform.c update(target, max, intensity); max 1183 libavfilter/vf_waveform.c update(target, max, intensity); max 1185 libavfilter/vf_waveform.c update(target, max, intensity); max 1188 libavfilter/vf_waveform.c update(target, max, intensity); max 1190 libavfilter/vf_waveform.c update(target, max, intensity); max 1192 libavfilter/vf_waveform.c update(target, max, intensity); max 1259 libavfilter/vf_waveform.c const int limit = s->max - 1; \ max 1260 libavfilter/vf_waveform.c const int max = limit - intensity; \ max 1261 libavfilter/vf_waveform.c const int mid = s->max / 2; \ max 1296 libavfilter/vf_waveform.c update16(target, max, intensity, limit); \ max 1299 libavfilter/vf_waveform.c update_cb(target, max, intensity, limit); \ max 1302 libavfilter/vf_waveform.c update_cr(target, max, intensity, limit); \ max 1338 libavfilter/vf_waveform.c update16(target, max, intensity, limit); \ max 1340 libavfilter/vf_waveform.c update_cb(target, max, intensity, limit); \ max 1342 libavfilter/vf_waveform.c update_cr(target, max, intensity, limit); \ max 1345 libavfilter/vf_waveform.c update16(target, max, intensity, limit); \ max 1347 libavfilter/vf_waveform.c update_cb(target, max, intensity, limit); \ max 1349 libavfilter/vf_waveform.c update_cr(target, max, intensity, limit); \ max 1399 libavfilter/vf_waveform.c const int max = 255 - intensity; \ max 1428 libavfilter/vf_waveform.c update(target, max, intensity); \ max 1431 libavfilter/vf_waveform.c update_cb(target, max, intensity); \ max 1434 libavfilter/vf_waveform.c update_cr(target, max, intensity); \ max 1470 libavfilter/vf_waveform.c update(target, max, intensity); \ max 1472 libavfilter/vf_waveform.c update_cb(target, max, intensity); \ max 1474 libavfilter/vf_waveform.c update_cr(target, max, intensity); \ max 1477 libavfilter/vf_waveform.c update(target, max, intensity); \ max 1479 libavfilter/vf_waveform.c update_cb(target, max, intensity); \ max 1481 libavfilter/vf_waveform.c update_cr(target, max, intensity); \ max 1536 libavfilter/vf_waveform.c const int limit = s->max - 1; max 1537 libavfilter/vf_waveform.c const int max = limit - intensity; max 1538 libavfilter/vf_waveform.c const int mid = s->max / 2; max 1567 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1590 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1593 libavfilter/vf_waveform.c update16(target, max, intensity, limit); max 1648 libavfilter/vf_waveform.c const int max = 255 - intensity; max 1671 libavfilter/vf_waveform.c update(target, max, intensity); max 1694 libavfilter/vf_waveform.c update(target, max, intensity); max 1697 libavfilter/vf_waveform.c update(target, max, intensity); max 1743 libavfilter/vf_waveform.c const int limit = s->max - 1; max 2008 libavfilter/vf_waveform.c const int limit = s->max - 1; max 2009 libavfilter/vf_waveform.c const int max = limit - intensity; max 2053 libavfilter/vf_waveform.c update16(d0 + d0_signed_linesize * c0 + x, max, intensity, limit); max 2086 libavfilter/vf_waveform.c update16(d0_data - c0, max, intensity, limit); max 2090 libavfilter/vf_waveform.c update16(d0_data + c0, max, intensity, limit); max 2163 libavfilter/vf_waveform.c const int max = 255 - intensity; max 2186 libavfilter/vf_waveform.c update(d0 + d0_signed_linesize * c0 + x, max, intensity); max 2219 libavfilter/vf_waveform.c update(d0_data - c0, max, intensity); max 2223 libavfilter/vf_waveform.c update(d0_data + c0, max, intensity); max 2920 libavfilter/vf_waveform.c const int mult = s->max / 256; max 3003 libavfilter/vf_waveform.c const int mult = s->max / 256; max 3048 libavfilter/vf_waveform.c s->max = 1 << s->bits; max 3049 libavfilter/vf_waveform.c s->intensity = s->fintensity * (s->max - 1); max 3396 libavfilter/vf_waveform.c const int mult = s->max / 256; max 605 libavfilter/vf_xfade.c const float max = s->max_value; \ max 614 libavfilter/vf_xfade.c dist += (xf0[x] / max - xf1[x] / max) * \ max 615 libavfilter/vf_xfade.c (xf0[x] / max - xf1[x] / max); \ max 46 libavfilter/vf_xmedian.c int max; max 283 libavfilter/vf_xmedian.c s->max = (1 << s->depth) - 1; max 73 libavfilter/vf_yadif.c int max = FFMAX3(d - e, d - c, FFMIN(b - c, f - e)); \ max 76 libavfilter/vf_yadif.c diff = FFMAX3(diff, min, -max); \ max 43 libavfilter/w3fdif.h int linesize, int max); max 25 libavfilter/x86/vf_limiter_init.c int w, int h, int min, int max); max 28 libavfilter/x86/vf_limiter_init.c int w, int h, int min, int max); max 28 libavfilter/x86/vf_threshold_init.c const uint8_t *min, const uint8_t *max, \ max 47 libavfilter/x86/vf_w3fdif_init.c int linesize, int max); max 1098 libavformat/asfenc.c uint16_t max, uint32_t count) max 1107 libavformat/asfenc.c avio_wl32(pb, max); max 275 libavformat/avidec.c int max = ast->sample_size; max 281 libavformat/avidec.c while (max < 1024) max 282 libavformat/avidec.c max += max; max 288 libavformat/avidec.c for (j = 0; j < size; j += max) max 289 libavformat/avidec.c av_add_index_entry(st, pos + j, ts + j, FFMIN(max, size - j), 0, max 38 libavformat/dtsdec.c int sum, max, pos, ret, i; max 120 libavformat/dtsdec.c sum = max = 0; max 123 libavformat/dtsdec.c if (markers[max] < markers[i]) max 124 libavformat/dtsdec.c max = i; max 127 libavformat/dtsdec.c if (markers[max] > 3 && p->buf_size / markers[max] < 32*1024 && max 128 libavformat/dtsdec.c markers[max] * 4 > sum * 3 && max 1764 libavformat/matroskaenc.c int64_t max = 0; max 1777 libavformat/matroskaenc.c max = FFMAX(max, us); max 1780 libavformat/matroskaenc.c av_log(s, AV_LOG_DEBUG, "get_metadata_duration returned: %" PRId64 "\n", max); max 1781 libavformat/matroskaenc.c return max; max 4507 libavformat/movenc.c static void mov_prune_frag_info(MOVMuxContext *mov, int tracks, int max) max 4514 libavformat/movenc.c if (track->nb_frag_info > max) { max 4515 libavformat/movenc.c memmove(track->frag_info, track->frag_info + (track->nb_frag_info - max), max * sizeof(*track->frag_info)); max 4516 libavformat/movenc.c track->nb_frag_info = max; max 841 libavformat/mux.c uint64_t max= av_rescale_q_rnd(s->max_chunk_duration, AV_TIME_BASE_Q, st->time_base, AV_ROUND_UP); max 845 libavformat/mux.c || (max && st->interleaver_chunk_duration > max)) { max 848 libavformat/mux.c if (max && st->interleaver_chunk_duration > max) { max 849 libavformat/mux.c int64_t syncoffset = (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)*max/2; max 850 libavformat/mux.c int64_t syncto = av_rescale(pkt->dts + syncoffset, 1, max)*max - syncoffset; max 852 libavformat/mux.c st->interleaver_chunk_duration += (pkt->dts - syncto)/8 - max; max 77 libavformat/rtpdec_mpeg4.c int max; max 313 libavformat/rtpdec_mpeg4.c val > attr_names[i].range.max) { max 316 libavformat/rtpdec_mpeg4.c attr, attr_names[i].range.min, attr_names[i].range.max, val); max 89 libavformat/s337m.c int i, pos, sum, max, data_type, data_size, offset; max 117 libavformat/s337m.c sum = max = 0; max 120 libavformat/s337m.c if (markers[max] < markers[i]) max 121 libavformat/s337m.c max = i; max 124 libavformat/s337m.c if (markers[max] > 3 && markers[max] * 4 > sum * 3) max 69 libavformat/webmdashenc.c double max = 0.0; max 74 libavformat/webmdashenc.c if (atof(duration->value) > max) max = atof(duration->value); max 76 libavformat/webmdashenc.c return max / 1000; max 210 libavutil/eval.c double min = eval_expr(p, e->param[1]), max = eval_expr(p, e->param[2]); max 211 libavutil/eval.c if (isnan(min) || isnan(max) || isnan(x) || min > max) max 213 libavutil/eval.c return e->value * av_clipd(eval_expr(p, e->param[0]), min, max); max 73 libavutil/mem.c void av_max_alloc(size_t max){ max 74 libavutil/mem.c max_alloc_size = max; max 693 libavutil/mem.h void av_max_alloc(size_t max); max 925 libavutil/mips/generic_macros_msa.h #define CLIP_SH(in, min, max) \ max 928 libavutil/mips/generic_macros_msa.h in = __msa_min_s_h((v8i16) max, (v8i16) in); \ max 100 libavutil/opt.c (!den || o->max * den < num * intnum || o->min * den > num * intnum)) { max 103 libavutil/opt.c num, o->name, o->min, o->max); max 285 libavutil/opt.c const_values[ci++] = o->max; max 384 libavutil/opt.c if (n < o->min || n > o->max) max 398 libavutil/opt.c int fmt, min, max; max 416 libavutil/opt.c max = FFMIN(o->max, fmt_nb-1); max 419 libavutil/opt.c if(min == 0 && max == 0) { max 421 libavutil/opt.c max = fmt_nb-1; max 424 libavutil/opt.c if (fmt < min || fmt > max) { max 427 libavutil/opt.c fmt, o->name, desc, min, max); max 523 libavutil/opt.c if (usecs < o->min || usecs > o->max) { max 525 libavutil/opt.c usecs / 1000000.0, o->name, o->min / 1000000.0, o->max / 1000000.0); max 676 libavutil/opt.c int min, max; max 687 libavutil/opt.c max = FFMIN(o->max, nb_fmts-1); max 689 libavutil/opt.c if (fmt < min || fmt > max) { max 692 libavutil/opt.c fmt, name, desc, min, max); max 1867 libavutil/opt.c range->value_max = field->max; max 273 libavutil/opt.h double max; ///< maximum valid value for the option max 45 libavutil/parseutils.c int av_parse_ratio(AVRational *q, const char *str, int max, max 58 libavutil/parseutils.c *q = av_d2q(d, max); max 60 libavutil/parseutils.c av_reduce(&q->num, &q->den, q->num, q->den, max); max 49 libavutil/parseutils.h int av_parse_ratio(AVRational *q, const char *str, int max, max 52 libavutil/parseutils.h #define av_parse_ratio_quiet(rate, str, max) \ max 53 libavutil/parseutils.h av_parse_ratio(rate, str, max, AV_LOG_MAX_OFFSET, NULL) max 2696 libavutil/pixdesc.c static int get_pix_fmt_depth(int *min, int *max, enum AVPixelFormat pix_fmt) max 2702 libavutil/pixdesc.c *min = *max = 0; max 2706 libavutil/pixdesc.c *min = INT_MAX, *max = -INT_MAX; max 2709 libavutil/pixdesc.c *max = FFMAX(desc->comp[i].depth, *max); max 36 libavutil/rational.c int64_t num, int64_t den, int64_t max) max 46 libavutil/rational.c if (num <= max && den <= max) { max 57 libavutil/rational.c if (a2n > max || a2d > max) { max 58 libavutil/rational.c if (a1.num) x = (max - a0.num) / a1.num; max 59 libavutil/rational.c if (a1.den) x = FFMIN(x, (max - a0.den) / a1.den); max 72 libavutil/rational.c av_assert2(a1.num <= max && a1.den <= max); max 106 libavutil/rational.c AVRational av_d2q(double d, int max) max 120 libavutil/rational.c av_reduce(&a.num, &a.den, floor(d * den + 0.5), den, max); max 121 libavutil/rational.c if ((!a.num || !a.den) && d && max>0 && max<INT_MAX) max 120 libavutil/rational.h int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max); max 176 libavutil/rational.h AVRational av_d2q(double d, int max) av_const; max 425 libpostproc/postprocess.c int min, max, x; max 428 libpostproc/postprocess.c max= src[0]; max 431 libpostproc/postprocess.c max= src[step]; max 436 libpostproc/postprocess.c if(src[x *step] > max) max= src[ x *step]; max 439 libpostproc/postprocess.c if(src[(x+1)*step] > max) max= src[(x+1)*step]; max 443 libpostproc/postprocess.c if(max-min < 2*QP){ max 634 libpostproc/postprocess_altivec_template.c EXTRACT(max); max 1325 libpostproc/postprocess_template.c int max=0; max 1337 libpostproc/postprocess_template.c if(*p > max) max= *p; max 1341 libpostproc/postprocess_template.c avg= (min + max + 1)>>1; max 1343 libpostproc/postprocess_template.c if(max - min <deringThreshold) return; max 1391 libpostproc/postprocess_template.c if(max-min < 20){ max 1407 libpostproc/postprocess_template.c worstRange= max-min; max 1427 libpostproc/postprocess_template.c if(max-min < 20){ max 3709 libpostproc/postprocess_template.c int max=1; max 3712 libpostproc/postprocess_template.c if(yHistogram[i] > max) max=yHistogram[i]; max 3716 libpostproc/postprocess_template.c int start=yHistogram[i-1]/(max/256+1); max 3717 libpostproc/postprocess_template.c int end=yHistogram[i]/(max/256+1); max 34 libswscale/alphablend.c unsigned max = (1<<shift) - 1; max 69 libswscale/alphablend.c u = s[x]*alpha + target_table[((x^y)>>5)&1][plane]*(max-alpha) + off; max 70 libswscale/alphablend.c d[x] = av_clip((u + (u >> shift)) >> shift, 0, max); max 79 libswscale/alphablend.c u = av_bswap16(s[x])*alpha + target_table[((x^y)>>5)&1][plane]*(max-alpha) + off; max 80 libswscale/alphablend.c d[x] = av_clip((u + (u >> shift)) >> shift, 0, max); max 105 libswscale/alphablend.c unsigned u = s[x]*a[x] + target_table[((x^y)>>5)&1][plane]*(max-a[x]) + off; max 106 libswscale/alphablend.c d[x] = av_clip((u + (u >> shift)) >> shift, 0, max); max 111 libswscale/alphablend.c unsigned u = av_bswap16(s[x])*aswap + target_table[((x^y)>>5)&1][plane]*(max-aswap) + off; max 112 libswscale/alphablend.c d[x] = av_clip((u + (u >> shift)) >> shift, 0, max); max 139 libswscale/alphablend.c unsigned u = s[x_index + plane]*a[x_index] + target_table[((x^y)>>5)&1][plane]*(max-a[x_index]) + off; max 140 libswscale/alphablend.c d[plane_count*x + plane] = av_clip((u + (u >> shift)) >> shift, 0, max); max 148 libswscale/alphablend.c unsigned u = av_bswap16(s[x_index + plane])*aswap + target_table[((x^y)>>5)&1][plane]*(max-aswap) + off; max 149 libswscale/alphablend.c d[plane_count*x + plane] = av_clip((u + (u >> shift)) >> shift, 0, max); max 2275 libswscale/utils.c double max = 0; max 2280 libswscale/utils.c if (a->coeff[i] > max) max 2281 libswscale/utils.c max = a->coeff[i]; max 2287 libswscale/utils.c range = max - min; max 89 tests/checkasm/audiodsp.c int32_t val1, val2, min, max; max 93 tests/checkasm/audiodsp.c int32_t min, int32_t max, unsigned int len); max 101 tests/checkasm/audiodsp.c max = FFMAX(val1, val2); max 108 tests/checkasm/audiodsp.c call_ref(dst0, src, min, max, len); max 109 tests/checkasm/audiodsp.c call_new(dst1, src, min, max, len); max 112 tests/checkasm/audiodsp.c bench_new(dst1, src, min, max, MAX_SIZE); max 119 tests/checkasm/audiodsp.c float val1, val2, min, max; max 123 tests/checkasm/audiodsp.c int len, float min, float max); max 129 tests/checkasm/audiodsp.c max = FFMAX(val1, val2); max 136 tests/checkasm/audiodsp.c call_ref(dst0, src, len, min, max); max 137 tests/checkasm/audiodsp.c call_new(dst1, src, len, min, max); max 142 tests/checkasm/audiodsp.c bench_new(dst1, src, MAX_SIZE, min, max); max 39 tests/checkasm/vf_threshold.c LOCAL_ALIGNED_32(uint8_t, max , [WIDTH_PADDED]); max 46 tests/checkasm/vf_threshold.c const uint8_t *min, const uint8_t *max, uint8_t *out, max 58 tests/checkasm/vf_threshold.c memset(max, 0, WIDTH_PADDED); max 64 tests/checkasm/vf_threshold.c randomize_buffers(max, WIDTH); max 70 tests/checkasm/vf_threshold.c call_ref(in, threshold, min, max, out_ref, line_size, line_size, line_size, line_size, line_size, w, 1); max 71 tests/checkasm/vf_threshold.c call_new(in, threshold, min, max, out_new, line_size, line_size, line_size, line_size, line_size, w, 1); max 74 tests/checkasm/vf_threshold.c bench_new(in, threshold, min, max, out_new, line_size, line_size, line_size, line_size, line_size, w, 1); max 139 tests/tiny_psnr.c int64_t max = (1LL << (8 * len)) - 1; max 231 tests/tiny_psnr.c psnr = ((2 * log16(max << 16) + log16(i) - log16(sse)) *