FFMAX            1031 fftools/cmdutils.c         report_file_level = FFMAX(report_file_level, prog_loglevel);
FFMAX             807 fftools/ffmpeg.c                     pkt->pts = FFMAX(pkt->pts, max);
FFMAX            1744 fftools/ffmpeg.c             pts = FFMAX(pts, av_rescale_q(av_stream_get_end_pts(ost->st),
FFMAX            2003 fftools/ffmpeg.c             comp_start = FFMAX(start_time, f->start_time + f->ts_offset);
FFMAX            4421 fftools/ffmpeg.c         ist->max_pts = FFMAX(pkt.pts, ist->max_pts);
FFMAX            4447 fftools/ffmpeg.c                 pkt_dts + AV_TIME_BASE/10 < FFMAX(ist->pts, ist->dts)) {
FFMAX             719 fftools/ffmpeg_filter.c                 w = FFMAX(w, avf->streams[i]->codecpar->width);
FFMAX             720 fftools/ffmpeg_filter.c                 h = FFMAX(h, avf->streams[i]->codecpar->height);
FFMAX             724 fftools/ffmpeg_filter.c             w = FFMAX(w, 720);
FFMAX             725 fftools/ffmpeg_filter.c             h = FFMAX(h, 576);
FFMAX            2055 fftools/ffmpeg_opt.c         out_ch->start     = FFMAX(0,  in_ch->start - ts_off);
FFMAX             133 fftools/ffplay.c #define FRAME_QUEUE_SIZE FFMAX(SAMPLE_QUEUE_SIZE, FFMAX(VIDEO_PICTURE_QUEUE_SIZE, SUBPICTURE_QUEUE_SIZE))
FFMAX             889 fftools/ffplay.c     rect->w = FFMAX((int)width,  1);
FFMAX             890 fftools/ffplay.c     rect->h = FFMAX((int)height, 1);
FFMAX            1464 fftools/ffplay.c        set_clock_speed(&is->extclk, FFMAX(EXTERNAL_CLOCK_SPEED_MIN, is->extclk.speed - EXTERNAL_CLOCK_SPEED_STEP));
FFMAX            1542 fftools/ffplay.c         sync_threshold = FFMAX(AV_SYNC_THRESHOLD_MIN, FFMIN(AV_SYNC_THRESHOLD_MAX, delay));
FFMAX            1545 fftools/ffplay.c                 delay = FFMAX(0, delay + diff);
FFMAX            1893 fftools/ffplay.c              codecpar->sample_aspect_ratio.num, FFMAX(codecpar->sample_aspect_ratio.den, 1));
FFMAX            2529 fftools/ffplay.c     wanted_spec.samples = FFMAX(SDL_AUDIO_MIN_BUFFER_SIZE, 2 << av_log2(wanted_spec.freq / SDL_AUDIO_MAX_CALLBACKS_PER_SEC));
FFMAX            3266 fftools/ffplay.c     i = FFMAX(i, 0);
FFMAX             453 libavcodec/4xm.c         bytestream_size = FFMAX(length - bitstream_size - wordstream_size, 0);
FFMAX             637 libavcodec/4xm.c         if (ptr_end - ptr < FFMAX(end - start + 1, 0) + 1) {
FFMAX             177 libavcodec/a64multienc.c                     best_cb[x] = FFMAX(c->mc_luma_vals[1], best_cb[x]);
FFMAX             253 libavcodec/aaccoder.c             q1f = FFMAX(q1f, t);
FFMAX             325 libavcodec/aaccoder.c                     qmax = FFMAX(qmax, t);
FFMAX             385 libavcodec/aaccoder.c         minq = FFMAX(paths[idx][minq].prev, 0);
FFMAX             555 libavcodec/aaccoder.c     const float spread_threshold = FFMIN(0.75f, NOISE_SPREAD_THRESHOLD*FFMAX(0.5f, lambda/100.f));
FFMAX             575 libavcodec/aaccoder.c         bandwidth = FFMAX(3000, AAC_CUTOFF_FROM_BITRATE(frame_bit_rate, 1, avctx->sample_rate));
FFMAX             592 libavcodec/aaccoder.c             const float freq_boost = FFMAX(0.88f*freq/NOISE_LOW_LIMIT, 1.0f);
FFMAX             607 libavcodec/aaccoder.c                     max_energy = FFMAX(max_energy, band->energy);
FFMAX             693 libavcodec/aaccoder.c     const float spread_threshold = FFMIN(0.75f, NOISE_SPREAD_THRESHOLD*FFMAX(0.5f, lambda/100.f));
FFMAX             711 libavcodec/aaccoder.c         bandwidth = FFMAX(3000, AAC_CUTOFF_FROM_BITRATE(frame_bit_rate, 1, avctx->sample_rate));
FFMAX             723 libavcodec/aaccoder.c             const float freq_boost = FFMAX(0.88f*freq/NOISE_LOW_LIMIT, 1.0f);
FFMAX             737 libavcodec/aaccoder.c                     max_energy = FFMAX(max_energy, band->energy);
FFMAX             796 libavcodec/aaccoder.c                         Mmax = FFMAX(Mmax, M34[i]);
FFMAX             797 libavcodec/aaccoder.c                         Smax = FFMAX(Smax, S34[i]);
FFMAX             822 libavcodec/aaccoder.c                     midcb = FFMAX(1,midcb);
FFMAX             823 libavcodec/aaccoder.c                     sidcb = FFMAX(1,sidcb);
FFMAX             198 libavcodec/aaccoder_twoloop.h             bandwidth = FFMAX(3000, AAC_CUTOFF_FROM_BITRATE(frame_bit_rate, 1, avctx->sample_rate));
FFMAX             256 libavcodec/aaccoder_twoloop.h                     max_spread_thr_r = FFMAX(max_spread_thr_r, spread_thr_r[w*16+g]);
FFMAX             278 libavcodec/aaccoder_twoloop.h                     + 1.75*log2f(FFMAX(0.00125f,uplims[w*16+g]) / sce->ics.swb_sizes[g])
FFMAX             339 libavcodec/aaccoder_twoloop.h                 energy2uplim = FFMAX(0.015625f, FFMIN(1.0f, energy2uplim));
FFMAX             353 libavcodec/aaccoder_twoloop.h                 energy2uplim = FFMAX(0.015625f, FFMIN(1.0f, energy2uplim));
FFMAX             509 libavcodec/aaccoder_twoloop.h                             float ovrdist = dists[w*16+g] / FFMAX(uplims[w*16+g],euplims[w*16+g]);
FFMAX             510 libavcodec/aaccoder_twoloop.h                             maxoverdist = FFMAX(maxoverdist, ovrdist);
FFMAX             529 libavcodec/aaccoder_twoloop.h                                 maxspread = FFMAX(maxspread, spread_thr_r[w*16+g]);
FFMAX             542 libavcodec/aaccoder_twoloop.h                     maxzeroed = FFMIN(zeroable, FFMAX(1, (zeroable * its + maxits - 1) / (2 * maxits)));
FFMAX             582 libavcodec/aaccoder_twoloop.h                     maxscaler = FFMAX(maxscaler, sce->sf_idx[w*16+g]);
FFMAX             594 libavcodec/aaccoder_twoloop.h             uplmax *= (tbits > destbits) ? FFMIN(2.0f, tbits / (float)FFMAX(1,destbits)) : 1.0f;
FFMAX             604 libavcodec/aaccoder_twoloop.h                     int mindeltasf = FFMAX(0, prev - SCALE_MAX_DIFF);
FFMAX             606 libavcodec/aaccoder_twoloop.h                     if ((!cmb || dists[w*16+g] > uplims[w*16+g]) && sce->sf_idx[w*16+g] > FFMAX(mindeltasf, minsf[w*16+g])) {
FFMAX            2505 libavcodec/aacdec_template.c             bottom = FFMAX(0, top - tns->length[w][filt]);
FFMAX            3011 libavcodec/aacdec_template.c                                         FFMAX(ac->oc[1].status,
FFMAX             270 libavcodec/aacenc.c                 maxsfb = FFMAX(maxsfb, cmaxsfb);
FFMAX             294 libavcodec/aacenc.c         ics0->max_sfb = FFMAX(ics0->max_sfb, ics1->max_sfb);
FFMAX             647 libavcodec/aacenc.c                     max = FFMAX(max, fabsf(wbuf[j]));
FFMAX             653 libavcodec/aacenc.c                     clip_avoidance_factor = FFMAX(clip_avoidance_factor, wi[ch].clipping[w]);
FFMAX             832 libavcodec/aacenc.c         too_many_bits = FFMAX(target_bits, rate_bits);
FFMAX             834 libavcodec/aacenc.c         too_few_bits = FFMIN(FFMAX(rate_bits - rate_bits/4, target_bits), too_many_bits);
FFMAX              56 libavcodec/aacenc_is.c         int is_band_type, is_sf_idx = FFMAX(1, sce0->sf_idx[w*16+g]-4);
FFMAX              81 libavcodec/aacenc_ltp.c         const int start = FFMAX(0, i - 1024);
FFMAX              94 libavcodec/aacenc_ltp.c     ltp->lag = FFMAX(av_clip_uintp2(lag, 11), 0);
FFMAX             114 libavcodec/aacenc_tns.c             bottom = FFMAX(0, top - tns->length[w][filt]);
FFMAX              86 libavcodec/aacenc_utils.h             maxval = FFMAX(maxval, scaled[w2*128+i]);
FFMAX             116 libavcodec/aacenc_utils.h             maxval = FFMAX(maxval, s);
FFMAX             145 libavcodec/aacenc_utils.h             form += e2 * sqrtf(frm) / FFMAX(0.5f,nzl);
FFMAX             100 libavcodec/aacps.c         e_prev = FFMAX(e_prev, 0); \
FFMAX             702 libavcodec/aacps.c             peak_decay_nrg[i] = FFMAX(decayed_peak, power[i][n]);
FFMAX             718 libavcodec/aacps.c             peak_decay_nrg[i] = FFMAX(decayed_peak, power[i][n]);
FFMAX             161 libavcodec/aacps_tablegen.h                 rho = FFMAX(icc_invq[icc], 0.05f);
FFMAX             244 libavcodec/aacpsy.c         if (FFMAX(bitrate, psy_abr_map[i].quality) != bitrate) {
FFMAX             521 libavcodec/aacpsy.c     ctx->pe.max = FFMAX(pe, ctx->pe.max);
FFMAX             523 libavcodec/aacpsy.c         + FFMAX(ctx->pe.min, pe * (pe / ctx->pe.max))) / (PSY_PE_FORGET_SLOPE + 1);
FFMAX             531 libavcodec/aacpsy.c         FFMAX(ctx->frame_bits + size - bits, ctx->frame_bits / 8));
FFMAX             568 libavcodec/aacpsy.c     return FFMAX(reduction, 0.0f);
FFMAX             588 libavcodec/aacpsy.c             thr = FFMAX(band->thr, band->energy * min_snr);
FFMAX             657 libavcodec/aacpsy.c     float pe = pctx->chan_bitrate > 32000 ? 0.0f : FFMAX(50.0f, 100.0f - pctx->chan_bitrate * 100.0f / 32000.0f);
FFMAX             675 libavcodec/aacpsy.c             bands[g].thr   = FFMAX(bands[g].thr,    bands[g-1].thr * coeffs[g].spread_hi[0]);
FFMAX             676 libavcodec/aacpsy.c             spread_en[w+g] = FFMAX(bands[g].energy, spread_en[w+g-1] * coeffs[g].spread_hi[1]);
FFMAX             679 libavcodec/aacpsy.c             bands[g].thr   = FFMAX(bands[g].thr,   bands[g+1].thr * coeffs[g].spread_low[0]);
FFMAX             680 libavcodec/aacpsy.c             spread_en[w+g] = FFMAX(spread_en[w+g], spread_en[w+g+1] * coeffs[g].spread_low[1]);
FFMAX             686 libavcodec/aacpsy.c             band->thr_quiet = band->thr = FFMAX(band->thr, coeffs[g].ath);
FFMAX             689 libavcodec/aacpsy.c                 band->thr = FFMAX(PSY_3GPP_RPEMIN*band->thr, FFMIN(band->thr,
FFMAX             721 libavcodec/aacpsy.c         pctx->pe.max = FFMAX(pe, pctx->pe.max);
FFMAX             771 libavcodec/aacpsy.c             desired_pe_no_ah = FFMAX(desired_pe - (pe - pe_no_ah), 0.0f);
FFMAX             808 libavcodec/aacpsy.c                             thr = FFMAX(band->thr, coeffs[g].min_snr * band->energy);
FFMAX             915 libavcodec/aacpsy.c                 p = FFMAX(p, fabsf(*pf));
FFMAX             947 libavcodec/aacpsy.c             const float m = FFMAX(u, v);
FFMAX             523 libavcodec/aacsbr_template.c         sbr->patch_num_subbands[sbr->num_patches]  = FFMAX(sb - usb, 0);
FFMAX             589 libavcodec/aacsbr_template.c     sbr->n_q = FFMAX(1, lrintf(sbr->spectrum_params.bs_noise_bands *
FFMAX             755 libavcodec/aacsbr_template.c             idx = ch_data->bs_num_env - FFMAX(bs_pointer - 1, 1);
FFMAX            1332 libavcodec/aacsbr_template.c     const int i_Temp = FFMAX(2*sbr->data[ch].t_env_num_env_old - i_f, 0);
FFMAX              76 libavcodec/ac3.c         a = FFMAX(a - 64, 0);
FFMAX              88 libavcodec/ac3.c         return FFMAX(a - 128, 0);
FFMAX             109 libavcodec/ac3.c             int max = FFMAX(v, psd[bin]);
FFMAX             161 libavcodec/ac3.c             fastleak = FFMAX(fastleak - s->fast_decay, band_psd[band] - fast_gain);
FFMAX             162 libavcodec/ac3.c             slowleak = FFMAX(slowleak - s->slow_decay, band_psd[band] - s->slow_gain);
FFMAX             163 libavcodec/ac3.c             excite[band] = FFMAX(fastleak - lowcomp, slowleak);
FFMAX             174 libavcodec/ac3.c         fastleak = FFMAX(fastleak - s->fast_decay, band_psd[band] - fast_gain);
FFMAX             175 libavcodec/ac3.c         slowleak = FFMAX(slowleak - s->slow_decay, band_psd[band] - s->slow_gain);
FFMAX             176 libavcodec/ac3.c         excite[band] = FFMAX(fastleak, slowleak);
FFMAX             186 libavcodec/ac3.c         mask[band] = FFMAX(ff_ac3_hearing_threshold_tab[band >> s->sr_shift][s->sr_code], excite[band]);
FFMAX             104 libavcodec/ac3_parser.c         hdr->sr_shift = FFMAX(hdr->bitstream_id, 8) - 8;
FFMAX            1231 libavcodec/ac3dec.c                 bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
FFMAX            1251 libavcodec/ac3dec.c                     bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 1);
FFMAX            1261 libavcodec/ac3dec.c                         bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
FFMAX            1277 libavcodec/ac3dec.c                 bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
FFMAX            1298 libavcodec/ac3dec.c                 bit_alloc_stages[CPL_CH] = FFMAX(bit_alloc_stages[CPL_CH], 2);
FFMAX            1319 libavcodec/ac3dec.c             bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
FFMAX            1331 libavcodec/ac3dec.c                 bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
FFMAX             122 libavcodec/ac3dsp.c         int m = (FFMAX(mask[band] - snr_offset - floor, 0) & 0x1FE0) + floor;
FFMAX             291 libavcodec/ac3enc_template.c                 max_exp = FFMAX(exp, max_exp);
FFMAX             294 libavcodec/ac3enc_template.c             master_exp = FFMAX(master_exp, 0);
FFMAX              89 libavcodec/acelp_pitch_delay.c         quant_energy[0] = FFMAX(avg_gain >> log2_ma_pred_order, -10240) - 4096; // -10 and -4 in (5.10)
FFMAX            1606 libavcodec/adpcm.c                 count = FFMAX(count, count1);
FFMAX             403 libavcodec/adpcmenc.c                     STORE_NODE(ms, FFMAX(16,
FFMAX             540 libavcodec/agm.c                 luma[i]   = FFMAX(1, 16 * f);
FFMAX             541 libavcodec/agm.c                 chroma[i] = FFMAX(1, 16 * f);
FFMAX             545 libavcodec/agm.c                 luma[i]   = FFMAX(1, 16 - qscale * 32);
FFMAX             546 libavcodec/agm.c                 chroma[i] = FFMAX(1, 16 - qscale * 32);
FFMAX             552 libavcodec/agm.c                 luma[i]   = FFMAX(1, unscaled_luma  [(i & 7) * 8 + (i >> 3)] * f);
FFMAX             553 libavcodec/agm.c                 chroma[i] = FFMAX(1, unscaled_chroma[(i & 7) * 8 + (i >> 3)] * f);
FFMAX             557 libavcodec/agm.c                 luma[i]   = FFMAX(1, 255.0 - (255 - unscaled_luma  [(i & 7) * 8 + (i >> 3)]) * f);
FFMAX             558 libavcodec/agm.c                 chroma[i] = FFMAX(1, 255.0 - (255 - unscaled_chroma[(i & 7) * 8 + (i >> 3)]) * f);
FFMAX             792 libavcodec/alsdec.c             *bd->ltp_lag     += FFMAX(4, opt_order + 1);
FFMAX             922 libavcodec/alsdec.c         for (ltp_smp = FFMAX(*bd->ltp_lag - 2, 0); ltp_smp < block_length; ltp_smp++) {
FFMAX             924 libavcodec/alsdec.c             int begin  = FFMAX(0, center - 2);
FFMAX            1336 libavcodec/alsdec.c                 FFMAX(end   + 1,   end + 1 + t) > ctx->raw_buffer + channels * channel_size - master) {
FFMAX            1339 libavcodec/alsdec.c                        master + FFMIN(begin - 1, begin - 1 + t), master + FFMAX(end + 1,   end + 1 + t),
FFMAX            1752 libavcodec/alsdec.c                 ctx->highest_decoded_channel = FFMAX(ctx->highest_decoded_channel, c);
FFMAX             701 libavcodec/amrwbdec.c     return FFMAX(0.0, 1.25 - acc * 0.8 * 512);
FFMAX             728 libavcodec/amrwbdec.c         g0 = FFMAX(*prev_tr_gain, fixed_gain *
FFMAX             198 libavcodec/ansi.c         s->y = FFMAX(s->y - (s->nb_args > 0 ? s->args[0]*s->font_height : s->font_height), 0);
FFMAX             207 libavcodec/ansi.c         s->x = FFMAX(s->x - (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), 0);
FFMAX             392 libavcodec/ansi.c                 s->x = FFMAX(s->x - 1, 0);
FFMAX             431 libavcodec/ansi.c                     s->args[s->nb_args] = FFMAX(s->args[s->nb_args], 0) * 10 + buf[0] - '0';
FFMAX             456 libavcodec/atrac3.c         last_pos = FFMAX(components[i].pos + components[i].num_coefs, last_pos);
FFMAX             619 libavcodec/atrac3.c         num_bands = FFMAX((last_tonal + 256) >> 8, num_bands);
FFMAX             441 libavcodec/atrac3plusdsp.c         gcv = FFMAX(gcv, gain_lev - (g2->lev_code[i] - 6));
FFMAX             444 libavcodec/atrac3plusdsp.c         gcv = FFMAX(gcv, 6 - g1->lev_code[i]);
FFMAX             182 libavcodec/atrac9dec.c         c->precision_coarse[i] = FFMAX(c->precision_coarse[i], 1);
FFMAX             514 libavcodec/atrac9dec.c         maxval = FFMAX(FFMAX(FFABS(tmp[0]), FFABS(tmp[1])), maxval);
FFMAX             539 libavcodec/atrac9dec.c         FFMAX(g_units[2], 22),
FFMAX            1046 libavcodec/bink.c     init_lengths(c, FFMAX(width, 8), bw);
FFMAX             217 libavcodec/bitstream.c                 subtable_bits = FFMAX(subtable_bits, n);
FFMAX              99 libavcodec/bmp_parser.c         bpc->pc.frame_start_found = FFMAX(bpc->pc.frame_start_found - i - 1, 0);
FFMAX             540 libavcodec/cavs.c     int64_t den = h->scale_den[FFMAX(src->ref, 0)];
FFMAX            1255 libavcodec/cavsdec.c             return FFMAX(0, buf_ptr - buf);
FFMAX             605 libavcodec/cbs_av1_syntax_template.c     min_log2_tiles = FFMAX(min_log2_tile_cols,
FFMAX             619 libavcodec/cbs_av1_syntax_template.c         min_log2_tile_rows = FFMAX(min_log2_tiles - current->tile_cols_log2, 0);
FFMAX             637 libavcodec/cbs_av1_syntax_template.c             widest_tile_sb = FFMAX(size_sb, widest_tile_sb);
FFMAX             647 libavcodec/cbs_av1_syntax_template.c         max_tile_height_sb = FFMAX(max_tile_area_sb / widest_tile_sb, 1);
FFMAX             987 libavcodec/cbs_h265_syntax_template.c     ue(log2_sao_offset_scale_luma,   0, FFMAX(0, sps->bit_depth_luma_minus8   - 2));
FFMAX             988 libavcodec/cbs_h265_syntax_template.c     ue(log2_sao_offset_scale_chroma, 0, FFMAX(0, sps->bit_depth_chroma_minus8 - 2));
FFMAX             239 libavcodec/cdgraphics.c     for (y = FFMAX(0, vinc); y < FFMIN(CDG_FULL_HEIGHT + vinc, CDG_FULL_HEIGHT); y++)
FFMAX             240 libavcodec/cdgraphics.c         memcpy(out + FFMAX(0, hinc) + stride * y,
FFMAX             241 libavcodec/cdgraphics.c                in + FFMAX(0, hinc) - hinc + (y - vinc) * stride,
FFMAX             817 libavcodec/dca_core.c             nsubbands = FFMAX(nsubbands, s->nsubbands[s->joint_intensity_index[ch] - 1]);
FFMAX            1495 libavcodec/dca_core.c             nsubbands = FFMAX(nsubbands, s->nsubbands[s->joint_intensity_index[ch] - 1]);
FFMAX             402 libavcodec/decode.c             avci->skip_samples = FFMAX(0, avci->skip_samples - frame->nb_samples);
FFMAX             955 libavcodec/decode.c         sub->end_display_time = FFMAX(sub->end_display_time, 10 * ts_duration);
FFMAX            1868 libavcodec/decode.c             frame->width  = FFMAX(avctx->width,  AV_CEIL_RSHIFT(avctx->coded_width,  avctx->lowres));
FFMAX            1869 libavcodec/decode.c             frame->height = FFMAX(avctx->height, AV_CEIL_RSHIFT(avctx->coded_height, avctx->lowres));
FFMAX              44 libavcodec/dfa.c     if (!avctx->width || !avctx->height || FFMAX(avctx->width, avctx->height) >= (1<<16))
FFMAX             302 libavcodec/diracdec.c         top_padding = FFMAX(1<<MAX_DWT_LEVELS, max_yblen/2);
FFMAX             684 libavcodec/diracdec.c                 if (b->length > FFMAX(get_bits_left(&s->gb)/8, 0)) {
FFMAX             685 libavcodec/diracdec.c                     b->length = FFMAX(get_bits_left(&s->gb)/8, 0);
FFMAX             790 libavcodec/diracdec.c             quant = FFMAX(quant_base - s->lowdelay.quant[level][orientation], 0);
FFMAX             803 libavcodec/diracdec.c             quant = FFMAX(quant_base - s->lowdelay.quant[level][orientation], 0);
FFMAX             859 libavcodec/diracdec.c             const int quant = FFMAX(quant_idx - s->lowdelay.quant[level][orientation], 0);
FFMAX            1150 libavcodec/diracdec.c     if (FFMAX(s->plane[0].xblen, s->plane[0].yblen) > MAX_BLOCKSIZE) {
FFMAX            1934 libavcodec/diracdec.c                     start = FFMAX(dsty, 0);
FFMAX            1105 libavcodec/dnxhddata.c     return FFMAX(result, 8192);
FFMAX            1091 libavcodec/dnxhdenc.c             lambda = FFMAX(1, lambda);
FFMAX            1095 libavcodec/dnxhdenc.c             last_higher = FFMAX(lambda, last_higher);
FFMAX            1152 libavcodec/dnxhdenc.c             last_higher = FFMAX(qscale, last_higher);
FFMAX             196 libavcodec/dolby_e.c     return FFMAX(a, b) + log_add_tab[FFMIN(c, 211)];
FFMAX             209 libavcodec/dolby_e.c         for (j = FFMAX(i - 3, 0), k = 0; j <= i + 3; j++, k++) {
FFMAX             219 libavcodec/dolby_e.c             for (j = FFMAX(max_j - 3, 0),
FFMAX             220 libavcodec/dolby_e.c                  k = FFMAX(3 - max_j, 0);
FFMAX             227 libavcodec/dolby_e.c         int v = FFMAX(lwc_val[i], -512);
FFMAX             228 libavcodec/dolby_e.c         msk_val[i] = FFMAX(msk_val[i] + v, 0);
FFMAX             260 libavcodec/dolby_e.c         msk_val[i] = FFMAX(fast_leak, slow_leak);
FFMAX             266 libavcodec/dolby_e.c         msk_val[i] = FFMAX(msk_val[i], fast_leak);
FFMAX             270 libavcodec/dolby_e.c         msk_val[i] = FFMAX(msk_val[i], hearing_thresh[i]);
FFMAX             712 libavcodec/dvbsubdec.c     count = FFMAX(i - 1, 1);
FFMAX             515 libavcodec/dvdec.c                     for (x = 0; x < (1 << FFMAX(log2_blocksize - 1, 0)); x++) {
FFMAX             308 libavcodec/dvdsubenc.c             xmax = FFMAX(xmax, h->rects[i]->x + h->rects[i]->w);
FFMAX             309 libavcodec/dvdsubenc.c             ymax = FFMAX(ymax, h->rects[i]->y + h->rects[i]->h);
FFMAX            1151 libavcodec/dxv.c                                avctx->coded_height / FFMAX(ctx->texture_block_h,
FFMAX             189 libavcodec/elbg.c             max[i]=FFMAX(max[i], elbg->points[tempcell->index*elbg->dim + i]);
FFMAX             222 libavcodec/error_resilience.c                 int64_t weight  = 256 * 256 * 256 * 16 / FFMAX(dist[b_x + b_y*stride][j], 1);
FFMAX             278 libavcodec/error_resilience.c                 d = FFMAX(d, 0);
FFMAX             350 libavcodec/error_resilience.c                 d = FFMAX(d, 0);
FFMAX             440 libavcodec/error_resilience.c         num_avail <= FFMAX(mb_width, mb_height) / 2) {
FFMAX             587 libavcodec/error_resilience.c                         max_x = FFMAX(max_x, mv_predictor[j][0]);
FFMAX             588 libavcodec/error_resilience.c                         max_y = FFMAX(max_y, mv_predictor[j][1]);
FFMAX             589 libavcodec/error_resilience.c                         max_r = FFMAX(max_r, ref[j]);
FFMAX             749 libavcodec/error_resilience.c     skip_amount     = FFMAX(undamaged_count / 50, 1); // check only up to 50 MBs
FFMAX             601 libavcodec/evrcdec.c     for (i = FFMIN(MIN_DELAY, idx - 3); i <= FFMAX(MAX_DELAY, idx + 3); i++) {
FFMAX             716 libavcodec/evrcdec.c             e->fade_scale = FFMAX(e->fade_scale - 0.05, 0.0);
FFMAX             176 libavcodec/ffv1.h         state->bias = FFMAX(state->bias - 1, -128);
FFMAX             178 libavcodec/ffv1.h         drift = FFMAX(drift + count, -count + 1);
FFMAX             154 libavcodec/ffv1enc.c         for (j = FFMAX(i - 10, 1); j < FFMIN(i + 11, 256); j++) {
FFMAX             527 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 2);
FFMAX             531 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 2);
FFMAX             550 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 3);
FFMAX             619 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 1);
FFMAX             651 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 1);
FFMAX             658 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 1);
FFMAX             691 libavcodec/ffv1enc.c         s->version = FFMAX(s->version, 1);
FFMAX             213 libavcodec/flac_parser.c             size = FFMAX(size, ret);
FFMAX             223 libavcodec/flac_parser.c                     size = FFMAX(size, ret);
FFMAX             258 libavcodec/flac_parser.c             size = FFMAX(size, temp);
FFMAX             264 libavcodec/flac_parser.c         size     = FFMAX(size, temp);
FFMAX             639 libavcodec/flac_parser.c         start_offset = FFMAX(0, start_offset);
FFMAX              41 libavcodec/g723_1.c     bits= FFMAX(bits, 0);
FFMAX             236 libavcodec/g723_1.c         cur_lsp[0]             = FFMAX(cur_lsp[0],  0x180);
FFMAX              40 libavcodec/g723_1_parser.c         next = frame_size[buf[0] & 3] * FFMAX(1, avctx->channels);
FFMAX             403 libavcodec/g723_1dec.c         temp1 = FFMAX(energy[i], temp1);
FFMAX             231 libavcodec/g723_1enc.c         max = FFMAX(max, FFABS(f[i]));
FFMAX             341 libavcodec/g723_1enc.c         max = FFMAX(weight[i], max);
FFMAX             515 libavcodec/g723_1enc.c         max = FFMAX(max, FFABS(energy[i]));
FFMAX             710 libavcodec/g723_1enc.c         max = FFMAX(max, FFABS(ccr_buf[i]));
FFMAX             297 libavcodec/g729dec.c     return FFMAX(past_onset-1, 0);
FFMAX             592 libavcodec/g729dec.c                     gain_corr_factor = FFMAX(gain_corr_factor, 1024);
FFMAX             169 libavcodec/g729postfilter.c         sh_ener = FFMAX(sh_ener, 0);
FFMAX             243 libavcodec/g729postfilter.c                 sh_gain_num =  FFMAX(sh_gain_den, sh_ener);
FFMAX             262 libavcodec/g729postfilter.c                         gain_num_short = FFMAX(sum >> sh_gain_num, 0);
FFMAX             325 libavcodec/g729postfilter.c             tmp = FFMAX(tmp, 0);
FFMAX             335 libavcodec/g729postfilter.c         tmp = FFMAX(tmp, 0);
FFMAX             397 libavcodec/g729postfilter.c     lt_filt_factor_a = FFMAX((L64_temp1 << 15) / (L64_temp1 + L64_temp0), MIN_LT_FILT_FACTOR_A);
FFMAX             550 libavcodec/g729postfilter.c     *voicing = FFMAX(*voicing, i);
FFMAX             628 libavcodec/get_bits.h     if (bit_size >= INT_MAX - FFMAX(7, AV_INPUT_BUFFER_PADDING_SIZE*8) || bit_size < 0 || !buffer) {
FFMAX              49 libavcodec/h264_mb.c     return FFMAX(0, bottom);
FFMAX              73 libavcodec/h264_mb.c             refs[0][ref_n] = FFMAX(refs[0][ref_n], my);
FFMAX              86 libavcodec/h264_mb.c             refs[1][ref_n] = FFMAX(refs[1][ref_n], my);
FFMAX             487 libavcodec/h264_ps.c         sps->ref_frame_count = FFMAX(2, sps->ref_frame_count);
FFMAX             772 libavcodec/h264_refs.c     if (h->long_ref_count + h->short_ref_count > FFMAX(h->ps.sps->ref_frame_count, 1)) {
FFMAX             812 libavcodec/h264_refs.c             pps_ref_count[0] = FFMAX(pps_ref_count[0], pps->ref_count[0]);
FFMAX             813 libavcodec/h264_refs.c             pps_ref_count[1] = FFMAX(pps_ref_count[1], pps->ref_count[1]);
FFMAX            1352 libavcodec/h264_slice.c         h->avctx->has_b_frames = FFMAX(h->avctx->has_b_frames, sps->num_reorder_frames);
FFMAX            1367 libavcodec/h264_slice.c         out_of_order = FFMAX(out_of_order, 1);
FFMAX             184 libavcodec/h264dec.c     const int row_mb_num = 2*h->mb_stride*FFMAX(h->nb_slice_ctx, 1);
FFMAX             200 libavcodec/hapenc.c     int pktsize = FFMAX(ctx->tex_size, ctx->max_snappy * ctx->chunk_count) + header_length;
FFMAX             672 libavcodec/hevc_cabac.c     int c_max= FFMAX(5, s->ps.pps->chroma_qp_offset_list_len_minus1);
FFMAX            1509 libavcodec/hevc_cabac.c             int max_xy = FFMAX(last_significant_coeff_x, last_significant_coeff_y);
FFMAX            1087 libavcodec/hevc_ps.c         if (FFMAX(sps->pcm.bit_depth, sps->pcm.bit_depth_chroma) > sps->bit_depth) {
FFMAX            1355 libavcodec/hevc_ps.c     if (   pps->log2_sao_offset_scale_luma   > FFMAX(sps->bit_depth        - 10, 0)
FFMAX            1356 libavcodec/hevc_ps.c         || pps->log2_sao_offset_scale_chroma > FFMAX(sps->bit_depth_chroma - 10, 0)
FFMAX            1749 libavcodec/hevcdec.c         int y = FFMAX(0, (mv->y >> 2) + y0 + height + 9);
FFMAX              35 libavcodec/htmlsubtitles.c     str += FFMAX(0, nb_sharps - 1);
FFMAX             174 libavcodec/iff.c             count = FFMAX(count, 64);
FFMAX             602 libavcodec/ilbcdec.c     int16_t scale = FFMAX(1638, FFABS(max_in));
FFMAX            1279 libavcodec/ilbcdec.c             scalediff = FFMAX(scalediff, -31);
FFMAX             467 libavcodec/imc.c         highest = FFMAX(highest, chctx->flcoeffs1[i]);
FFMAX             523 libavcodec/intrax8.c         w->block_last_index[0] = FFMAX(w->block_last_index[0], 7 * 8);
FFMAX             531 libavcodec/intrax8.c         w->block_last_index[0] = FFMAX(w->block_last_index[0], 7 * 8);
FFMAX             539 libavcodec/intrax8.c         w->block_last_index[0] = FFMAX(w->block_last_index[0], 7);
FFMAX              98 libavcodec/intrax8dsp.c             max_pix        = FFMAX(max_pix, c);
FFMAX             111 libavcodec/intrax8dsp.c             max_pix = FFMAX(max_pix, c);
FFMAX             380 libavcodec/intrax8dsp.c                 max = FFMAX(max, p3);
FFMAX             382 libavcodec/intrax8dsp.c                 max = FFMAX(max, p5);
FFMAX             384 libavcodec/intrax8dsp.c                 max = FFMAX(max, p8);
FFMAX             387 libavcodec/intrax8dsp.c                     max = FFMAX(max, p2);
FFMAX             389 libavcodec/intrax8dsp.c                     max = FFMAX(max, p4);
FFMAX             391 libavcodec/intrax8dsp.c                     max = FFMAX(max, p6);
FFMAX             393 libavcodec/intrax8dsp.c                     max = FFMAX(max, p7);
FFMAX             524 libavcodec/j2kenc.c         lut_nmsedec_sig[i]  = FFMAX((3 * i << (13 - NMSEDEC_FRACBITS)) - (9 << 11), 0);
FFMAX             525 libavcodec/j2kenc.c         lut_nmsedec_sig0[i] = FFMAX((i*i + (1<<NMSEDEC_FRACBITS-1) & mask) << 1, 0);
FFMAX             528 libavcodec/j2kenc.c         lut_nmsedec_ref[i]  = FFMAX((a - 2) * (i << (13 - NMSEDEC_FRACBITS)) +
FFMAX             530 libavcodec/j2kenc.c         lut_nmsedec_ref0[i] = FFMAX(((i * i - (i << NMSEDEC_BITS) + (1 << 2 * NMSEDEC_FRACBITS) + (1 << (NMSEDEC_FRACBITS - 1))) & mask)
FFMAX             655 libavcodec/j2kenc.c             max = FFMAX(max, t1->data[(y) * t1->stride + x]);
FFMAX             289 libavcodec/jpeg2000.c     prec->coord[0][0] = FFMAX(prec->coord[0][0], band->coord[0][0]);
FFMAX             295 libavcodec/jpeg2000.c     prec->coord[1][0] = FFMAX(prec->coord[1][0], band->coord[1][0]);
FFMAX             337 libavcodec/jpeg2000.c         cblk->coord[0][0] = FFMAX(Cx0, prec->coord[0][0]);
FFMAX             342 libavcodec/jpeg2000.c         cblk->coord[1][0] = FFMAX(Cy0, prec->coord[1][0]);
FFMAX             336 libavcodec/jpeg2000dec.c         s->precision = FFMAX(s->cbps[i], s->precision);
FFMAX             661 libavcodec/jpeg2000dec.c             int curexpn = FFMAX(0, q->expn[0] - (i - 1) / 3);
FFMAX            1132 libavcodec/jpeg2000dec.c                     size_t new_size = FFMAX(2*cblk->data_allocated, ret);
FFMAX            1176 libavcodec/jpeg2000dec.c                     size_t new_size = FFMAX(2*cblk->data_allocated, cblk->length + cblk->lengthinc[cwsno] + 4);
FFMAX             550 libavcodec/jpeg2000dwt.c     maxlen = FFMAX(b[0][1] - b[0][0],
FFMAX              42 libavcodec/jpegls.c     state->bpp   = FFMAX(av_log2(state->maxval) + 1, 2);
FFMAX              43 libavcodec/jpegls.c     state->limit = 2*(state->bpp + FFMAX(state->bpp, 8)) - state->qbpp;
FFMAX              46 libavcodec/jpegls.c         state->A[i] = FFMAX(state->range + 32 >> 6, 2);
FFMAX              88 libavcodec/jpegls.c             s->T1 = iso_clip(FFMAX(2, basic_t1 / factor + 3 * s->near),
FFMAX              91 libavcodec/jpegls.c             s->T2 = iso_clip(FFMAX(3, basic_t2 / factor + 5 * s->near),
FFMAX              94 libavcodec/jpegls.c             s->T3 = iso_clip(FFMAX(4, basic_t3 / factor + 7 * s->near),
FFMAX             111 libavcodec/jpegls.h         state->B[Q] = FFMAX(state->B[Q] + state->N[Q], 1 - state->N[Q]);
FFMAX              48 libavcodec/lagarithrac.c     l->hash_shift   = FFMAX(l->scale, 10) - 10;
FFMAX             395 libavcodec/libfdk-aacenc.c     if ((ret = ff_alloc_packet2(avctx, avpkt, FFMAX(8192, 768 * avctx->channels), 0)) < 0)
FFMAX             163 libavcodec/libopenh264enc.c     param.iMaxBitrate                = FFMAX(avctx->rc_max_rate, avctx->bit_rate);
FFMAX             259 libavcodec/libopenjpegdec.c         adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
FFMAX             296 libavcodec/libopenjpegdec.c         adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
FFMAX             339 libavcodec/libopenjpegenc.c     ctx->enc_params.tcp_rates[0] = FFMAX(avctx->compression_level, 0) * 2;
FFMAX             110 libavcodec/lpc.c         cmax= FFMAX(cmax, fabs(lpc_in[i]));
FFMAX              45 libavcodec/lsp.c         lsfq[i] = FFMAX(lsfq[i], lsfq_min);
FFMAX              56 libavcodec/lsp.c         prev = lsf[i] = FFMAX(lsf[i], prev + min_spacing);
FFMAX             129 libavcodec/lzwenc.c     int h = hash(FFMAX(hash_prefix, 0), c);
FFMAX             120 libavcodec/mathops.h         if (c < d) return (FFMIN(b, d) + FFMAX(a, c)) / 2;
FFMAX             121 libavcodec/mathops.h         else       return (FFMIN(b, c) + FFMAX(a, d)) / 2;
FFMAX             123 libavcodec/mathops.h         if (c < d) return (FFMIN(a, d) + FFMAX(b, c)) / 2;
FFMAX             124 libavcodec/mathops.h         else       return (FFMIN(a, c) + FFMAX(b, d)) / 2;
FFMAX             736 libavcodec/me_cmp.c         sum = FFMAX(sum, FFABS(temp[i]));
FFMAX             119 libavcodec/mf_utils.c     align = FFMAX(align, 16); // 16 is "recommended", even if not required
FFMAX            2377 libavcodec/mips/aaccoder_mips.c                         Mmax = FFMAX(Mmax, M34[i]);
FFMAX            2378 libavcodec/mips/aaccoder_mips.c                         Smax = FFMAX(Smax, S34[i]);
FFMAX            2403 libavcodec/mips/aaccoder_mips.c                     midcb = FFMAX(1,midcb);
FFMAX            2404 libavcodec/mips/aaccoder_mips.c                     sidcb = FFMAX(1,sidcb);
FFMAX             180 libavcodec/mips/aacsbr_mips.c     const int i_Temp = FFMAX(2*sbr->data[ch].t_env_num_env_old - i_f, 0);
FFMAX              83 libavcodec/mips/ac3dsp_mips.c         m = (FFMAX(mask[band] - snr_offset - floor, 0) & 0x1FE0) + floor;
FFMAX             231 libavcodec/mjpegdec.c         s->qscale[index] = FFMAX(s->quant_matrixes[index][1],
FFMAX            1370 libavcodec/mlpenc.c     bits = FFMAX(number_sbits(min), number_sbits(max));
FFMAX            1572 libavcodec/mlpenc.c     lsb_bits = FFMAX(number_sbits(min), number_sbits(max)) - 1;
FFMAX            1603 libavcodec/mlpenc.c         max = FFMAX(max, 2 * HUFF_OFFSET_MIN - min + 1);
FFMAX            1686 libavcodec/mlpenc.c     bo->min      = FFMAX(offset - offset_min, HUFF_OFFSET_MIN);
FFMAX            1702 libavcodec/mlpenc.c     offset_min = FFMAX(min, HUFF_OFFSET_MIN);
FFMAX             333 libavcodec/mmaldec.c         FFMAX(decoder->output[0]->buffer_size_min, decoder->output[0]->buffer_size_recommended);
FFMAX             335 libavcodec/mmaldec.c         FFMAX(decoder->output[0]->buffer_num_min, decoder->output[0]->buffer_num_recommended) + ctx->extra_buffers;
FFMAX             415 libavcodec/mmaldec.c         FFMAX(decoder->input[0]->buffer_num_min, 20);
FFMAX             417 libavcodec/mmaldec.c         FFMAX(decoder->input[0]->buffer_size_min, 512 * 1024);
FFMAX             309 libavcodec/motion_est.c     int dia_size= FFMAX(FFABS(s->avctx->dia_size)&255, FFABS(s->avctx->pre_dia_size)&255);
FFMAX             553 libavcodec/motion_est.c         c->xmin = FFMAX(c->xmin,-range);
FFMAX             555 libavcodec/motion_est.c         c->ymin = FFMAX(c->ymin,-range);
FFMAX            1351 libavcodec/motion_est.c                     int a= (xmax - FFMAX(fx,bx))|(FFMIN(fx,bx) - xmin);
FFMAX            1352 libavcodec/motion_est.c                     int b= (ymax - FFMAX(fy,by))|(FFMIN(fy,by) - ymin);
FFMAX            1370 libavcodec/motion_est.c                             int a= FFMIN(xmax - FFMAX(fx,bx), FFMIN(fx,bx) - xmin);
FFMAX            1371 libavcodec/motion_est.c                             int b= FFMIN(ymax - FFMAX(fy,by), FFMIN(fy,by) - ymin);
FFMAX            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;
FFMAX            1427 libavcodec/motion_est.c         xmin= FFMAX(xmin, - 16     - min);
FFMAX            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;
FFMAX            1434 libavcodec/motion_est.c         ymin= FFMAX(ymin, - 16      - min);
FFMAX            1621 libavcodec/motion_est.c                     int fcode= FFMAX(fcode_tab[mx + MAX_MV],
FFMAX             381 libavcodec/motion_est_template.c     const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\
FFMAX             382 libavcodec/motion_est_template.c     const int Ly2= FFMAX(ymin, FFMIN(Ly, ymax));\
FFMAX             591 libavcodec/motion_est_template.c     for(x2=FFMAX(x-dia_size+1, xmin); x2<=FFMIN(x+dia_size-1,xmax); x2+=2){
FFMAX             594 libavcodec/motion_est_template.c     for(y2=FFMAX(y-dia_size/2+1, ymin); y2<=FFMIN(y+dia_size/2-1,ymax); y2+=2){
FFMAX             600 libavcodec/motion_est_template.c     for(y2=FFMAX(y-2, ymin); y2<=FFMIN(y+2,ymax); y2++){
FFMAX             601 libavcodec/motion_est_template.c         for(x2=FFMAX(x-2, xmin); x2<=FFMIN(x+2,xmax); x2++){
FFMAX             632 libavcodec/motion_est_template.c     for(y=FFMAX(-dia_size, ymin); y<=FFMIN(dia_size,ymax); y++){
FFMAX             633 libavcodec/motion_est_template.c         for(x=FFMAX(-dia_size, xmin); x<=FFMIN(dia_size,xmax); x++){
FFMAX             789 libavcodec/motion_est_template.c         start= FFMAX(0, y + dia_size - ymax);
FFMAX             798 libavcodec/motion_est_template.c         start= FFMAX(0, x + dia_size - xmax);
FFMAX             807 libavcodec/motion_est_template.c         start= FFMAX(0, -y + dia_size + ymin );
FFMAX             816 libavcodec/motion_est_template.c         start= FFMAX(0, -x + dia_size + xmin );
FFMAX             946 libavcodec/motion_est_template.c         const int xstart= FFMAX(0, s->mb_x - count);
FFMAX             947 libavcodec/motion_est_template.c         const int ystart= FFMAX(0, s->mb_y - count);
FFMAX            2506 libavcodec/mpeg12dec.c             return FFMAX(0, buf_ptr - buf - s2->parse_context.last_index);
FFMAX            2000 libavcodec/mpeg4videodec.c             max_left_top = FFMAX(left, top);
FFMAX            2004 libavcodec/mpeg4videodec.c             p2 = (FFMIN(min_left_top, topleft) + FFMAX(max_left_top, topleft)) >> 1;
FFMAX            1396 libavcodec/mpegaudiodec_template.c                                FFMAX(0, LAST_BUF_SIZE - s->last_buf_size));
FFMAX            1483 libavcodec/mpegvideo.c     if ((unsigned)src_x > FFMAX( h_edge_pos - (!!sx) - w,                 0) ||
FFMAX            1484 libavcodec/mpegvideo.c         (unsigned)src_y > FFMAX((v_edge_pos >> field_based) - (!!sy) - h, 0)) {
FFMAX            1585 libavcodec/mpegvideo.c     if ((unsigned) src_x > FFMAX( h_edge_pos - (!!sx) - 2 * block_s,       0) || uvsrc_y<0 ||
FFMAX            1586 libavcodec/mpegvideo.c         (unsigned) src_y > FFMAX((v_edge_pos >> field_based) - (!!sy) - h, 0)) {
FFMAX            1675 libavcodec/mpegvideo.c     if ((unsigned) src_x > FFMAX(h_edge_pos - (!!sx) - block_s, 0) ||
FFMAX            1676 libavcodec/mpegvideo.c         (unsigned) src_y > FFMAX(v_edge_pos - (!!sy) - block_s, 0)) {
FFMAX            1868 libavcodec/mpegvideo.c         my_max = FFMAX(my_max, my);
FFMAX            1872 libavcodec/mpegvideo.c     off = ((FFMAX(-my_min, my_max)<<qpel_shift) + 63) >> 6;
FFMAX             436 libavcodec/mpegvideo_enc.c             avctx->rc_buffer_size = FFMAX(avctx->rc_max_rate, 15000000) * 112LL / 15000000 * 16384;
FFMAX            1318 libavcodec/mpegvideo_enc.c                 case 0: score    =  FFMAX(score, v);          break;
FFMAX            1570 libavcodec/mpegvideo_enc.c                 b_frames = FFMAX(0, i - 1);
FFMAX            1840 libavcodec/mpegvideo_enc.c         int pkt_size = growing_buffer ? FFMAX(s->mb_width*s->mb_height*64+10000, avctx->internal->byte_buffer_size) - AV_INPUT_BUFFER_PADDING_SIZE
FFMAX            1898 libavcodec/mpegvideo_enc.c             int max_size = FFMAX(rcc->buffer_index * avctx->rc_max_available_vbv_use, rcc->buffer_index - 500);
FFMAX            1904 libavcodec/mpegvideo_enc.c                 s->next_lambda = FFMAX(s->lambda + min_step, s->lambda *
FFMAX            1910 libavcodec/mpegvideo_enc.c                             FFMAX(s->lambda_table[i] + min_step,
FFMAX            2014 libavcodec/mpegvideo_enc.c             vbv_delay = FFMAX(vbv_delay, min_delay);
FFMAX            2181 libavcodec/mpegvideo_enc.c             for (y2 = FFMAX(y - 1, 0); y2 < FFMIN(8, y + 2); y2++) {
FFMAX            2182 libavcodec/mpegvideo_enc.c                 for (x2= FFMAX(x - 1, 0); x2 < FFMIN(8, x + 2); x2++) {
FFMAX            3781 libavcodec/mpegvideo_enc.c             s->f_code = FFMAX(a, b);
FFMAX            3785 libavcodec/mpegvideo_enc.c             s->b_code = FFMAX(a, b);
FFMAX              65 libavcodec/mpegvideo_motion.c     if ((unsigned)src_x >= FFMAX(s->h_edge_pos - 17, 0) ||
FFMAX              66 libavcodec/mpegvideo_motion.c         (unsigned)src_y >= FFMAX(s->v_edge_pos - 17, 0)) {
FFMAX             109 libavcodec/mpegvideo_motion.c     if ((unsigned)src_x >= FFMAX((s->h_edge_pos >> 1) - 9, 0) ||
FFMAX             110 libavcodec/mpegvideo_motion.c         (unsigned)src_y >= FFMAX((s->v_edge_pos >> 1) - 9, 0)) {
FFMAX             214 libavcodec/mpegvideo_motion.c         if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 1) - 7, 0) ||
FFMAX             215 libavcodec/mpegvideo_motion.c             (unsigned)src_y >= FFMAX(s->v_edge_pos - (motion_y & 1) - 7, 0)) {
FFMAX             305 libavcodec/mpegvideo_motion.c     if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 1) - 15   , 0) ||
FFMAX             306 libavcodec/mpegvideo_motion.c         (unsigned)src_y >= FFMAX(   v_edge_pos - (motion_y & 1) - h + 1, 0)) {
FFMAX             539 libavcodec/mpegvideo_motion.c     if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 3) - 15   , 0) ||
FFMAX             540 libavcodec/mpegvideo_motion.c         (unsigned)src_y >= FFMAX(   v_edge_pos - (motion_y & 3) - h + 1, 0)) {
FFMAX             625 libavcodec/mpegvideo_motion.c     if ((unsigned)src_x >= FFMAX((s->h_edge_pos >> 1) - (dxy  & 1) - 7, 0) ||
FFMAX             626 libavcodec/mpegvideo_motion.c         (unsigned)src_y >= FFMAX((s->v_edge_pos >> 1) - (dxy >> 1) - 7, 0)) {
FFMAX             783 libavcodec/mpegvideo_motion.c             if ((unsigned)src_x >= FFMAX(s->h_edge_pos - (motion_x & 3) - 7, 0) ||
FFMAX             784 libavcodec/mpegvideo_motion.c                 (unsigned)src_y >= FFMAX(s->v_edge_pos - (motion_y & 3) - 7, 0)) {
FFMAX             286 libavcodec/msmpeg4enc.c         unsigned fps = s->avctx->time_base.den / s->avctx->time_base.num / FFMAX(s->avctx->ticks_per_frame, 1);
FFMAX             597 libavcodec/mss12.c     avctx->coded_width  = FFMAX(AV_RB32(avctx->extradata + 20), avctx->width);
FFMAX             598 libavcodec/mss12.c     avctx->coded_height = FFMAX(AV_RB32(avctx->extradata + 24), avctx->height);
FFMAX              97 libavcodec/mv30.c     int factor = quant < 50 ? 5000 / FFMAX(quant, 1) : 200 - FFMIN(quant, 100) * 2;
FFMAX              65 libavcodec/mvha.c         bits[*pos] = (~pfx) & ((1ULL << FFMAX(pl, 1)) - 1);
FFMAX              66 libavcodec/mvha.c         lens[*pos] = FFMAX(pl, 1);
FFMAX             128 libavcodec/nellymoser.c         max = FFMAX(max, buf[i]);
FFMAX             264 libavcodec/nellymoserenc.c             idx_min = FFMAX(0, cand[band] - q);
FFMAX             266 libavcodec/nellymoserenc.c             for (i = FFMAX(0, cand[band - 1] - q); i < FFMIN(OPT_SIZE, cand[band - 1] + q); i++) {
FFMAX             331 libavcodec/nellymoserenc.c             log2(FFMAX(1.0, coeff_sum / (ff_nelly_band_sizes_table[band] << 7))) * 1024.0;
FFMAX             110 libavcodec/nuv.c     quality = FFMAX(quality, 1);
FFMAX             130 libavcodec/nuv.c                      + FFMAX(AV_LZO_OUTPUT_PADDING, AV_INPUT_BUFFER_PADDING_SIZE)
FFMAX             238 libavcodec/nuv.c         int outlen = c->decomp_size - FFMAX(AV_INPUT_BUFFER_PADDING_SIZE, AV_LZO_OUTPUT_PADDING);
FFMAX             245 libavcodec/nuv.c         buf_size = c->decomp_size - FFMAX(AV_INPUT_BUFFER_PADDING_SIZE, AV_LZO_OUTPUT_PADDING) - outlen;
FFMAX              82 libavcodec/nvdec_h264.c             .log2_max_pic_order_cnt_lsb_minus4    = FFMAX(sps->log2_max_poc_lsb - 4, 0),
FFMAX             808 libavcodec/nvenc.c     int nb_surfaces = FFMAX(4, ctx->encode_config.frameIntervalP * 2 * 2);
FFMAX             814 libavcodec/nvenc.c         nb_surfaces = FFMAX(1, FFMAX(nb_surfaces, ctx->rc_lookahead + ctx->encode_config.frameIntervalP + 1 + 4));
FFMAX             821 libavcodec/nvenc.c         ctx->nb_surfaces = FFMAX(nb_surfaces, ctx->nb_surfaces);
FFMAX             828 libavcodec/nvenc.c             ctx->nb_surfaces = FFMAX(ctx->nb_surfaces, nb_surfaces);
FFMAX             835 libavcodec/nvenc.c     ctx->nb_surfaces = FFMAX(1, FFMIN(MAX_REGISTERED_FRAMES, ctx->nb_surfaces));
FFMAX            1234 libavcodec/nvenc.c         ctx->dpb_size = FFMIN(FFMAX(avctx->refs, 0), 6);
FFMAX            1832 libavcodec/nvenc.c     pkt->dts -= FFMAX(avctx->max_b_frames, 0) * FFMIN(avctx->ticks_per_frame, 1);
FFMAX             502 libavcodec/opus.c             effective_lowband = FFMAX(ff_celt_freq_bands[f->start_band],
FFMAX             591 libavcodec/opus.c         quanta = FFMIN(quanta << 3, FFMAX(6 << 3, quanta));
FFMAX             612 libavcodec/opus.c             dynalloc = FFMAX(dynalloc - 1, 2);
FFMAX             659 libavcodec/opus.c         threshold[i] = FFMAX(3 * ff_celt_freq_range[i] << duration >> 4,
FFMAX             679 libavcodec/opus.c                 bandbits = FFMAX(bandbits + trim_offset[i], 0);
FFMAX             704 libavcodec/opus.c             bits1[i] = FFMAX(bits1[i] + trim_offset[i], 0);
FFMAX             706 libavcodec/opus.c             bits2[i] = FFMAX(bits2[i] + trim_offset[i], 0);
FFMAX             714 libavcodec/opus.c         bits2[i] = FFMAX(bits2[i] - bits1[i], 0);
FFMAX             771 libavcodec/opus.c         allocation += FFMAX(remaining - (ff_celt_freq_bands[j] - ff_celt_freq_bands[f->start_band]), 0);
FFMAX             775 libavcodec/opus.c         if (allocation >= FFMAX(threshold[j], (f->channels + 1) << 3)) {
FFMAX             848 libavcodec/opus.c             extrabits = FFMAX(f->pulses[i] - f->caps[i], 0);
FFMAX             866 libavcodec/opus.c             max_bits  = FFMAX(max_bits, 0);
FFMAX             877 libavcodec/opus.c             extrabits = FFMAX(f->pulses[i] - (f->channels << 3), 0);
FFMAX              72 libavcodec/opus_celt.c             block->energy[i] = FFMAX(-9.0f, block->energy[i]) * alpha + prev[j] + value;
FFMAX             255 libavcodec/opus_celt.c                 block->pf_period_new = FFMAX(period, CELT_POSTFILTER_MINPERIOD);
FFMAX             292 libavcodec/opus_celt.c             prev[0] = FFMAX(prev[0], block1->prev_energy[0][i]);
FFMAX             293 libavcodec/opus_celt.c             prev[1] = FFMAX(prev[1], block1->prev_energy[1][i]);
FFMAX             296 libavcodec/opus_celt.c         Ediff = FFMAX(0, Ediff);
FFMAX             392 libavcodec/opus_celt.c             f->block[0].energy[i] = FFMAX(f->block[0].energy[i], f->block[1].energy[i]);
FFMAX              29 libavcodec/opus_pvq.c #define CELT_PVQ_U(n, k) (ff_celt_pvq_u_row[FFMIN(n, k)][FFMAX(n, k)])
FFMAX             206 libavcodec/opus_rc.c     const int ps = FFMAX(opus_ilog(size - 1) - 8, 0);
FFMAX             394 libavcodec/opus_rc.c         rb_dst = dst + FFMAX(size - rc->rb.bytes, 0);
FFMAX             398 libavcodec/opus_rc.c         memcpy(&rb_dst[lap], &rb_src[lap], FFMAX(rc->rb.bytes - lap, 0));
FFMAX             110 libavcodec/opus_silk.c             center_val = FFMIN(max_center, FFMAX(min_center, center_val));
FFMAX             131 libavcodec/opus_silk.c         nlsf[i] = FFMAX(nlsf[i], FFMIN(nlsf[i - 1] + min_delta[i], 32767));
FFMAX             572 libavcodec/opus_silk.c                 log_gain = FFMAX(log_gain, frame->log_gain - 16);
FFMAX             576 libavcodec/opus_silk.c             log_gain = av_clip_uintp2(FFMAX((delta_gain<<1) - 16,
FFMAX             431 libavcodec/opusdec.c         delayed_samples = FFMAX(delayed_samples,
FFMAX             250 libavcodec/opusenc.c             block->energy[i] = FFMAX(block->energy[i], CELT_ENERGY_SILENCE);
FFMAX             312 libavcodec/opusenc.c         block->pf_period_new = FFMAX(period, CELT_POSTFILTER_MINPERIOD);
FFMAX             343 libavcodec/opusenc.c             const float last = FFMAX(-9.0f, last_energy[ch][i]);
FFMAX             157 libavcodec/opusenc_psy.c                 ex->excitation = FFMAX(ex->excitation, 0.0f);
FFMAX              95 libavcodec/pixlet.c     ctx->filter[1]  = av_malloc_array(FFMAX(ctx->h, ctx->w) + 16, sizeof(int16_t));
FFMAX             868 libavcodec/pngdec.c     length = FFMAX(length - cnt, 0);
FFMAX             875 libavcodec/pngdec.c     length = FFMAX(length - 1, 0);
FFMAX              77 libavcodec/pnm_parser.c                 unsigned step = FFMAX(1, pnmctx.bytestream - pnmctx.bytestream_start);
FFMAX            1099 libavcodec/proresenc_kostya.c                     delta = FFMAX(delta, 2 * max_slice_size);
FFMAX              36 libavcodec/psymodel.h     FFMAX(bit_rate/channels/5, bit_rate/channels*15/32 - 5500), \
FFMAX             150 libavcodec/qcelpdec.c         lspf[0] = FFMAX(lspf[0], QCELP_LSP_SPREAD_FACTOR);
FFMAX             152 libavcodec/qcelpdec.c             lspf[i] = FFMAX(lspf[i], lspf[i - 1] + QCELP_LSP_SPREAD_FACTOR);
FFMAX             527 libavcodec/qsvenc.c     q->param.mfx.GopPicSize         = FFMAX(0, avctx->gop_size);
FFMAX             528 libavcodec/qsvenc.c     q->param.mfx.GopRefDist         = FFMAX(-1, avctx->max_b_frames) + 1;
FFMAX             533 libavcodec/qsvenc.c     q->param.mfx.NumRefFrame        = FFMAX(0, avctx->refs);
FFMAX             601 libavcodec/qsvenc.c     brc_param_multiplier       = (FFMAX(FFMAX3(target_bitrate_kbps, max_bitrate_kbps, buffer_size_in_kilobytes),
FFMAX             126 libavcodec/ra288.c     sum = FFMAX(sum, 5.0 / (1<<24));
FFMAX              90 libavcodec/ralf.c         max_bits = FFMAX(max_bits, cur_len);
FFMAX             161 libavcodec/ralf.c     ctx->max_frame_size = FFMAX(ctx->max_frame_size, avctx->sample_rate);
FFMAX             331 libavcodec/ralf.c             acc = FFMAX(acc, min_clip);
FFMAX              61 libavcodec/ratecontrol.c     return 1.0 / av_q2d(avctx->time_base) / FFMAX(avctx->ticks_per_frame, 1);
FFMAX             180 libavcodec/ratecontrol.c                               FFMAX((min_rate - buffer_size + rcc->buffer_index) *
FFMAX             200 libavcodec/ratecontrol.c                               FFMAX(rcc->buffer_index *
FFMAX             377 libavcodec/ratecontrol.c         for (i = FFMAX(0, rcc->num_entries - 300); i < rcc->num_entries; i++) {
FFMAX             797 libavcodec/ratecontrol.c             mb_factor   = FFMAX(mb_factor,
FFMAX             801 libavcodec/ratecontrol.c             mb_factor   = FFMAX(mb_factor,
FFMAX             254 libavcodec/rawdec.c         frame->buf[0] = av_buffer_alloc(FFMAX(context->frame_size, buf_size));
FFMAX             186 libavcodec/roqaudioenc.c         context->input_frames = FFMAX(context->input_frames, 8);
FFMAX             560 libavcodec/rv10.c     init_get_bits(&s->gb, buf, FFMAX(buf_size, buf_size2) * 8);
FFMAX             757 libavcodec/rv10.c             offset + FFMAX(size, size2) > buf_size)
FFMAX             123 libavcodec/rv34.c             maxbits = FFMAX(maxbits, bits[i]);
FFMAX             891 libavcodec/rv34.c             ff_thread_await_progress(&s->next_picture_ptr->tf, FFMAX(0, s->mb_y-1), 0);
FFMAX            1737 libavcodec/rv34.c                 if (FFMAX(dist0, dist1) > refdist)
FFMAX             402 libavcodec/sanm.c             int npoints = FFMAX(FFABS(x1 - x0), FFABS(y1 - y0));
FFMAX             964 libavcodec/sanm.c         int ret = ff_set_dimensions(ctx->avctx, FFMAX(left + w, ctx->width),
FFMAX             965 libavcodec/sanm.c                                     FFMAX(top + h, ctx->height));
FFMAX             968 libavcodec/sanm.c         init_sizes(ctx, FFMAX(left + w, ctx->width),
FFMAX             969 libavcodec/sanm.c                    FFMAX(top + h, ctx->height));
FFMAX             132 libavcodec/shorten.c         if (FFMAX(1, s->nmean) >= UINT_MAX / sizeof(int32_t)) {
FFMAX             144 libavcodec/shorten.c                                FFMAX(1, s->nmean))) < 0)
FFMAX             188 libavcodec/shorten.c     int nblock = FFMAX(1, s->nmean);
FFMAX             459 libavcodec/shorten.c         if ((unsigned)skip_bytes > FFMAX(get_bits_left(&s->gb), 0)/8) {
FFMAX             467 libavcodec/shorten.c     s->nwrap = FFMAX(NWRAP, maxnlpc);
FFMAX             583 libavcodec/shorten.c             max_framesize = FFMAX(s->max_framesize, s->blocksize * s->channels * 8);
FFMAX              63 libavcodec/smvjpegdec.c         planes_nb = FFMAX(planes_nb, desc->comp[i].plane + 1);
FFMAX             377 libavcodec/snow.c         if(   (unsigned)sx >= FFMAX(w - b_w - (HTAPS_MAX-2), 0)
FFMAX             378 libavcodec/snow.c            || (unsigned)sy >= FFMAX(h - b_h - (HTAPS_MAX-2), 0)){
FFMAX             523 libavcodec/snow.c         FF_ALLOCZ_ARRAY_OR_GOTO(avctx, s->scratchbuf, FFMAX(s->mconly_picture->linesize[0], 2*avctx->width+256), 7*MB_SIZE, fail);
FFMAX             524 libavcodec/snow.c         emu_buf_size = FFMAX(s->mconly_picture->linesize[0], 2*avctx->width+256) * (2 * MB_SIZE + HTAPS_MAX - 1);
FFMAX             556 libavcodec/snowdec.c                 slice_starty = FFMAX(0, slice_starty - (block_h >> 1));
FFMAX             571 libavcodec/snowdec.c                         start_y = FFMAX(0, start_y - (block_h >> (1+s->spatial_decomposition_count - level)));
FFMAX             572 libavcodec/snowdec.c                         end_y = FFMAX(0, end_y - (block_h >> (1+s->spatial_decomposition_count - level)));
FFMAX             548 libavcodec/snowenc.c         for(y2= FFMAX(y, 0); y2<FFMIN(h, y+block_h); y2++){
FFMAX             549 libavcodec/snowenc.c             for(x2= FFMAX(x, 0); x2<FFMIN(w, x+block_w); x2++){
FFMAX             630 libavcodec/snowenc.c     int x0= FFMAX(0,-sx);
FFMAX             631 libavcodec/snowenc.c     int y0= FFMAX(0,-sy);
FFMAX            1135 libavcodec/snowenc.c                         int dia_size = s->iterative_dia_size ? s->iterative_dia_size : FFMAX(s->avctx->dia_size, 1);
FFMAX             112 libavcodec/tak_parser.c         pc->overread = FFMAX(0, -next);
FFMAX             236 libavcodec/tests/dct.c         sysErrMax = FFMAX(sysErrMax, FFABS(sysErr[i]));
FFMAX             237 libavcodec/tests/dct.c         err2_max  = FFMAX(err2_max , FFABS(err2_matrix[i]));
FFMAX            2024 libavcodec/tiff.c                 soff  = FFMAX(soff / s->bppcount, 1);
FFMAX             326 libavcodec/tiffenc.c         s->rps = FFMAX(8192 / (((s->width * s->bpp) >> 3) + 1), 1);
FFMAX             356 libavcodec/tiffenc.c     if (strips > INT_MAX / FFMAX(sizeof(s->strip_sizes[0]), sizeof(s->strip_offsets[0]))) {
FFMAX             147 libavcodec/truemotion2.c     return FFMAX(ret, ret2);
FFMAX             314 libavcodec/utils.c         w_align = FFMAX(w_align, 8);
FFMAX             331 libavcodec/utils.c         *width = FFMAX(*width, 32);
FFMAX             346 libavcodec/utils.c     align               = FFMAX(linesize_align[0], linesize_align[3]);
FFMAX             693 libavcodec/utvideodec.c                 max_slice_size = FFMAX(max_slice_size, slice_size);
FFMAX             719 libavcodec/utvideodec.c                 max_slice_size = FFMAX(max_slice_size, slice_size);
FFMAX             381 libavcodec/v4l2_buffers.c             planes_nb = FFMAX(planes_nb, desc->comp[i].plane + 1);
FFMAX            1093 libavcodec/vc1dec.c             s->start_mb_y = (i == 0) ? 0 : FFMAX(0, slices[i-1].mby_start % mb_height);
FFMAX             568 libavcodec/vc2enc.c             quants[level][orientation] = FFMAX(quant_idx - s->quant[level][orientation], 0);
FFMAX             629 libavcodec/vc2enc.c             quant = FFMAX(quant_buf[0], quant);
FFMAX             696 libavcodec/vc2enc.c             new_idx = FFMAX(args->quant_idx - 1, 0);
FFMAX             742 libavcodec/vc2enc.c             quants[level][orientation] = FFMAX(quant_idx - s->quant[level][orientation], 0);
FFMAX              55 libavcodec/videodsp_template.c     start_y = FFMAX(0, -src_y);
FFMAX              56 libavcodec/videodsp_template.c     start_x = FFMAX(0, -src_x);
FFMAX             335 libavcodec/vorbisenc.c         fc->nclasses = FFMAX(fc->nclasses, fc->partition_to_class[i]);
FFMAX             536 libavcodec/vorbisenc.c             bits = FFMAX(bits, ilog(cb->quantlist[i]));
FFMAX             751 libavcodec/vorbisenc.c     int begin = fc->list[fc->list[FFMAX(i-1, 0)].sort].x;
FFMAX             922 libavcodec/vorbisenc.c             max1 = FFMAX(max1, fabs(coeffs[          k / real_ch]));
FFMAX             923 libavcodec/vorbisenc.c             max2 = FFMAX(max2, fabs(coeffs[samples + k / real_ch]));
FFMAX            1947 libavcodec/vp3.c     ref_row = FFMAX(FFABS(ref_row), ref_row + 8 + border);
FFMAX            2266 libavcodec/vp3.c     s->superblock_coding = av_mallocz(FFMAX(s->superblock_count, s->yuv_macroblock_count));
FFMAX             384 libavcodec/vp8.c         s->qmat[i].luma_dc_qmul[1] = FFMAX(s->qmat[i].luma_dc_qmul[1], 8);
FFMAX            2144 libavcodec/vp8.c     interior_limit = FFMAX(interior_limit, 1);
FFMAX             663 libavcodec/vp9.c             limit = FFMAX(limit, 1);
FFMAX             776 libavcodec/vp9.c     max = FFMAX(0, max - 1);
FFMAX             317 libavcodec/vp9recon.c     ff_thread_await_progress(ref_frame, FFMAX(th, 0), 0);
FFMAX             356 libavcodec/vp9recon.c     ff_thread_await_progress(ref_frame, FFMAX(th, 0), 0);
FFMAX             447 libavcodec/vp9recon.c     ff_thread_await_progress(ref_frame, FFMAX(th, 0), 0);
FFMAX             517 libavcodec/vp9recon.c     ff_thread_await_progress(ref_frame, FFMAX(th, 0), 0);
FFMAX             308 libavcodec/webp.c         max_code_length = FFMAX(max_code_length, code_lengths[sym]);
FFMAX             489 libavcodec/webp.c             max = FFMAX(max, p);
FFMAX             715 libavcodec/webp.c                 distance = FFMAX(1, xi + yi * width);
FFMAX             736 libavcodec/webp.c             ref_x = FFMAX(0, ref_x);
FFMAX             737 libavcodec/webp.c             ref_y = FFMAX(0, ref_y);
FFMAX              97 libavcodec/webp_parser.c         ctx->pc.frame_start_found = FFMAX(ctx->pc.frame_start_found - i - 1, 0);
FFMAX             145 libavcodec/wmaenc.c         max_scale = FFMAX(max_scale, v);
FFMAX             518 libavcodec/wmalosslessdec.c             FFMAX(s->channel[ch].transient_counter, s->samples_per_frame / 2);
FFMAX            1085 libavcodec/wmaprodec.c                 FFMAX(s->channel[c].max_scale_factor, *sf);
FFMAX            1852 libavcodec/wmaprodec.c             s->xma[i].skip_packets = FFMAX(0, s->xma[i].skip_packets - 1);
FFMAX             551 libavcodec/wmavoice.c     const float *ptr = &in[-FFMAX(s->min_pitch_val, pitch - 3)],
FFMAX             616 libavcodec/wmavoice.c         max       = FFMAX(max, tmp); min = FFMIN(min, tmp); \
FFMAX             640 libavcodec/wmavoice.c         idx = FFMAX(0, idx);
FFMAX             651 libavcodec/wmavoice.c             coeffs[n] = wmavoice_energy_table[FFMAX(0, idx)];
FFMAX            1665 libavcodec/wmavoice.c     lsps[0]       = FFMAX(lsps[0],       0.0015 * M_PI);
FFMAX            1667 libavcodec/wmavoice.c         lsps[n]   = FFMAX(lsps[n],       lsps[n - 1] + 0.0125 * M_PI);
FFMAX             315 libavcodec/wmv2dec.c         diff = FFMAX(FFABS(A[0] - B[0]), FFABS(A[1] - B[1]));
FFMAX             184 libavcodec/x86/videodsp_init.c     start_y = FFMAX(0, -src_y);
FFMAX             185 libavcodec/x86/videodsp_init.c     start_x = FFMAX(0, -src_x);
FFMAX             242 libavcodec/xpmdec.c     len = FFMIN(FFMAX(len, 0), sizeof(color_name) - 1);
FFMAX              72 libavcodec/ylc.c         bits[*pos] = (~pfx) & ((1ULL << FFMAX(pl, 1)) - 1);
FFMAX              73 libavcodec/ylc.c         lens[*pos] = FFMAX(pl, 1);
FFMAX             625 libavdevice/decklink_enc.cpp     ctx->last_pts = FFMAX(ctx->last_pts, pkt->pts);
FFMAX             328 libavdevice/lavfi.c             avctx->probesize = FFMAX(avctx->probesize,
FFMAX             699 libavdevice/opengl_enc.c         int max = FFMIN(FFMAX(in_width, in_height), opengl->max_texture_size);
FFMAX             474 libavdevice/pulse_audio_enc.c         buffer_attributes.tlength = FFMAX(s->buffer_size, av_clip64(bytes, 0, UINT32_MAX - 1));
FFMAX              82 libavdevice/timefilter.c         self->cycle_time   += FFMAX(self->feedback2_factor, 1.0 / self->count) * loop_error;
FFMAX             549 libavdevice/v4l2.c     if (atomic_load(&s->buffers_queued) == FFMAX(s->buffers / 8, 1)) {
FFMAX             141 libavdevice/xcbgrab.c     c->x = FFMIN(FFMAX(0, x), geo->width  - w);
FFMAX             142 libavdevice/xcbgrab.c     c->y = FFMIN(FFMAX(0, y), geo->height - h);
FFMAX             355 libavdevice/xcbgrab.c     x = FFMAX(cx, gr->x);
FFMAX             356 libavdevice/xcbgrab.c     y = FFMAX(cy, gr->y);
FFMAX             198 libavfilter/af_acrusher.c     double phs = FFMIN(100., lfo->phase / FFMIN(1.99, FFMAX(0.01, lfo->pwidth)) + lfo->offset);
FFMAX             315 libavfilter/af_acrusher.c     s->smin = FFMAX(s->samples - rad, 1.);
FFMAX             147 libavfilter/af_adeclick.c     s->ar_order = FFMAX(s->window_size * s->ar / 100., 1);
FFMAX             428 libavfilter/af_adeclick.c             if (histogram[i] / (double)FFMAX(histogram[i - 1], 1) > threshold) {
FFMAX             201 libavfilter/af_adelay.c         s->max_delay = FFMAX(s->max_delay, d->delay);
FFMAX             243 libavfilter/af_aecho.c         s->max_samples = FFMAX(s->max_samples, s->samples[i]);
FFMAX             691 libavfilter/af_afftdn.c                 dnch->band_noise[i] = get_band_noise(s, i, 50.0, 500.5, 2125.0) + FFMAX(i - 7, 0);
FFMAX             695 libavfilter/af_afftdn.c                 dnch->band_noise[i] = get_band_noise(s, i, 1.0, 500.0, 1.0E10) + FFMAX(i - 12, -5);
FFMAX             711 libavfilter/af_afftdn.c         j = FFMAX((int)(10.0 * (1.3 - dnch->sfm_threshold)), 1);
FFMAX             341 libavfilter/af_afir.c         draw_line(out, i,   ymag, FFMAX(i - 1, 0),   prev_ymag, 0xFFFF00FF);
FFMAX             342 libavfilter/af_afir.c         draw_line(out, i, yphase, FFMAX(i - 1, 0), prev_yphase, 0xFF00FF00);
FFMAX             343 libavfilter/af_afir.c         draw_line(out, i, ydelay, FFMAX(i - 1, 0), prev_ydelay, 0xFF00FFFF);
FFMAX             549 libavfilter/af_afir.c         for (i = FFMAX(1, s->length * s->nb_taps); i < s->nb_taps; i++)
FFMAX             660 libavfilter/af_afir.c     wanted = FFMAX(s->min_part_size, (available / s->min_part_size) * s->min_part_size);
FFMAX              97 libavfilter/af_aformat.c     return FFMAX(ret, 0);
FFMAX             138 libavfilter/af_agate.c     return FFMAX(range, exp(gain - slope));
FFMAX             157 libavfilter/af_agate.c                 abs_sample = FFMAX(fabs(scsrc[c] * level_sc), abs_sample);
FFMAX             193 libavfilter/af_aiir.c     int nb_biquads = (FFMAX(iir->nb_ab[0], iir->nb_ab[1]) + 1) / 2;     \
FFMAX             504 libavfilter/af_aiir.c         int nb_biquads = (FFMAX(iir->nb_ab[0], iir->nb_ab[1]) + 1) / 2;
FFMAX             941 libavfilter/af_aiir.c         draw_line(out, i,   ymag, FFMAX(i - 1, 0),   prev_ymag, 0xFFFF00FF);
FFMAX             942 libavfilter/af_aiir.c         draw_line(out, i, yphase, FFMAX(i - 1, 0), prev_yphase, 0xFF00FF00);
FFMAX             943 libavfilter/af_aiir.c         draw_line(out, i, ydelay, FFMAX(i - 1, 0), prev_ydelay, 0xFF00FFFF);
FFMAX             105 libavfilter/af_alimiter.c             double delta = FFMAX((a_att - patt) / (sample_rate * release), rdelta / 10);
FFMAX             154 libavfilter/af_alimiter.c             peak = FFMAX(peak, fabs(sample));
FFMAX             205 libavfilter/af_alimiter.c             peak = FFMAX(peak, fabs(sample));
FFMAX             224 libavfilter/af_amix.c                 s->scale_norm[i] = FFMAX(s->scale_norm[i], weight_sum / FFABS(s->weights[i]));
FFMAX              81 libavfilter/af_apad.c         s->whole_len_left = FFMAX(s->whole_len_left - frame->nb_samples, 0);
FFMAX              94 libavfilter/af_apulsator.c     double phs = FFMIN(100, lfo->phase / FFMIN(1.99, FFMAX(0.01, lfo->pwidth)) + lfo->offset);
FFMAX             194 libavfilter/af_aresample.c         n_out += FFMIN(delay, FFMAX(4096, n_out));
FFMAX             814 libavfilter/af_arnndn.c         yy_lookup[i] = FFMAX(0, yy);
FFMAX             850 libavfilter/af_arnndn.c         thresh = FFMAX(.3f, (.7f * g0) - cont);
FFMAX             854 libavfilter/af_arnndn.c             thresh = FFMAX(.4f, (.85f * g0) - cont);
FFMAX             856 libavfilter/af_arnndn.c             thresh = FFMAX(.5f, (.9f * g0) - cont);
FFMAX             865 libavfilter/af_arnndn.c     best_xy = FFMAX(0, best_xy);
FFMAX             931 libavfilter/af_arnndn.c         Syy = FFMAX(1, Syy);
FFMAX             967 libavfilter/af_arnndn.c         xcorr[i] = FFMAX(-1, sum);
FFMAX            1057 libavfilter/af_arnndn.c         Ly[i] = FFMAX(logMax-7, FFMAX(follow-1.5, Ly[i]));
FFMAX            1058 libavfilter/af_arnndn.c         logMax = FFMAX(logMax, Ly[i]);
FFMAX            1059 libavfilter/af_arnndn.c         follow = FFMAX(follow-1.5, Ly[i]);
FFMAX            1257 libavfilter/af_arnndn.c             output[i] = FFMAX(0, output[i]);
FFMAX            1305 libavfilter/af_arnndn.c             sum = FFMAX(0, WEIGHTS_SCALE * sum);
FFMAX            1370 libavfilter/af_arnndn.c             g[i] = FFMAX(g[i], alpha * st->lastg[i]);
FFMAX              72 libavfilter/af_asetrate.c         if (av_q2d(intb) > 1.0 / FFMAX(inrate, outlink->sample_rate))
FFMAX             322 libavfilter/af_astats.c         p->max_diff = FFMAX(p->max_diff, fabs(d - p->last));
FFMAX             333 libavfilter/af_astats.c     p->max_index = FFMAX(p->max_index, index);
FFMAX             369 libavfilter/af_astats.c         p->max_sigma_x2 = FFMAX(p->max_sigma_x2, p->avg_sigma_x2);
FFMAX             434 libavfilter/af_astats.c         max = FFMAX(max, p->max);
FFMAX             436 libavfilter/af_astats.c         nmax = FFMAX(nmax, p->nmax);
FFMAX             438 libavfilter/af_astats.c         max_diff = FFMAX(max_diff, p->max_diff);
FFMAX             442 libavfilter/af_astats.c         max_sigma_x2 = FFMAX(max_sigma_x2, p->max_sigma_x2);
FFMAX             445 libavfilter/af_astats.c         noise_floor = FFMAX(noise_floor, p->noise_floor);
FFMAX             475 libavfilter/af_astats.c             set_meta(metadata, c + 1, "Peak_level", "%f", LINEAR_TO_DB(FFMAX(-p->nmin, p->nmax)));
FFMAX             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);
FFMAX             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));
FFMAX             526 libavfilter/af_astats.c         set_meta(metadata, 0, "Overall.Peak_level", "%f", LINEAR_TO_DB(FFMAX(-nmin, nmax)));
FFMAX             682 libavfilter/af_astats.c         max = FFMAX(max, p->max);
FFMAX             684 libavfilter/af_astats.c         nmax = FFMAX(nmax, p->nmax);
FFMAX             686 libavfilter/af_astats.c         max_diff = FFMAX(max_diff, p->max_diff);
FFMAX             690 libavfilter/af_astats.c         max_sigma_x2 = FFMAX(max_sigma_x2, p->max_sigma_x2);
FFMAX             693 libavfilter/af_astats.c         noise_floor = FFMAX(noise_floor, p->noise_floor);
FFMAX             724 libavfilter/af_astats.c             av_log(ctx, AV_LOG_INFO, "Peak level dB: %f\n", LINEAR_TO_DB(FFMAX(-p->nmin, p->nmax)));
FFMAX             733 libavfilter/af_astats.c             av_log(ctx, AV_LOG_INFO, "Crest factor: %f\n", p->sigma_x2 ? FFMAX(-p->nmin, p->nmax) / sqrt(p->sigma_x2 / p->nb_samples) : 1);
FFMAX             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));
FFMAX             776 libavfilter/af_astats.c         av_log(ctx, AV_LOG_INFO, "Peak level dB: %f\n", LINEAR_TO_DB(FFMAX(-nmin, nmax)));
FFMAX             658 libavfilter/af_atempo.c     i0 = FFMAX(window / 2 - delta_max - drift, 0);
FFMAX             662 libavfilter/af_atempo.c     i1 = FFMAX(i1, 0);
FFMAX             772 libavfilter/af_atempo.c     const int64_t start_here = FFMAX(atempo->position[1],
FFMAX             959 libavfilter/af_atempo.c     start_here = FFMAX(atempo->position[1], overlap_end);
FFMAX             186 libavfilter/af_axcorrelate.c             den_sumx[0]  = FFMAX(den_sumx[0], 0.f);
FFMAX             189 libavfilter/af_axcorrelate.c             den_sumy[0]  = FFMAX(den_sumy[0], 0.f);
FFMAX             207 libavfilter/af_chorus.c         s->max_samples = FFMAX(s->max_samples, samples);
FFMAX             123 libavfilter/af_drmeter.c     p->peak = FFMAX(FFABS(sample), p->peak);
FFMAX             401 libavfilter/af_dynaudnorm.c                 max = FFMAX(max, fabs(data_ptr[i]));
FFMAX             407 libavfilter/af_dynaudnorm.c             max = FFMAX(max, fabs(data_ptr[i]));
FFMAX             437 libavfilter/af_dynaudnorm.c     return FFMAX(sqrt(rms_value), DBL_EPSILON);
FFMAX             612 libavfilter/af_dynaudnorm.c     return FFMAX(sqrt(variance), DBL_EPSILON);
FFMAX             566 libavfilter/af_firequalizer.c     s->cepstrum_buf[0] = log(FFMAX(s->cepstrum_buf[0], minval));
FFMAX             567 libavfilter/af_firequalizer.c     s->cepstrum_buf[1] = log(FFMAX(s->cepstrum_buf[1], minval));
FFMAX             570 libavfilter/af_firequalizer.c         s->cepstrum_buf[k] = log(FFMAX(s->cepstrum_buf[k], minval));
FFMAX             768 libavfilter/af_firequalizer.c     s->fir_len = FFMAX(2 * (int)(inlink->sample_rate * s->delay) + 1, 3);
FFMAX             876 libavfilter/af_firequalizer.c     s->frame_nsamples_max = FFMAX(s->frame_nsamples_max, frame->nb_samples);
FFMAX            1106 libavfilter/af_hdcd.c                     states[i].max_gain = FFMAX(states[i].max_gain, (states[i].control & 15));
FFMAX             349 libavfilter/af_headphone.c     s->ir_len = FFMAX(ir_len, s->ir_len);
FFMAX             352 libavfilter/af_mcompand.c     s->nb_bands = FFMAX(1, nb_bands);
FFMAX             475 libavfilter/af_mcompand.c             max_delay_size = FFMAX(max_delay_size, s->bands[i].delay * outlink->sample_rate);
FFMAX             391 libavfilter/af_replaygain.c     *peak_p = FFMAX(peak, *peak_p);
FFMAX             181 libavfilter/af_sidechaincompress.c                 abs_sample = FFMAX(fabs(scsrc[c] * level_sc), abs_sample);
FFMAX             210 libavfilter/af_silenceremove.c     s->window_size = FFMAX((inlink->sample_rate * s->window_ratio), 1) * inlink->channels;
FFMAX             226 libavfilter/af_silenceremove.c     s->start_holdoff = av_malloc_array(FFMAX(s->start_duration, 1),
FFMAX             232 libavfilter/af_silenceremove.c     s->start_silence_hold = av_malloc_array(FFMAX(s->start_silence, 1),
FFMAX             242 libavfilter/af_silenceremove.c     s->stop_holdoff = av_malloc_array(FFMAX(s->stop_duration, 1),
FFMAX             248 libavfilter/af_silenceremove.c     s->stop_silence_hold = av_malloc_array(FFMAX(s->stop_silence, 1),
FFMAX             828 libavfilter/af_sofalizer.c     n_max = FFMAX(n_max, n_current);
FFMAX             184 libavfilter/af_stereotools.c         gl = 1. - FFMAX(0., balance_in);
FFMAX             194 libavfilter/af_stereotools.c                 gr = FFMAX(0.5, gr);
FFMAX             197 libavfilter/af_stereotools.c                 gl = FFMAX(0.5, gl);
FFMAX             293 libavfilter/af_stereotools.c         gl = 1. - FFMAX(0., balance_out);
FFMAX             303 libavfilter/af_stereotools.c                 gr = FFMAX(0.5, gr);
FFMAX             306 libavfilter/af_stereotools.c                 gl = FFMAX(0.5, gl);
FFMAX             341 libavfilter/af_surround.c     *x = av_clipf(a+a*FFMAX(0, p*p-M_PI_2), -1, 1);
FFMAX              99 libavfilter/avf_abitscope.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
FFMAX             123 libavfilter/avf_ahistogram.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
FFMAX             258 libavfilter/avf_ahistogram.c         acmax = FFMAX(s->achistogram[n] - s->shistogram[n], acmax);
FFMAX             109 libavfilter/avf_aphasemeter.c         nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
FFMAX             172 libavfilter/avf_avectorscope.c                 d[j+0] = FFMAX(d[j+0] - s->fade[0], 0);
FFMAX             173 libavfilter/avf_avectorscope.c                 d[j+1] = FFMAX(d[j+1] - s->fade[1], 0);
FFMAX             174 libavfilter/avf_avectorscope.c                 d[j+2] = FFMAX(d[j+2] - s->fade[2], 0);
FFMAX             175 libavfilter/avf_avectorscope.c                 d[j+3] = FFMAX(d[j+3] - s->fade[3], 0);
FFMAX             214 libavfilter/avf_avectorscope.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
FFMAX             273 libavfilter/avf_avectorscope.c                 max = FFMAX(FFABS(sample), max);
FFMAX             282 libavfilter/avf_avectorscope.c                 max = FFMAX(FFABS(samples[i]), max);
FFMAX             236 libavfilter/avf_concat.c         pts = FFMAX(pts, cat->in[i].pts);
FFMAX             256 libavfilter/avf_concat.c     frame_nb_samples = FFMAX(9600, rate_tb.den / 5); /* arbitrary */
FFMAX             324 libavfilter/avf_showcqt.c         start = FFMAX(0, ceil(center - 0.5 * flen));
FFMAX            1379 libavfilter/avf_showcqt.c     s->fft_bits = FFMAX(ceil(log2(inlink->sample_rate * s->timeclamp)), 4);
FFMAX            1629 libavfilter/avf_showspectrum.c         spf = FFMAX(1, spf);
FFMAX             152 libavfilter/avf_showvolume.c         *peak = FFMAX(*peak, FFABS(src[i]));
FFMAX             168 libavfilter/avf_showvolume.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
FFMAX             190 libavfilter/avf_showvolume.c         s->persistent_max_frames = (int) FFMAX(av_q2d(s->frame_rate) * s->draw_persistent_duration, 1.);
FFMAX             345 libavfilter/avf_showvolume.c                 dst[k * 4 + 0] = FFMAX(dst[k * 4 + 0] * s->f, 0);
FFMAX             346 libavfilter/avf_showvolume.c                 dst[k * 4 + 1] = FFMAX(dst[k * 4 + 1] * s->f, 0);
FFMAX             347 libavfilter/avf_showvolume.c                 dst[k * 4 + 2] = FFMAX(dst[k * 4 + 2] * s->f, 0);
FFMAX             348 libavfilter/avf_showvolume.c                 dst[k * 4 + 3] = FFMAX(dst[k * 4 + 3] * s->f, alpha);
FFMAX             386 libavfilter/avf_showvolume.c                 max_draw = FFMAX(0, calc_max_draw(s, outlink, s->max_persistent[c]) - 1);
FFMAX             422 libavfilter/avf_showvolume.c                 max_draw = FFMAX(0, calc_max_draw(s, outlink, s->max_persistent[c]) - 1);
FFMAX             443 libavfilter/avf_showvolume.c             drawtext(out, FFMAX(0, s->w - 8 * (int)strlen(buf)), c * (s->h + s->b) + (s->h - 8) / 2, buf, 0);
FFMAX             420 libavfilter/avf_showwaves.c         showwaves->n = FFMAX(1, av_rescale_q(inlink->sample_rate, av_make_q(1, showwaves->w), showwaves->rate));
FFMAX             195 libavfilter/avfilter.c     filter->ready = FFMAX(filter->ready, priority);
FFMAX             156 libavfilter/dnn/dnn_backend_native_layer_conv2d.c                     output[n_filter] = FFMAX(output[n_filter], 0.0);
FFMAX             167 libavfilter/dnn/dnn_backend_native_layer_conv2d.c                     output[n_filter] = FFMAX(output[n_filter], 0.0) + 0.2 * FFMIN(output[n_filter], 0.0);
FFMAX              77 libavfilter/dnn/dnn_backend_native_layer_maximum.c         dst[i] = FFMAX(src[i], params->val.y);
FFMAX             214 libavfilter/drawutils.c         nb_planes = FFMAX(nb_planes, c->plane + 1);
FFMAX             241 libavfilter/ebur128.c         st->d->window = FFMAX(window, 3000);
FFMAX             243 libavfilter/ebur128.c         st->d->window = FFMAX(window, 400);
FFMAX              79 libavfilter/f_bench.c             s->max = FFMAX(s->max, diff);
FFMAX             609 libavfilter/f_ebur128.c                 ebur128->true_peaks[ch] = FFMAX(ebur128->true_peaks[ch], fabs(*swr_samples));
FFMAX             610 libavfilter/f_ebur128.c                 ebur128->true_peaks_per_frame[ch] = FFMAX(ebur128->true_peaks_per_frame[ch],
FFMAX             637 libavfilter/f_ebur128.c                 ebur128->sample_peaks[ch] = FFMAX(ebur128->sample_peaks[ch], fabs(*samples));
FFMAX             971 libavfilter/f_ebur128.c             maxpeak = FFMAX(maxpeak, sp[ch]);                    \
FFMAX             146 libavfilter/f_loop.c                 drain = FFMAX(0, s->start - s->ignored_samples);
FFMAX             135 libavfilter/f_metadata.c     return !strncmp(value1 + FFMAX(len1 - len2, 0), value2, len2);
FFMAX             240 libavfilter/f_sendcmd.c             n = FFMAX(16, 2*n); /* first allocation = 16, or double the number */
FFMAX             379 libavfilter/f_sendcmd.c             n = FFMAX(16, 2*n); /* first allocation = 16, or double the number */
FFMAX             107 libavfilter/framesync.c             level = FFMAX(level, fs->in[i].sync);
FFMAX              78 libavfilter/graphdump.c             max_src_name = FFMAX(max_src_name, ln);
FFMAX              79 libavfilter/graphdump.c             max_in_name = FFMAX(max_in_name, strlen(l->dstpad->name));
FFMAX              80 libavfilter/graphdump.c             max_in_fmt = FFMAX(max_in_fmt, print_link_prop(NULL, l));
FFMAX              85 libavfilter/graphdump.c             max_dst_name = FFMAX(max_dst_name, ln);
FFMAX              86 libavfilter/graphdump.c             max_out_name = FFMAX(max_out_name, strlen(l->srcpad->name));
FFMAX              87 libavfilter/graphdump.c             max_out_fmt = FFMAX(max_out_fmt, print_link_prop(NULL, l));
FFMAX              91 libavfilter/graphdump.c         width = FFMAX(lname + 2, ltype + 4);
FFMAX              73 libavfilter/median_template.c     srcp = src + FFMAX(0, slice_h_start - radiusV) * src_linesize;
FFMAX              81 libavfilter/median_template.c     srcp = src + FFMAX(0, slice_h_start - radiusV - (jobnr != 0)) * src_linesize;
FFMAX              97 libavfilter/median_template.c         p = srcp + src_linesize * FFMAX(0, i - radiusV - 1);
FFMAX             140 libavfilter/median_template.c                     s->hsub(fine[k], &cfine[BINS * (width * k + FFMAX(luc[k] - 2 * radius - 1, 0))], BINS);
FFMAX             145 libavfilter/median_template.c             s->hsub(coarse, &ccoarse[BINS * FFMAX(j - radius, 0)], BINS);
FFMAX              80 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX              81 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX              99 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             100 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             130 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             131 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             162 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             163 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             215 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             216 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             247 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             248 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             302 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             303 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             335 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             336 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             376 libavfilter/motion_estimation.c     int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param);
FFMAX             377 libavfilter/motion_estimation.c     int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param);
FFMAX             408 libavfilter/motion_estimation.c     for (y = FFMAX(y_min, mv[1] - 2); y <= end_y; y++)
FFMAX             409 libavfilter/motion_estimation.c         for (x = FFMAX(x_min, mv[0] - 2); x <= end_x; x++)
FFMAX              81 libavfilter/pthread.c     return FFMAX(nb_threads, 1);
FFMAX             163 libavfilter/scale_eval.c              w = FFMAX(tmp_w, w);
FFMAX             164 libavfilter/scale_eval.c              h = FFMAX(tmp_h, h);
FFMAX             488 libavfilter/signature_lookup.c         if ((double) goodfcount*0.5 < FFMAX(gooda, goodb))
FFMAX             292 libavfilter/src_movie.c         movie->max_stream_index = FFMAX(movie->max_stream_index, st->index);
FFMAX             279 libavfilter/trim.c             end_sample = FFMAX(end_sample, s->end_sample - s->nb_samples);
FFMAX             285 libavfilter/trim.c             end_sample = FFMAX(end_sample, s->end_pts - pts);
FFMAX             290 libavfilter/trim.c             end_sample = FFMAX(end_sample, s->first_pts + s->duration_tb - pts);
FFMAX             301 libavfilter/trim.c     start_sample   = FFMAX(0, start_sample);
FFMAX             220 libavfilter/vaf_spectrumsynth.c     s->factor = (factor / s->win_size) / FFMAX(1 / (1 - s->overlap) - 1, 1);
FFMAX             293 libavfilter/vf_blend.c #define BURN(a, b)        (((a) == 0) ? (a) : FFMAX(0, 255 - ((255 - (b)) << 8) / (a)))
FFMAX             299 libavfilter/vf_blend.c DEFINE_BLEND8(subtract,   FFMAX(0, A - B))
FFMAX             313 libavfilter/vf_blend.c DEFINE_BLEND8(lighten,    FFMAX(A, B))
FFMAX             319 libavfilter/vf_blend.c DEFINE_BLEND8(pinlight,   (B < 128) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 128)))
FFMAX             320 libavfilter/vf_blend.c DEFINE_BLEND8(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 255)
FFMAX             336 libavfilter/vf_blend.c #define BURN(a, b)        (((a) == 0) ? (a) : FFMAX(0, 65535 - ((65535 - (b)) << 16) / (a)))
FFMAX             342 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 16)
FFMAX             356 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 16)
FFMAX             362 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 32768) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 32768)), 16)
FFMAX             363 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 65535, 16)
FFMAX             379 libavfilter/vf_blend.c #define BURN(a, b)        (((a) == 0) ? (a) : FFMAX(0, 1023 - ((1023 - (b)) << 10) / (a)))
FFMAX             385 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 10)
FFMAX             399 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 10)
FFMAX             405 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 512) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 512)), 10)
FFMAX             406 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 1023, 10)
FFMAX             422 libavfilter/vf_blend.c #define BURN(a, b)        (((a) == 0) ? (a) : FFMAX(0, 4095 - ((4095 - (b)) << 12) / (a)))
FFMAX             428 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 12)
FFMAX             442 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 12)
FFMAX             448 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 2048) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 2048)), 12)
FFMAX             449 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 4095, 12)
FFMAX             465 libavfilter/vf_blend.c #define BURN(a, b)        (((a) == 0) ? (a) : FFMAX(0, 511 - ((511 - (b)) << 9) / (a)))
FFMAX             471 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 9)
FFMAX             485 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 9)
FFMAX             491 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 256) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 256)), 9)
FFMAX             492 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 511, 9)
FFMAX             508 libavfilter/vf_blend.c #define BURN(a, b)        (((a) <= 0.0) ? (a) : FFMAX(0.0, 1.0 - (1.0 - (b)) / (a)))
FFMAX             528 libavfilter/vf_blend.c DEFINE_BLEND32(lighten,    FFMAX(A, B), 32)
FFMAX             534 libavfilter/vf_blend.c DEFINE_BLEND32(pinlight,   (B < 0.5) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 0.5)), 32)
FFMAX             535 libavfilter/vf_blend.c DEFINE_BLEND32(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 1.0, 32)
FFMAX             612 libavfilter/vf_bm3d.c     l2_wiener = FFMAX(l2_wiener, 1e-15f);
FFMAX             713 libavfilter/vf_bm3d.c     const int block_pos_bottom = FFMAX(0, height - s->block_size);
FFMAX             714 libavfilter/vf_bm3d.c     const int block_pos_right  = FFMAX(0, width - s->block_size);
FFMAX             755 libavfilter/vf_bm3d.c         const int nb_jobs = FFMAX(1, FFMIN(s->nb_threads, s->planeheight[p] / s->block_size));
FFMAX              83 libavfilter/vf_boxblur.c     if (!(s->temp[0] = av_malloc(2*FFMAX(w, h))) ||
FFMAX              84 libavfilter/vf_boxblur.c         !(s->temp[1] = av_malloc(2*FFMAX(w, h))))
FFMAX              89 libavfilter/vf_bwdif.c             int min = FFMIN3(de, dc, FFMAX(b, f)); \
FFMAX              74 libavfilter/vf_cas.c             const int y0 = FFMAX(y - 1, 0);
FFMAX              77 libavfilter/vf_cas.c                 const int x0 = FFMAX(x - 1, 0);
FFMAX             141 libavfilter/vf_cas.c             const int y0 = FFMAX(y - 1, 0);
FFMAX             144 libavfilter/vf_cas.c                 const int x0 = FFMAX(x - 1, 0);
FFMAX             122 libavfilter/vf_colorbalance.c     return av_clipf(l - a * FFMAX(FFMIN3(k - 3.f, 9.f - k, 1), -1.f), 0, 1);
FFMAX             461 libavfilter/vf_colorconstancy.c                     dst[jobnr] = FFMAX( dst[jobnr], fabs(src[INDX2D(r, c, width)])
FFMAX             511 libavfilter/vf_colorconstancy.c                 white[plane] = FFMAX(white[plane] , td.data[INDEX_DST][plane][job]);
FFMAX             221 libavfilter/vf_colorlevels.c                         imax = FFMAX(imax, src[x + offset]);
FFMAX             273 libavfilter/vf_colorlevels.c                         imax = FFMAX(imax, src[x + offset]);
FFMAX             121 libavfilter/vf_convolve.c         int n = FFMAX(w, h);
FFMAX             497 libavfilter/vf_convolve.c             total = FFMAX(1, total);
FFMAX             196 libavfilter/vf_cropdetect.c         FIND(s->y2, frame->height - 1, y > FFMAX(s->y2, s->y1), -1, frame->linesize[0], bpp, frame->width);
FFMAX             198 libavfilter/vf_cropdetect.c         FIND(s->x2,  frame->width - 1, y > FFMAX(s->x2, s->x1), -1, bpp, frame->linesize[0], frame->height);
FFMAX             185 libavfilter/vf_datascope.c     const int P = FFMAX(s->nb_planes, s->nb_comps);
FFMAX             228 libavfilter/vf_datascope.c     const int P = FFMAX(s->nb_planes, s->nb_comps);
FFMAX             267 libavfilter/vf_datascope.c     const int P = FFMAX(s->nb_planes, s->nb_comps);
FFMAX             316 libavfilter/vf_datascope.c         const int P = FFMAX(s->nb_planes, s->nb_comps);
FFMAX             353 libavfilter/vf_datascope.c     ctx->internal->execute(ctx, s->filter, &td, NULL, FFMIN(ff_filter_get_nb_threads(ctx), FFMAX(outlink->w / 20, 1)));
FFMAX             602 libavfilter/vf_datascope.c                 max[i]      = FFMAX(max[i], value[i]);
FFMAX            1042 libavfilter/vf_datascope.c                 max[c] = FFMAX(max[c], s->values[i].p[s->rgba_map[c]]);
FFMAX             680 libavfilter/vf_dctdnoiz.c     const int slice_start_ctx = FFMAX(slice_start - s->bsize + 1, 0);
FFMAX             114 libavfilter/vf_delogo.c     xclipl = FFMAX(-logo_x, 0);
FFMAX             115 libavfilter/vf_delogo.c     xclipr = FFMAX(logo_x+logo_w-w, 0);
FFMAX             116 libavfilter/vf_delogo.c     yclipt = FFMAX(-logo_y, 0);
FFMAX             117 libavfilter/vf_delogo.c     yclipb = FFMAX(logo_y+logo_h-h, 0);
FFMAX             180 libavfilter/vf_delogo.c                     dist = FFMAX(dist, logo_x-x+band);
FFMAX             182 libavfilter/vf_delogo.c                     dist = FFMAX(dist, x-(logo_x+logo_w-1-band));
FFMAX             185 libavfilter/vf_delogo.c                     dist = FFMAX(dist, logo_y-y+band);
FFMAX             187 libavfilter/vf_delogo.c                     dist = FFMAX(dist, y-(logo_y+logo_h-1-band));
FFMAX             513 libavfilter/vf_deshake_opencl.c     num = FFMAX(1.0 - confidence, DBL_MIN);
FFMAX             541 libavfilter/vf_deshake_opencl.c     int iter, niters = FFMAX(max_iters, 1);
FFMAX             572 libavfilter/vf_deshake_opencl.c         if (good_count > FFMAX(max_good_count, 2)) {
FFMAX              70 libavfilter/vf_despill.c                 spillmap = FFMAX(blue  - (red * spillmix + green * factor), 0.f);
FFMAX              72 libavfilter/vf_despill.c                 spillmap = FFMAX(green - (red * spillmix + blue  * factor), 0.f);
FFMAX              75 libavfilter/vf_despill.c             red   = FFMAX(red   + spillmap * redscale   + brightness * spillmap, 0.f);
FFMAX              76 libavfilter/vf_despill.c             green = FFMAX(green + spillmap * greenscale + brightness * spillmap, 0.f);
FFMAX              77 libavfilter/vf_despill.c             blue  = FFMAX(blue  + spillmap * bluescale  + brightness * spillmap, 0.f);
FFMAX              92 libavfilter/vf_detelecine.c         max = FFMAX(*p - '0', max);
FFMAX             224 libavfilter/vf_drawbox.c         for (y = FFMAX(yb, 0); y < frame->height && y < (yb + s->h); y++) {
FFMAX             233 libavfilter/vf_drawbox.c                 for (x = FFMAX(xb, 0); x < xb + s->w && x < frame->width; x++)
FFMAX             237 libavfilter/vf_drawbox.c                 for (x = FFMAX(xb, 0); x < xb + s->w && x < frame->width; x++) {
FFMAX             248 libavfilter/vf_drawbox.c         for (y = FFMAX(yb, 0); y < frame->height && y < (yb + s->h); y++) {
FFMAX             256 libavfilter/vf_drawbox.c                 for (x = FFMAX(xb, 0); x < xb + s->w && x < frame->width; x++)
FFMAX             260 libavfilter/vf_drawbox.c                 for (x = FFMAX(xb, 0); x < xb + s->w && x < frame->width; x++) {
FFMAX            1383 libavfilter/vf_drawtext.c         y_max = FFMAX(glyph->bbox.yMax, y_max);
FFMAX            1385 libavfilter/vf_drawtext.c         x_max = FFMAX(glyph->bbox.xMax, x_max);
FFMAX            1403 libavfilter/vf_drawtext.c             max_text_line_w = FFMAX(max_text_line_w, x);
FFMAX            1429 libavfilter/vf_drawtext.c     max_text_line_w = FFMAX(x, max_text_line_w);
FFMAX            1458 libavfilter/vf_drawtext.c         int boxoffset     = s->draw_box ? FFMAX(s->boxborderw, 0) : 0;
FFMAX            1459 libavfilter/vf_drawtext.c         int borderoffset  = s->borderw  ? FFMAX(s->borderw, 0) : 0;
FFMAX            1476 libavfilter/vf_drawtext.c             s->x = FFMAX(width - box_w - offsetright, 0);
FFMAX            1478 libavfilter/vf_drawtext.c             s->y = FFMAX(height - box_h - offsetbottom, 0);
FFMAX             408 libavfilter/vf_fftdnoiz.c                     factor = FFMAX((power - sigma) / power, limit);
FFMAX             412 libavfilter/vf_fftdnoiz.c                     factor = FFMAX((power - sigma) / power, limit);
FFMAX             416 libavfilter/vf_fftdnoiz.c                     factor = FFMAX((power - sigma) / power, limit);
FFMAX             465 libavfilter/vf_fftdnoiz.c                     factor = FFMAX(limit, (power - sigma) / power);
FFMAX             469 libavfilter/vf_fftdnoiz.c                     factor = FFMAX(limit, (power - sigma) / power);
FFMAX             507 libavfilter/vf_fftdnoiz.c                     factor = FFMAX(limit, (power - sigma) / power);
FFMAX             153 libavfilter/vf_fieldhint.c                 if (tf > outlink->frame_count_in + 1 || tf < FFMAX(0, outlink->frame_count_in - 1) ||
FFMAX             154 libavfilter/vf_fieldhint.c                     bf > outlink->frame_count_in + 1 || bf < FFMAX(0, outlink->frame_count_in - 1)) {
FFMAX             451 libavfilter/vf_fieldmatch.c                                 for (u = FFMAX(x-4,0); u < FFMIN(x+5,width); u++) {
FFMAX             585 libavfilter/vf_fieldmatch.c         FFMAX(accumPml,accumNml) > 3*FFMIN(accumPml,accumNml)) {
FFMAX             594 libavfilter/vf_fieldmatch.c     c1 = ((float)FFMAX(norm1,norm2)) / ((float)FFMAX(FFMIN(norm1,norm2),1));
FFMAX             595 libavfilter/vf_fieldmatch.c     c2 = ((float)FFMAX(mtn1, mtn2))  / ((float)FFMAX(FFMIN(mtn1, mtn2), 1));
FFMAX             596 libavfilter/vf_fieldmatch.c     mr = ((float)FFMAX(mtn1, mtn2))  / ((float)FFMAX(FFMAX(norm1,norm2),1));
FFMAX             602 libavfilter/vf_fieldmatch.c     else if (mr > 0.005 && FFMAX(mtn1, mtn2) > 150 && (mtn1*2 < mtn2*1 || mtn2*2 < mtn1*1))
FFMAX             162 libavfilter/vf_find_rect.c         xmin = FFMAX(xmin, 2*sub_x - 4);
FFMAX             164 libavfilter/vf_find_rect.c         ymin = FFMAX(ymin, 2*sub_y - 4);
FFMAX             195 libavfilter/vf_find_rect.c                         FFMAX(foc->xmin, foc->last_x - 8),
FFMAX             197 libavfilter/vf_find_rect.c                         FFMAX(foc->ymin, foc->last_y - 8),
FFMAX             149 libavfilter/vf_framerate.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(FFMAX(1, outlink->h >> 2), ff_filter_get_nb_threads(ctx)));
FFMAX              64 libavfilter/vf_gradfun.c         m = FFMAX(0, 127 - m);
FFMAX             267 libavfilter/vf_histogram.c         outlink->w = s->width * FFMAX(ncomp * (s->display_mode == 1), 1);
FFMAX             268 libavfilter/vf_histogram.c         outlink->h = s->histogram_size * FFMAX(ncomp * (s->display_mode == 2), 1);
FFMAX             270 libavfilter/vf_histogram.c         outlink->w = s->histogram_size * FFMAX(ncomp * (s->display_mode == 1), 1);
FFMAX             271 libavfilter/vf_histogram.c         outlink->h = (s->level_height + s->scale_height) * FFMAX(ncomp * (s->display_mode == 2), 1);
FFMAX             353 libavfilter/vf_histogram.c             max_hval = FFMAX(max_hval, s->histogram[i]);
FFMAX             365 libavfilter/vf_histogram.c                     maxh = FFMAX(maxh, i);
FFMAX             184 libavfilter/vf_hqdn3d.c         simil = FFMAX(0, 1.0 - fabs(f) / 255.0);
FFMAX             105 libavfilter/vf_lagfun.c                 dst[x] = FFMAX(src[x], osrc[x] * decay);
FFMAX             141 libavfilter/vf_lagfun.c                 dst[x] = FFMAX(src[x], osrc[x] * decay);
FFMAX             164 libavfilter/vf_libopencv.c             *cols = FFMAX(*cols, w);
FFMAX             890 libavfilter/vf_lut3d.c                         in_max[i] = FFMAX(in_max[i], v);
FFMAX             903 libavfilter/vf_lut3d.c                         out_max[i] = FFMAX(out_max[i], v);
FFMAX            1737 libavfilter/vf_lut3d.c     float y0 = lut1d->lut[idx][FFMAX(prev - 1, 0)];
FFMAX            1760 libavfilter/vf_lut3d.c     float y0 = lut1d->lut[idx][FFMAX(prev - 1, 0)];
FFMAX             181 libavfilter/vf_maskedclamp.c         dst[x] = FFMAX(bsrc[x], darksrc[x] - undershoot);                         \
FFMAX             150 libavfilter/vf_median.c     s->nb_threads = FFMAX(1, FFMIN(s->planeheight[1] / (s->radiusV + 1), ff_filter_get_nb_threads(inlink->dst)));
FFMAX              86 libavfilter/vf_mergeplanes.c         s->nb_inputs = FFMAX(s->nb_inputs, s->map[i][1] + 1);
FFMAX             682 libavfilter/vf_minterpolate.c                         for (y = FFMAX(mb_y - d, 0); y < FFMIN(mb_y + d + 1, mi_ctx->b_height); y++)
FFMAX             683 libavfilter/vf_minterpolate.c                             for (x = FFMAX(mb_x - d, 0); x < FFMIN(mb_x + d + 1, mi_ctx->b_width); x++) {
FFMAX             706 libavfilter/vf_minterpolate.c                     c_max = FFMAX(c_max, c);
FFMAX             718 libavfilter/vf_minterpolate.c             for (y = FFMAX(mb_y - 1, 0); y < FFMIN(mb_y + 2, mi_ctx->b_height); y++)
FFMAX             719 libavfilter/vf_minterpolate.c                 for (x = FFMAX(mb_x - 1, 0); x < FFMIN(mb_x + 2, mi_ctx->b_width); x++) {
FFMAX            1031 libavfilter/vf_minterpolate.c         for (nb_y = FFMAX(0, mb_y - 1); nb_y < FFMIN(mb_y + 2, mi_ctx->b_height); nb_y++)
FFMAX            1032 libavfilter/vf_minterpolate.c             for (nb_x = FFMAX(0, mb_x - 1); nb_x < FFMIN(mb_x + 2, mi_ctx->b_width); nb_x++) {
FFMAX             205 libavfilter/vf_mpdecimate.c         decimate->drop_count = FFMAX(1, decimate->drop_count+1);
FFMAX              87 libavfilter/vf_neighbor.c         int limit = FFMAX(min - threshold, 0);
FFMAX              93 libavfilter/vf_neighbor.c             min = FFMAX(min, limit);
FFMAX             109 libavfilter/vf_neighbor.c         int limit = FFMAX(min - threshold, 0);
FFMAX             115 libavfilter/vf_neighbor.c             min = FFMAX(min, limit);
FFMAX             134 libavfilter/vf_neighbor.c                 max = FFMAX(max, *(coordinates[i] + x));
FFMAX             156 libavfilter/vf_neighbor.c                 max = FFMAX(max, AV_RN16A(coordinates[i] + x * 2));
FFMAX             173 libavfilter/vf_neighbor.c         int limit = FFMAX(p1[x] - threshold, 0);
FFMAX             177 libavfilter/vf_neighbor.c         dst[x] = FFMAX(FFMIN(sum / 8, p1[x]), limit);
FFMAX             190 libavfilter/vf_neighbor.c         int limit = FFMAX(AV_RN16A(&p1[2 * x]) - threshold, 0);
FFMAX             194 libavfilter/vf_neighbor.c         dst[x] = FFMAX(FFMIN(sum / 8, AV_RN16A(&p1[2 * x])), limit);
FFMAX             210 libavfilter/vf_neighbor.c         dst[x] = FFMIN(FFMAX(sum / 8, p1[x]), limit);
FFMAX             227 libavfilter/vf_neighbor.c         dst[x] = FFMIN(FFMAX(sum / 8, AV_RN16A(&p1[x * 2])), limit);
FFMAX             227 libavfilter/vf_nlmeans.c     const int startx_safe = FFMAX(s1x, s2x);
FFMAX             228 libavfilter/vf_nlmeans.c     const int starty_safe = FFMAX(s1y, s2y);
FFMAX             285 libavfilter/vf_nlmeans.c     const int e = FFMAX(s->research_hsize, s->research_hsize_uv)
FFMAX             286 libavfilter/vf_nlmeans.c                 + FFMAX(s->patch_hsize,    s->patch_hsize_uv);
FFMAX             450 libavfilter/vf_nlmeans.c                     .startx       = FFMAX(0, -offx),
FFMAX             451 libavfilter/vf_nlmeans.c                     .starty       = FFMAX(0, -offy),
FFMAX             308 libavfilter/vf_nnedi.c     if (FFMAX(temp[10], temp[11]) <= FFMAX(temp[8], temp[9]))
FFMAX             326 libavfilter/vf_nnedi.c     if (FFMAX(temp[10], temp[11]) <= FFMAX(temp[8], temp[9]))
FFMAX             363 libavfilter/vf_nnedi.c             dstp[x] = FFMAX(FFMIN(tmp, maximum), minimum);
FFMAX             627 libavfilter/vf_nnedi.c                 dstp[x] = FFMIN(FFMAX((int)(mstd[3] * scale + 0.5f), 0), s->max_value);
FFMAX             642 libavfilter/vf_nnedi.c     return FFMAX((int)floor(f), -32768);
FFMAX             776 libavfilter/vf_nnedi.c         temp_size = FFMAX(frame_data->padded_width[0], 512 * sizeof(float));
FFMAX             980 libavfilter/vf_nnedi.c     s->weights0 = av_malloc_array(FFMAX(dims0, dims0new), sizeof(float));
FFMAX            1027 libavfilter/vf_nnedi.c                 mval = FFMAX(mval, FFABS((bdw[offt[j * 64 + k]] - mean[j]) / 127.5));
FFMAX            1052 libavfilter/vf_nnedi.c                     mval = FFMAX(mval, FFABS((bdata[j * 48 + k] - mean[j]) / 127.5));
FFMAX            1110 libavfilter/vf_nnedi.c                     mval = FFMAX(mval, FFABS(bdataT[j * asize + k] - mean[asize + 1 + j] - mean[k]));
FFMAX            1120 libavfilter/vf_nnedi.c                     mval = FFMAX(mval, FFABS(bdataT[j * asize + k] - mean[asize + 1 + j]));
FFMAX             149 libavfilter/vf_normalize.c                 max[c].in = FFMAX(max[c].in, inp[s->co[c]]);
FFMAX             184 libavfilter/vf_normalize.c             max[0].in = FFMAX(max[0].in, inrp[x]);
FFMAX             186 libavfilter/vf_normalize.c             max[1].in = FFMAX(max[1].in, ingp[x]);
FFMAX             188 libavfilter/vf_normalize.c             max[2].in = FFMAX(max[2].in, inbp[x]);
FFMAX             223 libavfilter/vf_normalize.c                 max[c].in = FFMAX(max[c].in, inp[s->co[c]]);
FFMAX             258 libavfilter/vf_normalize.c             max[0].in = FFMAX(max[0].in, inrp[x]);
FFMAX             260 libavfilter/vf_normalize.c             max[1].in = FFMAX(max[1].in, ingp[x]);
FFMAX             262 libavfilter/vf_normalize.c             max[2].in = FFMAX(max[2].in, inbp[x]);
FFMAX             382 libavfilter/vf_overlay.c     i = FFMAX(-y, 0);
FFMAX             392 libavfilter/vf_overlay.c         j = FFMAX(-x, 0);
FFMAX             470 libavfilter/vf_overlay.c     j = FFMAX(-yp, 0);
FFMAX             484 libavfilter/vf_overlay.c         k = FFMAX(-xp, 0);
FFMAX             568 libavfilter/vf_overlay.c     i = FFMAX(-y, 0);
FFMAX             573 libavfilter/vf_overlay.c         j = FFMAX(-x, 0);
FFMAX             970 libavfilter/vf_overlay.c         ctx->internal->execute(ctx, s->blend_slice, &td, NULL, FFMIN(FFMAX(1, FFMIN3(s->y + second->height, FFMIN(second->height, mainpic->height), mainpic->height - s->y)),
FFMAX              65 libavfilter/vf_overlay_opencl.c         main_planes = FFMAX(main_planes,
FFMAX              68 libavfilter/vf_overlay_opencl.c         overlay_planes = FFMAX(overlay_planes,
FFMAX             359 libavfilter/vf_pad.c                                   FFMAX(inlink->w, s->w),
FFMAX             360 libavfilter/vf_pad.c                                   FFMAX(inlink->h, s->h));
FFMAX             338 libavfilter/vf_palettegen.c             min[0] = FFMIN(r, min[0]), max[0] = FFMAX(r, max[0]);
FFMAX             339 libavfilter/vf_palettegen.c             min[1] = FFMIN(g, min[1]), max[1] = FFMAX(g, max[1]);
FFMAX             340 libavfilter/vf_palettegen.c             min[2] = FFMIN(b, min[2]), max[2] = FFMAX(b, max[2]);
FFMAX              89 libavfilter/vf_pp7.c             p->thres2[qp][i] = ((i&1) ? SN2 : SN0) * ((i&4) ? SN2 : SN0) * FFMAX(1, qp) * (1<<2) - 1 - bias;
FFMAX             279 libavfilter/vf_premultiply.c                 dst[x] = FFMIN(FFMAX(msrc[x] - offset, 0) * 255 / asrc[x] + offset, 255);
FFMAX             331 libavfilter/vf_premultiply.c                 dst[x] = FFMAX(FFMIN((msrc[x] - half) * max / asrc[x], half - 1), -half) + half;
FFMAX             357 libavfilter/vf_premultiply.c                 dst[x] = FFMAX(FFMIN(FFMAX(msrc[x] - offset, 0) * (unsigned)max / asrc[x] + offset, max), 0);
FFMAX             169 libavfilter/vf_psnr.c     s->max_mse = FFMAX(s->max_mse, mse);
FFMAX             392 libavfilter/vf_pullup.c         lc = FFMAX(lc, 0);
FFMAX             393 libavfilter/vf_pullup.c         rc = FFMAX(rc, 0);
FFMAX             294 libavfilter/vf_readeia608.c             int a = FFMAX(i - 3, 0);
FFMAX             295 libavfilter/vf_readeia608.c             int b = FFMAX(i - 2, 0);
FFMAX             296 libavfilter/vf_readeia608.c             int c = FFMAX(i - 1, 0);
FFMAX             110 libavfilter/vf_readvitc.c             x = FFMAX(x - ((ctx->grp_width+10) / 20), 1);  // step back a half pit
FFMAX              67 libavfilter/vf_removegrain.c     const int ma1 = FFMAX(a1, a8);   \
FFMAX              69 libavfilter/vf_removegrain.c     const int ma2 = FFMAX(a2, a7);   \
FFMAX              71 libavfilter/vf_removegrain.c     const int ma3 = FFMAX(a3, a6);   \
FFMAX              73 libavfilter/vf_removegrain.c     const int ma4 = FFMAX(a4, a5);   \
FFMAX              79 libavfilter/vf_removegrain.c     const int ma = FFMAX(FFMAX(FFMAX(a1, a2), FFMAX(a3, a4)), FFMAX(FFMAX(a5, a6), FFMAX(a7, a8)));
FFMAX             320 libavfilter/vf_removegrain.c         return av_clip(average, FFMIN(a2, a7), FFMAX(a2, a7));
FFMAX             323 libavfilter/vf_removegrain.c         return av_clip(average, FFMIN(a3, a6), FFMAX(a3, a6));
FFMAX             326 libavfilter/vf_removegrain.c     return av_clip(average, FFMIN(a1, a8), FFMAX(a1, a8));
FFMAX             333 libavfilter/vf_removegrain.c     const int l = FFMAX(FFMAX(mi1, mi2), FFMAX(mi3, mi4));
FFMAX             336 libavfilter/vf_removegrain.c     return av_clip(c, FFMIN(l, u), FFMAX(l, u));
FFMAX             341 libavfilter/vf_removegrain.c     const int d1 = FFMAX(FFABS(c - a1), FFABS(c - a8));
FFMAX             342 libavfilter/vf_removegrain.c     const int d2 = FFMAX(FFABS(c - a2), FFABS(c - a7));
FFMAX             343 libavfilter/vf_removegrain.c     const int d3 = FFMAX(FFABS(c - a3), FFABS(c - a6));
FFMAX             344 libavfilter/vf_removegrain.c     const int d4 = FFMAX(FFABS(c - a4), FFABS(c - a5));
FFMAX             349 libavfilter/vf_removegrain.c         return av_clip(c, FFMIN(a4, a5), FFMAX(a4, a5));
FFMAX             352 libavfilter/vf_removegrain.c         return av_clip(c, FFMIN(a2, a7), FFMAX(a2, a7));
FFMAX             355 libavfilter/vf_removegrain.c         return av_clip(c, FFMIN(a3, a6), FFMAX(a3, a6));
FFMAX             358 libavfilter/vf_removegrain.c     return av_clip(c, FFMIN(a1, a8), FFMAX(a1, a8));
FFMAX             390 libavfilter/vf_removegrain.c     const int ma = FFMAX(FFMAX(l1h, l2h), FFMAX(l3h, l4h));
FFMAX             403 libavfilter/vf_removegrain.c     const int ma = FFMAX(FFMAX(l1, l2), FFMAX(l3, l4));
FFMAX             421 libavfilter/vf_removegrain.c     const int u = FFMAX(FFMAX(FFMAX(u1, u2), FFMAX(u3, u4)), 0);
FFMAX             427 libavfilter/vf_removegrain.c     const int d = FFMAX(FFMAX(FFMAX(d1, d2), FFMAX(d3, d4)), 0);
FFMAX             450 libavfilter/vf_removegrain.c     const int u = FFMAX(FFMAX(FFMAX(u1, u2), FFMAX(u3, u4)), 0);
FFMAX             461 libavfilter/vf_removegrain.c     const int d = FFMAX(FFMAX(FFMAX(d1, d2), FFMAX(d3, d4)), 0);
FFMAX             538 libavfilter/vf_removegrain.c     start = FFMAX(1, start);
FFMAX             311 libavfilter/vf_removelogo.c     s->max_mask_size = FFMAX(full_max_mask_size, half_max_mask_size);
FFMAX             406 libavfilter/vf_removelogo.c     start_posx = FFMAX(0, x - mask_size);
FFMAX             407 libavfilter/vf_removelogo.c     start_posy = FFMAX(0, y - mask_size);
FFMAX             174 libavfilter/vf_rotate.c     return FFMAX(0, inh * sinx) + FFMAX(0, -inw * cosx) +
FFMAX             175 libavfilter/vf_rotate.c            FFMAX(0, inw * cosx) + FFMAX(0, -inh * sinx);
FFMAX             186 libavfilter/vf_rotate.c     return FFMAX(0, -inh * cosx) + FFMAX(0, -inw * sinx) +
FFMAX             187 libavfilter/vf_rotate.c            FFMAX(0,  inh * cosx) + FFMAX(0,  inw * sinx);
FFMAX             188 libavfilter/vf_signalstats.c     s->nb_jobs   = FFMAX(1, FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMAX             280 libavfilter/vf_spp.c                 qp = FFMAX(1, ff_norm_qscale(qp, p->qscale_type));
FFMAX             329 libavfilter/vf_stack.c             width  = FFMAX(width,  inlink->w + inw);
FFMAX             330 libavfilter/vf_stack.c             height = FFMAX(height, inlink->h + inh);
FFMAX              88 libavfilter/vf_telecine.c         max = FFMAX(*p - '0', max);
FFMAX             124 libavfilter/vf_tonemap.c     b = (j * j - 2.0f * j * peak + peak) / FFMAX(peak - 1.0f, 1e-6);
FFMAX             149 libavfilter/vf_tonemap.c         float overbright = FFMAX(luma - s->desat, 1e-6) / FFMAX(luma, 1e-6);
FFMAX             158 libavfilter/vf_tonemap.c     sig = FFMAX(FFMAX3(*r_out, *g_out, *b_out), 1e-6);
FFMAX             120 libavfilter/vf_unsharp_opencl.c         ctx->nb_planes = FFMAX(ctx->nb_planes, desc->comp[p].plane + 1);
FFMAX            2943 libavfilter/vf_v360.c     const float d = FFMAX(d0, FFMAX3(d1, d2, d3));
FFMAX             157 libavfilter/vf_vaguedenoiser.c     s->in    = av_malloc_array(32 + FFMAX(inlink->w, inlink->h), sizeof(*s->in));
FFMAX             158 libavfilter/vf_vaguedenoiser.c     s->out   = av_malloc_array(32 + FFMAX(inlink->w, inlink->h), sizeof(*s->out));
FFMAX             159 libavfilter/vf_vaguedenoiser.c     s->tmp   = av_malloc_array(32 + FFMAX(inlink->w, inlink->h), sizeof(*s->tmp));
FFMAX             410 libavfilter/vf_vaguedenoiser.c     return threshold * threshold / (FFMAX(sqrtf(mean - threshold), FLT_EPSILON));
FFMAX             550 libavfilter/vf_vectorscope.c                 dpd[pos] = FFMAX(z, dpd[pos]);
FFMAX             746 libavfilter/vf_vectorscope.c                 dpd[pos] = FFMAX(z, dpd[pos]);
FFMAX              56 libavfilter/vf_vfrdet.c             s->max_delta = FFMAX(delta, s->max_delta);
FFMAX             276 libavfilter/vf_vpp_qsv.c         vpp->crop_x = FFMAX(vpp->crop_x, 0);
FFMAX             277 libavfilter/vf_vpp_qsv.c         vpp->crop_y = FFMAX(vpp->crop_y, 0);
FFMAX            3332 libavfilter/vf_waveform.c         outlink->h = s->size * FFMAX(comp * (s->display == STACK), 1);
FFMAX            3333 libavfilter/vf_waveform.c         outlink->w = inlink->w * FFMAX(comp * (s->display == PARADE), 1);
FFMAX            3336 libavfilter/vf_waveform.c         outlink->w = s->size * FFMAX(comp * (s->display == STACK), 1);
FFMAX            3337 libavfilter/vf_waveform.c         outlink->h = inlink->h * FFMAX(comp * (s->display == PARADE), 1);
FFMAX              89 libavfilter/vf_xfade_opencl.c         main_planes = FFMAX(main_planes,
FFMAX              74 libavfilter/vf_yadif.c             int min = FFMIN3(d - e, d - c, FFMAX(b - c, f - e)); \
FFMAX             181 libavfilter/vf_zoompan.c     x = *dx = av_clipd(*dx, 0, FFMAX(in->width - w, 0));
FFMAX             187 libavfilter/vf_zoompan.c     y = *dy = av_clipd(*dy, 0, FFMAX(in->height - h, 0));
FFMAX             279 libavfilter/vf_zscale.c              w = FFMAX(tmp_w, w);
FFMAX             280 libavfilter/vf_zscale.c              h = FFMAX(tmp_h, h);
FFMAX             178 libavfilter/vsrc_life.c             h++; max_w = FFMAX(w, max_w); w = 0;
FFMAX             204 libavfilter/vsrc_mandelbrot.c     dist= FFMAX(FFABS(x-(s->w>>1))*s->h, FFABS(y-(s->h>>1))*s->w);
FFMAX             166 libavfilter/vsrc_mptestsrc.c     const int step = FFMAX(256/(w*h/256), 1);
FFMAX             780 libavfilter/vsrc_testsrc.c         int steps = FFMAX(4, l >> 5);
FFMAX            1322 libavfilter/vsrc_testsrc.c     w = FFMAX(FFMIN(w, test->w - x), 0);
FFMAX            1323 libavfilter/vsrc_testsrc.c     h = FFMAX(FFMIN(h, test->h - y), 0);
FFMAX            1050 libavfilter/vulkan.c             desc_binding[i].descriptorCount    = FFMAX(desc[i].elems, 1);
FFMAX            1084 libavfilter/vulkan.c             pl->pool_size_desc[j].descriptorCount += FFMAX(desc[i].elems, 1);
FFMAX            1100 libavfilter/vulkan.c             des_entries[i].descriptorCount = FFMAX(desc[i].elems, 1);
FFMAX              66 libavformat/aacdec.c         max_frames = FFMAX(max_frames, frames);
FFMAX              85 libavformat/ac3dec.c         max_frames = FFMAX(max_frames, frames);
FFMAX             114 libavformat/anm.c         anm->nb_records = FFMAX(anm->nb_records - 1, 0);
FFMAX             122 libavformat/argo_asf.c     uint8_t buf[FFMAX(ASF_FILE_HEADER_SIZE, ASF_CHUNK_HEADER_SIZE)];
FFMAX            1624 libavformat/asfdec_f.c             int64_t index_pts = FFMAX(av_rescale(itime, i, 10000) - asf->hdr.preroll, 0);
FFMAX             707 libavformat/asfdec_o.c     size_bmp = FFMAX(size_asf, size_bmp);
FFMAX            1040 libavformat/asfenc.c     asf->maximum_packet     = FFMAX(asf->maximum_packet, packet_count);
FFMAX            1076 libavformat/asfenc.c     asf->duration = FFMAX(asf->duration, pts + pkt->duration * 10000);
FFMAX             209 libavformat/au.c     st->codecpar->block_align = ba ? ba : FFMAX(bps * st->codecpar->channels / 8, 1);
FFMAX             439 libavformat/avidec.c         maxpos = FFMAX(maxpos, st->index_entries[j-1].pos);
FFMAX             670 libavformat/avidec.c             ast->cum_len    *= FFMAX(1, ast->sample_size);
FFMAX            1355 libavformat/avidec.c                           (AVRational) { FFMAX(1, ast->sample_size),
FFMAX            1659 libavformat/avidec.c                                    FFMAX(ast->sample_size, 1),
FFMAX            1672 libavformat/avidec.c                                    FFMAX(ast->sample_size, 1),
FFMAX            1674 libavformat/avidec.c                 max_dts = FFMAX(max_dts, dts);
FFMAX            1675 libavformat/avidec.c                 max_buffer = FFMAX(max_buffer,
FFMAX            1808 libavformat/avidec.c                                       timestamp * FFMAX(ast->sample_size, 1),
FFMAX            1813 libavformat/avidec.c                    timestamp * FFMAX(ast->sample_size, 1),
FFMAX            1821 libavformat/avidec.c     timestamp = st->index_entries[index].timestamp / FFMAX(ast->sample_size, 1);
FFMAX            1863 libavformat/avidec.c                                           FFMAX(ast2->sample_size, 1),
FFMAX            1881 libavformat/avidec.c                 av_rescale_q(timestamp, st->time_base, st2->time_base) * FFMAX(ast2->sample_size, 1),
FFMAX             136 libavformat/avienc.c     avist->max_size = FFMAX(avist->max_size, size);
FFMAX             148 libavformat/avienc.c         avi->master_index_max_size = FFMAX(avi->master_index_max_size, 16);
FFMAX             218 libavformat/avienc.c             nb_frames = FFMAX(nb_frames, avist->packet_count);
FFMAX             298 libavformat/avienc.c             max_stream_duration = FFMAX(stream_duration, max_stream_duration);
FFMAX             316 libavformat/avienc.c         avi->master_index_max_size = FFMAX((int)ceil(filesize_est / AVI_MAX_RIFF_SIZE) + 1,
FFMAX             398 libavformat/avio.c             fast_retries = FFMAX(fast_retries, 2);
FFMAX             177 libavformat/aviobuf.c     s->buf_ptr_max = FFMAX(s->buf_ptr, s->buf_ptr_max);
FFMAX             283 libavformat/aviobuf.c     s->buf_ptr_max = FFMAX(s->buf_ptr_max, s->buf_ptr);
FFMAX            1095 libavformat/aviobuf.c     alloc_size = FFMAX(s->buffer_size, new_size);
FFMAX            1380 libavformat/aviobuf.c         return FFMAX(s->buf_ptr, s->buf_ptr_max) - s->buffer;
FFMAX             222 libavformat/cache.c     c->end = FFMAX(c->end, c->logical_pos);
FFMAX             241 libavformat/cache.c         c->end = FFMAX(c->end, pos);
FFMAX             286 libavformat/cache.c         c->end = FFMAX(c->end, ret);
FFMAX             321 libavformat/cafdec.c             avio_skip(pb, FFMAX(0, pos + size - avio_tell(pb)));
FFMAX             421 libavformat/cafdec.c     timestamp = FFMAX(timestamp, 0);
FFMAX             139 libavformat/concatdec.c         size_t n = FFMAX(*nb_files_alloc * 2, 16);
FFMAX            2194 libavformat/dashdec.c                 pls->cur_seq_no = FFMAX(pls->cur_seq_no, p[j]->cur_seq_no);
FFMAX             509 libavformat/dashenc.c         *start_index  = FFMAX(os->nb_segments   - c->window_size, 0);
FFMAX             510 libavformat/dashenc.c         *start_number = FFMAX(os->segment_index - c->window_size, 1);
FFMAX             858 libavformat/dashenc.c                     avio_printf(out, " maxPlayoutRate=\"%d\"", FFMAX((int)av_q2d(av_div_q(tas->min_frame_rate, as->min_frame_rate)), 1));
FFMAX            1224 libavformat/dashenc.c         int start_index = FFMAX(os->nb_segments - c->window_size, 0);
FFMAX            1290 libavformat/dashenc.c             max_audio_bitrate = FFMAX(st->codecpar->bit_rate +
FFMAX            1583 libavformat/dashenc.c         c->max_segment_duration = FFMAX(c->max_segment_duration, as->seg_duration);
FFMAX            1952 libavformat/dashenc.c         os->last_duration = FFMAX(os->last_duration, duration);
FFMAX            2112 libavformat/dashenc.c         as->max_frag_duration = FFMAX(frame_duration, as->max_frag_duration);
FFMAX            2178 libavformat/dashenc.c         os->max_pts = FFMAX(os->max_pts, pkt->pts + pkt->duration);
FFMAX            2197 libavformat/dashenc.c                as->max_frag_duration = FFMAX(frag_duration, as->max_frag_duration);
FFMAX            2204 libavformat/dashenc.c         c->max_gop_size = FFMAX(c->max_gop_size, os->gop_size);
FFMAX              81 libavformat/dtsdec.c                 exss_markers = FFMAX(1, exss_markers - 1);
FFMAX             371 libavformat/fifo.c             int64_t time_to_wait = FFMAX(0, fifo->recovery_wait_time - time_since_recovery);
FFMAX             102 libavformat/filmstripdec.c     if (avio_seek(s->pb, FFMAX(timestamp, 0) * st->codecpar->width * st->codecpar->height * 4, SEEK_SET) < 0)
FFMAX            1049 libavformat/flvenc.c         flv->duration = FFMAX(flv->duration,
FFMAX             171 libavformat/format.c                     score = FFMAX(score, 1);
FFMAX             175 libavformat/format.c                     score = FFMAX(score, AVPROBE_SCORE_EXTENSION / 2 - 1);
FFMAX             178 libavformat/format.c                     score = FFMAX(score, AVPROBE_SCORE_EXTENSION);
FFMAX             256 libavformat/format.c                             FFMAX(max_probe_size, probe_size + 1))) {
FFMAX             819 libavformat/ftp.c             s->filesize = FFMAX(s->filesize, s->position);
FFMAX             873 libavformat/ftp.c             s->filesize = FFMAX(s->filesize, s->position);
FFMAX             578 libavformat/gxf.c     maxlen = FFMAX(maxlen, 200 * 1024);
FFMAX              37 libavformat/h261dec.c             uint32_t code = AV_RB64(&p->buf[FFMAX(i-1, 0)]) >> (24+shift);
FFMAX             230 libavformat/hdsenc.c         start = FFMAX(os->nb_fragments - c->window_size, 0);
FFMAX              89 libavformat/hevc.c         hvcc->general_level_idc = FFMAX(hvcc->general_level_idc, ptl->level_idc);
FFMAX              95 libavformat/hevc.c     hvcc->general_tier_flag = FFMAX(hvcc->general_tier_flag, ptl->tier_flag);
FFMAX             111 libavformat/hevc.c     hvcc->general_profile_idc = FFMAX(hvcc->general_profile_idc, ptl->profile_idc);
FFMAX             385 libavformat/hevc.c     hvcc->numTemporalLayers = FFMAX(hvcc->numTemporalLayers,
FFMAX             504 libavformat/hevc.c     hvcc->numTemporalLayers = FFMAX(hvcc->numTemporalLayers,
FFMAX            1691 libavformat/hls.c             return pls->start_seq_no + FFMAX(pls->n_segments + c->live_start_index, 0);
FFMAX            1929 libavformat/hls.c         highest_cur_seq_no = FFMAX(highest_cur_seq_no, pls->cur_seq_no);
FFMAX            1456 libavformat/hlsenc.c     int64_t sequence = FFMAX(hls->start_sequence, vs->sequence - vs->nb_entries);
FFMAX             213 libavformat/jvdec.c             avio_skip(pb, FFMAX(e->size - jvf->audio_size - jvf->video_size
FFMAX             259 libavformat/libamqp.c         s->pkt_size_overflow = FFMAX(s->pkt_size_overflow, envelope.message.body.len);
FFMAX             173 libavformat/libzmq.c         s->pkt_size_overflow = FFMAX(s->pkt_size_overflow, ret);
FFMAX              53 libavformat/loasdec.c         max_frames = FFMAX(max_frames, frames);
FFMAX             808 libavformat/matroskadec.c         avio_seek(pb, FFMAX(avio_tell(pb) + (pb->buffer - pb->buf_ptr),
FFMAX            3629 libavformat/matroskadec.c             FFMAX(track->end_timecode, timecode + block_duration);
FFMAX            3774 libavformat/matroskadec.c     timestamp = FFMAX(timestamp, st->index_entries[0].timestamp);
FFMAX            1413 libavformat/matroskaenc.c         video_default_idx = FFMAX(video_default_idx, video_idx);
FFMAX            1414 libavformat/matroskaenc.c         audio_default_idx = FFMAX(audio_default_idx, audio_idx);
FFMAX            1416 libavformat/matroskaenc.c             subtitle_default_idx = FFMAX(subtitle_default_idx, subtitle_idx);
FFMAX            1777 libavformat/matroskaenc.c             max = FFMAX(max, us);
FFMAX            2304 libavformat/matroskaenc.c         put_ebml_uint(mkv->cluster_bc, MATROSKA_ID_CLUSTERTIMECODE, FFMAX(0, ts));
FFMAX            2305 libavformat/matroskaenc.c         mkv->cluster_pts = FFMAX(0, ts);
FFMAX            2357 libavformat/matroskaenc.c     mkv->duration   = FFMAX(mkv->duration,   ts + duration);
FFMAX            2358 libavformat/matroskaenc.c     track->duration = FFMAX(track->duration, ts + duration);
FFMAX             386 libavformat/mmsh.c     ret= mmsh_open_internal(h, mmsh_old->location, 0, FFMAX(timestamp, 0), 0);
FFMAX            2686 libavformat/mov.c                 sc->stsc_data[i].first = FFMAX(sc->stsc_data[i].first, first_min);
FFMAX            2689 libavformat/mov.c                 sc->stsc_data[i].count = FFMAX(sc->stsc_data[i].count, 1);
FFMAX            2690 libavformat/mov.c                 sc->stsc_data[i].id    = FFMAX(sc->stsc_data[i].id, 1);
FFMAX            2938 libavformat/mov.c         unsigned int min_entries = FFMIN(FFMAX(i + 1, 1024 * 1024), entries);
FFMAX            3025 libavformat/mov.c         sc->dts_shift = FFMAX(sc->dts_shift, -duration);
FFMAX            3294 libavformat/mov.c         FFMAX(min_size_needed, 2 * st->index_entries_allocated_size) :
FFMAX            3345 libavformat/mov.c         FFMAX(min_size_needed, 2 * (*allocated_size)) :
FFMAX            3408 libavformat/mov.c             st->codecpar->video_delay = FFMAX(st->codecpar->video_delay, num_swaps);
FFMAX            3581 libavformat/mov.c             search_timestamp = FFMAX(search_timestamp - msc->time_scale, e_old[0].timestamp);
FFMAX            6059 libavformat/mov.c         unsigned int min_samples = FFMIN(FFMAX(i + 1, 1024 * 1024), sample_count);
FFMAX            6113 libavformat/mov.c         unsigned int min_samples = FFMIN(FFMAX(i + 1, 1024 * 1024), sample_count);
FFMAX            6313 libavformat/mov.c         unsigned int min_offsets = FFMIN(FFMAX(i + 1, 1024), entry_count);
FFMAX            6384 libavformat/mov.c             unsigned int min_kid_count = FFMIN(FFMAX(i + 1, 1024), kid_count);
FFMAX            7102 libavformat/mov.c                 score = FFMAX(score, AVPROBE_SCORE_EXTENSION);
FFMAX            7107 libavformat/mov.c                 score = FFMAX(score, 5);
FFMAX            7111 libavformat/mov.c             offset = FFMAX(4, AV_RB32(p->buf+offset)) + offset;
FFMAX            7119 libavformat/mov.c             score  = FFMAX(score, AVPROBE_SCORE_MAX - 5);
FFMAX            7120 libavformat/mov.c             offset = FFMAX(4, AV_RB32(p->buf+offset)) + offset;
FFMAX            7127 libavformat/mov.c             score  = FFMAX(score, AVPROBE_SCORE_EXTENSION);
FFMAX            7128 libavformat/mov.c             offset = FFMAX(4, AV_RB32(p->buf+offset)) + offset;
FFMAX            7131 libavformat/mov.c             offset = FFMAX(4, AV_RB32(p->buf+offset)) + offset;
FFMAX             212 libavformat/movenc.c         sSize = FFMAX(1, sSize); // adpcm mono case could make sSize == 0
FFMAX             420 libavformat/movenc.c     info->data_rate = FFMAX(info->data_rate, hdr->bit_rate / 1000);
FFMAX             678 libavformat/movenc.c     avio_wb32(pb, props ? FFMAX3(props->max_bitrate, props->avg_bitrate, avg_bitrate) : FFMAX(track->par->bit_rate, avg_bitrate)); // maxbitrate (FIXME should be max rate in any 1 sec window)
FFMAX            5694 libavformat/movenc.c         trk->end_pts = FFMAX(trk->end_pts, trk->cluster[trk->entry].dts +
FFMAX              32 libavformat/movenccenc.c         new_alloc_size = FFMAX(ctx->auxiliary_info_size + size, ctx->auxiliary_info_alloc_size * 2);
FFMAX             111 libavformat/mp3dec.c         max_frames = FFMAX(max_frames, frames);
FFMAX             112 libavformat/mp3dec.c         max_framesizes = FFMAX(max_framesizes, framesizes);
FFMAX             191 libavformat/mp3dec.c         delta = FFMAX(fsize, mp3->header_filesize) - min;
FFMAX             501 libavformat/mp3dec.c     avio_seek(s->pb, FFMAX(target_pos - SEEK_WINDOW, 0), SEEK_SET);
FFMAX             368 libavformat/mp3enc.c                 mp3->padding = FFMAX(AV_RL32(side_data + 4) + 528 + 1, 0);
FFMAX             370 libavformat/mp3enc.c                     mp3->delay =  FFMAX(AV_RL32(side_data) - 528 - 1, 0);
FFMAX             193 libavformat/mpc.c     int index = av_index_search_timestamp(st, FFMAX(timestamp - DELAY_FRAMES, 0), flags);
FFMAX            1065 libavformat/mpegenc.c             scr = FFMAX(best_dts + 1, scr);
FFMAX             597 libavformat/mpegts.c     return best_score - FFMAX(stat_all - 10*best_score, 0)/10;
FFMAX            2988 libavformat/mpegts.c         maxscore = FFMAX(maxscore, score);
FFMAX            1138 libavformat/mpegtsenc.c             ts->last_sdt_ts = FFMAX(pcr, ts->last_sdt_ts);
FFMAX            1145 libavformat/mpegtsenc.c             ts->last_pat_ts = FFMAX(pcr, ts->last_pat_ts);
FFMAX            1312 libavformat/mpegtsenc.c                             ts_st2->last_pcr = FFMAX(pcr - ts_st2->pcr_period, ts_st2->last_pcr + ts_st2->pcr_period);
FFMAX            1336 libavformat/mpegtsenc.c                 ts_st->last_pcr = FFMAX(pcr - ts_st->pcr_period, ts_st->last_pcr + ts_st->pcr_period);
FFMAX             548 libavformat/mux.c     int delay = FFMAX(st->codecpar->video_delay, st->internal->avctx->max_b_frames > 0);
FFMAX             962 libavformat/mux.c             delta_dts = FFMAX(delta_dts, last_dts - top_dts);
FFMAX            1576 libavformat/mxfdec.c         edit_unit = FFMAX(edit_unit, s->index_start_position);  /* clamp if trying to seek before start */
FFMAX            1715 libavformat/mxfdec.c             max_temporal_offset = FFMAX(max_temporal_offset, offset);
FFMAX            3031 libavformat/mxfdec.c     track->edit_units_per_packet = FFMAX(1, track->edit_rate.num / track->edit_rate.den / 25);
FFMAX            3667 libavformat/mxfdec.c         sample_time = FFMAX(sample_time, 0);
FFMAX            1767 libavformat/mxfenc.c                 sc->max_gop = FFMAX(sc->max_gop, i - mxf->last_key_index);
FFMAX            1787 libavformat/mxfenc.c                 sc->b_picture_count = FFMAX(sc->b_picture_count, i - prev_non_b_picture);
FFMAX            1186 libavformat/nutdec.c             tmp = find_any_startcode(bc, FFMAX(nut->last_syncpoint_pos, nut->last_resync_pos) + 1);
FFMAX             704 libavformat/nutenc.c     nut->version = FFMAX(NUT_STABLE_VERSION, 3 + !!nut->flags);
FFMAX             749 libavformat/nutenc.c             FFMAX(time_base.den, time_base.num) / time_base.num;
FFMAX              97 libavformat/oggparseopus.c     unsigned frame_size = toc_config < 12 ? FFMAX(480, 960 * (toc_config & 3)) :
FFMAX             465 libavformat/oggparsevorbis.c             s->streams[idx]->start_time = FFMAX(os->lastpts, 0);
FFMAX              41 libavformat/pcm.c     size = FFMAX(par->sample_rate/25, 1);
FFMAX             113 libavformat/pp_bnk.c     uint8_t buf[FFMAX(PP_BNK_FILE_HEADER_SIZE, PP_BNK_TRACK_SIZE)];
FFMAX             726 libavformat/rmdec.c             mlti_id = FFMAX(mlti_id, 0) << 16;
FFMAX              64 libavformat/rtpdec_mpeg4.c     uint8_t buf[FFMAX(RTP_MAX_PACKET_LENGTH, MAX_AAC_HBR_FRAME_SIZE)];
FFMAX             164 libavformat/sbgdec.c         int m = FFMAX(32, FFMIN(*max_size, INT_MAX / 2) * 2);
FFMAX             861 libavformat/sbgdec.c             bufsize = FFMIN(FFMAX(2 * bufsize, 8192), max_size);
FFMAX            1185 libavformat/sbgdec.c     int nb_elements = FFMAX(ev1->nb_elements, ev2->nb_elements);
FFMAX            1275 libavformat/sbgdec.c     period = FFMAX(period, DAY_TS);
FFMAX            1289 libavformat/sbgdec.c             ev1->ts_trans = FFMAX(ev1->ts_int,   ev1->ts_trans - trans_time);
FFMAX            1402 libavformat/sbgdec.c         sbg->frame_size = FFMAX(1, sbg->sample_rate / 10);
FFMAX             310 libavformat/segment.c             max_duration = FFMAX(max_duration, entry->end_time - entry->start_time);
FFMAX             946 libavformat/segment.c                 FFMAX(seg->cur_entry.end_time, (double)(pkt->pts + pkt->duration) * av_q2d(st->time_base));
FFMAX             113 libavformat/smjpegenc.c     smc->duration = FFMAX(smc->duration, pkt->pts + pkt->duration);
FFMAX             199 libavformat/smoothstreamingenc.c         start = FFMAX(os->nb_fragments - skip - window_size, 0);
FFMAX             167 libavformat/srtp.c             seq_largest = FFMAX(seq_largest, seq);
FFMAX             521 libavformat/swfdec.c         len = FFMAX(0, len);
FFMAX             175 libavformat/thp.c         thp->next_frame += FFMAX(thp->next_framesz, 1);
FFMAX             122 libavformat/tty.c     s->chars_per_frame = FFMAX(av_q2d(st->time_base)*s->chars_per_frame, 1);
FFMAX             252 libavformat/utils.c             remaining= FFMAX(remaining, 0);
FFMAX             290 libavformat/utils.c             av_shrink_packet(pkt, prev_size + FFMAX(ret, 0));
FFMAX            1076 libavformat/utils.c                     diff = FFMAX(diff, st->pts_reorder_error[i]);
FFMAX            2130 libavformat/utils.c                 skip = FFMAX(skip, e1->size);
FFMAX            2136 libavformat/utils.c                     pos_delta = FFMAX(pos_delta, e1->pos - e2->pos);
FFMAX            2154 libavformat/utils.c         s->pb->short_seek_threshold = FFMAX(s->pb->short_seek_threshold, pos_delta/2);
FFMAX            2158 libavformat/utils.c         s->pb->short_seek_threshold = FFMAX(s->pb->short_seek_threshold, skip);
FFMAX            2204 libavformat/utils.c         index = FFMAX(index, 0);
FFMAX            2254 libavformat/utils.c         pos_max = FFMAX(0, (pos_max) - step);
FFMAX            2664 libavformat/utils.c                     end_time_text = FFMAX(end_time_text, end_time1);
FFMAX            2666 libavformat/utils.c                     end_time = FFMAX(end_time, end_time1);
FFMAX            2679 libavformat/utils.c                 duration_text = FFMAX(duration_text, duration1);
FFMAX            2681 libavformat/utils.c                 duration = FFMAX(duration, duration1);
FFMAX            2708 libavformat/utils.c                         duration = FFMAX(duration, p->end_time - p->start_time);
FFMAX            2711 libavformat/utils.c                 duration = FFMAX(duration, end_time - start_time);
FFMAX            2848 libavformat/utils.c             if (read_size >= DURATION_MAX_READ_SIZE << (FFMAX(retry - 1, 0)))
FFMAX            2956 libavformat/utils.c         file_size = FFMAX(0, file_size);
FFMAX            3427 libavformat/utils.c         if (tb_unreliable(st->internal->avctx) && st->info->duration_count > 15 && st->info->duration_gcd > FFMAX(1, st->time_base.den/(500LL*st->time_base.num)) && !st->r_frame_rate.num)
FFMAX            3904 libavformat/utils.c                 t = FFMAX(t, av_rescale_q(st->codec_info_nb_frames, av_inv_q(st->avg_frame_rate), AV_TIME_BASE_Q));
FFMAX            3910 libavformat/utils.c                 t = FFMAX(t, av_rescale_q(st->info->fps_last_dts - st->info->fps_first_dts, st->time_base, AV_TIME_BASE_Q));
FFMAX             468 libavformat/vapoursynth.c     vs->current_frame = FFMIN(FFMAX(0, ts), s->streams[0]->duration);
FFMAX             210 libavformat/wavenc.c                 FFMAX(wav->peak_maxpos[c], wav->peak_maxneg[c]);
FFMAX             380 libavformat/wavenc.c                 wav->peak_maxpos[c] = FFMAX(wav->peak_maxpos[c], *(int8_t*)(pkt->data + i));
FFMAX             383 libavformat/wavenc.c                 wav->peak_maxpos[c] = FFMAX(wav->peak_maxpos[c], (int16_t)AV_RL16(pkt->data + i));
FFMAX             398 libavformat/wavenc.c         wav->maxpts        = FFMAX(wav->maxpts, pkt->pts);
FFMAX             472 libavformat/wtvdec.c     buf_size = FFMAX(2*length, LEN_PRETTY_GUID) + 1;
FFMAX             696 libavformat/wtvdec.c             avio_skip(pb, FFMAX(size - consumed, 0));
FFMAX             700 libavformat/wtvdec.c             avio_skip(pb, FFMAX(size - consumed, 0));
FFMAX             194 libavformat/yop.c     timestamp      = FFMAX(0, FFMIN(frame_count, timestamp));
FFMAX             329 libavformat/yuv4mpegdec.c         pts = FFMAX(0, pts - 1);
FFMAX             454 libavresample/audio_mix.c             for (i = 0, j = 0; i < FFMAX(am->in_channels, am->out_channels); i++) {
FFMAX             281 libavresample/audio_mix_matrix.c         maxcoef = FFMAX(maxcoef, sum);
FFMAX             432 libavresample/dither.c         generate_dither_noise(c, state, FFMAX(32768, sample_rate / 2));
FFMAX             102 libavresample/resample.c                 y *= bessel(c->kaiser_beta * sqrt(FFMAX(1 - w * w, 0)));
FFMAX             146 libavresample/resample.c     c->filter_length = FFMAX((int)ceil(avr->filter_size / factor), 1);
FFMAX             379 libavresample/resample.c                                     FFMAX(in_samples, in_leftover) +
FFMAX             429 libavresample/resample.c     c->initial_padding_samples = FFMAX(c->initial_padding_samples - consumed, 0);
FFMAX             445 libavresample/resample.c     return FFMAX(c->buffer->nb_samples - c->padding_size, 0);
FFMAX              74 libavresample/utils.c         int max_bps = FFMAX(av_get_bytes_per_sample(in_fmt),
FFMAX             177 libavresample/utils.c         avr->in_buffer = ff_audio_data_alloc(FFMAX(avr->in_channels, avr->out_channels),
FFMAX             365 libavutil/avstring.c         len = FFMAX(p - names, namelen);
FFMAX             366 libavutil/avstring.c         if (!av_strncasecmp(name, names, len) || !strncmp("ALL", names, FFMAX(3, p - names)))
FFMAX             135 libavutil/channel_layout.c         return FFMAX(layout, 0);
FFMAX              95 libavutil/common.h #define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c)
FFMAX             116 libavutil/fifo.c         return av_fifo_realloc2(f, FFMAX(size, 2*old_size));
FFMAX             216 libavutil/frame.c     int plane_padding = FFMAX(16 + 16/*STRIDE_ALIGN*/, align);
FFMAX             368 libavutil/imgutils.c             planes_nb = FFMAX(planes_nb, desc->comp[i].plane + 1);
FFMAX             468 libavutil/imgutils.c         nb_planes = FFMAX(desc->comp[i].plane, nb_planes);
FFMAX             580 libavutil/imgutils.c         clear_block_size[comp.plane] = FFMAX(clear_block_size[comp.plane], comp.step);
FFMAX              91 libavutil/lzo.c         cnt       = FFMAX(c->in_end - src, 0);
FFMAX              95 libavutil/lzo.c         cnt       = FFMAX(c->out_end - dst, 0);
FFMAX             127 libavutil/lzo.c         cnt       = FFMAX(c->out_end - dst, 0);
FFMAX              75 libavutil/mathematics.c         return -(uint64_t)av_rescale_rnd(-FFMAX(a, -INT64_MAX), b, c, rnd ^ ((rnd >> 1) & 1));
FFMAX             488 libavutil/mem.c     min_size = FFMIN(max_alloc_size, FFMAX(min_size + min_size / 16 + 32, min_size));
FFMAX              36 libavutil/mem_internal.h     min_size = FFMAX(min_size + min_size / 16 + 32, min_size);
FFMAX             415 libavutil/opt.c     min = FFMAX(o->min, -1);
FFMAX             686 libavutil/opt.c     min = FFMAX(o->min, -1);
FFMAX             159 libavutil/pca.c                         ROTATE(pca->covariance,FFMIN(k,i),FFMAX(k,i),FFMIN(k,j),FFMAX(k,j))
FFMAX            2709 libavutil/pixdesc.c         *max = FFMAX(desc->comp[i].depth, *max);
FFMAX             116 libavutil/rational.c     exponent = FFMAX(exponent-1, 0);
FFMAX              85 libavutil/tests/pca.c                 v[j] += pca->covariance[FFMIN(k,j) + FFMAX(k,j)*LEN] * eigenvector[i + k*LEN];
FFMAX              39 libavutil/tests/tree.c         return FFMAX(left, right) + 1;
FFMAX             279 libpostproc/postprocess.c             d= FFMAX(d, 0);
FFMAX             286 libpostproc/postprocess.c                 d = FFMAX(d, 0);
FFMAX             292 libpostproc/postprocess.c                 d = FFMAX(d, q);
FFMAX             384 libpostproc/postprocess.c         int d= FFMAX(FFABS(b) - (FFABS(a) + FFABS(c))/2, 0);
FFMAX             487 libpostproc/postprocess.c                 d= FFMAX(d, 0);
FFMAX             493 libpostproc/postprocess.c                     d = FFMAX(d, 0);
FFMAX             497 libpostproc/postprocess.c                     d = FFMAX(d, q);
FFMAX             945 libpostproc/postprocess.c     int minStride= FFMAX(FFABS(srcStride[0]), FFABS(dstStride[0]));
FFMAX             951 libpostproc/postprocess.c                        FFMAX(minStride, c->stride),
FFMAX             952 libpostproc/postprocess.c                        FFMAX(c->qpStride, absQPStride));
FFMAX             966 libpostproc/postprocess.c         const int count= FFMAX(mbHeight * absQPStride, mbWidth);
FFMAX             991 libpostproc/postprocess.c             const int count= FFMAX(mbHeight * QPStride, mbWidth);
FFMAX             516 libpostproc/postprocess_template.c         d= FFMAX(d, 0);
FFMAX            1070 libpostproc/postprocess_template.c             d= FFMAX(d, 0);
FFMAX            1076 libpostproc/postprocess_template.c                 d = FFMAX(d, 0);
FFMAX            1080 libpostproc/postprocess_template.c                 d = FFMAX(d, q);
FFMAX            3484 libpostproc/postprocess_template.c                     FFMAX(height-y-copyAhead, 0), srcStride);
FFMAX            3487 libpostproc/postprocess_template.c             for(i=FFMAX(height-y, 8); i<copyAhead+8; i++)
FFMAX              32 libswresample/dither_template.c #    define CLIP(v) v = FFMAX(FFMIN(v, INT32_MAX), INT32_MIN)
FFMAX              37 libswresample/dither_template.c #    define CLIP(v) v = FFMAX(FFMIN(v, INT16_MAX), INT16_MIN)
FFMAX             321 libswresample/rematrix.c         maxcoef= FFMAX(maxcoef, sum);
FFMAX             413 libswresample/rematrix.c             maxsum = FFMAX(maxsum, sum);
FFMAX             191 libswresample/resample.c                 y *= bessel(kaiser_beta*sqrt(FFMAX(1-w*w, 0)));
FFMAX             259 libswresample/resample.c             maxff= FFMAX(maxff, ff);
FFMAX             261 libswresample/resample.c             maxsf= FFMAX(maxsf, sf);
FFMAX             295 libswresample/resample.c     int filter_length = FFMAX((int)ceil(filter_size/factor), 1);
FFMAX             470 libswresample/resample.c         dst_size = FFMAX(FFMIN(dst_size, new_size), 0);
FFMAX             491 libswresample/resample.c         dst_size = FFMAX(FFMIN(dst_size, delta_n), 0);
FFMAX             541 libswresample/resample.c         num = FFMAX(num, (num * c->ideal_dst_incr - 1) / c->dst_incr + 1);
FFMAX             607 libswresample/resample.c     *out_sz = FFMAX(*out_sz + c->filter_length,
FFMAX             610 libswresample/resample.c     return FFMAX(res, 0);
FFMAX              51 libswresample/soxr_resample.c     q_spec.bw_pc = cutoff? FFMAX(FFMIN(cutoff,.995),.8)*100 : q_spec.bw_pc;
FFMAX              53 libswresample/soxr_resample.c     q_spec.passband_end = cutoff? FFMAX(FFMIN(cutoff,.995),.8) : q_spec.passband_end;
FFMAX             537 libswresample/swresample.c             ret= s->resampler->multiple_resample(s->resample, &out, out_count, &in, FFMAX(in_count-padless, 0), &consumed);
FFMAX             660 libswresample/swresample.c             int dither_count= FFMAX(out_count, 1<<16);
FFMAX             378 libswresample/tests/swresample.c                 maxdiff= FFMAX(maxdiff, fabs(a-b));
FFMAX             408 libswresample/tests/swresample.c                     maxdiff= FFMAX(maxdiff, fabs(a-b));
FFMAX              61 libswresample/x86/rematrix_init.c                 sh = FFMAX(sh, FFABS(((int*)s->native_matrix)[i * nb_in + j]));
FFMAX              62 libswresample/x86/rematrix_init.c             sh = FFMAX(av_log2(sh) - 14, 0);
FFMAX             176 libswscale/slice.c             s->plane[i].sliceH = FFMAX(tot_lines, s->plane[i].sliceH);
FFMAX             239 libswscale/slice.c         int nextSlice = FFMAX(lumFilterPos[lumY] + lumFilterSize - 1,
FFMAX             245 libswscale/slice.c         (*out_lum_size) = FFMAX((*out_lum_size), nextSlice - lumFilterPos[lumY]);
FFMAX             246 libswscale/slice.c         (*out_chr_size) = FFMAX((*out_chr_size), (nextSlice >> chrSubSample) - chrFilterPos[chrY]);
FFMAX             272 libswscale/slice.c     lumBufSize = FFMAX(lumBufSize, c->vLumFilterSize + MAX_LINES_AHEAD);
FFMAX             273 libswscale/slice.c     chrBufSize = FFMAX(chrBufSize, c->vChrFilterSize + MAX_LINES_AHEAD);
FFMAX             284 libswscale/slice.c     c->numSlice = FFMAX(num_ydesc, num_cdesc) + 2;
FFMAX             337 libswscale/slice.c     dstIdx = FFMAX(num_ydesc, num_cdesc);
FFMAX             354 libswscale/slice.c         dstIdx = FFMAX(num_ydesc, num_cdesc);
FFMAX             374 libswscale/swscale.c         const int firstLumSrcY  = FFMAX(1 - vLumFilterSize, vLumFilterPos[dstY]);
FFMAX             375 libswscale/swscale.c         const int firstLumSrcY2 = FFMAX(1 - vLumFilterSize, vLumFilterPos[FFMIN(dstY | ((1 << c->chrDstVSubSample) - 1), dstH - 1)]);
FFMAX             377 libswscale/swscale.c         const int firstChrSrcY  = FFMAX(1 - vChrFilterSize, vChrFilterPos[chrDstY]);
FFMAX             437 libswscale/swscale.c             firstPosY = FFMAX(firstLumSrcY, posY);
FFMAX             446 libswscale/swscale.c             firstCPosY = FFMAX(firstChrSrcY, cPosY);
FFMAX             426 libswscale/utils.c         filterSize = FFMAX(filterSize, 1);
FFMAX             648 libswscale/utils.c                 int left = FFMAX(j + (*filterPos)[i], 0);
FFMAX            2141 libswscale/utils.c     int length = FFMAX(a->length, b->length);
FFMAX            2159 libswscale/utils.c     int length = FFMAX(a->length, b->length);
FFMAX              45 libswscale/vscale.c     int first = FFMAX(1-inst->filter_size, inst->filter_pos[sliceY]);
FFMAX              83 libswscale/vscale.c         int first = FFMAX(1-inst->filter_size, inst->filter_pos[chrSliceY]);
FFMAX             119 libswscale/vscale.c     int firstLum = FFMAX(1-lum_fsize, inst[0].filter_pos[   sliceY]);
FFMAX             120 libswscale/vscale.c     int firstChr = FFMAX(1-chr_fsize, inst[1].filter_pos[chrSliceY]);
FFMAX             183 libswscale/vscale.c     int firstLum = FFMAX(1-lum_fsize, inst[0].filter_pos[   sliceY]);
FFMAX             184 libswscale/vscale.c     int firstChr = FFMAX(1-chr_fsize, inst[1].filter_pos[chrSliceY]);
FFMAX             847 libswscale/yuv2rgb.c     crv = ((crv * (1 << 16)) + 0x8000) / FFMAX(cy, 1);
FFMAX             848 libswscale/yuv2rgb.c     cbu = ((cbu * (1 << 16)) + 0x8000) / FFMAX(cy, 1);
FFMAX             849 libswscale/yuv2rgb.c     cgu = ((cgu * (1 << 16)) + 0x8000) / FFMAX(cy, 1);
FFMAX             850 libswscale/yuv2rgb.c     cgv = ((cgv * (1 << 16)) + 0x8000) / FFMAX(cy, 1);
FFMAX             100 tests/audiomatch.c         for (i = FFMAX(0, -pos); i < testlen; i++) {
FFMAX              68 tests/checkasm/audiodsp.c         len = 16 * FFMAX(len, 1);
FFMAX             101 tests/checkasm/audiodsp.c         max = FFMAX(val1, val2);
FFMAX             106 tests/checkasm/audiodsp.c         len = 32 * FFMAX(len, 1);
FFMAX             129 tests/checkasm/audiodsp.c         max = FFMAX(val1, val2);
FFMAX             134 tests/checkasm/audiodsp.c         len = 16 * FFMAX(len, 1);
FFMAX             820 tests/checkasm/checkasm.c         fprintf(stderr, "%*c", FFMAX(pad_length, 0) + 2, '[');
FFMAX              70 tests/checkasm/vf_nlmeans.c                     const int startx_safe = FFMAX(s1x, s2x);
FFMAX              71 tests/checkasm/vf_nlmeans.c                     const int starty_safe = FFMAX(s1y, s2y);
FFMAX              38 tests/checkasm/vp9dsp.c         for (k = -4;  k < SIZEOF_PIXEL * FFMAX(8, size); k += 4) { \
FFMAX             262 tools/ismindex.c         max_pts = FFMAX(max_pts, pts + sample_duration);
FFMAX             569 tools/ismindex.c         tracks->duration = FFMAX(tracks->duration,
FFMAX             146 tools/probetest.c         for (retry = 0; retry < retry_count; retry += FFMAX(size, 32)) {
FFMAX             189 tools/sidxindex.c         tracks->duration = FFMAX(tracks->duration,
FFMAX              56 tools/target_dem_fuzzer.c     c->filesize   = FFMAX(c->filesize, c->pos);