FFMIN              45 doc/examples/avio_reading.c     buf_size = FFMIN(buf_size, bd->size);
FFMIN             737 doc/examples/transcode_aac.c     const int frame_size = FFMIN(av_audio_fifo_size(fifo),
FFMIN             564 fftools/cmdutils.c     av_strlcpy(opt_stripped, opt, FFMIN(sizeof(opt_stripped), p - opt + 1));
FFMIN             727 fftools/ffmpeg.c             int new_size = FFMIN(2 * av_fifo_size(ost->muxing_queue),
FFMIN             845 fftools/ffmpeg.c         of->recording_time = FFMIN(of->recording_time, end);
FFMIN            1067 fftools/ffmpeg.c         duration = FFMIN(duration, 1/(av_q2d(ost->frame_rate) * av_q2d(enc->time_base)));
FFMIN            1157 fftools/ffmpeg.c     nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number);
FFMIN            1158 fftools/ffmpeg.c     nb0_frames = FFMIN(nb0_frames, nb_frames);
FFMIN            1819 fftools/ffmpeg.c                    FFMIN(buf_script.len, buf_script.size - 1));
FFMIN            3330 fftools/ffmpeg.c             enc_ctx->bits_per_raw_sample = FFMIN(dec_ctx->bits_per_raw_sample,
FFMIN            3359 fftools/ffmpeg.c             enc_ctx->bits_per_raw_sample = FFMIN(dec_ctx->bits_per_raw_sample,
FFMIN            4348 fftools/ffmpeg.c                 new_start_time = FFMIN(new_start_time, av_rescale_q(st->start_time, st->time_base, AV_TIME_BASE_Q));
FFMIN            4422 fftools/ffmpeg.c         ist->min_pts = FFMIN(pkt.pts, ist->min_pts);
FFMIN            2056 fftools/ffmpeg_opt.c         out_ch->end       = FFMIN(rt, in_ch->end   - ts_off);
FFMIN             707 fftools/ffplay.c     f->max_size = FFMIN(max_size, FRAME_QUEUE_SIZE);
FFMIN            1154 fftools/ffplay.c         nb_display_channels= FFMIN(nb_display_channels, 2);
FFMIN            1192 fftools/ffplay.c                     a = FFMIN(a, 255);
FFMIN            1193 fftools/ffplay.c                     b = FFMIN(b, 255);
FFMIN            1467 fftools/ffplay.c        set_clock_speed(&is->extclk, FFMIN(EXTERNAL_CLOCK_SPEED_MAX, is->extclk.speed + EXTERNAL_CLOCK_SPEED_STEP));
FFMIN            1542 fftools/ffplay.c         sync_threshold = FFMAX(AV_SYNC_THRESHOLD_MIN, FFMIN(AV_SYNC_THRESHOLD_MAX, delay));
FFMIN            1594 fftools/ffplay.c         *remaining_time = FFMIN(*remaining_time, is->last_vis_time + rdftspeed - time);
FFMIN            1626 fftools/ffplay.c                 *remaining_time = FFMIN(is->frame_timer + delay - time, *remaining_time);
FFMIN            2535 fftools/ffplay.c         wanted_spec.channels = next_nb_channels[FFMIN(7, wanted_spec.channels)];
FFMIN             822 fftools/ffprobe.c         l = FFMIN(size, 16);
FFMIN             866 fftools/ffprobe.c         l = FFMIN(size, columns);
FFMIN            2224 fftools/ffprobe.c                 int m = FFMIN(tc[0],3);
FFMIN             131 libavcodec/8svx.c     buf_size = FFMIN(MAX_FRAME_SIZE, esc->data_size - esc->data_idx);
FFMIN              74 libavcodec/a64multienc.c     int height = FFMIN(avctx->height, C64YRES);
FFMIN              75 libavcodec/a64multienc.c     int width  = FFMIN(avctx->width , C64XRES);
FFMIN             128 libavcodec/a64multienc.c         index2[a] = FFMIN(i + 1, c->mc_pal_size - 1);
FFMIN             174 libavcodec/a64multienc.c                     best_cb[x] = FFMIN(c->mc_luma_vals[3], best_cb[x]);
FFMIN             293 libavcodec/a64multienc.c         b_height = FFMIN(avctx->height,C64YRES) >> 3;
FFMIN             294 libavcodec/a64multienc.c         b_width  = FFMIN(avctx->width ,C64XRES) >> 3;
FFMIN              71 libavcodec/aac_ac3_parser.c         s->remaining_size -= FFMIN(s->remaining_size, buf_size);
FFMIN             252 libavcodec/aaccoder.c             q0f = FFMIN(q0f, t);
FFMIN             324 libavcodec/aaccoder.c                         qmin = FFMIN(qmin, t);
FFMIN             351 libavcodec/aaccoder.c                     minrd = FFMIN(minrd, dist);
FFMIN             410 libavcodec/aaccoder.c     destbits = FFMIN(destbits, 5800);
FFMIN             432 libavcodec/aaccoder.c                 minthr = FFMIN(minthr, uplim);
FFMIN             443 libavcodec/aaccoder.c             sce->sf_idx[w*16+g] = SCALE_ONE_POS + FFMIN(log2f(uplims[w*16+g]/minthr)*4,59);
FFMIN             484 libavcodec/aaccoder.c                     minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
FFMIN             533 libavcodec/aaccoder.c                 sce->sf_idx[w*16+g] = FFMIN(sce->sf_idx[w*16+g], 219);
FFMIN             555 libavcodec/aaccoder.c     const float spread_threshold = FFMIN(0.75f, NOISE_SPREAD_THRESHOLD*FFMAX(0.5f, lambda/100.f));
FFMIN             557 libavcodec/aaccoder.c     const float pns_transient_energy_r = FFMIN(0.7f, lambda / 140.f);
FFMIN             601 libavcodec/aaccoder.c                 spread     = FFMIN(spread, band->spread);
FFMIN             606 libavcodec/aaccoder.c                     min_energy = FFMIN(min_energy, band->energy);
FFMIN             631 libavcodec/aaccoder.c             pns_tgt_energy = sfb_energy*FFMIN(1.0f, spread*spread);
FFMIN             693 libavcodec/aaccoder.c     const float spread_threshold = FFMIN(0.75f, NOISE_SPREAD_THRESHOLD*FFMAX(0.5f, lambda/100.f));
FFMIN             694 libavcodec/aaccoder.c     const float pns_transient_energy_r = FFMIN(0.7f, lambda / 140.f);
FFMIN             731 libavcodec/aaccoder.c                 spread     = FFMIN(spread, band->spread);
FFMIN             736 libavcodec/aaccoder.c                     min_energy = FFMIN(min_energy, band->energy);
FFMIN             764 libavcodec/aaccoder.c     const float mslambda = FFMIN(1.0f, lambda / 120.f);
FFMIN             808 libavcodec/aaccoder.c                     minidx = FFMIN(sce0->sf_idx[w*16+g], sce1->sf_idx[w*16+g]);
FFMIN             828 libavcodec/aaccoder.c                         float minthr = FFMIN(band0->threshold, band1->threshold);
FFMIN             210 libavcodec/aaccoder_twoloop.h     destbits = FFMIN(destbits, 5800);
FFMIN             211 libavcodec/aaccoder_twoloop.h     toomanybits = FFMIN(toomanybits, 5800);
FFMIN             212 libavcodec/aaccoder_twoloop.h     toofewbits = FFMIN(toofewbits, 5800);
FFMIN             255 libavcodec/aaccoder_twoloop.h                     min_spread_thr_r = FFMIN(min_spread_thr_r, spread_thr_r[w*16+g]);
FFMIN             281 libavcodec/aaccoder_twoloop.h             minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
FFMIN             339 libavcodec/aaccoder_twoloop.h                 energy2uplim = FFMAX(0.015625f, FFMIN(1.0f, energy2uplim));
FFMIN             353 libavcodec/aaccoder_twoloop.h                 energy2uplim = FFMAX(0.015625f, FFMIN(1.0f, energy2uplim));
FFMIN             425 libavcodec/aaccoder_twoloop.h                         int new_sf = FFMIN(maxsf_i, sce->sf_idx[i] + qstep);
FFMIN             528 libavcodec/aaccoder_twoloop.h                                 minspread = FFMIN(minspread, spread_thr_r[w*16+g]);
FFMIN             542 libavcodec/aaccoder_twoloop.h                     maxzeroed = FFMIN(zeroable, FFMAX(1, (zeroable * its + maxits - 1) / (2 * maxits)));
FFMIN             560 libavcodec/aaccoder_twoloop.h                                         || (mcb <= 1 && dists[w*16+g] > FFMIN(uplims[w*16+g], euplims[w*16+g]))) ) {
FFMIN             581 libavcodec/aaccoder_twoloop.h                     minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
FFMIN             594 libavcodec/aaccoder_twoloop.h             uplmax *= (tbits > destbits) ? FFMIN(2.0f, tbits / (float)FFMAX(1,destbits)) : 1.0f;
FFMIN             605 libavcodec/aaccoder_twoloop.h                     int maxdeltasf = FFMIN(SCALE_MAX_POS - SCALE_DIV_512, prev + SCALE_MAX_DIFF);
FFMIN             621 libavcodec/aaccoder_twoloop.h                                 maxsf[w*16+g] = FFMIN(sce->sf_idx[w*16+g]-1, maxsf[w*16+g]);
FFMIN             630 libavcodec/aaccoder_twoloop.h                                 maxsf[w*16+g] = FFMIN(sce->sf_idx[w*16+g], maxsf[w*16+g]);
FFMIN             650 libavcodec/aaccoder_twoloop.h                                     (dists[w*16+g] < FFMIN(uplmax*uplims[w*16+g], euplims[w*16+g]))
FFMIN             656 libavcodec/aaccoder_twoloop.h                     } else if (tbits > toofewbits && sce->sf_idx[w*16+g] < FFMIN(maxdeltasf, maxsf[w*16+g])
FFMIN             657 libavcodec/aaccoder_twoloop.h                             && (dists[w*16+g] < FFMIN(euplims[w*16+g], uplims[w*16+g]))
FFMIN             684 libavcodec/aaccoder_twoloop.h                                 if (dist < FFMIN(euplims[w*16+g], uplims[w*16+g])) {
FFMIN             692 libavcodec/aaccoder_twoloop.h                                 maxsf[w*16+g] = FFMIN(sce->sf_idx[w*16+g], maxsf[w*16+g]);
FFMIN             700 libavcodec/aaccoder_twoloop.h                     nminscaler = FFMIN(nminscaler, sce->sf_idx[w*16+g]);
FFMIN             292 libavcodec/aacdec.c         asclen         = FFMIN(asclen, get_bits_left(gb));
FFMIN            1281 libavcodec/aacdec_template.c     for (sfb = 0; sfb < FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[ac->oc[1].m4ac.sampling_index]); sfb++) {
FFMIN            1297 libavcodec/aacdec_template.c     for (sfb = 0; sfb < FFMIN(max_sfb, MAX_LTP_LONG_SFB); sfb++)
FFMIN            2491 libavcodec/aacdec_template.c     const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb);
FFMIN            2513 libavcodec/aacdec_template.c             start = ics->swb_offset[FFMIN(bottom, mmm)];
FFMIN            2514 libavcodec/aacdec_template.c             end   = ics->swb_offset[FFMIN(   top, mmm)];
FFMIN            2528 libavcodec/aacdec_template.c                     for (i = 1; i <= FFMIN(m, order); i++)
FFMIN            2534 libavcodec/aacdec_template.c                     for (i = 1; i <= FFMIN(m, order); i++)
FFMIN            2596 libavcodec/aacdec_template.c         for (sfb = 0; sfb < FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++)
FFMIN             520 libavcodec/aacenc.c     put_bits(&s->pb, 4, FFMIN(namelen, 15));
FFMIN             627 libavcodec/aacenc.c             ics->max_sfb            = FFMIN(ics->max_sfb, ics->num_swb);
FFMIN             831 libavcodec/aacenc.c         rate_bits = FFMIN(rate_bits, 6144 * s->channels - 3);
FFMIN             833 libavcodec/aacenc.c         too_many_bits = FFMIN(too_many_bits, 6144 * s->channels - 3);
FFMIN             834 libavcodec/aacenc.c         too_few_bits = FFMIN(FFMAX(rate_bits - rate_bits/4, target_bits), too_many_bits);
FFMIN             859 libavcodec/aacenc.c             s->lambda = FFMIN(s->lambda * ratio, 65536.f);
FFMIN            1024 libavcodec/aacenc.c     avctx->bit_rate = (int64_t)FFMIN(6144 * s->channels / 1024.0 * avctx->sample_rate,
FFMIN              59 libavcodec/aacenc_is.c         float minthr = FFMIN(band0->threshold, band1->threshold);
FFMIN              49 libavcodec/aacenc_ltp.c     for (i = 0; i < FFMIN(ics->max_sfb, MAX_LTP_LONG_SFB); i++)
FFMIN             143 libavcodec/aacenc_ltp.c     for (sfb = 0; sfb < FFMIN(sce0->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++) {
FFMIN             163 libavcodec/aacenc_ltp.c     int saved_bits = -(15 + FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB));
FFMIN             166 libavcodec/aacenc_ltp.c     const int max_ltp = FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB);
FFMIN             122 libavcodec/aacenc_pred.c     const int pmax = FFMIN(sce->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]);
FFMIN             156 libavcodec/aacenc_pred.c     const int pmax0 = FFMIN(sce0->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]);
FFMIN             157 libavcodec/aacenc_pred.c     const int pmax1 = FFMIN(sce1->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]);
FFMIN             158 libavcodec/aacenc_pred.c     const int pmax  = FFMIN(pmax0, pmax1);
FFMIN             236 libavcodec/aacenc_pred.c     const int pmax = FFMIN(sce->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]);
FFMIN             336 libavcodec/aacenc_pred.c     const int pmax = FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]);
FFMIN             107 libavcodec/aacenc_tns.c     const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb);
FFMIN             122 libavcodec/aacenc_tns.c             start = ics->swb_offset[FFMIN(bottom, mmm)];
FFMIN             123 libavcodec/aacenc_tns.c             end   = ics->swb_offset[FFMIN(   top, mmm)];
FFMIN             136 libavcodec/aacenc_tns.c                 for (i = 1; i <= FFMIN(m, order); i++) {
FFMIN             166 libavcodec/aacenc_tns.c     const int mmm = FFMIN(sce->ics.tns_max_bands, sce->ics.max_sfb);
FFMIN              72 libavcodec/aacenc_utils.h         int tmp = (int)FFMIN(qc + rounding, (float)maxval);
FFMIN             144 libavcodec/aacenc_utils.h             frm = e / FFMIN(e+4*var,maxval);
FFMIN             708 libavcodec/aacps.c                 transient_gain[i][n] = FFMIN(power_smooth[i]*43691LL / peak_decay_diff_smooth[i], 1<<16);
FFMIN             941 libavcodec/aacps.c             width = FFMIN(2U*width, INT_MAX);
FFMIN             323 libavcodec/aacpsy.c     pctx->frame_bits   = FFMIN(2560, chan_bitrate * AAC_BLOCK_SIZE_LONG / ctx->avctx->sample_rate);
FFMIN             364 libavcodec/aacpsy.c                 minscale = FFMIN(minscale, ath((start + i) * line_to_frequency, ATH_ADD));
FFMIN             524 libavcodec/aacpsy.c     ctx->pe.min = FFMIN(pe, forgetful_min_pe);
FFMIN             529 libavcodec/aacpsy.c     return FFMIN(
FFMIN             689 libavcodec/aacpsy.c                 band->thr = FFMAX(PSY_3GPP_RPEMIN*band->thr, FFMIN(band->thr,
FFMIN             712 libavcodec/aacpsy.c         desired_bits = FFMIN(2560, PSY_3GPP_PE_TO_BITS(desired_pe));
FFMIN             717 libavcodec/aacpsy.c             desired_bits = FFMIN(2560, PSY_3GPP_PE_TO_BITS(desired_pe));
FFMIN             722 libavcodec/aacpsy.c         pctx->pe.min = FFMIN(pe, pctx->pe.min);
FFMIN             251 libavcodec/aacsbr.c             gain_max = FFMIN(100000.f, gain_max);
FFMIN             254 libavcodec/aacsbr.c                 sbr->q_m[e][m]  = FFMIN(sbr->q_m[e][m], q_m_max);
FFMIN             255 libavcodec/aacsbr.c                 sbr->gain[e][m] = FFMIN(sbr->gain[e][m], gain_max);
FFMIN             265 libavcodec/aacsbr.c             gain_boost = FFMIN(1.584893192f, gain_boost);
FFMIN             246 libavcodec/aacsbr_template.c         min = FFMIN(array[i], min);
FFMIN             328 libavcodec/aacsbr_template.c     sbr->k[2] = FFMIN(64, sbr->k[2]);
FFMIN             451 libavcodec/aacsbr_template.c                 change = FFMIN(vdk0_max - vk1[1], (vk1[num_bands_1] - vk1[1]) >> 1);
FFMIN              56 libavcodec/aasc.c         s->palette_size = FFMIN(avctx->extradata_size, AVPALETTE_SIZE);
FFMIN             107 libavcodec/ac3.c         int band_end = FFMIN(ff_ac3_band_start_tab[band+1], end);
FFMIN             111 libavcodec/ac3.c             int adr = FFMIN(max - ((v + psd[bin] + 1) >> 1), 255);
FFMIN             157 libavcodec/ac3.c         end1 = FFMIN(band_end, 22);
FFMIN             668 libavcodec/ac3dec.c     end = FFMIN(s->end_freq[1], s->end_freq[2]);
FFMIN             672 libavcodec/ac3dec.c             bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd + 1]);
FFMIN            1502 libavcodec/ac3dec.c         int cnt = FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE) >> 1;
FFMIN            1506 libavcodec/ac3dec.c         memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE));
FFMIN            1512 libavcodec/ac3dec.c         av_lfg_init_from_data(&s->dith_state, s->input_buffer, FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE));
FFMIN            1577 libavcodec/ac3dec.c         return FFMIN(full_buf_size, s->frame_size);
FFMIN            1823 libavcodec/ac3dec.c         return FFMIN(full_buf_size, s->frame_size + skip);
FFMIN            1825 libavcodec/ac3dec.c     return FFMIN(full_buf_size, s->superframe_size + skip);
FFMIN             124 libavcodec/ac3dsp.c         band_end = FFMIN(band_end, end);
FFMIN             286 libavcodec/ac3enc.c         nb_coefs = FFMIN(block->end_freq[1], block->end_freq[2]);
FFMIN             290 libavcodec/ac3enc.c                 end   = FFMIN(nb_coefs, ff_ac3_rematrix_band_tab[bnd+1]);
FFMIN             464 libavcodec/ac3enc.c         exp[i] = FFMIN(exp[i], exp[i-1] + 2);
FFMIN             467 libavcodec/ac3enc.c         exp[i] = FFMIN(exp[i], exp[i+1] + 2);
FFMIN            1030 libavcodec/ac3enc.c                                     FFMIN(end, block->end_freq[ch]) - start);
FFMIN            2299 libavcodec/ac3enc.c         cpl_start_band = av_clip(cpl_start, 0, FFMIN(cpl_end_band-1, 15));
FFMIN             103 libavcodec/ac3enc_fixed.c         uint32_t coord32 = FFMIN(coord, 1073741824);
FFMIN             105 libavcodec/ac3enc_fixed.c         return FFMIN(coord32, COEF_MAX);
FFMIN              78 libavcodec/ac3enc_float.c     return FFMIN(coord, COEF_MAX);
FFMIN             138 libavcodec/ac3enc_template.c     cpl_start     = FFMIN(256, cpl_start + num_cpl_coefs) - num_cpl_coefs;
FFMIN             290 libavcodec/ac3enc_template.c                 min_exp = FFMIN(exp, min_exp);
FFMIN             345 libavcodec/ac3enc_template.c         nb_coefs = FFMIN(block->end_freq[1], block->end_freq[2]);
FFMIN             355 libavcodec/ac3enc_template.c             int end   = FFMIN(nb_coefs, ff_ac3_rematrix_band_tab[bnd+1]);
FFMIN             361 libavcodec/ac3enc_template.c             if (FFMIN(sum[2], sum[3]) < FFMIN(sum[0], sum[1]))
FFMIN             820 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             825 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             832 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             840 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             848 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             853 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             181 libavcodec/adpcmenc.c     int nibble = FFMIN(7, abs(delta) * 4 /
FFMIN             268 libavcodec/adpcmenc.c     nibble = FFMIN(7, abs(delta) * 4 / c->step) + (delta < 0) * 8;
FFMIN             209 libavcodec/agm.c                 rskip = FFMIN(*skip, s->blocks_w - j);
FFMIN             252 libavcodec/agm.c                 rskip = FFMIN(*skip, s->blocks_w - j);
FFMIN             295 libavcodec/agm.c             rskip = FFMIN(*skip, 64 - i);
FFMIN             374 libavcodec/agm.c             rskip = FFMIN(*skip, 64 - i);
FFMIN             313 libavcodec/aic.c     int slice_width = FFMIN(ctx->slice_width, ctx->mb_width - mb_x);
FFMIN             128 libavcodec/alac.c         k = FFMIN(k, alac->rice_limit);
FFMIN             147 libavcodec/alac.c             k = FFMIN(k, alac->rice_limit);
FFMIN             478 libavcodec/alac.c     for (ch = 0; ch < FFMIN(alac->channels, 2); ch++) {
FFMIN             499 libavcodec/alac.c     for (ch = 0; ch < FFMIN(alac->channels, 2); ch++) {
FFMIN             111 libavcodec/alacenc.c     k = FFMIN(k, s->rc.k_modifier);
FFMIN             736 libavcodec/alsdec.c                 k_max = FFMIN(opt_order, 20);
FFMIN             750 libavcodec/alsdec.c                 k_max = FFMIN(opt_order, 127);
FFMIN             798 libavcodec/alsdec.c         start = FFMIN(opt_order, 3);
FFMIN             809 libavcodec/alsdec.c             bd->raw_samples[1] = decode_rice(gb, FFMIN(s[0] + 3, ctx->s_max));
FFMIN             811 libavcodec/alsdec.c             bd->raw_samples[2] = decode_rice(gb, FFMIN(s[0] + 1, ctx->s_max));
FFMIN             940 libavcodec/alsdec.c         for (smp = 0; smp < FFMIN(opt_order, block_length); smp++) {
FFMIN            1335 libavcodec/alsdec.c             if (FFMIN(begin - 1, begin - 1 + t) < ctx->raw_buffer - master ||
FFMIN            1339 libavcodec/alsdec.c                        master + FFMIN(begin - 1, begin - 1 + t), master + FFMAX(end + 1,   end + 1 + t),
FFMIN            1544 libavcodec/alsdec.c                     nbits[i] = FFMIN(nbits[i], highest_byte*8);
FFMIN            1804 libavcodec/alsdec.c         ctx->cur_frame_length = FFMIN(sconf->samples - ctx->frame_id * (uint64_t) sconf->frame_length,
FFMIN             559 libavcodec/amrnbdec.c         p->beta = FFMIN(p->pitch_gain[4], 1.0);
FFMIN             813 libavcodec/amrnbdec.c                 0.25 * FFMIN(p->pitch_gain[4], 1.0) :
FFMIN             814 libavcodec/amrnbdec.c                 0.5  * FFMIN(p->pitch_gain[4], SHARP_MAX));
FFMIN             725 libavcodec/amrwbdec.c         g0 = FFMIN(*prev_tr_gain, fixed_gain + fixed_gain *
FFMIN             961 libavcodec/amrwbdec.c     scale = 0.5 * (FFMIN(est, 7600) - isf[LP_ORDER - 2]) /
FFMIN              82 libavcodec/anm.c         int striplen = FFMIN(count, remaining);
FFMIN             201 libavcodec/ansi.c         s->y = FFMIN(s->y + (s->nb_args > 0 ? s->args[0]*s->font_height : s->font_height), avctx->height - s->font_height);
FFMIN             204 libavcodec/ansi.c         s->x = FFMIN(s->x + (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), avctx->width  - FONT_WIDTH);
FFMIN             306 libavcodec/ansi.c         for (i = 0; i < FFMIN(s->nb_args, MAX_NB_ARGS); i++) {
FFMIN             316 libavcodec/ansi.c             } else if (m == 38 && i + 2 < FFMIN(s->nb_args, MAX_NB_ARGS) && s->args[i + 1] == 5 && s->args[i + 2] < 256) {
FFMIN             324 libavcodec/ansi.c             } else if (m == 48 && i + 2 < FFMIN(s->nb_args, MAX_NB_ARGS) && s->args[i + 1] == 5 && s->args[i + 2] < 256) {
FFMIN             603 libavcodec/apedec.c     for (i = 0; i < FFMIN(blockstodecode, 5); i++) {
FFMIN             614 libavcodec/apedec.c     for (; i < FFMIN(blockstodecode, 64); i++) {
FFMIN            1519 libavcodec/apedec.c     blockstodecode = FFMIN(s->blocks_per_loop, s->samples);
FFMIN             107 libavcodec/aptxenc.c     sample_difference_abs = FFMIN(sample_difference_abs, (1 << 23) - 1);
FFMIN             110 libavcodec/arbc.c                     pixels_overwritten += FFMIN(step_h, avctx->height - j) * FFMIN(step_w, avctx->width - k);
FFMIN             385 libavcodec/atrac3.c                 coded_values     = FFMIN(max_coded_values, coded_values);
FFMIN             386 libavcodec/atrac3plusdec.c     return avctx->codec_id == AV_CODEC_ID_ATRAC3P ? FFMIN(avctx->block_align, avpkt->size) : avpkt->size;
FFMIN             153 libavcodec/atrac9dec.c             c->precision_mask[i - neg] += FFMIN(delta, 5);
FFMIN             190 libavcodec/atrac9dec.c             c->precision_fine[i] = FFMIN(c->precision_coarse[i], 30) - 15;
FFMIN             301 libavcodec/atrac9dec.c         const int unit_cnt = FFMIN(b->band_ext_q_unit, baseline_len);
FFMIN             322 libavcodec/atrac9dec.c         const int unit_cnt = FFMIN(b->band_ext_q_unit, baseline_len);
FFMIN             375 libavcodec/atrac9dec.c         const int min  = FFMIN(prev, next);
FFMIN             384 libavcodec/atrac9dec.c         const int min = FFMIN(c->scalefactors[i + 1], c->scalefactors[i - 1]);
FFMIN             786 libavcodec/atrac9dec.c     const int frames = FFMIN(avpkt->size / s->avg_frame_size, s->frame_count);
FFMIN              92 libavcodec/audio_frame_queue.c         int n= FFMIN(afq->frames[i].duration, nb_samples);
FFMIN             412 libavcodec/audiotoolboxenc.c                         len = FFMIN(gb.buffer_end - gb.buffer, len);
FFMIN             108 libavcodec/av1_parse.h     ret = init_get_bits8(&gb, buf, FFMIN(buf_size, 2 + 8)); // OBU header fields + max leb128 length
FFMIN             520 libavcodec/bink.c         len2 = FFMIN(len - i, 8);
FFMIN             200 libavcodec/binkaudio.c             quant[i]  = quant_table[FFMIN(value, 95)];
FFMIN             221 libavcodec/binkaudio.c             j = FFMIN(j, s->frame_len);
FFMIN             219 libavcodec/bitstream.c             subtable_bits = FFMIN(subtable_bits, table_nb_bits);
FFMIN             261 libavcodec/bmp.c             colors = FFMIN(256, (hsize-ihsize-14) / 3);
FFMIN              84 libavcodec/bmp_parser.c             i = FFMIN(bpc->remaining_size, buf_size);
FFMIN             167 libavcodec/bytestream.h     g->buffer += FFMIN(g->buffer_end - g->buffer, size);
FFMIN             182 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             267 libavcodec/bytestream.h     int size2 = FFMIN(g->buffer_end - g->buffer, size);
FFMIN             289 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             313 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             351 libavcodec/bytestream.h     size  = FFMIN(g->buffer_end - g->buffer, size);
FFMIN             352 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             670 libavcodec/cavsdec.c         predpred = FFMIN(nA, nB);
FFMIN             314 libavcodec/cbs.c             ctx->write_buffer_size = FFMIN(2 * ctx->write_buffer_size, INT_MAX / 8);
FFMIN              70 libavcodec/cbs_av1.c                 k = FFMIN(zeroes - 32, 32);
FFMIN             603 libavcodec/cbs_av1_syntax_template.c     max_log2_tile_cols = cbs_av1_tile_log2(1, FFMIN(sb_cols, AV1_MAX_TILE_COLS));
FFMIN             604 libavcodec/cbs_av1_syntax_template.c     max_log2_tile_rows = cbs_av1_tile_log2(1, FFMIN(sb_rows, AV1_MAX_TILE_ROWS));
FFMIN             634 libavcodec/cbs_av1_syntax_template.c             max_width = FFMIN(sb_cols - start_sb, max_tile_width_sb);
FFMIN             651 libavcodec/cbs_av1_syntax_template.c             max_height = FFMIN(sb_rows - start_sb, max_tile_height_sb);
FFMIN            1600 libavcodec/cbs_av1_syntax_template.c                 b = FFMIN(priv->frame_header_size - i, 8);
FFMIN            1758 libavcodec/cbs_av1_syntax_template.c     fc(32, luminance_min, 0, FFMIN(((uint64_t)current->luminance_max << 6) - 1,
FFMIN             683 libavcodec/cbs_h265_syntax_template.c                 n = FFMIN(64, 1 << (4 + (sizeId << 1)));
FFMIN             883 libavcodec/cbs_h265_syntax_template.c        0, FFMIN(ctb_log2_size_y, 5) - min_tb_log2_size_y);
FFMIN             910 libavcodec/cbs_h265_syntax_template.c            FFMIN(min_cb_log2_size_y, 5) - 3, FFMIN(ctb_log2_size_y, 5) - 3);
FFMIN             912 libavcodec/cbs_h265_syntax_template.c            0, FFMIN(ctb_log2_size_y, 5) - (current->log2_min_pcm_luma_coding_block_size_minus3 + 3));
FFMIN            1934 libavcodec/cbs_h265_syntax_template.c          i <= FFMIN(62, vps->vps_max_layers_minus1); i++) {
FFMIN            2120 libavcodec/cbs_h265_syntax_template.c     payload_zero_bits = get_bits(&tmp, FFMIN(bits_left, 8));
FFMIN            2130 libavcodec/cbs_h265_syntax_template.c         int length = FFMIN(current->bit_length - k * 8, 8);
FFMIN             413 libavcodec/ccaption_dec.c     keep_lines = FFMIN(ctx->cursor_row + 1, ctx->rollup);
FFMIN             216 libavcodec/cdgraphics.c     h_off =  FFMIN(data[1] & 0x07, CDG_BORDER_WIDTH  - 1);
FFMIN             217 libavcodec/cdgraphics.c     v_off =  FFMIN(data[2] & 0x0F, CDG_BORDER_HEIGHT - 1);
FFMIN             239 libavcodec/cdgraphics.c     for (y = FFMAX(0, vinc); y < FFMIN(CDG_FULL_HEIGHT + vinc, CDG_FULL_HEIGHT); y++)
FFMIN             242 libavcodec/cdgraphics.c                FFMIN(stride + hinc, stride));
FFMIN             380 libavcodec/cinepak.c     num_strips = FFMIN(num_strips, MAX_STRIPS);
FFMIN             601 libavcodec/cinepakenc.c             for (y = x; y < FFMIN(x + 32, mb_count); y++)
FFMIN             608 libavcodec/cinepakenc.c             for (y = x; y < FFMIN(x + 32, mb_count); y++) {
FFMIN             118 libavcodec/cngdec.c         for (i = 0; i < FFMIN(avpkt->size - 1, p->order); i++) {
FFMIN            1218 libavcodec/cook.c         if (s > FFMIN(MAX_SUBPACKETS, avctx->block_align)) {
FFMIN            1219 libavcodec/cook.c             avpriv_request_sample(avctx, "subpackets > %d", FFMIN(MAX_SUBPACKETS, avctx->block_align));
FFMIN             525 libavcodec/cuviddec.c                     .WidthInBytes  = FFMIN(pitch, frame->linesize[i]),
FFMIN             953 libavcodec/cuviddec.c                FFMIN(sizeof(ctx->cuparse_ext.raw_seqhdr_data), par->extradata_size));
FFMIN             958 libavcodec/cuviddec.c                FFMIN(sizeof(ctx->cuparse_ext.raw_seqhdr_data), avctx->extradata_size));
FFMIN            1195 libavcodec/dca_core.c                     for (n = 0; n < FFMIN(nsamples - ssf * 16, 16); n++)
FFMIN            1704 libavcodec/dca_core.c         int sync_pos = FFMIN(s->frame_size / 4, s->gb.size_in_bits / 32) - 1;
FFMIN             646 libavcodec/dca_lbr.c         nblocks = FFMIN(get_bits_left(&s->gb) / 8, DCA_LBR_TIME_SAMPLES / 8);
FFMIN             664 libavcodec/dca_lbr.c             nblocks = FFMIN(get_bits_left(&s->gb) / 8, (DCA_LBR_TIME_SAMPLES + 4) / 5);
FFMIN             675 libavcodec/dca_lbr.c         nblocks = FFMIN(get_bits_left(&s->gb) / 7, (DCA_LBR_TIME_SAMPLES + 2) / 3);
FFMIN             690 libavcodec/dca_lbr.c         nblocks = FFMIN(get_bits_left(&s->gb) / 4, DCA_LBR_TIME_SAMPLES);
FFMIN            1078 libavcodec/dca_lbr.c     s->nchannels = FFMIN(s->nchannels_total, DCA_LBR_CHANNELS);
FFMIN            1376 libavcodec/dca_lbr.c         int ch2 = FFMIN(ch1 + 1, s->nchannels - 1);
FFMIN            1763 libavcodec/dca_lbr.c         int ch2 = FFMIN(ch1 + 1, s->nchannels - 1);
FFMIN             454 libavcodec/dds.c     start_slice += FFMIN(slice, remainder_blocks);
FFMIN             798 libavcodec/decode.c             ret = FFMIN(avci->compat_decode_consumed, pkt->size);
FFMIN             867 libavcodec/decode.c         ret = FFMIN(AVERROR(errno), -1);
FFMIN            1580 libavcodec/decode.c     for (i = 0; i < FFMIN(planes, AV_NUM_DATA_POINTERS); i++) {
FFMIN             366 libavcodec/dfa.c             pal_elems = FFMIN(chunk_size / 3, 256);
FFMIN             101 libavcodec/dirac_arith.c     length = FFMIN(length, get_bits_left(gb)/8);
FFMIN              76 libavcodec/dirac_dwt.c         while (d->cs[level].y <= FFMIN((y>>level)+support, hl))
FFMIN             785 libavcodec/diracdec.c     int luma_end    = get_bits_count(gb) + FFMIN(luma_bits, get_bits_left(gb));
FFMIN             799 libavcodec/diracdec.c     chroma_end  = get_bits_count(gb) + FFMIN(chroma_bits, get_bits_left(gb));
FFMIN             985 libavcodec/dnxhdenc.c                 int bw = FFMIN(avctx->width - 16 * mb_x, 16);
FFMIN             986 libavcodec/dnxhdenc.c                 int bh = FFMIN((avctx->height >> ctx->interlaced) - 16 * mb_y, 16);
FFMIN            1009 libavcodec/dnxhdenc.c             int bw = FFMIN(avctx->width - 16 * mb_x, 16);
FFMIN            1010 libavcodec/dnxhdenc.c             int bh = FFMIN((avctx->height >> ctx->interlaced) - 16 * mb_y, 16);
FFMIN            1084 libavcodec/dnxhdenc.c             last_lower = FFMIN(lambda, last_lower);
FFMIN            1089 libavcodec/dnxhdenc.c             down_step = FFMIN((int64_t)down_step*5, INT_MAX);
FFMIN            1102 libavcodec/dnxhdenc.c             up_step = FFMIN((int64_t)up_step*5, INT_MAX);
FFMIN            1141 libavcodec/dnxhdenc.c             last_lower = FFMIN(qscale, last_lower);
FFMIN             196 libavcodec/dolby_e.c     return FFMAX(a, b) + log_add_tab[FFMIN(c, 211)];
FFMIN             396 libavcodec/dpcm.c             int index = FFMIN(n & 0x7f, 95);
FFMIN              69 libavcodec/dpx_parser.c             i = FFMIN(d->remaining_size, buf_size);
FFMIN             212 libavcodec/dpxenc.c         memcpy (buf + 160, LIBAVCODEC_IDENT, FFMIN(sizeof(LIBAVCODEC_IDENT), 100));
FFMIN             152 libavcodec/dsicinvideo.c                 sz = FFMIN(sz, dst_end - dst);
FFMIN             178 libavcodec/dsicinvideo.c             memset(dst, *src++, FFMIN(len, dst_end - dst));
FFMIN             271 libavcodec/dstdec.c         memcpy(frame->data[0], avpkt->data + 1, FFMIN(avpkt->size - 1, frame->nb_samples * channels));
FFMIN             355 libavcodec/dstdec.c                 prob = s->probs.coeff[pelem][FFMIN(index, s->probs.length[pelem] - 1)];
FFMIN             239 libavcodec/dvbsub.c                     len = FFMIN(len, 127);
FFMIN             244 libavcodec/dvbsub.c                     len = FFMIN(len, 127);
FFMIN             129 libavcodec/dvdsubdec.c         len = FFMIN(len, w - x);
FFMIN             175 libavcodec/dvdsubenc.c         mult = 2 + FFMIN(bright, 2);
FFMIN             306 libavcodec/dvdsubenc.c             xmin = FFMIN(xmin, h->rects[i]->x);
FFMIN             307 libavcodec/dvdsubenc.c             ymin = FFMIN(ymin, h->rects[i]->y);
FFMIN             381 libavcodec/dxva2_h264.c     padding = FFMIN(128 - ((current - dxva_data) & 127), end - current);
FFMIN             303 libavcodec/dxva2_hevc.c     padding = FFMIN(128 - ((current - dxva_data) & 127), end - current);
FFMIN             259 libavcodec/dxva2_vc1.c     padding = FFMIN(128 - ((current - dxva_data) & 127), end - current);
FFMIN             206 libavcodec/dxva2_vp9.c     padding = FFMIN(128 - ((ctx_pic->slice.SliceBytesInBuffer) & 127), dxva_size - ctx_pic->slice.SliceBytesInBuffer);
FFMIN              47 libavcodec/eac3_core_bsf.c         pkt->size = FFMIN(hdr.frame_size, pkt->size);
FFMIN              82 libavcodec/eac3dec.c             copysize = FFMIN(bandsize - i, s->spx_src_start_freq - bin);
FFMIN             160 libavcodec/eatgq.c         int ret = init_get_bits8(&gb, s->gb.buffer, FFMIN(bytestream2_get_bytes_left(&s->gb), mode));
FFMIN             125 libavcodec/eatgv.c             run   = FFMIN(size1, dst_end - dst);
FFMIN             135 libavcodec/eatgv.c             run   = FFMIN(size2, dst_end - dst);
FFMIN             188 libavcodec/elbg.c             min[i]=FFMIN(min[i], elbg->points[tempcell->index*elbg->dim + i]);
FFMIN             268 libavcodec/elsdec.c     ctx->diff      = FFMIN(ELS_MAX - ctx->x,
FFMIN             345 libavcodec/elsdec.c     ctx->diff = FFMIN(z - ctx->x, z - pAllowable[ctx->j - 1]);
FFMIN             403 libavcodec/error_resilience.c         mb_height = FFMIN(mb_height, (s->last_pic.f->height+15)>>4);
FFMIN             405 libavcodec/error_resilience.c         mb_height = FFMIN(mb_height, (s->next_pic.f->height+15)>>4);
FFMIN             590 libavcodec/error_resilience.c                         min_x = FFMIN(min_x, mv_predictor[j][0]);
FFMIN             591 libavcodec/error_resilience.c                         min_y = FFMIN(min_y, mv_predictor[j][1]);
FFMIN             592 libavcodec/error_resilience.c                         min_r = FFMIN(min_r, ref[j]);
FFMIN             601 libavcodec/evrcdec.c     for (i = FFMIN(MIN_DELAY, idx - 3); i <= FFMAX(MAX_DELAY, idx + 3); i++) {
FFMIN             622 libavcodec/evrcdec.c             gamma = FFMIN(gamma, 1.0);
FFMIN             875 libavcodec/evrcdec.c             e->fade_scale = FFMIN(e->fade_scale + 0.2, 1.0);
FFMIN             721 libavcodec/exr.c     memset(td->bitmap, 0, FFMIN(min_non_zero, BITMAP_SIZE));
FFMIN             956 libavcodec/exr.c                     for (y = index_tl_y; y < FFMIN(index_tl_y + 4, td->ysize); y++) {
FFMIN             957 libavcodec/exr.c                         for (x = index_tl_x; x < FFMIN(index_tl_x + 4, td->xsize); x++) {
FFMIN            1044 libavcodec/exr.c         td->ysize = FFMIN(s->tile_attr.ySize, s->ydelta - tile_y * s->tile_attr.ySize);
FFMIN            1045 libavcodec/exr.c         td->xsize = FFMIN(s->tile_attr.xSize, s->xdelta - tile_x * s->tile_attr.xSize);
FFMIN            1070 libavcodec/exr.c         td->ysize          = FFMIN(s->scan_lines_per_block, s->ymax - line + 1); /* s->ydelta - line ?? */
FFMIN            1596 libavcodec/exr.c             bytestream2_get_buffer(&s->gb, key, FFMIN(sizeof(key) - 1, var_size));
FFMIN             180 libavcodec/ffv1.h         state->bias = FFMIN(state->bias + 1, 127);
FFMIN             182 libavcodec/ffv1.h         drift = FFMIN(drift - count, 0);
FFMIN              50 libavcodec/ffv1dec.c         while (get_rac(c, state + 1 + FFMIN(e, 9))) { // 1..10
FFMIN              58 libavcodec/ffv1dec.c             a += a + get_rac(c, state + 22 + FFMIN(i, 9));  // 22..31
FFMIN              60 libavcodec/ffv1dec.c         e = -(is_signed && get_rac(c, state + 11 + FFMIN(e, 10))); // 11..21
FFMIN             154 libavcodec/ffv1enc.c         for (j = FFMAX(i - 10, 1); j < FFMIN(i + 11, 256); j++) {
FFMIN             217 libavcodec/ffv1enc.c                 put_rac(c, state + 1 + FFMIN(i, 9), 1);  // 1..10
FFMIN             221 libavcodec/ffv1enc.c                 put_rac(c, state + 22 + FFMIN(i, 9), (a >> i) & 1);  // 22..31
FFMIN             878 libavcodec/ffv1enc.c         s->num_v_slices = FFMIN(s->num_v_slices, max_v_slices);
FFMIN             249 libavcodec/fic.c     for (i = 0; i < FFMIN(32, avctx->height - cur_y) - 1; i += 2) {
FFMIN             250 libavcodec/fic.c         int lsize = FFMIN(32, avctx->width - cur_x);
FFMIN             137 libavcodec/flac_parser.c         int seg_len = FFMIN(f->end - start, len);
FFMIN             163 libavcodec/flac_parser.c     *len = FFMIN(*len, f->end - start);
FFMIN             606 libavcodec/flac_parser.c             read_end       = read_end + FFMIN(buf + buf_size - read_end,
FFMIN             593 libavcodec/flacenc.c             part_end = FFMIN(s->frame.blocksize, part_end + psize);
FFMIN             615 libavcodec/flacenc.c     return FFMIN(k, max_param);
FFMIN             747 libavcodec/flacenc.c     int porder = FFMIN(max_porder, av_log2(n^(n-1)));
FFMIN             749 libavcodec/flacenc.c         porder = FFMIN(porder, av_log2(n/order));
FFMIN            1295 libavcodec/flacenc.c                 part_end = FFMIN(frame_end, part_end + psize);
FFMIN             168 libavcodec/frame_thread_encoder.c         avctx->thread_count = FFMIN(avctx->thread_count, MAX_THREADS);
FFMIN             915 libavcodec/g2meet.c     tile_width  = FFMIN(c->width  - tile_x * c->tile_width,  c->tile_width);
FFMIN             916 libavcodec/g2meet.c     tile_height = FFMIN(c->height - tile_y * c->tile_height, c->tile_height);
FFMIN            1085 libavcodec/g2meet.c     width  = FFMIN(c->width  - tile_x * c->tile_width,  c->tile_width);
FFMIN            1086 libavcodec/g2meet.c     height = FFMIN(c->height - tile_y * c->tile_height, c->tile_height);
FFMIN            1250 libavcodec/g2meet.c         cursor_hot_x = FFMIN(cursor_hot_x, cursor_w - 1);
FFMIN            1251 libavcodec/g2meet.c         cursor_hot_y = FFMIN(cursor_hot_y, cursor_h - 1);
FFMIN             237 libavcodec/g723_1.c         cur_lsp[LPC_ORDER - 1] = FFMIN(cur_lsp[LPC_ORDER - 1], 0x7e00);
FFMIN             282 libavcodec/g723_1dec.c     pitch_lag = FFMIN(PITCH_MAX - 3, pitch_lag);
FFMIN             284 libavcodec/g723_1dec.c         limit = FFMIN(FRAME_LEN + PITCH_MAX - offset - length, pitch_lag + 3);
FFMIN             697 libavcodec/g723_1dec.c     seg2 = FFMIN(seg, 3);
FFMIN             787 libavcodec/g723_1dec.c         t = FFMIN(t, 0x7FFF);
FFMIN             331 libavcodec/g723_1enc.c         min = FFMIN(lsp[i] - lsp[i - 1], lsp[i + 1] - lsp[i]);
FFMIN             664 libavcodec/g723_1enc.c             pitch_lag = FFMIN(pitch_lag, PITCH_MAX - 5);
FFMIN             718 libavcodec/g729dec.c                 ctx->pitch_delay_int_prev = FFMIN(ctx->pitch_delay_int_prev + 1, PITCH_DELAY_MAX);
FFMIN             188 libavcodec/get_bits.h     name ## _index = FFMIN(name ## _size_plus8, name ## _index + (num))
FFMIN             373 libavcodec/gif.c         int size = FFMIN(255, len);
FFMIN             160 libavcodec/golomb.h             skip_bits_long(gb, FFMIN(ff_interleaved_golomb_vlc_len[buf], 8));
FFMIN             190 libavcodec/golomb.h                            FFMIN(ff_interleaved_golomb_vlc_len[buf], 8));
FFMIN             360 libavcodec/h2645_parse.c     size = FFMIN(size + size / 16 + 32, INT_MAX);
FFMIN             446 libavcodec/h2645_parse.c             extract_length = FFMIN(bytestream2_get_bytes_left(&bc), next_avc - bytestream2_tell(&bc));
FFMIN             195 libavcodec/h264_direct.c                              FFMIN(16 * mb_y >> ref_field_picture,
FFMIN             121 libavcodec/h264_levels.c                 FFMIN(level->max_dpb_mbs / (width_mbs * height_mbs), 16);
FFMIN             181 libavcodec/h264_mb.c                                              FFMIN((row >> 1) - !(row & 1),
FFMIN             185 libavcodec/h264_mb.c                                              FFMIN((row >> 1), pic_height - 1),
FFMIN             189 libavcodec/h264_mb.c                                              FFMIN(row * 2 + ref_field,
FFMIN             194 libavcodec/h264_mb.c                                              FFMIN(row, pic_height - 1),
FFMIN             198 libavcodec/h264_mb.c                                              FFMIN(row, pic_height - 1),
FFMIN             359 libavcodec/h264_parse.c     *pic_poc = FFMIN(pic_field_poc[0], pic_field_poc[1]);
FFMIN             596 libavcodec/h264_ps.c                 sps->num_reorder_frames = FFMIN(level_max_dpb_mbs[i][1] / (sps->mb_width * sps->mb_height),
FFMIN            2002 libavcodec/h264_slice.c                    FFMIN(sl->slice_alpha_c0_offset, sl->slice_beta_offset) -
FFMIN            2544 libavcodec/h264_slice.c     height = FFMIN(height, pic_height - top);
FFMIN            2828 libavcodec/h264_slice.c                 next_slice_idx = FFMIN(next_slice_idx, slice_idx2);
FFMIN            2851 libavcodec/h264_slice.c                 y_end = FFMIN(sl->mb_y + 1, h->mb_height);
FFMIN             116 libavcodec/h264dec.c     height = FFMIN(height, avctx->height - y);
FFMIN             701 libavcodec/h264dec.h     const int min    = FFMIN(left, top);
FFMIN             829 libavcodec/h264dec.h     return FFMIN(buf_index, buf_size);
FFMIN             245 libavcodec/h265_profile_level.c             max_dpb_size = FFMIN(4 * profile->max_dpb_pic_buf, 16);
FFMIN             247 libavcodec/h265_profile_level.c             max_dpb_size = FFMIN(2 * profile->max_dpb_pic_buf, 16);
FFMIN             249 libavcodec/h265_profile_level.c             max_dpb_size = FFMIN(4 * profile->max_dpb_pic_buf / 3, 16);
FFMIN             266 libavcodec/hapdec.c     start_slice += FFMIN(slice, remainder_blocks);
FFMIN             361 libavcodec/hapdec.c             tex_size = FFMIN(ctx->texture_section_size, bytestream2_get_bytes_left(&ctx->gbc));
FFMIN             589 libavcodec/hevc_cabac.c     int length = (1 << (FFMIN(s->ps.sps->bit_depth, 10) - 5)) - 1;
FFMIN             811 libavcodec/hevc_cabac.c     int max_ctx = FFMIN(max, 2);
FFMIN             951 libavcodec/hevc_cabac.c     inc = FFMIN(ctx_cg, 1) + (c_idx>0 ? 2 : 0);
FFMIN            1417 libavcodec/hevc_cabac.c                             c_rice_param = s->ps.sps->persistent_rice_adaptation_enabled_flag ? c_rice_param + 1 : FFMIN(c_rice_param + 1, 4);
FFMIN            1433 libavcodec/hevc_cabac.c                         c_rice_param = s->ps.sps->persistent_rice_adaptation_enabled_flag ? c_rice_param + 1 : FFMIN(c_rice_param + 1, 4);
FFMIN            1515 libavcodec/hevc_cabac.c                     col_limit = FFMIN(4, col_limit);
FFMIN            1517 libavcodec/hevc_cabac.c                     col_limit = FFMIN(8, col_limit);
FFMIN            1519 libavcodec/hevc_cabac.c                     col_limit = FFMIN(24, col_limit);
FFMIN             312 libavcodec/hevc_filter.c         int width    = FFMIN(ctb_size_h, (s->ps.sps->width  >> s->ps.sps->hshift[c_idx]) - x0);
FFMIN             313 libavcodec/hevc_filter.c         int height   = FFMIN(ctb_size_v, (s->ps.sps->height >> s->ps.sps->vshift[c_idx]) - y0);
FFMIN             165 libavcodec/hevc_mp4toannexb_bsf.c         if (FFMIN(INT_MAX, SIZE_MAX) < 4ULL + nalu_size + extra_size) {
FFMIN             320 libavcodec/hevc_mvs.c                         s->sh.nb_refs[0] : FFMIN(s->sh.nb_refs[0], s->sh.nb_refs[1]);
FFMIN             817 libavcodec/hevc_ps.c                 coef_num  = FFMIN(64, 1 << (4 + (size_id << 1)));
FFMIN            1230 libavcodec/hevc_ps.c     if (sps->log2_max_trafo_size > FFMIN(sps->log2_ctb_size, 5)) {
FFMIN             350 libavcodec/hevc_refs.c             rpl->nb_refs = FFMIN(rpl->nb_refs, sh->nb_refs[list_idx]);
FFMIN            1249 libavcodec/hevcdec.c     int x_end = FFMIN(x0 + cb_size, s->ps.sps->width);
FFMIN            1250 libavcodec/hevcdec.c     int y_end = FFMIN(y0 + cb_size, s->ps.sps->height);
FFMIN            2386 libavcodec/hevcdec.c     lc->end_of_tiles_y = FFMIN(y_ctb + ctb_size, s->ps.sps->height);
FFMIN             233 libavcodec/hevcdsp_template.c     int limit2 = FFMIN(col_limit + 4, H)
FFMIN             235 libavcodec/hevcdsp_template.c     int limit  = FFMIN(col_limit, H);                             \
FFMIN             236 libavcodec/hevcdsp_template.c     int limit2 = FFMIN(col_limit + 4, H)
FFMIN             112 libavcodec/hevcpred_template.c     int bottom_left_size = (FFMIN(y0 + 2 * size_in_luma_v, s->ps.sps->height) -
FFMIN             114 libavcodec/hevcpred_template.c     int top_right_size   = (FFMIN(x0 + 2 * size_in_luma_h, s->ps.sps->width) -
FFMIN             127 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_v, s->ps.sps->min_pu_height - y_bottom_pu);
FFMIN             135 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_v, s->ps.sps->min_pu_height - y_left_pu);
FFMIN             148 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_h, s->ps.sps->min_pu_width - x_top_pu);
FFMIN             156 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_h, s->ps.sps->min_pu_width - x_right_pu);
FFMIN             293 libavcodec/hevcpred_template.c             int min_dist_vert_hor = FFMIN(FFABS((int)(mode - 26U)),
FFMIN             275 libavcodec/htmlsubtitles.c                                            FFMIN(sizeof(new_tag->face), len+1));
FFMIN             320 libavcodec/huffyuvdec.c     s->vlc_n = FFMIN(s->n, MAX_VLC_N);
FFMIN             338 libavcodec/huffyuvdec.c             s->vlc_n = FFMIN(s->n, MAX_VLC_N);
FFMIN              55 libavcodec/huffyuvenc.c     int min_width = FFMIN(w, 32);
FFMIN              89 libavcodec/huffyuvenc.c     int min_width = FFMIN(w, 8);
FFMIN             127 libavcodec/huffyuvenc.c     for (i = 0; i < FFMIN(w, 16); i++) {
FFMIN             308 libavcodec/huffyuvenc.c     s->vlc_n = FFMIN(s->n, MAX_VLC_N);
FFMIN             405 libavcodec/huffyuvenc.c                 int d = FFMIN(j, s->vlc_n - j);
FFMIN             420 libavcodec/huffyuvenc.c                 int d = FFMIN(j, s->vlc_n - j);
FFMIN             167 libavcodec/iff.c     count = FFMIN(palette_size / 3, count);
FFMIN             332 libavcodec/iff.c             int i, count = FFMIN(palette_size / 3, 1 << s->ham);
FFMIN             568 libavcodec/iff.c             length = FFMIN(-value + 1, dst_size - x);
FFMIN             726 libavcodec/iff.c                 int length = FFMIN(size - i, width - x);
FFMIN             787 libavcodec/iff.c             d = FFMIN(d, width - x);
FFMIN            1573 libavcodec/iff.c                         decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN            1586 libavcodec/iff.c                         decodeplane8(s->ham_buf, start, FFMIN(s->planesize, buf_end - start), plane);
FFMIN            1597 libavcodec/iff.c                 memcpy(row, buf, FFMIN(raw_width, buf_end - buf));
FFMIN            1607 libavcodec/iff.c                 memcpy(s->video[0], buf, FFMIN(buf_end - buf, s->video_size));
FFMIN            1613 libavcodec/iff.c                         decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN            1622 libavcodec/iff.c                         decodeplane8(s->ham_buf, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN            1633 libavcodec/iff.c                                       FFMIN(s->planesize, buf_end - buf), plane);
FFMIN            1642 libavcodec/iff.c                     memcpy(row, buf, FFMIN(avctx->width, buf_end - buf));
FFMIN            1648 libavcodec/iff.c                     memcpy(s->ham_buf, buf, FFMIN(avctx->width, buf_end - buf));
FFMIN            1736 libavcodec/iff.c                         decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN            1749 libavcodec/iff.c                         decodeplane8(s->ham_buf, start, FFMIN(s->planesize, buf_end - start), plane);
FFMIN             356 libavcodec/ilbcdec.c         k = FFMIN(freq >> 8, 63);
FFMIN             634 libavcodec/ilbcdec.c     int interpolation_length = FFMIN(4, index);
FFMIN             643 libavcodec/ilbcdec.c     memcpy(cbVec + index, buffer - index, FFMIN(SUBL - index, index) * sizeof(*cbVec));
FFMIN             880 libavcodec/ilbcdec.c     return FFMIN(maximum, INT16_MAX);
FFMIN            1006 libavcodec/ilbcdec.c             corrLen = FFMIN(60, s->block_samples - (inlag + 3));
FFMIN            1032 libavcodec/ilbcdec.c                     tmp1 = FFMIN(31, (shift_max << 1) + shift3 - (shift1 << 1) - shift2);
FFMIN            1036 libavcodec/ilbcdec.c                     tmp2 = FFMIN(31, (shift1 << 1) + shift2 - (shift_max << 1) - shift3);
FFMIN            1120 libavcodec/ilbcdec.c             pitchfact = FFMIN(tmpW32, 32767); /* guard against overflow */
FFMIN            1278 libavcodec/ilbcdec.c             scalediff = FFMIN(scalediff, 31);
FFMIN             935 libavcodec/indeo3.c     ctx->data_size = FFMIN(ctx->data_size, buf_size - 16);
FFMIN            1034 libavcodec/indeo3.c     dst_height = FFMIN(dst_height, plane->height);
FFMIN             559 libavcodec/interplayacm.c     buf_size = FFMIN(pkt->size, s->max_framesize - s->bitstream_size);
FFMIN             437 libavcodec/intrax8.c     w->est_run = FFMIN(b, a);
FFMIN             442 libavcodec/intrax8.c         w->est_run = FFMIN(c, w->est_run);
FFMIN              97 libavcodec/intrax8dsp.c             min_pix        = FFMIN(min_pix, c);
FFMIN             110 libavcodec/intrax8dsp.c             min_pix = FFMIN(min_pix, c);
FFMIN             221 libavcodec/intrax8dsp.c             dst[x] = src[area4 + FFMIN(2 * y + x + 2, 15)];
FFMIN             317 libavcodec/intrax8dsp.c             dst[x] = src[area2 + 6 - FFMIN(x + y, 6)];
FFMIN             379 libavcodec/intrax8dsp.c                 min = FFMIN(min, p3);
FFMIN             381 libavcodec/intrax8dsp.c                 min = FFMIN(min, p5);
FFMIN             383 libavcodec/intrax8dsp.c                 min = FFMIN(min, p8);
FFMIN             386 libavcodec/intrax8dsp.c                     min = FFMIN(min, p2);
FFMIN             388 libavcodec/intrax8dsp.c                     min = FFMIN(min, p4);
FFMIN             390 libavcodec/intrax8dsp.c                     min = FFMIN(min, p6);
FFMIN             392 libavcodec/intrax8dsp.c                     min = FFMIN(min, p7);
FFMIN             413 libavcodec/intrax8dsp.c                 x = FFABS(x0) - FFMIN(FFABS(x1), FFABS(x2));
FFMIN             170 libavcodec/ituh263dec.c     left = FFMIN(left, 32);
FFMIN             380 libavcodec/ivi.c             tile->width    = FFMIN(band->width - x,  t_width);
FFMIN             381 libavcodec/ivi.c             tile->height   = FFMIN(band->height - y, t_height);
FFMIN             428 libavcodec/j2kenc.c                 comp->coord[0][1] = comp->coord_o[0][1] = FFMIN((tilex+1)*s->tile_width, s->width);
FFMIN             430 libavcodec/j2kenc.c                 comp->coord[1][1] = comp->coord_o[1][1] = FFMIN((tiley+1)*s->tile_height, s->height);
FFMIN             907 libavcodec/j2kenc.c                 yy1 = FFMIN(ff_jpeg2000_ceildivpow2(band->coord[1][0] + 1, band->log2_cblk_height) << band->log2_cblk_height,
FFMIN             921 libavcodec/j2kenc.c                     xx1 = FFMIN(ff_jpeg2000_ceildivpow2(band->coord[0][0] + 1, band->log2_cblk_width) << band->log2_cblk_width,
FFMIN             952 libavcodec/j2kenc.c                         xx1 = FFMIN(xx1 + (1 << band->log2_cblk_width), band->coord[0][1] - band->coord[0][0] + x0);
FFMIN             955 libavcodec/j2kenc.c                     yy1 = FFMIN(yy1 + (1 << band->log2_cblk_height), band->coord[1][1] - band->coord[1][0] + y0);
FFMIN             290 libavcodec/jpeg2000.c     prec->coord[0][1] = FFMIN(prec->coord[0][1], band->coord[0][1]);
FFMIN             296 libavcodec/jpeg2000.c     prec->coord[1][1] = FFMIN(prec->coord[1][1], band->coord[1][1]);
FFMIN             345 libavcodec/jpeg2000.c         cblk->coord[0][1] = FFMIN(Cx0 + (1 << band->log2_cblk_width),
FFMIN             349 libavcodec/jpeg2000.c         cblk->coord[1][1] = FFMIN(Cy0 + (1 << band->log2_cblk_height),
FFMIN             404 libavcodec/jpeg2000.c         band->log2_cblk_width  = FFMIN(codsty->log2_cblk_width,
FFMIN             406 libavcodec/jpeg2000.c         band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
FFMIN             422 libavcodec/jpeg2000.c         band->log2_cblk_width  = FFMIN(codsty->log2_cblk_width,
FFMIN             424 libavcodec/jpeg2000.c         band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
FFMIN            1290 libavcodec/jpeg2000dec.c             if (RSpoc >= FFMIN(codsty->nreslevels, REpoc))
FFMIN            1293 libavcodec/jpeg2000dec.c             for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
FFMIN            1296 libavcodec/jpeg2000dec.c                 step_x = FFMIN(step_x, rlevel->log2_prec_width  + reducedresno);
FFMIN            1297 libavcodec/jpeg2000dec.c                 step_y = FFMIN(step_y, rlevel->log2_prec_height + reducedresno);
FFMIN            1308 libavcodec/jpeg2000dec.c                     for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
FFMIN            1362 libavcodec/jpeg2000dec.c                     step_x = FFMIN(step_x, rlevel->log2_prec_width  + reducedresno);
FFMIN            1363 libavcodec/jpeg2000dec.c                     step_y = FFMIN(step_y, rlevel->log2_prec_height + reducedresno);
FFMIN            1428 libavcodec/jpeg2000dec.c             for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
FFMIN            1431 libavcodec/jpeg2000dec.c                 step_x = FFMIN(step_x, rlevel->log2_prec_width  + reducedresno);
FFMIN            1432 libavcodec/jpeg2000dec.c                 step_y = FFMIN(step_y, rlevel->log2_prec_height + reducedresno);
FFMIN            1451 libavcodec/jpeg2000dec.c                     for (reslevelno = RSpoc; reslevelno < FFMIN(codsty->nreslevels, REpoc); reslevelno++) {
FFMIN            1508 libavcodec/jpeg2000dec.c                 FFMIN(e->LYEpoc, tile->codsty[0].nlayers),
FFMIN            1510 libavcodec/jpeg2000dec.c                 FFMIN(e->CEpoc, s->ncomponents),
FFMIN              73 libavcodec/jpegls.c         factor = FFMIN(s->maxval, 4095) + 128 >> 8;
FFMIN             115 libavcodec/jpegls.h         state->B[Q] = FFMIN(state->B[Q] - state->N[Q], 0);
FFMIN             106 libavcodec/jpeglsdec.c         maxtab = FFMIN(maxtab, (len - 5) / wt + s->palette_index);
FFMIN             117 libavcodec/jpeglsdec.c                 maxtab = FFMIN(maxtab, (1<<s->avctx->bits_per_raw_sample)-1);
FFMIN             341 libavcodec/lagarith.c         int count = FFMIN(l->zeros_rem, width - i);
FFMIN             388 libavcodec/lagarith.c         count = FFMIN(l->zeros_rem, width - i);
FFMIN              93 libavcodec/lcldec.c             ofs = FFMIN(ofs, destptr - destptr_bak);
FFMIN              95 libavcodec/lcldec.c             cnt = FFMIN(cnt, destptr_end - destptr);
FFMIN             198 libavcodec/lcldec.c                 mthread_outlen = FFMIN(mthread_outlen, c->decomp_size);
FFMIN             268 libavcodec/lcldec.c             mthread_inlen = FFMIN(mthread_inlen, len - 8);
FFMIN             270 libavcodec/lcldec.c             mthread_outlen = FFMIN(mthread_outlen, c->decomp_size);
FFMIN              45 libavcodec/libaomdec.c         .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16)
FFMIN             556 libavcodec/libaomenc.c         FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 64);
FFMIN             145 libavcodec/libdav1d.c                      : FFMIN(floor(sqrt(threads)), DAV1D_MAX_TILE_THREADS);
FFMIN             148 libavcodec/libdav1d.c                       : FFMIN(ceil(threads / s.n_tile_threads), DAV1D_MAX_FRAME_THREADS);
FFMIN             259 libavcodec/libopenjpegdec.c         adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
FFMIN             296 libavcodec/libopenjpegdec.c         adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
FFMIN             329 libavcodec/libopenjpegenc.c         while (FFMIN(avctx->width, avctx->height) >> ctx->numresolution < 1)
FFMIN             121 libavcodec/libopusdec.c             opus->gain.i = FFMIN(gain_lin * 65536, INT_MAX);
FFMIN              87 libavcodec/libvpxdec.c         .threads = FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16)
FFMIN             778 libavcodec/libvpxenc.c         FFMIN(avctx->thread_count ? avctx->thread_count : av_cpu_count(), 16);
FFMIN             174 libavcodec/libwebpenc_common.c                             for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) {
FFMIN             175 libavcodec/libwebpenc_common.c                                 for (x2 = xs; x2 < FFMIN(xs + bs2, w); x2++) {
FFMIN             190 libavcodec/libwebpenc_common.c                                 for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) {
FFMIN             192 libavcodec/libwebpenc_common.c                                             & frame->data[p][frame->linesize[p] * y2 + xs], FFMIN(bs2, w-xs));
FFMIN             195 libavcodec/libwebpenc_common.c                         for (y2 = y; y2 < FFMIN(y+bs, frame->height); y2++) {
FFMIN             198 libavcodec/libwebpenc_common.c                                     FFMIN(bs, frame->width-x));
FFMIN             410 libavcodec/libx264.c                         starty = FFMIN(mby, roi->top / MB_SIZE);
FFMIN             411 libavcodec/libx264.c                         endy   = FFMIN(mby, (roi->bottom + MB_SIZE - 1)/ MB_SIZE);
FFMIN             412 libavcodec/libx264.c                         startx = FFMIN(mbx, roi->left / MB_SIZE);
FFMIN             413 libavcodec/libx264.c                         endx   = FFMIN(mbx, (roi->right + MB_SIZE - 1)/ MB_SIZE);
FFMIN             450 libavcodec/libx265.c                 starty = FFMIN(mby, roi->top / mb_size);
FFMIN             451 libavcodec/libx265.c                 endy   = FFMIN(mby, (roi->bottom + mb_size - 1)/ mb_size);
FFMIN             452 libavcodec/libx265.c                 startx = FFMIN(mbx, roi->left / mb_size);
FFMIN             453 libavcodec/libx265.c                 endx   = FFMIN(mbx, (roi->right + mb_size - 1)/ mb_size);
FFMIN             325 libavcodec/libzvbi-teletextdec.c             min_leading = FFMIN(leading, min_leading);
FFMIN             326 libavcodec/libzvbi-teletextdec.c             min_trailing = FFMIN(trailing, min_trailing);
FFMIN              48 libavcodec/lsp.c     lsfq[lp_order-1] = FFMIN(lsfq[lp_order-1], lsfq_max);//Is warning required ?
FFMIN             206 libavcodec/mace.c         chd->factor = FFMIN(chd->factor + 506, 32767);
FFMIN             121 libavcodec/magicyuv.c     return ff_init_vlc_sparse(vlc, FFMIN(he[1023].len, 12), 1024,
FFMIN             153 libavcodec/magicyuv.c     return ff_init_vlc_sparse(vlc, FFMIN(he[4095].len, 14), 4096,
FFMIN             185 libavcodec/magicyuv.c     return ff_init_vlc_sparse(vlc, FFMIN(he[255].len, 12), 256,
FFMIN             226 libavcodec/magicyuv.c         int height = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]);
FFMIN             324 libavcodec/magicyuv.c         int height = FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height);
FFMIN             356 libavcodec/magicyuv.c         int height = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]);
FFMIN             420 libavcodec/magicyuv.c             min_width = FFMIN(width, 32);
FFMIN             458 libavcodec/magicyuv.c         int height = FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height);
FFMIN             120 libavcodec/mathops.h         if (c < d) return (FFMIN(b, d) + FFMAX(a, c)) / 2;
FFMIN             121 libavcodec/mathops.h         else       return (FFMIN(b, c) + FFMAX(a, d)) / 2;
FFMIN             123 libavcodec/mathops.h         if (c < d) return (FFMIN(a, d) + FFMAX(b, c)) / 2;
FFMIN             124 libavcodec/mathops.h         else       return (FFMIN(a, c) + FFMAX(b, d)) / 2;
FFMIN             119 libavcodec/mediacodec_sw_buffer.c                 width = FFMIN(frame->linesize[i], FFALIGN(avctx->width, 2) / 2);
FFMIN             167 libavcodec/mediacodec_sw_buffer.c                 width = FFMIN(frame->linesize[i], FFALIGN(avctx->width, 2));
FFMIN             215 libavcodec/mediacodec_sw_buffer.c                 width = FFMIN(frame->linesize[i], FFALIGN(avctx->width, 2));
FFMIN             741 libavcodec/mediacodecdec_common.c         size = FFMIN(pkt->size - offset, size);
FFMIN            2345 libavcodec/mips/aaccoder_mips.c     const float mslambda = FFMIN(1.0f, lambda / 120.f);
FFMIN            2389 libavcodec/mips/aaccoder_mips.c                     minidx = FFMIN(sce0->sf_idx[w*16+g], sce1->sf_idx[w*16+g]);
FFMIN            2409 libavcodec/mips/aaccoder_mips.c                         float minthr = FFMIN(band0->threshold, band1->threshold);
FFMIN             279 libavcodec/mips/aacdec_mips.c         for (sfb = 0; sfb < FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++)
FFMIN              85 libavcodec/mips/ac3dsp_mips.c         band_end = FFMIN(band_end, end);
FFMIN            1505 libavcodec/mips/vc1dsp_mmi.c                 int a3     = FFMIN(a1, a2);
FFMIN            1515 libavcodec/mips/vc1dsp_mmi.c                     d = FFMIN(d, clip);
FFMIN             682 libavcodec/mips/vp8dsp_mmi.c     f1 = FFMIN(a + 4, 127) >> 3;
FFMIN             683 libavcodec/mips/vp8dsp_mmi.c     f2 = FFMIN(a + 3, 127) >> 3;
FFMIN             706 libavcodec/mips/vp8dsp_mmi.c     f1 = FFMIN(a + 4, 127) >> 3;
FFMIN             707 libavcodec/mips/vp8dsp_mmi.c     f2 = FFMIN(a + 3, 127) >> 3;
FFMIN              62 libavcodec/mjpeg_parser.c                 int size= FFMIN(buf_size-i, m->size);
FFMIN              90 libavcodec/mjpeg_parser.c                 int size= FFMIN(buf_size-i, m->size);
FFMIN             119 libavcodec/mjpegbdec.c                       8 * FFMIN(field_size, buf_end - buf_ptr - sos_offs));
FFMIN             968 libavcodec/mjpegdec.c     int last    = FFMIN(se, *last_nnz);
FFMIN            2277 libavcodec/mjpegdec.c                     t -= FFMIN(2, t);
FFMIN             368 libavcodec/mlpdec.c     m->max_decoded_substream = FFMIN(m->num_substreams - 1, 2);
FFMIN            1284 libavcodec/mlpdec.c                 s->blockpos -= FFMIN(shorten_by & 0x1FFF, s->blockpos);
FFMIN            1605 libavcodec/mlpenc.c         min = FFMIN(min, 2 * HUFF_OFFSET_MAX - max - 1);
FFMIN            1687 libavcodec/mlpenc.c     bo->max      = FFMIN(offset + offset_max, HUFF_OFFSET_MAX);
FFMIN            1703 libavcodec/mlpenc.c     offset_max = FFMIN(max, HUFF_OFFSET_MAX);
FFMIN             529 libavcodec/mmaldec.c         buffer->length = FFMIN(size, ctx->decoder->input[0]->buffer_size);
FFMIN             308 libavcodec/motion_est.c     int cache_size= FFMIN(ME_MAP_SIZE>>ME_MAP_SHIFT, 1<<ME_MAP_SHIFT);
FFMIN             311 libavcodec/motion_est.c     if(FFMIN(s->avctx->dia_size, s->avctx->pre_dia_size) < -FFMIN(ME_MAP_SIZE, MAX_SAB_SIZE)){
FFMIN             554 libavcodec/motion_est.c         c->xmax = FFMIN(c->xmax, range);
FFMIN             556 libavcodec/motion_est.c         c->ymax = FFMIN(c->ymax, range);
FFMIN             970 libavcodec/motion_est.c         int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100);
FFMIN            1052 libavcodec/motion_est.c             int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100);
FFMIN            1351 libavcodec/motion_est.c                     int a= (xmax - FFMAX(fx,bx))|(FFMIN(fx,bx) - xmin);
FFMIN            1352 libavcodec/motion_est.c                     int b= (ymax - FFMAX(fy,by))|(FFMIN(fy,by) - ymin);
FFMIN            1370 libavcodec/motion_est.c                             int a= FFMIN(xmax - FFMAX(fx,bx), FFMIN(fx,bx) - xmin);
FFMIN            1371 libavcodec/motion_est.c                             int b= FFMIN(ymax - FFMAX(fy,by), FFMIN(fy,by) - ymin);
FFMIN            1372 libavcodec/motion_est.c                             borderdist= FFMIN(a,b);
FFMIN            1423 libavcodec/motion_est.c         min= FFMIN(c->direct_basis_mv[i][0], c->direct_basis_mv[i][0] - c->co_located_mv[i][0])>>shift;
FFMIN            1426 libavcodec/motion_est.c         xmax= FFMIN(xmax, s->width - max);
FFMIN            1430 libavcodec/motion_est.c         min= FFMIN(c->direct_basis_mv[i][1], c->direct_basis_mv[i][1] - c->co_located_mv[i][1])>>shift;
FFMIN            1433 libavcodec/motion_est.c         ymax= FFMIN(ymax, s->height - max);
FFMIN            1608 libavcodec/motion_est.c             range= FFMIN(range, 16);
FFMIN            1610 libavcodec/motion_est.c             range= FFMIN(range, 256);
FFMIN             381 libavcodec/motion_est_template.c     const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\
FFMIN             382 libavcodec/motion_est_template.c     const int Ly2= FFMAX(ymin, FFMIN(Ly, ymax));\
FFMIN             591 libavcodec/motion_est_template.c     for(x2=FFMAX(x-dia_size+1, xmin); x2<=FFMIN(x+dia_size-1,xmax); x2+=2){
FFMIN             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){
FFMIN             600 libavcodec/motion_est_template.c     for(y2=FFMAX(y-2, ymin); y2<=FFMIN(y+2,ymax); y2++){
FFMIN             601 libavcodec/motion_est_template.c         for(x2=FFMAX(x-2, xmin); x2<=FFMIN(x+2,xmax); x2++){
FFMIN             632 libavcodec/motion_est_template.c     for(y=FFMAX(-dia_size, ymin); y<=FFMIN(dia_size,ymax); y++){
FFMIN             633 libavcodec/motion_est_template.c         for(x=FFMAX(-dia_size, xmin); x<=FFMIN(dia_size,xmax); x++){
FFMIN             790 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, xmax - x + 1);
FFMIN             799 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, y - ymin + 1);
FFMIN             808 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, x - xmin + 1);
FFMIN             817 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, ymax - y + 1);
FFMIN             948 libavcodec/motion_est_template.c         const int xend= FFMIN(s->mb_width , s->mb_x + count + 1);
FFMIN             949 libavcodec/motion_est_template.c         const int yend= FFMIN(s->mb_height, s->mb_y + count + 1);
FFMIN             116 libavcodec/motionpixels.c         w = FFMIN(w, mp->avctx->width  - x);
FFMIN             117 libavcodec/motionpixels.c         h = FFMIN(h, mp->avctx->height - y);
FFMIN              78 libavcodec/movsub_bsf.c     pkt->size  = FFMIN(pkt->size - 2, AV_RB16(pkt->data));
FFMIN             538 libavcodec/movtextdec.c     end = ptr + FFMIN(2 + text_length, avpkt->size);
FFMIN              86 libavcodec/mpc8.c          mask = mpc8_dec_enum(gb, FFMIN(t, size - t), size);
FFMIN            1891 libavcodec/mpeg12dec.c                     (left && show_bits(&s->gb, FFMIN(left, 23)) && !is_d10) ||
FFMIN            1894 libavcodec/mpeg12dec.c                            left, left>0 ? show_bits(&s->gb, FFMIN(left, 23)) : 0, s->mb_x, s->mb_y);
FFMIN             327 libavcodec/mpeg4videodec.c         min_ab = FFMIN(alpha, beta);
FFMIN             433 libavcodec/mpeg4videodec.c     int len = FFMIN(ctx->time_increment_bits + 3, 15);
FFMIN            1767 libavcodec/mpeg4videodec.c                                          ? FFMIN(s->mb_y + 1, s->mb_height - 1)
FFMIN            1996 libavcodec/mpeg4videodec.c             min_left_top = FFMIN(left, top);
FFMIN            2004 libavcodec/mpeg4videodec.c             p2 = (FFMIN(min_left_top, topleft) + FFMAX(max_left_top, topleft)) >> 1;
FFMIN             664 libavcodec/mpeg4videoenc.c                             int xe = FFMIN(16, s->width - x);
FFMIN             665 libavcodec/mpeg4videoenc.c                             int ye = FFMIN(16, s->height - y);
FFMIN             894 libavcodec/mpeg4videoenc.c         time = FFMIN(time, s->reordered_input_picture[1]->f->pts);
FFMIN              57 libavcodec/mpegaudio_parser.c             int inc= FFMIN(buf_size - i, s->frame_size);
FFMIN             152 libavcodec/mpegaudiodec_template.c         k = FFMIN(g->region_size[i], g->big_values);
FFMIN             182 libavcodec/mpegaudiodec_template.c     l = FFMIN(ra1 + ra2 + 2, 22);
FFMIN             860 libavcodec/mpegaudiodec_template.c     int end_pos = FFMIN(end_pos2, s->gb.size_in_bits - s->extrasize * 8);
FFMIN            1620 libavcodec/mpegaudiodec_template.c             i = FFMIN(BACKSTEP_SIZE, buf_size - HEADER_SIZE);
FFMIN              64 libavcodec/mpegutils.c     h = FFMIN(h, avctx->height - y);
FFMIN             916 libavcodec/mpegvideo.c             max_slices = FFMIN(MAX_THREADS, s->mb_height);
FFMIN            1466 libavcodec/mpegvideo.c     const int op_index = FFMIN(lowres, 3);
FFMIN            1519 libavcodec/mpegvideo.c     const int op_index   = FFMIN(lowres-1+s->chroma_x_shift, 3);
FFMIN            1649 libavcodec/mpegvideo.c     const int op_index   = FFMIN(lowres, 3);
FFMIN            1869 libavcodec/mpegvideo.c         my_min = FFMIN(my_min, my);
FFMIN            2181 libavcodec/mpegvideo_enc.c             for (y2 = FFMAX(y - 1, 0); y2 < FFMIN(8, y + 2); y2++) {
FFMIN            2182 libavcodec/mpegvideo_enc.c                 for (x2= FFMAX(x - 1, 0); x2 < FFMIN(8, x + 2); x2++) {
FFMIN            3921 libavcodec/mpegvideo_enc.c             set_put_bits_buffer_size(&s->pb, FFMIN(s->thread_context[i]->pb.buf_end - s->pb.buf, INT_MAX/8-32));
FFMIN            4065 libavcodec/mpegvideo_enc.c             coeff_count[i]= FFMIN(level, 2);
FFMIN             287 libavcodec/msmpeg4enc.c         put_bits(&s->pb, 5, FFMIN(fps, 31)); //yes 29.97 -> 29
FFMIN             289 libavcodec/msmpeg4enc.c         put_bits(&s->pb, 11, FFMIN(s->bit_rate/1024, 2047));
FFMIN              77 libavcodec/msrle.c         for (i = 0; i < FFMIN(avctx->extradata_size, AVPALETTE_SIZE)/4; i++)
FFMIN              55 libavcodec/mss12.c     return FFMIN(thr, 0x3FFF);
FFMIN             182 libavcodec/mss12.c             val = FFMIN(i, pctx->cache_size - 1);
FFMIN             222 libavcodec/mss2.c                         int skip = FFMIN((unsigned)repeat, dst + w - p);
FFMIN             352 libavcodec/mss2.c                         int skip = FFMIN(repeat, pal_dst + w - pp);
FFMIN             284 libavcodec/mss3.c     for (i = 0; i < FFMIN(size, 4); i++)
FFMIN             163 libavcodec/mss4.c     return ff_init_vlc_sparse(vlc, FFMIN(max_bits, 9), num_syms, bits, 1, 1,
FFMIN              97 libavcodec/mv30.c     int factor = quant < 50 ? 5000 / FFMAX(quant, 1) : 200 - FFMIN(quant, 100) * 2;
FFMIN             157 libavcodec/mvcdec.c     for (i = 0; i < FFMIN(nb_colors, 128); i++)
FFMIN              86 libavcodec/mxpegdec.c     skip_bits(&s->jpg.gb, 8*FFMIN(len,buf_size));
FFMIN             154 libavcodec/mxpegdec.c     skip_bits(&s->jpg.gb, 8*FFMIN(len,buf_size));
FFMIN             265 libavcodec/nellymoserenc.c             idx_max = FFMIN(OPT_SIZE, cand[band - 1] + q);
FFMIN             266 libavcodec/nellymoserenc.c             for (i = FFMAX(0, cand[band - 1] - q); i < FFMIN(OPT_SIZE, cand[band - 1] + q); i++) {
FFMIN             835 libavcodec/nvenc.c     ctx->nb_surfaces = FFMAX(1, FFMIN(MAX_REGISTERED_FRAMES, ctx->nb_surfaces));
FFMIN             836 libavcodec/nvenc.c     ctx->async_depth = FFMIN(ctx->async_depth, ctx->nb_surfaces - 1);
FFMIN             921 libavcodec/nvenc.c         int lkd_bound = FFMIN(ctx->nb_surfaces, ctx->async_depth) -
FFMIN            1234 libavcodec/nvenc.c         ctx->dpb_size = FFMIN(FFMAX(avctx->refs, 0), 6);
FFMIN            1235 libavcodec/nvenc.c         avctx->max_b_frames = FFMIN(avctx->max_b_frames, 3);
FFMIN            1832 libavcodec/nvenc.c     pkt->dts -= FFMAX(avctx->max_b_frames, 0) * FFMIN(avctx->ticks_per_frame, 1);
FFMIN             476 libavcodec/opus.c             int curr_balance = f->remaining / FFMIN(3, f->coded_bands-i);
FFMIN             477 libavcodec/opus.c             b = av_clip_uintp2(FFMIN(f->remaining2 + 1, f->pulses[i] + curr_balance), 14);
FFMIN             591 libavcodec/opus.c         quanta = FFMIN(quanta << 3, FFMAX(6 << 3, quanta));
FFMIN             684 libavcodec/opus.c                 total += FFMIN(bandbits, f->caps[i]);
FFMIN             729 libavcodec/opus.c                 total += FFMIN(bandbits, f->caps[j]);
FFMIN             750 libavcodec/opus.c         bandbits     = FFMIN(bandbits, f->caps[i]);
FFMIN             805 libavcodec/opus.c             f->intensity_stereo = FFMIN(f->intensity_stereo, f->coded_bands);
FFMIN             828 libavcodec/opus.c         const int bits = FFMIN(remaining, ff_celt_freq_range[i]);
FFMIN             865 libavcodec/opus.c             max_bits  = FFMIN((f->pulses[i] >> 3) >> (f->channels - 1), CELT_MAX_FINE_BITS);
FFMIN             885 libavcodec/opus.c             int fineextra = FFMIN(extrabits >> (f->channels + 2),
FFMIN              63 libavcodec/opus_celt.c                 int k = FFMIN(i, 20) << 1;
FFMIN             153 libavcodec/opus_celt.c         float norm = exp2f(FFMIN(log_norm, 32.0f));
FFMIN             295 libavcodec/opus_celt.c         Ediff = block->energy[i] - FFMIN(prev[0], prev[1]);
FFMIN             303 libavcodec/opus_celt.c         r = FFMIN(thresh, r) * sqrt_1;
FFMIN             472 libavcodec/opus_celt.c                 block->prev_energy[0][j] = FFMIN(block->prev_energy[0][j], block->energy[j]);
FFMIN              29 libavcodec/opus_pvq.c #define CELT_PVQ_U(n, k) (ff_celt_pvq_u_row[FFMIN(n, k)][FFMAX(n, k)])
FFMIN             735 libavcodec/opus_pvq.c                     delta = FFMIN(0, delta + (N << 3 >> (5 - duration)));
FFMIN              98 libavcodec/opus_rc.c     symbol = total - FFMIN(symbol, total);
FFMIN             163 libavcodec/opus_rc.c     const int to_write = FFMIN(32 - rc->rb.cachelen, count);
FFMIN             191 libavcodec/opus_rc.c     k      = total - FFMIN(k, total);
FFMIN             196 libavcodec/opus_rc.c         return FFMIN(k, size - 1);
FFMIN             217 libavcodec/opus_rc.c     symbol = total - FFMIN(symbol, total);
FFMIN             241 libavcodec/opus_rc.c     center = total - FFMIN(center, total);
FFMIN             283 libavcodec/opus_rc.c     center = (1 << 15) - FFMIN(center, 1 << 15);
FFMIN             309 libavcodec/opus_rc.c     opus_rc_dec_update(rc, scale, low, FFMIN(low + symbol, 32768), 32768);
FFMIN             330 libavcodec/opus_rc.c         const int distance = FFMIN(val - i, (((32768 - low) - !pos) >> 1) - 1);
FFMIN             332 libavcodec/opus_rc.c         symbol = FFMIN(1, 32768 - low);
FFMIN             110 libavcodec/opus_silk.c             center_val = FFMIN(max_center, FFMAX(min_center, center_val));
FFMIN             131 libavcodec/opus_silk.c         nlsf[i] = FFMAX(nlsf[i], FFMIN(nlsf[i - 1] + min_delta[i], 32767));
FFMIN             265 libavcodec/opus_silk.c             maxabs = FFMIN(maxabs, 163838); // anything above this overflows chirp's numerator
FFMIN             479 libavcodec/opus_silk.c                                          voiced][qoffset_high][FFMIN(pulsecount[i >> 4], 6)]);
FFMIN             194 libavcodec/opusdec.c                                             FFMIN(s->packet.bandwidth, OPUS_BANDWIDTH_WIDEBAND),
FFMIN             523 libavcodec/opusdec.c         decoded_samples       = FFMIN(decoded_samples, ret);
FFMIN             144 libavcodec/opusenc.c             const size_t len  = FFMIN(subframesize, cur->nb_samples)*bps;
FFMIN             292 libavcodec/opusenc.c     txval = FFMIN(octave, 6);
FFMIN             300 libavcodec/opusenc.c     txval = FFMIN(((int)(gain / 0.09375f)) - 1, 7);
FFMIN             484 libavcodec/opusenc.c     dst[0] = FFMIN(v - FFALIGN(v - 255, 4), v);
FFMIN             681 libavcodec/opusenc.c     max_frames = ceilf(FFMIN(s->options.max_delay_ms, 120.0f)/2.5f);
FFMIN              48 libavcodec/opusenc_psy.c         int curr_balance = f->remaining / FFMIN(3, f->coded_bands - band);
FFMIN              49 libavcodec/opusenc_psy.c         b = av_clip_uintp2(FFMIN(f->remaining2 + 1, f->pulses[band] + curr_balance), 14);
FFMIN              88 libavcodec/opusenc_psy.c         for (i = 1; i <= FFMIN(lap_size, index); i++) {
FFMIN             197 libavcodec/opusenc_psy.c         s->p.frames = FFMIN(silent_frames / (1 << fsize), 48 >> fsize);
FFMIN             209 libavcodec/opusenc_psy.c     int max_bsize = FFMIN(OPUS_SAMPLES_TO_BLOCK_SIZE(max_delay_samples), CELT_BLOCK_960);
FFMIN             219 libavcodec/opusenc_psy.c     s->p.framesize = FFMIN(max_bsize, CELT_BLOCK_960);
FFMIN             281 libavcodec/opusenc_psy.c     for (i = start_offset; i < FFMIN(radius, s->inflection_points_count - start_offset); i++) {
FFMIN             359 libavcodec/opusenc_psy.c     f_out->framebits = FFMIN(f_out->framebits, OPUS_MAX_PACKET_SIZE*8);
FFMIN             120 libavcodec/pcm_rechunk_bsf.c                 int drain = FFMIN(s->in_pkt->size, data_size - s->out_pkt->size);
FFMIN              65 libavcodec/pcx.c     pallen = FFMIN(pallen, bytestream2_get_bytes_left(gb) / 3);
FFMIN             187 libavcodec/pictordec.c         npal = FFMIN(esize, 16);
FFMIN             190 libavcodec/pictordec.c             palette[i]  = ff_cga_palette[FFMIN(pal_idx, 15)];
FFMIN             193 libavcodec/pictordec.c         npal = FFMIN(esize, 16);
FFMIN             196 libavcodec/pictordec.c             palette[i]  = ff_ega_palette[FFMIN(pal_idx, 63)];
FFMIN             199 libavcodec/pictordec.c         npal = FFMIN(esize / 3, 256);
FFMIN             233 libavcodec/pictordec.c             stop_size = t1 - FFMIN(t1, t2);
FFMIN             273 libavcodec/pictordec.c             memcpy(frame->data[0] + y * frame->linesize[0], s->g.buffer, FFMIN(avctx->width, bytestream2_get_bytes_left(&s->g)));
FFMIN             134 libavcodec/pixlet.c         nbits = FFMIN(ff_clz((state >> 8) + 3) ^ 0x1F, 14);
FFMIN              62 libavcodec/png_parser.c         i = FFMIN(ppc->remaining_size, buf_size);
FFMIN             418 libavcodec/pngdec.c     s->zstream.avail_in = FFMIN(length, bytestream2_get_bytes_left(&s->gb));
FFMIN            1057 libavcodec/pngdec.c     int ls = FFMIN(av_image_get_linesize(p->format, s->width, 0), s->width * s->bpp);
FFMIN             158 libavcodec/pngenc.c     unaligned_w = FFMIN(32 - bpp, size);
FFMIN              52 libavcodec/pnm_parser.c         int inc = FFMIN(pnmpc->remaining_bytes, buf_size);
FFMIN             420 libavcodec/proresdec2.c             if (bits > FFMIN(MIN_CACHE_BITS, 31))                       \
FFMIN             458 libavcodec/proresdec2.c         DECODE_CODEWORD(code, dc_codebook[FFMIN(code, 6U)], LAST_SKIP_BITS);
FFMIN             494 libavcodec/proresdec2.c         DECODE_CODEWORD(run, run_to_cb[FFMIN(run,  15)], LAST_SKIP_BITS);
FFMIN             501 libavcodec/proresdec2.c         DECODE_CODEWORD(level, lev_to_cb[FFMIN(level, 9)], SKIP_BITS);
FFMIN             260 libavcodec/proresenc_anatoliy.c         encode_codeword(pb, new_code, dc_codebook[FFMIN(code, 6)]);
FFMIN             285 libavcodec/proresenc_anatoliy.c                 encode_codeword(pb, run, run_to_cb[FFMIN(prev_run, 15)]);
FFMIN             292 libavcodec/proresenc_anatoliy.c                 encode_codeword(pb, code, lev_to_cb[FFMIN(prev_level, 9)]);
FFMIN             477 libavcodec/proresenc_anatoliy.c     int box_width = FFMIN(width - x, dst_width);
FFMIN             484 libavcodec/proresenc_anatoliy.c         box_height = FFMIN(height - y, dst_height);
FFMIN             488 libavcodec/proresenc_anatoliy.c         box_height = FFMIN(height/2 - y, dst_height);
FFMIN             297 libavcodec/proresenc_kostya.c             bw = FFMIN(w - x, mb_width);
FFMIN             298 libavcodec/proresenc_kostya.c             bh = FFMIN(h - y, 16);
FFMIN             350 libavcodec/proresenc_kostya.c     copy_w = FFMIN(w - x, slice_width);
FFMIN             351 libavcodec/proresenc_kostya.c     copy_h = FFMIN(h - y, 16);
FFMIN             426 libavcodec/proresenc_kostya.c         codebook = FFMIN(codebook, 3);
FFMIN             456 libavcodec/proresenc_kostya.c                 run_cb = ff_prores_run_to_cb_index[FFMIN(run, 15)];
FFMIN             457 libavcodec/proresenc_kostya.c                 lev_cb = ff_prores_lev_to_cb_index[FFMIN(abs_level, 9)];
FFMIN             685 libavcodec/proresenc_kostya.c         codebook = FFMIN(codebook, 3);
FFMIN             717 libavcodec/proresenc_kostya.c                 run_cb = ff_prores_run_to_cb_index[FFMIN(run, 15)];
FFMIN             718 libavcodec/proresenc_kostya.c                 lev_cb = ff_prores_lev_to_cb_index[FFMIN(abs_level, 9)];
FFMIN             168 libavcodec/psd.c             for (i = 0; i < FFMIN(256, len_section / 3); i++)
FFMIN             764 libavcodec/pthread_frame.c             thread_count = avctx->thread_count = FFMIN(nb_cpus + 1, MAX_AUTO_THREADS);
FFMIN             144 libavcodec/pthread_slice.c             nb_cpus = FFMIN(nb_cpus, (avctx->height+15)/16);
FFMIN             147 libavcodec/pthread_slice.c             thread_count = avctx->thread_count = FFMIN(nb_cpus + 1, MAX_AUTO_THREADS);
FFMIN             154 libavcodec/qcelpdec.c         lspf[9] = FFMIN(lspf[9], 1.0 - QCELP_LSP_SPREAD_FACTOR);
FFMIN             156 libavcodec/qcelpdec.c             lspf[i - 1] = FFMIN(lspf[i - 1], lspf[i] - QCELP_LSP_SPREAD_FACTOR);
FFMIN             495 libavcodec/qcelpdec.c                 q->pitch_gain[i] = FFMIN(q->pitch_gain[i], max_pitch_gain);
FFMIN             507 libavcodec/qcelpdec.c             q->pitch_gain[i] = 0.5 * FFMIN(q->pitch_gain[i], 1.0);
FFMIN             329 libavcodec/qdmc.c     s->band_index = noise_bands_selector[FFMIN(6, llrint(floor(avctx->bit_rate * 3.0 / (double)x + 0.5)))];
FFMIN              83 libavcodec/qpeg.c                 int step = FFMIN(run - i, width - filled);
FFMIN             327 libavcodec/qpeg.c     pal_size = FFMIN(1024U, avctx->extradata_size);
FFMIN             180 libavcodec/qtrleenc.c         if (FFMIN(width, i + MAX_RLE_BULK) < lowest_bulk_cost_index) {
FFMIN             218 libavcodec/qtrleenc.c             skipcount = FFMIN(skipcount + 1, MAX_RLE_SKIP);
FFMIN             227 libavcodec/qtrleenc.c             repeatcount = FFMIN(repeatcount + 1, MAX_RLE_REPEAT);
FFMIN            1534 libavcodec/ra144.c     memcpy(target, source, FFMIN(BLOCKSIZE, offset)*sizeof(*target));
FFMIN             180 libavcodec/ra144enc.c     for (i = 0; i < FFMIN(BLOCKSIZE, lag); i++)
FFMIN             102 libavcodec/ralf.c     return ff_init_vlc_sparse(vlc, FFMIN(max_bits, 9), elems,
FFMIN             324 libavcodec/ralf.c         int flen = FFMIN(ctx->filter_length, i);
FFMIN             334 libavcodec/ralf.c             acc = FFMIN(acc, max_clip);
FFMIN             189 libavcodec/rasc.c     s->zstream.avail_in = FFMIN(size, bytestream2_get_bytes_left(gb));
FFMIN              49 libavcodec/rectangle.h     av_assert2((((long)vp)&(FFMIN(w, 8<<(HAVE_NEON|ARCH_PPC|HAVE_MMX))-1)) == 0);
FFMIN              32 libavcodec/rle.c     for (pos = start + bpp; count < FFMIN(127, len); pos += bpp, count++) {
FFMIN              38 libavcodec/rle.c                 if (bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos + 1))
FFMIN             136 libavcodec/rpza.c         n_blocks = FFMIN(n_blocks, total_blocks);
FFMIN             136 libavcodec/rv34.c     ff_init_vlc_sparse(vlc, FFMIN(maxbits, 9), realsize,
FFMIN              99 libavcodec/sbc_parser.c             pc->header_size = FFMIN(sizeof(pc->header), buf_size);
FFMIN              85 libavcodec/sgirledec.c                 int length = FFMIN(v, width - x);
FFMIN             546 libavcodec/shorten.c     buf_size       = FFMIN(buf_size, s->max_framesize - s->bitstream_size);
FFMIN             169 libavcodec/sipr.c     lsfnew[9] = FFMIN(lsfnew[LP_FILTER_ORDER - 1], 1.3 * M_PI);
FFMIN             430 libavcodec/sipr.c         pitch_gain = FFMIN(pitch_gain, 0.4);
FFMIN             433 libavcodec/sipr.c         ctx->gain_mem = FFMIN(ctx->gain_mem, pitch_gain);
FFMIN             221 libavcodec/sipr16k.c         f.pitch_fac = FFMIN(pitch_fac, 1.0);
FFMIN              46 libavcodec/sipr_parser.c     return FFMIN(next, buf_size);
FFMIN             424 libavcodec/snow.h             for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){
FFMIN             433 libavcodec/snow.h             for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){
FFMIN             515 libavcodec/snow.h         const int el= FFMIN(e, 10);
FFMIN             524 libavcodec/snow.h         put_rac(c, state+1+FFMIN(i,9), 0);
FFMIN             547 libavcodec/snow.h         while(get_rac(c, state+1 + FFMIN(e,9))){ //1..10
FFMIN             555 libavcodec/snow.h             a += a + get_rac(c, state+22 + FFMIN(i,9)); //22..31
FFMIN             558 libavcodec/snow.h         e= -(is_signed && get_rac(c, state+11 + FFMIN(e,10))); //11..21
FFMIN             680 libavcodec/snow.h                     if(y) max_run= FFMIN(run, prev_xc->x - x - 2);
FFMIN             681 libavcodec/snow.h                     else  max_run= FFMIN(run, w-x-1);
FFMIN             683 libavcodec/snow.h                         max_run= FFMIN(max_run, 2*parent_xc->x - x - 1);
FFMIN             669 libavcodec/snow_dwt.c         while (cs[level].y <= FFMIN((y >> level) + support, height >> level)) {
FFMIN             717 libavcodec/snow_dwt.c         while (cs[level].y <= FFMIN((y >> level) + support, height >> level)) {
FFMIN              55 libavcodec/snowdec.c             for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){
FFMIN              67 libavcodec/snowdec.c             for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){
FFMIN             362 libavcodec/snowdec.c             for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN             392 libavcodec/snowdec.c     if(FFMIN(s->avctx-> width>>s->chroma_h_shift,
FFMIN             574 libavcodec/snowdec.c                     start_y = FFMIN(b->height, start_y);
FFMIN             575 libavcodec/snowdec.c                     end_y = FFMIN(b->height, end_y);
FFMIN             580 libavcodec/snowdec.c                             int correlate_end_y = FFMIN(b->height, end_y + 1);
FFMIN             581 libavcodec/snowdec.c                             int correlate_start_y = FFMIN(b->height, (start_y ? start_y + 1 : 0));
FFMIN             607 libavcodec/snowdec.c             y = FFMIN(p->height, slice_starty);
FFMIN             608 libavcodec/snowdec.c             end_y = FFMIN(p->height, slice_h);
FFMIN             548 libavcodec/snowenc.c         for(y2= FFMAX(y, 0); y2<FFMIN(h, y+block_h); y2++){
FFMIN             549 libavcodec/snowenc.c             for(x2= FFMAX(x, 0); x2<FFMIN(w, x+block_w); x2++){
FFMIN             632 libavcodec/snowenc.c     int x1= FFMIN(block_w*2, w-sx);
FFMIN             633 libavcodec/snowenc.c     int y1= FFMIN(block_h*2, h-sy);
FFMIN            1381 libavcodec/snowenc.c     for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN            1432 libavcodec/snowenc.c         for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN            1440 libavcodec/snowenc.c             for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN             122 libavcodec/sonic.c                 put_rac(c, state+1+FFMIN(i,9), 1);  //1..10
FFMIN             127 libavcodec/sonic.c                 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31
FFMIN             146 libavcodec/sonic.c         while(get_rac(c, state+1 + FFMIN(e,9))){ //1..10
FFMIN             154 libavcodec/sonic.c             a += a + get_rac(c, state+22 + FFMIN(i,9)); //22..31
FFMIN             157 libavcodec/sonic.c         e= -(is_signed && get_rac(c, state+11 + FFMIN(e, 10))); //11..21
FFMIN             746 libavcodec/svq3.c             mb_type = FFMIN(s->next_pic->mb_type[mb_xy], 6);
FFMIN              64 libavcodec/tak_parser.c             int tmp_buf_size       = FFMIN(TAK_MAX_FRAME_HEADER_BYTES,
FFMIN             480 libavcodec/takdec.c         int tmp = FFMIN(y, x);
FFMIN             634 libavcodec/takdec.c             tmp = FFMIN(length2, x);
FFMIN              72 libavcodec/targa.c                 int n  = FFMIN(count, w - x);
FFMIN              86 libavcodec/targa.c                 int n  = FFMIN(count, w - x);
FFMIN             218 libavcodec/tdsc.c         ctx->cursor_hot_x = FFMIN(ctx->cursor_hot_x, ctx->cursor_w - 1);
FFMIN             219 libavcodec/tdsc.c         ctx->cursor_hot_y = FFMIN(ctx->cursor_hot_y, ctx->cursor_h - 1);
FFMIN             132 libavcodec/tests/jpeg2000dwt.c         ret = test_dwt(array, ref, border, decomp_levels, FF_DWT97_INT, FFMIN(7+5*decomp_levels, 15+3*decomp_levels));
FFMIN              64 libavcodec/tiertexseqv.c             memset(dst, *src++, FFMIN(len, dst_size));
FFMIN              68 libavcodec/tiertexseqv.c             memcpy(dst, src, FFMIN(len, dst_size));
FFMIN             372 libavcodec/tiff.c                     p->data[0][FFMIN(lnum + j, s->height-1) * p->linesize[0] +
FFMIN             373 libavcodec/tiff.c                                FFMIN(i * s->subsampling[0] + k, s->width-1)] = *src++;
FFMIN            1375 libavcodec/tiff.c         s->rps = FFMIN(value, s->height);
FFMIN            1437 libavcodec/tiff.c         for (int i = 0; i < FFMIN(count, 1 << s->bpp); i++)
FFMIN            2006 libavcodec/tiff.c                                          FFMIN(s->rps, s->height - i))) < 0) {
FFMIN            2014 libavcodec/tiff.c         decoded_height = FFMIN(i, s->height);
FFMIN            2117 libavcodec/tiff.c                 dst[j] = FFMIN((dst[j] / (float)s->white_level) * 65535, 65535);
FFMIN             214 libavcodec/tiffenc.c                     *dst++ = p->data[0][FFMIN(lnum + j, s->height-1) * p->linesize[0] +
FFMIN             215 libavcodec/tiffenc.c                                         FFMIN(i * s->subsampling[0] + k, s->width-1)];
FFMIN             107 libavcodec/truehd_core_bsf.c             header[16]  = (header[16] & 0x0c) | (FFMIN(s->hdr.num_substreams, 3) << 4);
FFMIN             125 libavcodec/truehd_core_bsf.c         for (i = 0; i < FFMIN(s->hdr.num_substreams, 3); i++) {
FFMIN            1972 libavcodec/utils.c     p = FFMIN(p, end) - 4;
FFMIN             425 libavcodec/utvideodec.c         for (i = 1; i < FFMIN(width, 16); i++) { /* scalar loop (DSP need align 16) */
FFMIN             480 libavcodec/utvideodec.c         for (i = 1; i < FFMIN(width, 16); i++) { /* scalar loop (DSP need align 16) */
FFMIN             512 libavcodec/utvideodec.c     int min_width = FFMIN(width, 32);
FFMIN             554 libavcodec/utvideodec.c     int min_width = FFMIN(width, 32);
FFMIN             285 libavcodec/v4l2_buffers.c     bytesused = FFMIN(size+offset, length);
FFMIN             287 libavcodec/v4l2_buffers.c     memcpy((uint8_t*)out->plane_info[plane].mm_addr+offset, data, FFMIN(size, length-offset));
FFMIN            1813 libavcodec/vaapi_encode.c             ctx->max_b_depth = FFMIN(ctx->desired_b_depth,
FFMIN             764 libavcodec/vaapi_encode_h265.c                         FFMIN(lrint(chroma_den *
FFMIN             768 libavcodec/vaapi_encode_h265.c                         FFMIN(lrint(chroma_den *
FFMIN             774 libavcodec/vaapi_encode_h265.c                     FFMIN(lrint(chroma_den * av_q2d(mdm->white_point[0])),
FFMIN             777 libavcodec/vaapi_encode_h265.c                     FFMIN(lrint(chroma_den * av_q2d(mdm->white_point[1])),
FFMIN             783 libavcodec/vaapi_encode_h265.c                     FFMIN(lrint(luma_den * av_q2d(mdm->min_luminance)),
FFMIN             803 libavcodec/vaapi_encode_h265.c             clli->max_content_light_level     = FFMIN(clm->MaxCLL,  65535);
FFMIN             804 libavcodec/vaapi_encode_h265.c             clli->max_pic_average_light_level = FFMIN(clm->MaxFALL, 65535);
FFMIN             112 libavcodec/vc1_pred.c     brfd = FFMIN(v->brfd, 3);
FFMIN             139 libavcodec/vc1_pred.c     brfd = FFMIN(v->brfd, 3);
FFMIN             178 libavcodec/vc1_pred.c     brfd      = FFMIN(v->brfd, 3);
FFMIN             203 libavcodec/vc1_pred.c     refdist = FFMIN(refdist, 3);
FFMIN             213 libavcodec/vc1dec.c                 next_line = FFMIN(yline + 1, (v->sprite_height >> !!plane) - 1) * iline;
FFMIN             461 libavcodec/vc1dec.c                    count, get_bits_long(&gb, FFMIN(count, 32)));
FFMIN            1095 libavcodec/vc1dec.c                 s->end_mb_y = (i == n_slices     ) ? mb_height : FFMIN(mb_height, slices[i].mby_start % mb_height);
FFMIN            1101 libavcodec/vc1dec.c                 s->end_mb_y = (i == n_slices1 + 1) ? mb_height : FFMIN(mb_height, slices[i].mby_start % mb_height);
FFMIN             165 libavcodec/vc1dsp.c                 int a3     = FFMIN(a1, a2);
FFMIN             175 libavcodec/vc1dsp.c                     d = FFMIN(d, clip);
FFMIN             648 libavcodec/vc2enc.c     int slice_redist_range = FFMIN(SLICE_REDIST_TOTAL, s->num_x*s->num_y);
FFMIN              57 libavcodec/videodsp_template.c     end_y = FFMIN(block_h, h-src_y);
FFMIN              58 libavcodec/videodsp_template.c     end_x = FFMIN(block_w, w-src_x);
FFMIN             209 libavcodec/vorbis.c                 render_line(lx, ly, FFMIN(x1,samples), y1, out);
FFMIN             715 libavcodec/vorbisdec.c             (res_setup->end-res_setup->begin) / res_setup->partition_size > FFMIN(V_MAX_PARTITIONS, 65535)) {
FFMIN             752 libavcodec/vorbisenc.c     int end   = fc->list[fc->list[FFMIN(i+1, fc->values - 1)].sort].x;
FFMIN             816 libavcodec/vorbisenc.c         int room = FFMIN(highroom, lowroom);
FFMIN            1988 libavcodec/vp3.c             x = FFMIN(x, x + FFSIGN(motion_x));
FFMIN            1991 libavcodec/vp3.c             y = FFMIN(y, y + FFSIGN(motion_y));
FFMIN            2238 libavcodec/vp3.c                                   FFMIN(4 * sb_y + 3, fragment_height - 1));
FFMIN            2250 libavcodec/vp3.c     vp3_draw_horiz_band(s, FFMIN((32 << s->chroma_y_shift) * (slice + 1) - 16,
FFMIN             254 libavcodec/vp5.c         ctx_last = FFMIN(s->coeff_ctx_last[ff_vp56_b6to4[b]], 24);
FFMIN             458 libavcodec/vp6.c             cg = FFMIN(vp6_coeff_groups[coeff_idx], 3);
FFMIN             461 libavcodec/vp6.c         s->idct_selector[b] = model->coeff_index_to_idct_selector[FFMIN(coeff_idx, 63)];
FFMIN             543 libavcodec/vp6.c         s->idct_selector[b] = model->coeff_index_to_idct_selector[FFMIN(coeff_idx, 63)];
FFMIN             352 libavcodec/vp8.c     s->qmat[0].chroma_qmul[0]  = FFMIN(vp7_ydc_qlookup[uvdc_qi], 132);
FFMIN             385 libavcodec/vp8.c         s->qmat[i].chroma_qmul[0]  = FFMIN(s->qmat[i].chroma_qmul[0], 132);
FFMIN            2142 libavcodec/vp8.c         interior_limit = FFMIN(interior_limit, 9 - s->filter.sharpness);
FFMIN            2766 libavcodec/vp8.c             num_jobs = FFMIN(s->num_coeff_partitions, avctx->thread_count);
FFMIN             277 libavcodec/vp8dsp.c     f1 = FFMIN(a + 4, 127) >> 3;
FFMIN             282 libavcodec/vp8dsp.c         f2 = FFMIN(a + 3, 127) >> 3;
FFMIN             661 libavcodec/vp9.c                 limit = FFMIN(limit, 9 - sharp);
FFMIN            1220 libavcodec/vp9.c     *start = FFMIN(sb_start, n) << 3;
FFMIN            1221 libavcodec/vp9.c     *end   = FFMIN(sb_end,   n) << 3;
FFMIN              96 libavcodec/vp9block.c     int bw4 = ff_vp9_bwh_tab[1][b->bs][0], w4 = FFMIN(s->cols - col, bw4);
FFMIN              97 libavcodec/vp9block.c     int bh4 = ff_vp9_bwh_tab[1][b->bs][1], h4 = FFMIN(s->rows - row, bh4), y;
FFMIN             120 libavcodec/vp9block.c                     pred = FFMIN(pred, refsegmap[idx_base + x]);
FFMIN             213 libavcodec/vp9block.c         b->tx = FFMIN(max_tx, s->s.h.txfmmode);
FFMIN             973 libavcodec/vp9block.c     int end_x = FFMIN(2 * (s->cols - col), w4);
FFMIN             974 libavcodec/vp9block.c     int end_y = FFMIN(2 * (s->rows - row), h4);
FFMIN            1032 libavcodec/vp9block.c                 memset(&la[n + 1], la[n], FFMIN(end - n - 1, 3)); \
FFMIN            1048 libavcodec/vp9block.c                 memset(&la[n + 1], la[n], FFMIN(end - n - 1, 7)); \
FFMIN            1401 libavcodec/vp9block.c         int w = FFMIN(s->cols - col, w4) * 8, h = FFMIN(s->rows - row, h4) * 8, n, o = 0;
FFMIN            1415 libavcodec/vp9block.c         int w = FFMIN(s->cols - col, w4) * 8 >> s->ss_h;
FFMIN            1416 libavcodec/vp9block.c         int h = FFMIN(s->rows - row, h4) * 8 >> s->ss_v, n, o = 0;
FFMIN            1436 libavcodec/vp9block.c         int x_end = FFMIN(s->cols - col, w4), y_end = FFMIN(s->rows - row, h4);
FFMIN            1837 libavcodec/vp9dsp_template.c                 f1 = FFMIN(f + 4, (1 << (BIT_DEPTH - 1)) - 1) >> 3;
FFMIN            1838 libavcodec/vp9dsp_template.c                 f2 = FFMIN(f + 3, (1 << (BIT_DEPTH - 1)) - 1) >> 3;
FFMIN            1845 libavcodec/vp9dsp_template.c                 f1 = FFMIN(f + 4, (1 << (BIT_DEPTH - 1)) - 1) >> 3;
FFMIN            1846 libavcodec/vp9dsp_template.c                 f2 = FFMIN(f + 3, (1 << (BIT_DEPTH - 1)) - 1) >> 3;
FFMIN              37 libavcodec/vp9prob.c     update_factor = FASTDIV(update_factor * FFMIN(ct, max_count), max_count);
FFMIN             226 libavcodec/vp9recon.c     int end_x = FFMIN(2 * (s->cols - col), w4);
FFMIN             227 libavcodec/vp9recon.c     int end_y = FFMIN(2 * (s->rows - row), h4);
FFMIN             604 libavcodec/vp9recon.c         int end_x = FFMIN(2 * (s->cols - col), w4);
FFMIN             605 libavcodec/vp9recon.c         int end_y = FFMIN(2 * (s->rows - row), h4);
FFMIN             697 libavcodec/wavpackenc.c     decorr_mono(samples, outsamples, FFMIN(2048, nb_samples), &dp, -1);
FFMIN             938 libavcodec/wavpackenc.c     info.log_limit = FFMIN(6912, info.log_limit);
FFMIN            1037 libavcodec/wavpackenc.c     log_limit = FFMIN(6912, log_limit);
FFMIN            1079 libavcodec/wavpackenc.c                         FFMIN(nb_samples, 2048), &temp_decorr_pass, -1);
FFMIN            1514 libavcodec/wavpackenc.c                   FFMIN(2048, nb_samples), &dp, -1);
FFMIN            1747 libavcodec/wavpackenc.c     info.log_limit = FFMIN(6912, info.log_limit);
FFMIN            1829 libavcodec/wavpackenc.c     log_limit = FFMIN(6912, log_limit);
FFMIN            1895 libavcodec/wavpackenc.c                               FFMIN(2048, nb_samples), &temp_decorr_pass, -1);
FFMIN              82 libavcodec/webp_parser.c             i = FFMIN(ctx->remaining_size, buf_size);
FFMIN              96 libavcodec/wmaenc.c     block_align        = FFMIN(block_align, MAX_CODED_SUPERFRAME_SIZE);
FFMIN            1165 libavcodec/wmalosslessdec.c         align = FFMIN(align, len);
FFMIN            1200 libavcodec/wmalosslessdec.c         s->next_packet_start = buf_size - FFMIN(avctx->block_align, buf_size);
FFMIN            1201 libavcodec/wmalosslessdec.c         buf_size             = FFMIN(avctx->block_align, buf_size);
FFMIN            1115 libavcodec/wmaprodec.c                     for (y = sfb[0]; y < FFMIN(sfb[1], s->subframe_len); y++) {
FFMIN            1134 libavcodec/wmaprodec.c                     int len = FFMIN(sfb[1], s->subframe_len) - sfb[0];
FFMIN            1383 libavcodec/wmaprodec.c                 const int end = FFMIN(s->cur_sfb_offsets[b+1], s->subframe_len);
FFMIN            1586 libavcodec/wmaprodec.c         align = FFMIN(align, len);
FFMIN            1655 libavcodec/wmaprodec.c             s->next_packet_start = buf_size - FFMIN(buf_size, avctx->block_align);
FFMIN            1656 libavcodec/wmaprodec.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN            1857 libavcodec/wmaprodec.c             offset = FFMIN(offset, s->offset[i]);
FFMIN             552 libavcodec/wmavoice.c                 *end = &in[-FFMIN(s->max_pitch_val, pitch + 3)],
FFMIN             616 libavcodec/wmavoice.c         max       = FFMAX(max, tmp); min = FFMIN(min, tmp); \
FFMIN             745 libavcodec/wmavoice.c         remainder = FFMIN(127 - size, size - 1);
FFMIN             765 libavcodec/wmavoice.c         lim = FFMIN(s->denoise_filter_cache_size, size);
FFMIN             775 libavcodec/wmavoice.c         lim = FFMIN(remainder, s->denoise_filter_cache_size);
FFMIN            1060 libavcodec/wmavoice.c     s->aw_pulse_range        = FFMIN(pitch[0], pitch[1]) > 32 ? 24 : 16;
FFMIN            1511 libavcodec/wmavoice.c         cur_pitch_val    = FFMIN(cur_pitch_val, s->max_pitch_val - 1);
FFMIN            1668 libavcodec/wmavoice.c     lsps[num - 1] = FFMIN(lsps[num - 1], 0.9985 * M_PI);
FFMIN            1887 libavcodec/wmavoice.c     if ((rmn_bits = FFMIN(rmn_bits, nbits)) > 0)
FFMIN            1890 libavcodec/wmavoice.c                  FFMIN(nbits - rmn_bits, rmn_bytes << 3));
FFMIN             159 libavcodec/wmv2dec.c             int block = FFMIN(run, 25);
FFMIN              38 libavcodec/wmv2enc.c     put_bits(&pb, 11, FFMIN(s->bit_rate / 1024, 2047));
FFMIN             186 libavcodec/x86/videodsp_init.c     end_y   = FFMIN(block_h, h-src_y);
FFMIN             187 libavcodec/x86/videodsp_init.c     end_x   = FFMIN(block_w, w-src_x);
FFMIN             228 libavcodec/xan.c         int count = FFMIN(pixel_count, width - current_x);
FFMIN             567 libavcodec/xan.c         size = FFMIN(size, bytestream2_get_bytes_left(&ctx));
FFMIN             242 libavcodec/xpmdec.c     len = FFMIN(FFMAX(len, 0), sizeof(color_name) - 1);
FFMIN             161 libavcodec/xsubdec.c             run = FFMIN(run, w - x);
FFMIN              85 libavcodec/xsubenc.c                 len = FFMIN(len, 255);
FFMIN             342 libavcodec/xxan.c             dec_size = FFMIN(dec_size, s->buffer_size/2 - 1);
FFMIN             617 libavcodec/zmbv.c     if ((avctx->width + 255ULL) * (avctx->height + 64ULL) > FFMIN(avctx->max_pixels, INT_MAX / 4) ) {
FFMIN             128 libavcodec/zmbvenc.c     bw = FFMIN(ZMBV_BLOCK, c->avctx->width - x);
FFMIN             129 libavcodec/zmbvenc.c     bh = FFMIN(ZMBV_BLOCK, c->avctx->height - y);
FFMIN             235 libavcodec/zmbvenc.c             bh2 = FFMIN(avctx->height - y, ZMBV_BLOCK);
FFMIN             237 libavcodec/zmbvenc.c                 bw2 = FFMIN(avctx->width - x, ZMBV_BLOCK);
FFMIN             373 libavcodec/zmbvenc.c         c->lrange = FFMIN(avctx->me_range, 64);
FFMIN             374 libavcodec/zmbvenc.c         c->urange = FFMIN(avctx->me_range, 63);
FFMIN             245 libavdevice/alsa.c     buffer_size = FFMIN(buffer_size, ALSA_BUFFER_SIZE_MAX);
FFMIN             233 libavdevice/decklink_common.cpp         memcpy(format_buf, cctx->format_code, FFMIN(strlen(cctx->format_code), sizeof(format_buf)));
FFMIN             314 libavdevice/decklink_dec.cpp     pend = FFMIN(pend, py + dc);
FFMIN             219 libavdevice/decklink_enc.cpp     ctx->frames_buffer = FFMIN(ctx->frames_buffer, 60);
FFMIN             128 libavdevice/fbdev_enc.c     disp_height = FFMIN(fbdev->varinfo.yres, video_height);
FFMIN             129 libavdevice/fbdev_enc.c     bytes_to_copy = FFMIN(fbdev->varinfo.xres, video_width) * bytes_per_pixel;
FFMIN              56 libavdevice/openal-dec.c #define LOWEST_AL_FORMAT FFMIN(FFMIN(AL_FORMAT_MONO8,AL_FORMAT_MONO16),FFMIN(AL_FORMAT_STEREO8,AL_FORMAT_STEREO16))
FFMIN             699 libavdevice/opengl_enc.c         int max = FFMIN(FFMAX(in_width, in_height), opengl->max_texture_size);
FFMIN             868 libavdevice/opengl_enc.c         opengl->window_width = FFMIN(opengl->window_width, opengl->max_viewport_width);
FFMIN             869 libavdevice/opengl_enc.c         opengl->window_height = FFMIN(opengl->window_height, opengl->max_viewport_height);
FFMIN              65 libavdevice/oss_enc.c         len = FFMIN(OSS_AUDIO_BLOCK_SIZE - s->buffer_ptr, size);
FFMIN              54 libavdevice/sndio_enc.c         len = FFMIN(s->buffer_size - s->buffer_offset, size);
FFMIN             141 libavdevice/xcbgrab.c     c->x = FFMIN(FFMAX(0, x), geo->width  - w);
FFMIN             142 libavdevice/xcbgrab.c     c->y = FFMIN(FFMAX(0, y), geo->height - h);
FFMIN             358 libavdevice/xcbgrab.c     w = FFMIN(cx + ci->width,  gr->x + gr->width)  - x;
FFMIN             359 libavdevice/xcbgrab.c     h = FFMIN(cy + ci->height, gr->y + gr->height) - y;
FFMIN              79 libavfilter/aeval.c     return eval->channel_values[FFMIN((int)ch, eval->nb_in_channels-1)];
FFMIN             286 libavfilter/aeval.c         nb_samples = FFMIN(eval->nb_samples, av_rescale(eval->duration, eval->sample_rate, AV_TIME_BASE) - eval->pts);
FFMIN             323 libavfilter/af_acrossover.c     ctx->internal->execute(ctx, filter_channels, NULL, NULL, FFMIN(inlink->channels,
FFMIN             198 libavfilter/af_acrusher.c     double phs = FFMIN(100., lfo->phase / FFMIN(1.99, FFMAX(0.01, lfo->pwidth)) + lfo->offset);
FFMIN             317 libavfilter/af_acrusher.c     smax = FFMIN(s->samples + rad, 250.);
FFMIN             598 libavfilter/af_adeclick.c         out->nb_samples = FFMIN(s->hop_size, s->samples_left);
FFMIN             105 libavfilter/af_adelay.c             const int len = FFMIN(nb_samples, d->delay - d->delay_index); \
FFMIN             180 libavfilter/af_adelay.c         s->padding = FFMIN(s->padding, d->delay);
FFMIN             261 libavfilter/af_adelay.c         int nb_samples = FFMIN(s->padding, 2048);
FFMIN             293 libavfilter/af_adelay.c         int nb_samples = FFMIN(s->max_delay, 2048);
FFMIN             307 libavfilter/af_aecho.c     int nb_samples = FFMIN(s->fade_out, 2048);
FFMIN             326 libavfilter/af_aemphasis.c     cutfreq = FFMIN(0.45 * sr, 21000.);
FFMIN             351 libavfilter/af_afftdn.c         int j = FFMIN(n, s->noise_band_edge[i1]);
FFMIN             510 libavfilter/af_afftdn.c     return FFMIN(i, s->sample_rate / 2);
FFMIN             841 libavfilter/af_afftdn.c     s->noise_band_edge[0] = FFMIN(s->fft_length2, s->fft_length * get_band_edge(s, 0) / s->sample_rate);
FFMIN             844 libavfilter/af_afftdn.c         s->noise_band_edge[j] = FFMIN(s->fft_length2, s->fft_length * get_band_edge(s, j) / s->sample_rate);
FFMIN            1222 libavfilter/af_afftdn.c                            FFMIN(outlink->channels, ff_filter_get_nb_threads(ctx)));
FFMIN              72 libavfilter/af_afir.c     const int nb_samples = FFMIN(s->min_part_size, out->nb_samples - offset);
FFMIN             223 libavfilter/af_afir.c     ctx->internal->execute(ctx, fir_channels, out, NULL, FFMIN(outlink->channels,
FFMIN             472 libavfilter/af_afir.c             int nb_partitions = FFMIN(step, (left + part_size - 1) / part_size);
FFMIN             481 libavfilter/af_afir.c             part_size = FFMIN(part_size, max_part_size);
FFMIN             534 libavfilter/af_afir.c     s->gain = FFMIN(s->gain * s->ir_gain, 1.f);
FFMIN             924 libavfilter/af_afir.c     s->selir = FFMIN(s->nb_irs - 1, s->selir);
FFMIN             100 libavfilter/af_agate.c     s->attack_coeff  = FFMIN(1., 1. / (s->attack * inlink->sample_rate / 4000.));
FFMIN             101 libavfilter/af_agate.c     s->release_coeff = FFMIN(1., 1. / (s->release * inlink->sample_rate / 4000.));
FFMIN             303 libavfilter/af_agate.c     nb_samples = FFMIN(av_audio_fifo_size(s->fifo[0]), av_audio_fifo_size(s->fifo[1]));
FFMIN             163 libavfilter/af_alimiter.c             double patt = FFMIN(limit / peak, 1.);
FFMIN             287 libavfilter/af_amerge.c         nb_samples = FFMIN(ff_inlink_queued_samples(ctx->inputs[i]), nb_samples);
FFMIN             318 libavfilter/af_amix.c                 nb_samples = FFMIN(nb_samples, ns);
FFMIN              84 libavfilter/af_amultiply.c     nb_samples = FFMIN(ff_inlink_queued_samples(ctx->inputs[0]),
FFMIN             298 libavfilter/af_anlmdn.c             out->nb_samples = FFMIN(s->eof_left, s->offset);
FFMIN             197 libavfilter/af_anlms.c     nb_samples = FFMIN(ff_inlink_queued_samples(ctx->inputs[0]),
FFMIN             220 libavfilter/af_anlms.c         ctx->internal->execute(ctx, process_channels, out, NULL, FFMIN(ctx->outputs[0]->channels,
FFMIN             106 libavfilter/af_apad.c             n_out = FFMIN(n_out, s->pad_len_left);
FFMIN              94 libavfilter/af_apulsator.c     double phs = FFMIN(100, lfo->phase / FFMIN(1.99, FFMAX(0.01, lfo->pwidth)) + lfo->offset);
FFMIN             194 libavfilter/af_aresample.c         n_out += FFMIN(delay, FFMAX(4096, n_out));
FFMIN            1101 libavfilter/af_arnndn.c                 mindist = FFMIN(mindist, dist);
FFMIN            1424 libavfilter/af_arnndn.c     ctx->internal->execute(ctx, rnnoise_channels, &td, NULL, FFMIN(outlink->channels,
FFMIN             281 libavfilter/af_asoftclip.c     ctx->internal->execute(ctx, filter_channels, &td, NULL, FFMIN(channels,
FFMIN             321 libavfilter/af_astats.c         p->min_diff = FFMIN(p->min_diff, fabs(d - p->last));
FFMIN             370 libavfilter/af_astats.c         p->min_sigma_x2 = FFMIN(p->min_sigma_x2, p->avg_sigma_x2);
FFMIN             433 libavfilter/af_astats.c         min = FFMIN(min, p->min);
FFMIN             435 libavfilter/af_astats.c         nmin = FFMIN(nmin, p->nmin);
FFMIN             437 libavfilter/af_astats.c         min_diff = FFMIN(min_diff, p->min_diff);
FFMIN             441 libavfilter/af_astats.c         min_sigma_x2 = FFMIN(min_sigma_x2, p->min_sigma_x2);
FFMIN             648 libavfilter/af_astats.c     ctx->internal->execute(ctx, filter_channel, buf, NULL, FFMIN(inlink->channels, ff_filter_get_nb_threads(ctx)));
FFMIN             681 libavfilter/af_astats.c         min = FFMIN(min, p->min);
FFMIN             683 libavfilter/af_astats.c         nmin = FFMIN(nmin, p->nmin);
FFMIN             685 libavfilter/af_astats.c         min_diff = FFMIN(min_diff, p->min_diff);
FFMIN             689 libavfilter/af_astats.c         min_sigma_x2 = FFMIN(min_sigma_x2, p->min_sigma_x2);
FFMIN             370 libavfilter/af_atempo.c                 s = FFMIN((FFTSample)scalar_max,                        \
FFMIN             378 libavfilter/af_atempo.c                     si = FFMIN((FFTSample)scalar_max,                   \
FFMIN             444 libavfilter/af_atempo.c         int nsamples = FFMIN(read_size, src_samples);
FFMIN             448 libavfilter/af_atempo.c         nsamples = FFMIN(nsamples, atempo->ring);
FFMIN             449 libavfilter/af_atempo.c         na = FFMIN(nsamples, atempo->ring - atempo->tail);
FFMIN             450 libavfilter/af_atempo.c         nb = FFMIN(nsamples - na, atempo->ring);
FFMIN             459 libavfilter/af_atempo.c             atempo->size = FFMIN(atempo->size + na, atempo->ring);
FFMIN             474 libavfilter/af_atempo.c             atempo->size = FFMIN(atempo->size + nb, atempo->ring);
FFMIN             534 libavfilter/af_atempo.c         zeros = FFMIN(start - frag->position[0], (int64_t)nsamples);
FFMIN             561 libavfilter/af_atempo.c     n0 = i0 < na ? FFMIN(na - i0, (int)(nsamples - zeros)) : 0;
FFMIN             659 libavfilter/af_atempo.c     i0 = FFMIN(i0, window);
FFMIN             661 libavfilter/af_atempo.c     i1 = FFMIN(window / 2 + delta_max - drift, window - window / 16);
FFMIN             775 libavfilter/af_atempo.c     const int64_t stop_here = FFMIN(prev->position[1] + prev->nsamples,
FFMIN             943 libavfilter/af_atempo.c     overlap_end = frag->position[1] + FFMIN(atempo->window / 2,
FFMIN             969 libavfilter/af_atempo.c     nbytes = FFMIN(src_size, dst_size);
FFMIN             220 libavfilter/af_axcorrelate.c     available = FFMIN(av_audio_fifo_size(s->fifo[0]), av_audio_fifo_size(s->fifo[1]));
FFMIN             511 libavfilter/af_biquads.c     ctx->internal->execute(ctx, filter_channel, &td, NULL, FFMIN(outlink->channels, ff_filter_get_nb_threads(ctx)));
FFMIN             347 libavfilter/af_channelmap.c            FFMIN(FF_ARRAY_ELEMS(buf->data), nch_out) * sizeof(buf->data[0]));
FFMIN             302 libavfilter/af_chorus.c         int nb_samples = FFMIN(s->fade_out, 2048);
FFMIN             302 libavfilter/af_compand.c     frame = ff_get_audio_buffer(outlink, FFMIN(2048, s->delay_count));
FFMIN             354 libavfilter/af_compand.c         nb_attacks = FFMIN(nb_attacks, channels);
FFMIN             355 libavfilter/af_compand.c         nb_decays  = FFMIN(nb_decays, channels);
FFMIN             479 libavfilter/af_compand.c         r = FFMIN(radius, len);
FFMIN             485 libavfilter/af_compand.c         r = FFMIN(radius, len / 2);
FFMIN             272 libavfilter/af_crystalizer.c     ctx->internal->execute(ctx, s->filter, &td, NULL, FFMIN(inlink->channels,
FFMIN             161 libavfilter/af_deesser.c             sense = FFMIN(sense, intensity);
FFMIN             175 libavfilter/af_deesser.c                 dec->ratioA = FFMIN(dec->ratioA, maxdess);
FFMIN             186 libavfilter/af_deesser.c                 dec->ratioB = FFMIN(dec->ratioB, maxdess);
FFMIN             449 libavfilter/af_dynaudnorm.c     gain.max_gain  = bound(s->max_amplification, FFMIN(maximum_gain, rms_gain));
FFMIN             460 libavfilter/af_dynaudnorm.c         min = FFMIN(min, cqueue_peek(q, i));
FFMIN             509 libavfilter/af_dynaudnorm.c                 initial_value = FFMIN(initial_value, cqueue_peek(s->gain_history_original[channel], input));
FFMIN             528 libavfilter/af_dynaudnorm.c         smoothed = FFMIN(smoothed, limit);
FFMIN             622 libavfilter/af_dynaudnorm.c         const double current_threshold  = FFMIN(1.0, s->compress_factor * standard_deviation);
FFMIN             641 libavfilter/af_dynaudnorm.c             const double current_threshold  = setup_compress_thresh(FFMIN(1.0, s->compress_factor * standard_deviation));
FFMIN             750 libavfilter/af_dynaudnorm.c             dst_ptr[i] = s->alt_boundary_mode ? DBL_EPSILON : ((s->target_rms > DBL_EPSILON) ? FFMIN(s->peak_value, s->target_rms) : s->peak_value);
FFMIN             131 libavfilter/af_earwax.c     len = FFMIN(NUMTAPS, 2*insamples->nb_samples);
FFMIN             796 libavfilter/af_firequalizer.c         cepstrum_bits = FFMIN(RDFT_BITS_MAX, cepstrum_bits + 1);
FFMIN             888 libavfilter/af_firequalizer.c         AVFrame *frame = ff_get_audio_buffer(outlink, FFMIN(s->remaining, s->frame_nsamples_max));
FFMIN            1052 libavfilter/af_hdcd.c         result = FFMIN(states[i].readahead, result);
FFMIN            1225 libavfilter/af_hdcd.c         int len = FFMIN(count, target_gain - gain);
FFMIN            1235 libavfilter/af_hdcd.c         int len = FFMIN(count, (gain - target_gain) >> 3);
FFMIN            1297 libavfilter/af_hdcd.c         int len = FFMIN(count, target_gain - gain);
FFMIN            1306 libavfilter/af_hdcd.c         int len = FFMIN(count, (gain - target_gain) >> 3);
FFMIN            1505 libavfilter/af_hdcd.c     detect->max_gain_adjustment = FFMIN(detect->max_gain_adjustment, GAINTOFLOAT(state->max_gain));
FFMIN             216 libavfilter/af_headphone.c                 int len = FFMIN(air_len - (read % ir_len), buffer_length - read);
FFMIN             268 libavfilter/af_headphone.c     n_read = FFMIN(ir_len, in->nb_samples);
FFMIN             378 libavfilter/af_join.c         nb_samples = FFMIN(nb_samples, s->input_frames[i]->nb_samples);
FFMIN             403 libavfilter/af_join.c         linesize = FFMIN(linesize, cur->linesize[0]);
FFMIN             430 libavfilter/af_join.c     for (i = 0; i < FFMIN(FF_ARRAY_ELEMS(frame->buf), nb_buffers); i++) {
FFMIN             455 libavfilter/af_join.c                FFMIN(FF_ARRAY_ELEMS(frame->data), s->nb_channels));
FFMIN             268 libavfilter/af_mcompand.c         r = FFMIN(radius, len);
FFMIN             274 libavfilter/af_mcompand.c         r = FFMIN(radius, len / 2);
FFMIN             391 libavfilter/af_mcompand.c         for (k = 0; k < FFMIN(nb_attacks / 2, outlink->channels); k++) {
FFMIN             377 libavfilter/af_pan.c             cur += FFMIN(buf + sizeof(buf) - cur, r);
FFMIN             157 libavfilter/af_sidechaincompress.c     s->attack_coeff = FFMIN(1., 1. / (s->attack * outlink->sample_rate / 4000.));
FFMIN             158 libavfilter/af_sidechaincompress.c     s->release_coeff = FFMIN(1., 1. / (s->release * outlink->sample_rate / 4000.));
FFMIN             256 libavfilter/af_sidechaincompress.c     nb_samples = FFMIN(av_audio_fifo_size(s->fifo[0]), av_audio_fifo_size(s->fifo[1]));
FFMIN             380 libavfilter/af_silenceremove.c                         s->start_silence_end = FFMIN(s->start_silence_end + 1, outlink->channels * s->start_silence);
FFMIN             486 libavfilter/af_silenceremove.c                             s->stop_silence_end = FFMIN(s->stop_silence_end + 1, outlink->channels * s->stop_silence);
FFMIN             405 libavfilter/af_sofalizer.c                 int len = FFMIN(n_samples - (read % ir_samples), buffer_length - read);
FFMIN             467 libavfilter/af_sofalizer.c     n_read = FFMIN(ir_samples, in->nb_samples);
FFMIN             185 libavfilter/af_stereotools.c         gr = 1. + FFMIN(0., balance_in);
FFMIN             214 libavfilter/af_stereotools.c             l = m * mlev * FFMIN(1., 2. - mpan) + S * slev * FFMIN(1., 2. - sbal);
FFMIN             215 libavfilter/af_stereotools.c             r = m * mlev * FFMIN(1., mpan)      - S * slev * FFMIN(1., sbal);
FFMIN             220 libavfilter/af_stereotools.c             l = L * FFMIN(1., 2. - sbal);
FFMIN             221 libavfilter/af_stereotools.c             r = R * FFMIN(1., sbal);
FFMIN             226 libavfilter/af_stereotools.c             l = L * mlev * FFMIN(1., 2. - mpan) + R * slev * FFMIN(1., 2. - sbal);
FFMIN             227 libavfilter/af_stereotools.c             r = L * mlev * FFMIN(1., mpan)      - R * slev * FFMIN(1., sbal);
FFMIN             247 libavfilter/af_stereotools.c             l = m * mlev * FFMIN(1., 2. - mpan) + S * slev * FFMIN(1., 2. - sbal);
FFMIN             248 libavfilter/af_stereotools.c             r = m * mlev * FFMIN(1., mpan)      - S * slev * FFMIN(1., sbal);
FFMIN             253 libavfilter/af_stereotools.c             l = L * mlev * FFMIN(1., 2. - mpan) + R * slev * FFMIN(1., 2. - sbal);
FFMIN             258 libavfilter/af_stereotools.c             r = L * mlev * FFMIN(1., mpan)      - R * slev * FFMIN(1., sbal);
FFMIN             294 libavfilter/af_stereotools.c         gr = 1. + FFMIN(0., balance_out);
FFMIN            1605 libavfilter/af_surround.c     av_audio_fifo_drain(s->fifo, FFMIN(av_audio_fifo_size(s->fifo), s->hop_size));
FFMIN             383 libavfilter/af_volume.c                 vol->volume = FFMIN(vol->volume, 1.0 / p);
FFMIN             296 libavfilter/asrc_afirsrc.c     nb_samples = FFMIN(s->nb_samples, s->nb_taps - s->pts);
FFMIN             246 libavfilter/asrc_flite.c     int nb_samples = FFMIN(flite->wave_nb_samples, flite->frame_nb_samples);
FFMIN             166 libavfilter/asrc_hilbert.c     nb_samples = FFMIN(s->nb_samples, s->nb_taps - s->pts);
FFMIN              54 libavfilter/asrc_sinc.c     nb_samples = FFMIN(s->nb_samples, s->n - s->pts);
FFMIN             237 libavfilter/asrc_sine.c         nb_samples = FFMIN(nb_samples, sine->duration - sine->pts);
FFMIN             188 libavfilter/avf_aphasemeter.c             dst[0] = FFMIN(255, dst[0] + rc);
FFMIN             189 libavfilter/avf_aphasemeter.c             dst[1] = FFMIN(255, dst[1] + gc);
FFMIN             190 libavfilter/avf_aphasemeter.c             dst[2] = FFMIN(255, dst[2] + bc);
FFMIN             126 libavfilter/avf_avectorscope.c         y = FFMIN(y, s->h - 1);
FFMIN             127 libavfilter/avf_avectorscope.c         x = FFMIN(x, s->w - 1);
FFMIN             131 libavfilter/avf_avectorscope.c     dst[0] = FFMIN(dst[0] + s->contrast[0], 255);
FFMIN             132 libavfilter/avf_avectorscope.c     dst[1] = FFMIN(dst[1] + s->contrast[1], 255);
FFMIN             133 libavfilter/avf_avectorscope.c     dst[2] = FFMIN(dst[2] + s->contrast[2], 255);
FFMIN             134 libavfilter/avf_avectorscope.c     dst[3] = FFMIN(dst[3] + s->contrast[3], 255);
FFMIN             258 libavfilter/avf_concat.c         frame_nb_samples = FFMIN(frame_nb_samples, nb_samples);
FFMIN             325 libavfilter/avf_showcqt.c         end = FFMIN(s->fft_len, floor(center + 0.5 * flen));
FFMIN             737 libavfilter/avf_showcqt.c         c[x].rgb.r = 255.0f * calculate_gamma(FFMIN(1.0f, cscheme[0] * v[x].re + cscheme[3] * v[x].im), g);
FFMIN             738 libavfilter/avf_showcqt.c         c[x].rgb.g = 255.0f * calculate_gamma(FFMIN(1.0f, cscheme[1] * v[x].re + cscheme[4] * v[x].im), g);
FFMIN             739 libavfilter/avf_showcqt.c         c[x].rgb.b = 255.0f * calculate_gamma(FFMIN(1.0f, cscheme[2] * v[x].re + cscheme[5] * v[x].im), g);
FFMIN             748 libavfilter/avf_showcqt.c         r = calculate_gamma(FFMIN(1.0f, cscheme[0] * v[x].re + cscheme[3] * v[x].im), gamma);
FFMIN             749 libavfilter/avf_showcqt.c         g = calculate_gamma(FFMIN(1.0f, cscheme[1] * v[x].re + cscheme[4] * v[x].im), gamma);
FFMIN             750 libavfilter/avf_showcqt.c         b = calculate_gamma(FFMIN(1.0f, cscheme[2] * v[x].re + cscheme[5] * v[x].im), gamma);
FFMIN            1036 libavfilter/avf_showcqt.c     ls = FFMIN(out->linesize[0], sono->linesize[0]);
FFMIN            1043 libavfilter/avf_showcqt.c         ls = FFMIN(out->linesize[i], sono->linesize[i]);
FFMIN            1279 libavfilter/avf_showcqt.c             s->axis_h = FFMIN(s->axis_h, s->height - s->bar_h);
FFMIN            1281 libavfilter/avf_showcqt.c             s->axis_h = FFMIN(s->axis_h, s->height - s->sono_h);
FFMIN            1394 libavfilter/avf_showcqt.c         s->remaining_fill_max = FFMIN(s->remaining_fill_max, ceil(inlink->sample_rate * s->attack));
FFMIN             320 libavfilter/avf_showfreqs.c         y = s->avg_data[ch][f] = !outlink->frame_count_in ? y : FFMIN(avg, y);
FFMIN             325 libavfilter/avf_showfreqs.c         s->avg_data[ch][f] = avg + y * (y - avg) / (FFMIN(outlink->frame_count_in + 1, s->avg) * y);
FFMIN             313 libavfilter/avf_showspatial.c                                  FFMIN(s->win_size, av_audio_fifo_size(s->fifo)));
FFMIN             970 libavfilter/avf_showspectrum.c         a1 = get_value(ctx, ch, FFMIN(yy+1, h-1));
FFMIN             973 libavfilter/avf_showspectrum.c             float *out = &s->color_buffer[ch][3 * FFMIN(lrintf(row), h-1)];
FFMIN             998 libavfilter/avf_showspectrum.c     s->stop = FFMIN(s->stop, inlink->sample_rate / 2);
FFMIN            1446 libavfilter/avf_showspectrum.c                                  FFMIN(s->win_size, av_audio_fifo_size(s->fifo)));
FFMIN             111 libavfilter/avfilter.c     idx = FFMIN(idx, *count);
FFMIN             439 libavfilter/avfilter.c             r = FFMIN(r, av_rescale_q(ctx->inputs[i]->current_pts, ctx->inputs[i]->time_base, link_time_base));
FFMIN             444 libavfilter/avfilter.c         r = FFMIN(r, av_rescale_q(ctx->inputs[i]->status_in_pts, ctx->inputs[i]->time_base, link_time_base));
FFMIN             787 libavfilter/avfilter.c         return FFMIN(ctx->nb_threads, ctx->graph->nb_threads);
FFMIN            1506 libavfilter/avfilter.c         min = FFMIN(min, ff_framequeue_queued_samples(&link->fifo));
FFMIN             116 libavfilter/boxblur.c         2*comp->radius > FFMIN(w_, h_)) {                     \
FFMIN             119 libavfilter/boxblur.c                comp->radius, FFMIN(w_, h_)/2);                \
FFMIN             261 libavfilter/dnn/dnn_backend_native.c     uint32_t nb = FFMIN(nb_output, network->nb_output);
FFMIN             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);
FFMIN             168 libavfilter/dnn/dnn_backend_native_layer_mathbinary.c                 dst[i] = FFMIN(params->v, src[i]);
FFMIN             174 libavfilter/dnn/dnn_backend_native_layer_mathbinary.c                 dst[i] = FFMIN(src[i], src1[i]);
FFMIN             612 libavfilter/dnn/dnn_backend_tf.c     uint32_t nb = FFMIN(nb_output, tf_model->nb_output);
FFMIN             384 libavfilter/drawutils.c     *start = FFMIN(*start, *w);
FFMIN              78 libavfilter/f_bench.c             s->min = FFMIN(s->min, diff);
FFMIN             278 libavfilter/f_drawgraph.c                     AV_RN32(out->data[0] + FFMIN(j+1, outlink->h - 1) * out->linesize[0] + x * 4) != old) {
FFMIN             377 libavfilter/f_drawgraph.c                             AV_RN32(out->data[0] + FFMIN(j+1, outlink->h - 1) * out->linesize[0] + x * 4) != old) {
FFMIN             100 libavfilter/f_loop.c         out = ff_get_audio_buffer(outlink, FFMIN(nb_samples, s->nb_samples - s->current_sample));
FFMIN             139 libavfilter/f_loop.c             int written = FFMIN(frame->nb_samples, s->size - s->nb_samples);
FFMIN             298 libavfilter/f_select.c         ret  = av_clipf(FFMIN(mafd, diff) / 100., 0, 1);
FFMIN             397 libavfilter/f_select.c         select->select_out = FFMIN(ceilf(res)-1, select->nb_outputs-1); /* other outputs */
FFMIN             119 libavfilter/fifo.c                FFMIN(planes, FF_ARRAY_ELEMS(frame->data)) * sizeof(*frame->data));
FFMIN             209 libavfilter/fifo.c             len = FFMIN(s->allocated_samples - s->out->nb_samples,
FFMIN              63 libavfilter/formats.c     int i, j, k = 0, count = FFMIN(a->nb, b->nb);                               \
FFMIN              74 libavfilter/formats.c                     if(k >= FFMIN(a->nb, b->nb)){                               \
FFMIN             260 libavfilter/framepool.c         for (i = 0; i < FFMIN(pool->planes, AV_NUM_DATA_POINTERS); i++) {
FFMIN             103 libavfilter/median_template.c         p = srcp + src_linesize * FFMIN(height - 1, i + radiusV);
FFMIN             119 libavfilter/median_template.c             s->hadd(coarse, &ccoarse[BINS * FFMIN(j + radius, width - 1)], BINS);
FFMIN             132 libavfilter/median_template.c                 for (luc[k] = j - radius; luc[k] < FFMIN(j + radius + 1, width); luc[k]++)
FFMIN             141 libavfilter/median_template.c                     s->hadd(fine[k], &cfine[BINS * (width * k + FFMIN(luc[k], width - 1))], BINS);
FFMIN              82 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN              83 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             101 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             102 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             132 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             133 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             164 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             165 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             217 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             218 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             249 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             250 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             304 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             305 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             337 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             338 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             378 libavfilter/motion_estimation.c     int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max);
FFMIN             379 libavfilter/motion_estimation.c     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
FFMIN             406 libavfilter/motion_estimation.c     end_x = FFMIN(mv[0] + 2, x_max);
FFMIN             407 libavfilter/motion_estimation.c     end_y = FFMIN(mv[1] + 2, y_max);
FFMIN             155 libavfilter/scale_eval.c              w = FFMIN(tmp_w, w);
FFMIN             156 libavfilter/scale_eval.c              h = FFMIN(tmp_h, h);
FFMIN             609 libavfilter/src_movie.c             return FFMIN(ret, 0);
FFMIN             253 libavfilter/trim.c             start_sample = FFMIN(start_sample, s->start_sample - s->nb_samples);
FFMIN             259 libavfilter/trim.c             start_sample = FFMIN(start_sample, s->start_pts - pts);
FFMIN             302 libavfilter/trim.c     end_sample     = FFMIN(frame->nb_samples, end_sample);
FFMIN             135 libavfilter/vf_alphamerge.c                             FFMIN(main_linesize, alpha_linesize), alpha_buf->height);
FFMIN             149 libavfilter/vf_amplify.c                             amp = -FFMIN(FFABS(diff * factor), llimit);
FFMIN             151 libavfilter/vf_amplify.c                             amp = FFMIN(FFABS(diff * factor), hlimit);
FFMIN             192 libavfilter/vf_amplify.c                             amp = -FFMIN(FFABS(diff * factor), llimit);
FFMIN             194 libavfilter/vf_amplify.c                             amp = FFMIN(FFABS(diff * factor), hlimit);
FFMIN             270 libavfilter/vf_amplify.c         ctx->internal->execute(ctx, amplify_frame, &td, NULL, FFMIN(s->height[1], ff_filter_get_nb_threads(ctx)));
FFMIN              76 libavfilter/vf_avgblur.c     const int radius = FFMIN(s->radius, width / 2);                                           \
FFMIN             129 libavfilter/vf_avgblur.c     const int radius = FFMIN(s->radiusV, height / 2);                                         \
FFMIN             219 libavfilter/vf_avgblur.c     ctx->internal->execute(ctx, s->filter_horizontally, &td, NULL, FFMIN(height, nb_threads));
FFMIN             222 libavfilter/vf_avgblur.c     ctx->internal->execute(ctx, s->filter_vertically, &td, NULL, FFMIN(width, nb_threads));
FFMIN             294 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) == 255) ? (a) : FFMIN(255, (((b) << 8) / (255 - (a)))))
FFMIN             296 libavfilter/vf_blend.c DEFINE_BLEND8(addition,   FFMIN(255, A + B))
FFMIN             310 libavfilter/vf_blend.c DEFINE_BLEND8(heat,       (A == 0) ? 0 : 255 - FFMIN(((255 - B) * (255 - B)) / A, 255))
FFMIN             311 libavfilter/vf_blend.c DEFINE_BLEND8(freeze,     (B == 0) ? 0 : 255 - FFMIN(((255 - A) * (255 - A)) / B, 255))
FFMIN             312 libavfilter/vf_blend.c DEFINE_BLEND8(darken,     FFMIN(A, B))
FFMIN             319 libavfilter/vf_blend.c DEFINE_BLEND8(pinlight,   (B < 128) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 128)))
FFMIN             320 libavfilter/vf_blend.c DEFINE_BLEND8(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 255)
FFMIN             321 libavfilter/vf_blend.c DEFINE_BLEND8(reflect,    (B == 255) ? B : FFMIN(255, (A * A / (255 - B))))
FFMIN             322 libavfilter/vf_blend.c DEFINE_BLEND8(glow,       (A == 255) ? A : FFMIN(255, (B * B / (255 - A))))
FFMIN             337 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) == 65535) ? (a) : FFMIN(65535, (((b) << 16) / (65535 - (a)))))
FFMIN             339 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(65535, A + B), 16)
FFMIN             353 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 65535 - FFMIN(((65535 - B) * (65535 - B)) / A, 65535), 16)
FFMIN             354 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 65535 - FFMIN(((65535 - A) * (65535 - A)) / B, 65535), 16)
FFMIN             355 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 16)
FFMIN             362 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 32768) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 32768)), 16)
FFMIN             363 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 65535, 16)
FFMIN             364 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 65535) ? B : FFMIN(65535, (A * A / (65535 - B))), 16)
FFMIN             365 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 65535) ? A : FFMIN(65535, (B * B / (65535 - A))), 16)
FFMIN             380 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) == 1023) ? (a) : FFMIN(1023, (((b) << 10) / (1023 - (a)))))
FFMIN             382 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(1023, A + B), 10)
FFMIN             396 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 1023 - FFMIN(((1023 - B) * (1023 - B)) / A, 1023), 10)
FFMIN             397 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 1023 - FFMIN(((1023 - A) * (1023 - A)) / B, 1023), 10)
FFMIN             398 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 10)
FFMIN             405 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 512) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 512)), 10)
FFMIN             406 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 1023, 10)
FFMIN             407 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 1023) ? B : FFMIN(1023, (A * A / (1023 - B))), 10)
FFMIN             408 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 1023) ? A : FFMIN(1023, (B * B / (1023 - A))), 10)
FFMIN             423 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) == 4095) ? (a) : FFMIN(4095, (((b) << 12) / (4095 - (a)))))
FFMIN             425 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(4095, A + B), 12)
FFMIN             439 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 4095 - FFMIN(((4095 - B) * (4095 - B)) / A, 4095), 12)
FFMIN             440 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 4095 - FFMIN(((4095 - A) * (4095 - A)) / B, 4095), 12)
FFMIN             441 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 12)
FFMIN             448 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 2048) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 2048)), 12)
FFMIN             449 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 4095, 12)
FFMIN             450 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 4095) ? B : FFMIN(4095, (A * A / (4095 - B))), 12)
FFMIN             451 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 4095) ? A : FFMIN(4095, (B * B / (4095 - A))), 12)
FFMIN             466 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) == 511) ? (a) : FFMIN(511, (((b) << 9) / (511 - (a)))))
FFMIN             468 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(511, A + B), 9)
FFMIN             482 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 511 - FFMIN(((511 - B) * (511 - B)) / A, 511), 9)
FFMIN             483 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 511 - FFMIN(((511 - A) * (511 - A)) / B, 511), 9)
FFMIN             484 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 9)
FFMIN             491 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 256) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 256)), 9)
FFMIN             492 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 511, 9)
FFMIN             493 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 511) ? B : FFMIN(511, (A * A / (511 - B))), 9)
FFMIN             494 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 511) ? A : FFMIN(511, (B * B / (511 - A))), 9)
FFMIN             509 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) >= 1.0) ? (a) : FFMIN(1.0, ((b) / (1.0 - (a)))))
FFMIN             525 libavfilter/vf_blend.c DEFINE_BLEND32(heat,       (A == 0) ? 0 : 1.0 - FFMIN(((1.0 - B) * (1.0 - B)) / A, 1.0), 32)
FFMIN             526 libavfilter/vf_blend.c DEFINE_BLEND32(freeze,     (B == 0) ? 0 : 1.0 - FFMIN(((1.0 - A) * (1.0 - A)) / B, 1.0), 32)
FFMIN             527 libavfilter/vf_blend.c DEFINE_BLEND32(darken,     FFMIN(A, B), 32)
FFMIN             534 libavfilter/vf_blend.c DEFINE_BLEND32(pinlight,   (B < 0.5) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 0.5)), 32)
FFMIN             535 libavfilter/vf_blend.c DEFINE_BLEND32(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 1.0, 32)
FFMIN             536 libavfilter/vf_blend.c DEFINE_BLEND32(reflect,    (B == 1.0) ? B : FFMIN(1.0, (A * A / (1.0 - B))), 32)
FFMIN             537 libavfilter/vf_blend.c DEFINE_BLEND32(glow,       (A == 1.0) ? A : FFMIN(1.0, (B * B / (1.0 - A))), 32)
FFMIN             630 libavfilter/vf_blend.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outh, ff_filter_get_nb_threads(ctx)));
FFMIN             755 libavfilter/vf_bm3d.c         const int nb_jobs = FFMAX(1, FFMIN(s->nb_threads, s->planeheight[p] / s->block_size));
FFMIN             787 libavfilter/vf_bm3d.c     s->nb_threads = FFMIN(ff_filter_get_nb_threads(ctx), MAX_NB_THREADS);
FFMIN              88 libavfilter/vf_bwdif.c             int max = FFMAX3(de, dc, FFMIN(b, f)); \
FFMIN             283 libavfilter/vf_bwdif.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ff_filter_get_nb_threads(ctx)));
FFMIN              75 libavfilter/vf_cas.c             const int y1 = FFMIN(y + 1, h1);
FFMIN              78 libavfilter/vf_cas.c                 const int x1 = FFMIN(x + 1, w1);
FFMIN             101 libavfilter/vf_cas.c                 amp = sqrtf(av_clipf(FFMIN(mn, 511 - mx) / (float)mx, 0.f, 1.f));
FFMIN             142 libavfilter/vf_cas.c             const int y1 = FFMIN(y + 1, h1);
FFMIN             145 libavfilter/vf_cas.c                 const int x1 = FFMIN(x + 1, w1);
FFMIN             168 libavfilter/vf_cas.c                 amp = sqrtf(av_clipf(FFMIN(mn, max - mx) / (float)mx, 0.f, 1.f));
FFMIN             197 libavfilter/vf_cas.c                            FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             263 libavfilter/vf_chromakey.c     if (res = avctx->internal->execute(avctx, ctx->do_slice, frame, NULL, FFMIN(frame->height, ff_filter_get_nb_threads(avctx))))
FFMIN             937 libavfilter/vf_ciescope.c #define Sz(x) (((x) * (int)FFMIN(w, h)) / 512)
FFMIN            1413 libavfilter/vf_ciescope.c             dst[0] = FFMIN(dst[0] + i, 65535);
FFMIN            1414 libavfilter/vf_ciescope.c             dst[1] = FFMIN(dst[1] + i, 65535);
FFMIN            1415 libavfilter/vf_ciescope.c             dst[2] = FFMIN(dst[2] + i, 65535);
FFMIN             119 libavfilter/vf_colorbalance.c     float a = s * FFMIN(l, 1. - l);
FFMIN             417 libavfilter/vf_colorbalance.c     ctx->internal->execute(ctx, s->color_balance, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             530 libavfilter/vf_colorchannelmixer.c     ctx->internal->execute(ctx, s->filter_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             369 libavfilter/vf_colorconstancy.c     ctx->internal->execute(ctx, slice_get_derivative, td, NULL, FFMIN(dim, nb_threads));
FFMIN             141 libavfilter/vf_colorkey.c     if (res = avctx->internal->execute(avctx, ctx->do_slice, frame, NULL, FFMIN(frame->height, ff_filter_get_nb_threads(avctx))))
FFMIN             210 libavfilter/vf_colorlevels.c                         imin = FFMIN(imin, src[x + offset]);
FFMIN             240 libavfilter/vf_colorlevels.c                                    FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             262 libavfilter/vf_colorlevels.c                         imin = FFMIN(imin, src[x + offset]);
FFMIN             292 libavfilter/vf_colorlevels.c                                    FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             477 libavfilter/vf_colormatrix.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             480 libavfilter/vf_colormatrix.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             483 libavfilter/vf_colormatrix.c                                FFMIN(in->height / 2, ff_filter_get_nb_threads(ctx)));
FFMIN             486 libavfilter/vf_colormatrix.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             484 libavfilter/vf_colorspace.c             s->in_prm = default_prm[FFMIN(s->user_iall, CS_NB)];
FFMIN             548 libavfilter/vf_colorspace.c             s->in_trc = default_trc[FFMIN(s->user_iall, CS_NB)];
FFMIN             594 libavfilter/vf_colorspace.c             s->in_csp = default_csp[FFMIN(s->user_iall, CS_NB)];
FFMIN             788 libavfilter/vf_colorspace.c                            default_prm[FFMIN(s->user_all, CS_NB)] : s->user_prm;
FFMIN             792 libavfilter/vf_colorspace.c         out->color_trc   = default_trc[FFMIN(s->user_all, CS_NB)];
FFMIN             799 libavfilter/vf_colorspace.c                            default_csp[FFMIN(s->user_all, CS_NB)] : s->user_csp;
FFMIN             875 libavfilter/vf_colorspace.c                                FFMIN((in->height + 1) >> 1, ff_filter_get_nb_threads(ctx)));
FFMIN             168 libavfilter/vf_cover_rect.c     w = FFMIN(w, in->width  - x);
FFMIN             169 libavfilter/vf_cover_rect.c     h = FFMIN(h, in->height - y);
FFMIN             380 libavfilter/vf_curves.c     for (i = 0; i < FFMIN(nb_curves, FF_ARRAY_ELEMS(comp_ids)); i++) {
FFMIN             738 libavfilter/vf_curves.c     ctx->internal->execute(ctx, curves->filter_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             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)));
FFMIN             524 libavfilter/vf_datascope.c         s->x = FFMIN(s->x, inlink->w - s->w);
FFMIN             525 libavfilter/vf_datascope.c         s->y = FFMIN(s->y, inlink->h - s->h);
FFMIN             601 libavfilter/vf_datascope.c                 min[i]      = FFMIN(min[i], value[i]);
FFMIN            1043 libavfilter/vf_datascope.c                 min[c] = FFMIN(min[c], s->values[i].p[s->rgba_map[c]]);
FFMIN             681 libavfilter/vf_dctdnoiz.c     const int slice_end_ctx   = FFMIN(slice_end, h - s->bsize + 1);
FFMIN             345 libavfilter/vf_deblock.c                         FFMIN(block, height), s->ath, s->bth, s->gth, s->dth, s->max);
FFMIN             351 libavfilter/vf_deblock.c                         FFMIN(block, width),
FFMIN             356 libavfilter/vf_deblock.c                             FFMIN(block, width - x),
FFMIN             359 libavfilter/vf_deblock.c                             FFMIN(block, height - y),
FFMIN             113 libavfilter/vf_decimate.c         int m = FFMIN(width, x + hblockx);                  \
FFMIN             303 libavfilter/vf_dedot.c                                                FFMIN(s->planeheight[0],
FFMIN             309 libavfilter/vf_dedot.c                                                FFMIN(s->planeheight[1],
FFMIN             313 libavfilter/vf_dedot.c                                                FFMIN(s->planeheight[2],
FFMIN             374 libavfilter/vf_delogo.c                      s->band>>FFMIN(hsub, vsub),
FFMIN             445 libavfilter/vf_deshake.c         deshake->cx = FFMIN(deshake->cx, link->w);
FFMIN             446 libavfilter/vf_deshake.c         deshake->cy = FFMIN(deshake->cy, link->h);
FFMIN             100 libavfilter/vf_despill.c     if (ret = ctx->internal->execute(ctx, do_despill_slice, frame, NULL, FFMIN(frame->height, ff_filter_get_nb_threads(ctx))))
FFMIN            1382 libavfilter/vf_drawtext.c         y_min = FFMIN(glyph->bbox.yMin, y_min);
FFMIN            1384 libavfilter/vf_drawtext.c         x_min = FFMIN(glyph->bbox.xMin, x_min);
FFMIN             312 libavfilter/vf_fade.c     int slice_end   = FFMIN(((height * (jobnr+1)) / nb_jobs), frame->height);
FFMIN             341 libavfilter/vf_fade.c     int slice_end   = FFMIN(((height * (jobnr+1)) / nb_jobs), frame->height);
FFMIN             496 libavfilter/vf_fade.c                                 FFMIN(frame->height, ff_filter_get_nb_threads(ctx)));
FFMIN             499 libavfilter/vf_fade.c                                    FFMIN(frame->height, ff_filter_get_nb_threads(ctx)));
FFMIN             503 libavfilter/vf_fade.c                                 FFMIN(frame->height, ff_filter_get_nb_threads(ctx)));
FFMIN             508 libavfilter/vf_fade.c                                     FFMIN(frame->height, ff_filter_get_nb_threads(ctx)));
FFMIN             271 libavfilter/vf_fftdnoiz.c             const int rh = FFMIN(block, height - y * size);
FFMIN             272 libavfilter/vf_fftdnoiz.c             const int rw = FFMIN(block, width  - x * size);
FFMIN             340 libavfilter/vf_fftdnoiz.c             const int rw = x == 0 ? block : FFMIN(size, width  - x * size - woff);
FFMIN             341 libavfilter/vf_fftdnoiz.c             const int rh = y == 0 ? block : FFMIN(size, height - y * size - hoff);
FFMIN             451 libavfilter/vf_fieldmatch.c                                 for (u = FFMAX(x-4,0); u < FFMIN(x+5,width); u++) {
FFMIN             585 libavfilter/vf_fieldmatch.c         FFMAX(accumPml,accumNml) > 3*FFMIN(accumPml,accumNml)) {
FFMIN             594 libavfilter/vf_fieldmatch.c     c1 = ((float)FFMAX(norm1,norm2)) / ((float)FFMAX(FFMIN(norm1,norm2),1));
FFMIN             595 libavfilter/vf_fieldmatch.c     c2 = ((float)FFMAX(mtn1, mtn2))  / ((float)FFMAX(FFMIN(mtn1, mtn2), 1));
FFMIN             163 libavfilter/vf_find_rect.c         xmax = FFMIN(xmax, 2*sub_x + 4);
FFMIN             165 libavfilter/vf_find_rect.c         ymax = FFMIN(ymax, 2*sub_y + 4);
FFMIN             196 libavfilter/vf_find_rect.c                         FFMIN(foc->xmax, foc->last_x + 8),
FFMIN             198 libavfilter/vf_find_rect.c                         FFMIN(foc->ymax, foc->last_y + 8),
FFMIN              82 libavfilter/vf_framerate.c         ret  = av_clipf(FFMIN(mafd, diff), 0, 100.0);
FFMIN             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)));
FFMIN             191 libavfilter/vf_gblur.c     ctx->internal->execute(ctx, filter_horizontally, &td, NULL, FFMIN(height, nb_threads));
FFMIN             192 libavfilter/vf_gblur.c     ctx->internal->execute(ctx, filter_vertically, &td, NULL, FFMIN(width, nb_threads));
FFMIN             193 libavfilter/vf_gblur.c     ctx->internal->execute(ctx, filter_postscale, &td, NULL, FFMIN(width * height, nb_threads));
FFMIN             420 libavfilter/vf_geq.c     const int nb_threads = FFMIN(MAX_NB_THREADS, ff_filter_get_nb_threads(ctx));
FFMIN             458 libavfilter/vf_geq.c         ctx->internal->execute(ctx, slice_geq_filter, &td, NULL, FFMIN(height, nb_threads));
FFMIN             213 libavfilter/vf_gradfun.c         if (FFMIN(w, h) > 2 * r)
FFMIN             222 libavfilter/vf_hflip.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             364 libavfilter/vf_histogram.c                     minh = FFMIN(minh, i);
FFMIN             180 libavfilter/vf_hqdn3d.c     gamma = log(0.25) / log(1.0 - FFMIN(dist25,252.0)/255.0 - 0.00001);
FFMIN             505 libavfilter/vf_hqx.c     ctx->internal->execute(ctx, hqx->func, &td, NULL, FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             198 libavfilter/vf_lagfun.c     ctx->internal->execute(ctx, s->lagfun, &td, NULL, FFMIN(s->height[1], ff_filter_get_nb_threads(ctx)));
FFMIN             194 libavfilter/vf_lenscorrection.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ff_filter_get_nb_threads(ctx)));
FFMIN             468 libavfilter/vf_lensfun.c                                FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             496 libavfilter/vf_lensfun.c                                FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             156 libavfilter/vf_limiter.c     s->max = FFMIN(s->max, (1 << depth) - 1);
FFMIN             157 libavfilter/vf_limiter.c     s->min = FFMIN(s->min, (1 << depth) - 1);
FFMIN             226 libavfilter/vf_limiter.c                            FFMIN(s->height[2], ff_filter_get_nb_threads(ctx)));
FFMIN             141 libavfilter/vf_lumakey.c     if (ret = ctx->internal->execute(ctx, s->do_lumakey_slice, frame, NULL, FFMIN(frame->height, ff_filter_get_nb_threads(ctx))))
FFMIN             545 libavfilter/vf_lut.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             550 libavfilter/vf_lut.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             555 libavfilter/vf_lut.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             560 libavfilter/vf_lut.c                                FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN             318 libavfilter/vf_lut2.c         ctx->internal->execute(ctx, s->lut2, &td, NULL, FFMIN(s->heightx[1], ff_filter_get_nb_threads(ctx)));
FFMIN             602 libavfilter/vf_lut2.c             ctx->internal->execute(ctx, s->lut2, &td, NULL, FFMIN(s->heightx[1], ff_filter_get_nb_threads(ctx)));
FFMIN             147 libavfilter/vf_lut3d.c #define NEXT(x) (FFMIN((int)(x) + 1, lut3d->lutsize - 1))
FFMIN             254 libavfilter/vf_lut3d.c     const int next = FFMIN((int)(x) + 1, lut_max);
FFMIN             889 libavfilter/vf_lut3d.c                         in_min[i] = FFMIN(in_min[i], v);
FFMIN             902 libavfilter/vf_lut3d.c                         out_min[i] = FFMIN(out_min[i], v);
FFMIN            1119 libavfilter/vf_lut3d.c     ctx->internal->execute(ctx, lut3d->interp, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN            1404 libavfilter/vf_lut3d.c     lut3d->clut_width = w = h = FFMIN(inlink->w, inlink->h);
FFMIN            1702 libavfilter/vf_lut3d.c #define NEXT1D(x) (FFMIN((int)(x) + 1, lut1d->lutsize - 1))
FFMIN            1740 libavfilter/vf_lut3d.c     float y3 = lut1d->lut[idx][FFMIN(next + 1, lut1d->lutsize - 1)];
FFMIN            1763 libavfilter/vf_lut3d.c     float y3 = lut1d->lut[idx][FFMIN(next + 1, lut1d->lutsize - 1)];
FFMIN            2103 libavfilter/vf_lut3d.c     ctx->internal->execute(ctx, lut1d->interp, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             162 libavfilter/vf_maskedclamp.c         ctx->internal->execute(ctx, maskedclamp_slice, &td, NULL, FFMIN(s->height[0],
FFMIN             182 libavfilter/vf_maskedclamp.c         dst[x] = FFMIN(dst[x], brightsrc[x] + overshoot);                         \
FFMIN             209 libavfilter/vf_maskedclamp.c     s->undershoot = FFMIN(s->undershoot, (1 << s->depth) - 1);
FFMIN             210 libavfilter/vf_maskedclamp.c     s->overshoot = FFMIN(s->overshoot, (1 << s->depth) - 1);
FFMIN             138 libavfilter/vf_maskedmerge.c                                FFMIN(s->height[2], ff_filter_get_nb_threads(ctx)));
FFMIN             224 libavfilter/vf_maskedminmax.c         ctx->internal->execute(ctx, maskedminmax_slice, &td, NULL, FFMIN(s->planeheight[0],
FFMIN             194 libavfilter/vf_maskedthreshold.c         ctx->internal->execute(ctx, threshold_slice, &td, NULL, FFMIN(s->planeheight[2],
FFMIN             109 libavfilter/vf_maskfun.c                            FFMIN(s->height[1], ff_filter_get_nb_threads(ctx)));
FFMIN             206 libavfilter/vf_maskfun.c     s->fill = FFMIN(s->fill, s->max);
FFMIN             150 libavfilter/vf_median.c     s->nb_threads = FFMAX(1, FFMIN(s->planeheight[1] / (s->radiusV + 1), ff_filter_get_nb_threads(inlink->dst)));
FFMIN             271 libavfilter/vf_minterpolate.c     mv_x = av_clip(x_mv - x, -FFMIN(x - me_ctx->x_min, me_ctx->x_max - x), FFMIN(x - me_ctx->x_min, me_ctx->x_max - x));
FFMIN             272 libavfilter/vf_minterpolate.c     mv_y = av_clip(y_mv - y, -FFMIN(y - me_ctx->y_min, me_ctx->y_max - y), FFMIN(y - me_ctx->y_min, me_ctx->y_max - y));
FFMIN             300 libavfilter/vf_minterpolate.c     mv_x = av_clip(x_mv - x, -FFMIN(x - x_min, x_max - x), FFMIN(x - x_min, x_max - x));
FFMIN             301 libavfilter/vf_minterpolate.c     mv_y = av_clip(y_mv - y, -FFMIN(y - y_min, y_max - y), FFMIN(y - y_min, y_max - y));
FFMIN             682 libavfilter/vf_minterpolate.c                         for (y = FFMAX(mb_y - d, 0); y < FFMIN(mb_y + d + 1, mi_ctx->b_height); y++)
FFMIN             683 libavfilter/vf_minterpolate.c                             for (x = FFMAX(mb_x - d, 0); x < FFMIN(mb_x + d + 1, mi_ctx->b_width); x++) {
FFMIN             718 libavfilter/vf_minterpolate.c             for (y = FFMAX(mb_y - 1, 0); y < FFMIN(mb_y + 2, mi_ctx->b_height); y++)
FFMIN             719 libavfilter/vf_minterpolate.c                 for (x = FFMAX(mb_x - 1, 0); x < FFMIN(mb_x + 2, mi_ctx->b_width); x++) {
FFMIN             843 libavfilter/vf_minterpolate.c         ret  = av_clipf(FFMIN(mafd, diff), 0, 100.0);
FFMIN            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++)
FFMIN            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++) {
FFMIN             214 libavfilter/vf_mix.c     ctx->internal->execute(ctx, mix_frames, &td, NULL, FFMIN(s->height[0], ff_filter_get_nb_threads(ctx)));
FFMIN             385 libavfilter/vf_mix.c     ctx->internal->execute(ctx, mix_frames, &td, NULL, FFMIN(s->height[0], ff_filter_get_nb_threads(ctx)));
FFMIN             209 libavfilter/vf_mpdecimate.c         decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
FFMIN              91 libavfilter/vf_neighbor.c                 min = FFMIN(min, *(coordinates[i] + x));
FFMIN             113 libavfilter/vf_neighbor.c                 min = FFMIN(min, AV_RN16A(coordinates[i] + x * 2));
FFMIN             130 libavfilter/vf_neighbor.c         int limit = FFMIN(max + threshold, 255);
FFMIN             136 libavfilter/vf_neighbor.c             max = FFMIN(max, limit);
FFMIN             152 libavfilter/vf_neighbor.c         int limit = FFMIN(max + threshold, maxc);
FFMIN             158 libavfilter/vf_neighbor.c             max = FFMIN(max, limit);
FFMIN             177 libavfilter/vf_neighbor.c         dst[x] = FFMAX(FFMIN(sum / 8, p1[x]), limit);
FFMIN             194 libavfilter/vf_neighbor.c         dst[x] = FFMAX(FFMIN(sum / 8, AV_RN16A(&p1[2 * x])), limit);
FFMIN             206 libavfilter/vf_neighbor.c         int limit = FFMIN(p1[x] + threshold, 255);
FFMIN             210 libavfilter/vf_neighbor.c         dst[x] = FFMIN(FFMAX(sum / 8, p1[x]), limit);
FFMIN             223 libavfilter/vf_neighbor.c         int limit = FFMIN(AV_RN16A(&p1[2 * x]) + threshold, maxc);
FFMIN             227 libavfilter/vf_neighbor.c         dst[x] = FFMIN(FFMAX(sum / 8, AV_RN16A(&p1[x * 2])), limit);
FFMIN             331 libavfilter/vf_neighbor.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(s->planeheight[1], ff_filter_get_nb_threads(ctx)));
FFMIN             229 libavfilter/vf_nlmeans.c     const int u_endx_safe = FFMIN(s1x + w, s2x + w); // unaligned
FFMIN             230 libavfilter/vf_nlmeans.c     const int endy_safe   = FFMIN(s1y + h, s2y + h);
FFMIN             452 libavfilter/vf_nlmeans.c                     .endx         = FFMIN(w, w - offx),
FFMIN             453 libavfilter/vf_nlmeans.c                     .endy         = FFMIN(h, h - offy),
FFMIN             462 libavfilter/vf_nlmeans.c                                        FFMIN(td.endy - td.starty, ff_filter_get_nb_threads(ctx)));
FFMIN             363 libavfilter/vf_nnedi.c             dstp[x] = FFMAX(FFMIN(tmp, maximum), minimum);
FFMIN             627 libavfilter/vf_nnedi.c                 dstp[x] = FFMIN(FFMAX((int)(mstd[3] * scale + 0.5f), 0), s->max_value);
FFMIN             641 libavfilter/vf_nnedi.c         return FFMIN((int)ceil(f), 32767);
FFMIN             209 libavfilter/vf_noise.c             int w = FFMIN(width - x, MAX_RES);
FFMIN             275 libavfilter/vf_noise.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(n->height[0], ff_filter_get_nb_threads(ctx)));
FFMIN             148 libavfilter/vf_normalize.c                 min[c].in = FFMIN(min[c].in, inp[s->co[c]]);
FFMIN             183 libavfilter/vf_normalize.c             min[0].in = FFMIN(min[0].in, inrp[x]);
FFMIN             185 libavfilter/vf_normalize.c             min[1].in = FFMIN(min[1].in, ingp[x]);
FFMIN             187 libavfilter/vf_normalize.c             min[2].in = FFMIN(min[2].in, inbp[x]);
FFMIN             222 libavfilter/vf_normalize.c                 min[c].in = FFMIN(min[c].in, inp[s->co[c]]);
FFMIN             257 libavfilter/vf_normalize.c             min[0].in = FFMIN(min[0].in, inrp[x]);
FFMIN             259 libavfilter/vf_normalize.c             min[1].in = FFMIN(min[1].in, ingp[x]);
FFMIN             261 libavfilter/vf_normalize.c             min[2].in = FFMIN(min[2].in, inbp[x]);
FFMIN             383 libavfilter/vf_overlay.c     imax = FFMIN3(-y + dst_h, FFMIN(src_h, dst_h), y + src_h);
FFMIN             396 libavfilter/vf_overlay.c         for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) {
FFMIN             418 libavfilter/vf_overlay.c                         FFMIN(FAST_DIV255(d[dr] * (255 - alpha)) + S[sr], 255);
FFMIN             420 libavfilter/vf_overlay.c                         FFMIN(FAST_DIV255(d[dg] * (255 - alpha)) + S[sg], 255);
FFMIN             422 libavfilter/vf_overlay.c                         FFMIN(FAST_DIV255(d[db] * (255 - alpha)) + S[sb], 255);
FFMIN             471 libavfilter/vf_overlay.c     jmax = FFMIN3(-yp + dst_hp, FFMIN(src_hp, dst_hp), yp + src_hp);
FFMIN             489 libavfilter/vf_overlay.c         kmax = FFMIN(-xp + dst_wp, src_wp);
FFMIN             539 libavfilter/vf_overlay.c                     *d = FFMIN(FAST_DIV255(*d * (255 - alpha)) + *s, 255);
FFMIN             564 libavfilter/vf_overlay.c     imax = FFMIN(-y + dst_h, src_h);
FFMIN             577 libavfilter/vf_overlay.c         for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) {
FFMIN             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)),
FFMIN             338 libavfilter/vf_palettegen.c             min[0] = FFMIN(r, min[0]), max[0] = FFMAX(r, max[0]);
FFMIN             339 libavfilter/vf_palettegen.c             min[1] = FFMIN(g, min[1]), max[1] = FFMAX(g, max[1]);
FFMIN             340 libavfilter/vf_palettegen.c             min[2] = FFMIN(b, min[2]), max[2] = FFMAX(b, max[2]);
FFMIN             482 libavfilter/vf_perspective.c         ctx->internal->execute(ctx, s->perspective, &td, NULL, FFMIN(td.h, ff_filter_get_nb_threads(ctx)));
FFMIN             149 libavfilter/vf_photosensitivity.c     ctx->internal->execute(ctx, convert_frame_partial, &td, NULL, FFMIN(NUM_CELLS, ff_filter_get_nb_threads(ctx)));
FFMIN             188 libavfilter/vf_photosensitivity.c     ctx->internal->execute(ctx, blend_frame_partial, &td, NULL, FFMIN(ctx->outputs[0]->h, ff_filter_get_nb_threads(ctx)));
FFMIN             237 libavfilter/vf_pp7.c             int end = FFMIN(x + 8, width);
FFMIN             242 libavfilter/vf_pp7.c                 qp = qp_store[ (FFMIN(x, width - 1) >> qps) + (FFMIN(y, height - 1) >> qps) * qp_stride];
FFMIN             233 libavfilter/vf_premultiply.c                 dst[x] = FFMIN(msrc[x] * 255 / asrc[x], 255);
FFMIN             256 libavfilter/vf_premultiply.c                 dst[x] = FFMIN((msrc[x] - 128) * 255 / asrc[x] + 128, 255);
FFMIN             279 libavfilter/vf_premultiply.c                 dst[x] = FFMIN(FFMAX(msrc[x] - offset, 0) * 255 / asrc[x] + offset, 255);
FFMIN             305 libavfilter/vf_premultiply.c                 dst[x] = FFMIN(msrc[x] * (unsigned)max / asrc[x], max);
FFMIN             331 libavfilter/vf_premultiply.c                 dst[x] = FFMAX(FFMIN((msrc[x] - half) * max / asrc[x], half - 1), -half) + half;
FFMIN             357 libavfilter/vf_premultiply.c                 dst[x] = FFMAX(FFMIN(FFMAX(msrc[x] - offset, 0) * (unsigned)max / asrc[x] + offset, max), 0);
FFMIN             524 libavfilter/vf_premultiply.c         ctx->internal->execute(ctx, premultiply_slice, &td, NULL, FFMIN(s->height[0],
FFMIN             168 libavfilter/vf_psnr.c     s->min_mse = FFMIN(s->min_mse, mse);
FFMIN             297 libavfilter/vf_readeia608.c             int d = FFMIN(i + 3, w-1);
FFMIN             298 libavfilter/vf_readeia608.c             int e = FFMIN(i + 2, w-1);
FFMIN             299 libavfilter/vf_readeia608.c             int f = FFMIN(i + 1, w-1);
FFMIN              96 libavfilter/vf_readvitc.c         height = FFMIN(height, ctx->scan_max);
FFMIN             315 libavfilter/vf_remap.c         ctx->internal->execute(ctx, s->remap_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN              68 libavfilter/vf_removegrain.c     const int mi1 = FFMIN(a1, a8);   \
FFMIN              70 libavfilter/vf_removegrain.c     const int mi2 = FFMIN(a2, a7);   \
FFMIN              72 libavfilter/vf_removegrain.c     const int mi3 = FFMIN(a3, a6);   \
FFMIN              74 libavfilter/vf_removegrain.c     const int mi4 = FFMIN(a4, a5);
FFMIN              78 libavfilter/vf_removegrain.c     const int mi = FFMIN(FFMIN(FFMIN(a1, a2), FFMIN(a3, a4)), FFMIN(FFMIN(a5, a6), FFMIN(a7, a8)));
FFMIN             127 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(c1, c2), FFMIN(c3, c4));
FFMIN             160 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(c1, c2), FFMIN(c3, c4));
FFMIN             192 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(c1, c2), FFMIN(c3, c4));
FFMIN             224 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(c1, c2), FFMIN(c3, c4));
FFMIN             246 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(d1, d2), FFMIN(d3, d4));
FFMIN             270 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(FFMIN(d1, d2), FFMIN(d3, d4)),
FFMIN             271 libavfilter/vf_removegrain.c                               FFMIN(FFMIN(d5, d6), FFMIN(d7, d8)));
FFMIN             298 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(d1, d2), d3);
FFMIN             316 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(d1, d2), d3);
FFMIN             320 libavfilter/vf_removegrain.c         return av_clip(average, FFMIN(a2, a7), FFMAX(a2, a7));
FFMIN             323 libavfilter/vf_removegrain.c         return av_clip(average, FFMIN(a3, a6), FFMAX(a3, a6));
FFMIN             326 libavfilter/vf_removegrain.c     return av_clip(average, FFMIN(a1, a8), FFMAX(a1, a8));
FFMIN             334 libavfilter/vf_removegrain.c     const int u = FFMIN(FFMIN(ma1, ma2), FFMIN(ma3, ma4));
FFMIN             336 libavfilter/vf_removegrain.c     return av_clip(c, FFMIN(l, u), FFMAX(l, u));
FFMIN             346 libavfilter/vf_removegrain.c     const int mindiff = FFMIN(FFMIN(d1, d2), FFMIN(d3, d4));
FFMIN             349 libavfilter/vf_removegrain.c         return av_clip(c, FFMIN(a4, a5), FFMAX(a4, a5));
FFMIN             352 libavfilter/vf_removegrain.c         return av_clip(c, FFMIN(a2, a7), FFMAX(a2, a7));
FFMIN             355 libavfilter/vf_removegrain.c         return av_clip(c, FFMIN(a3, a6), FFMAX(a3, a6));
FFMIN             358 libavfilter/vf_removegrain.c     return av_clip(c, FFMIN(a1, a8), FFMAX(a1, a8));
FFMIN             389 libavfilter/vf_removegrain.c     const int mi = FFMIN(FFMIN(l1l, l2l), FFMIN(l3l, l4l));
FFMIN             402 libavfilter/vf_removegrain.c     const int mi = FFMIN(FFMIN(l1, l2), FFMIN(l3, l4));
FFMIN             417 libavfilter/vf_removegrain.c     const int u1 = FFMIN(c - ma1, linediff1);
FFMIN             418 libavfilter/vf_removegrain.c     const int u2 = FFMIN(c - ma2, linediff2);
FFMIN             419 libavfilter/vf_removegrain.c     const int u3 = FFMIN(c - ma3, linediff3);
FFMIN             420 libavfilter/vf_removegrain.c     const int u4 = FFMIN(c - ma4, linediff4);
FFMIN             423 libavfilter/vf_removegrain.c     const int d1 = FFMIN(mi1 - c, linediff1);
FFMIN             424 libavfilter/vf_removegrain.c     const int d2 = FFMIN(mi2 - c, linediff2);
FFMIN             425 libavfilter/vf_removegrain.c     const int d3 = FFMIN(mi3 - c, linediff3);
FFMIN             426 libavfilter/vf_removegrain.c     const int d4 = FFMIN(mi4 - c, linediff4);
FFMIN             446 libavfilter/vf_removegrain.c     const int u1 = FFMIN(tu1, linediff1 - tu1);
FFMIN             447 libavfilter/vf_removegrain.c     const int u2 = FFMIN(tu2, linediff2 - tu2);
FFMIN             448 libavfilter/vf_removegrain.c     const int u3 = FFMIN(tu3, linediff3 - tu3);
FFMIN             449 libavfilter/vf_removegrain.c     const int u4 = FFMIN(tu4, linediff4 - tu4);
FFMIN             457 libavfilter/vf_removegrain.c     const int d1 = FFMIN(td1, linediff1 - td1);
FFMIN             458 libavfilter/vf_removegrain.c     const int d2 = FFMIN(td2, linediff2 - td2);
FFMIN             459 libavfilter/vf_removegrain.c     const int d3 = FFMIN(td3, linediff3 - td3);
FFMIN             460 libavfilter/vf_removegrain.c     const int d4 = FFMIN(td4, linediff4 - td4);
FFMIN             539 libavfilter/vf_removegrain.c     end   = FFMIN(height-1, end);
FFMIN             622 libavfilter/vf_removegrain.c                                FFMIN(s->planeheight[i], ff_filter_get_nb_threads(ctx)));
FFMIN             274 libavfilter/vf_removelogo.c             dst_data[(y * dst_linesize) + x] = FFMIN(1, dst_data[(y * dst_linesize) + x]);
FFMIN             408 libavfilter/vf_removelogo.c     end_posx   = FFMIN(w - 1, x + mask_size);
FFMIN             409 libavfilter/vf_removelogo.c     end_posy   = FFMIN(h - 1, y + mask_size);
FFMIN             242 libavfilter/vf_rotate.c     int int_x1 = FFMIN(int_x+1, max_x);
FFMIN             243 libavfilter/vf_rotate.c     int int_y1 = FFMIN(int_y+1, max_y);
FFMIN             272 libavfilter/vf_rotate.c     int int_x1 = FFMIN(int_x+1, max_x);
FFMIN             273 libavfilter/vf_rotate.c     int int_y1 = FFMIN(int_y+1, max_y);
FFMIN             557 libavfilter/vf_rotate.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outh, ff_filter_get_nb_threads(ctx)));
FFMIN             800 libavfilter/vf_scale.c         const int nb_slices = FFMIN(scale->nb_slices, link->h);
FFMIN             140 libavfilter/vf_scdet.c         ret  = av_clipf(FFMIN(mafd, diff), 0, 100.);
FFMIN             135 libavfilter/vf_scroll.c                            FFMIN(out->height, ff_filter_get_nb_threads(ctx)));
FFMIN             448 libavfilter/vf_selectivecolor.c                            &td, NULL, FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             341 libavfilter/vf_showinfo.c             int m = FFMIN(tc[0],3);
FFMIN             188 libavfilter/vf_signalstats.c     s->nb_jobs   = FFMAX(1, FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             603 libavfilter/vf_signalstats.c                            NULL, FFMIN(s->chromah, ff_filter_get_nb_threads(ctx)));
FFMIN             825 libavfilter/vf_signalstats.c                            NULL, FFMIN(s->chromah, ff_filter_get_nb_threads(ctx)));
FFMIN             321 libavfilter/vf_signature.c     fs->confidence = FFMIN(conflist[DIFFELEM_SIZE/2], 255);
FFMIN             279 libavfilter/vf_spp.c                 qp = qp_table[(FFMIN(x, width - 1) >> qps) + (FFMIN(y, height - 1) >> qps) * qp_stride];
FFMIN             297 libavfilter/vf_spp.c                                FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count,
FFMIN             302 libavfilter/vf_spp.c                                 FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count,
FFMIN             185 libavfilter/vf_stack.c     ctx->internal->execute(ctx, process_slice, out, NULL, FFMIN(s->nb_inputs, ff_filter_get_nb_threads(ctx)));
FFMIN             945 libavfilter/vf_stereo3d.c                                    FFMIN(s->out.height, ff_filter_get_nb_threads(ctx)));
FFMIN              74 libavfilter/vf_super2xsai.c     src_line[2] = src + src_linesize*FFMIN(1, height-1);
FFMIN              75 libavfilter/vf_super2xsai.c     src_line[3] = src + src_linesize*FFMIN(2, height-1);
FFMIN             148 libavfilter/vf_threshold.c                                FFMIN(s->height[2], ff_filter_get_nb_threads(ctx)));
FFMIN             278 libavfilter/vf_tonemap.c     ctx->internal->execute(ctx, tonemap_slice, &td, NULL, FFMIN(in->height, ff_filter_get_nb_threads(ctx)));
FFMIN              74 libavfilter/vf_tonemap_vaapi.c                 FFMIN(lrint(luma_den * av_q2d(hdr_meta->min_luminance)),
FFMIN              93 libavfilter/vf_tonemap_vaapi.c                     FFMIN(lrint(chroma_den *
FFMIN              97 libavfilter/vf_tonemap_vaapi.c                     FFMIN(lrint(chroma_den *
FFMIN             103 libavfilter/vf_tonemap_vaapi.c                 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[0])),
FFMIN             106 libavfilter/vf_tonemap_vaapi.c                 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[1])),
FFMIN             355 libavfilter/vf_transpose.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             158 libavfilter/vf_unsharp.c         ctx->internal->execute(ctx, unsharp_slice, &td, NULL, FFMIN(plane_h[i], s->nb_threads));
FFMIN             244 libavfilter/vf_unsharp.c     s->nb_threads = FFMIN(ff_filter_get_nb_threads(inlink->dst),
FFMIN            1727 libavfilter/vf_v360.c     s->flat_range[0] = tanf(FFMIN(s->h_fov, 359.f) * M_PI / 720.f);
FFMIN            1728 libavfilter/vf_v360.c     s->flat_range[1] = tanf(FFMIN(s->v_fov, 359.f) * M_PI / 720.f);
FFMIN            1773 libavfilter/vf_v360.c     s->iflat_range[0] = tanf(FFMIN(s->ih_fov, 359.f) * M_PI / 720.f);
FFMIN            1774 libavfilter/vf_v360.c     s->iflat_range[1] = tanf(FFMIN(s->iv_fov, 359.f) * M_PI / 720.f);
FFMIN            3675 libavfilter/vf_v360.c             const float da = tanf(0.5f * FFMIN(d_fov, 359.f) * M_PI / 180.f);
FFMIN            4240 libavfilter/vf_v360.c     ctx->internal->execute(ctx, v360_slice, NULL, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN            4263 libavfilter/vf_v360.c     ctx->internal->execute(ctx, s->remap_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             175 libavfilter/vf_vaguedenoiser.c     s->nsteps = FFMIN(s->nsteps, nsteps_max - 2);
FFMIN             461 libavfilter/vf_vectorscope.c                 const int x = FFMIN(spx[iwx + j], max);
FFMIN             462 libavfilter/vf_vectorscope.c                 const int y = FFMIN(spy[iwy + j], max);
FFMIN             469 libavfilter/vf_vectorscope.c                 dpd[pos] = FFMIN(dpd[pos] + intensity, max);
FFMIN             480 libavfilter/vf_vectorscope.c                     const int x = FFMIN(spx[iw1 + j], max);
FFMIN             481 libavfilter/vf_vectorscope.c                     const int y = FFMIN(spy[iw2 + j], max);
FFMIN             500 libavfilter/vf_vectorscope.c                     const int x = FFMIN(spx[iw1 + j], max);
FFMIN             501 libavfilter/vf_vectorscope.c                     const int y = FFMIN(spy[iw2 + j], max);
FFMIN             509 libavfilter/vf_vectorscope.c                         dpd[pos] = FFMIN(x + y, max);
FFMIN             522 libavfilter/vf_vectorscope.c                 const int x = FFMIN(spx[iw1 + j], max);
FFMIN             523 libavfilter/vf_vectorscope.c                 const int y = FFMIN(spy[iw2 + j], max);
FFMIN             530 libavfilter/vf_vectorscope.c                 dpd[pos] = FFMIN(max, dpd[pos] + intensity);
FFMIN             542 libavfilter/vf_vectorscope.c                 const int x = FFMIN(spx[iwx + (j >> hsub)], max);
FFMIN             543 libavfilter/vf_vectorscope.c                 const int y = FFMIN(spy[iwy + (j >> hsub)], max);
FFMIN             665 libavfilter/vf_vectorscope.c                 dpd[pos] = FFMIN(dpd[pos] + intensity, 255);
FFMIN             705 libavfilter/vf_vectorscope.c                         dpd[pos] = FFMIN(x + y, 255);
FFMIN             726 libavfilter/vf_vectorscope.c                 dpd[pos] = FFMIN(255, dpd[pos] + intensity);
FFMIN              55 libavfilter/vf_vfrdet.c             s->min_delta = FFMIN(delta, s->min_delta);
FFMIN             170 libavfilter/vf_vibrance.c                                        FFMIN(frame->height, ff_filter_get_nb_threads(avctx))))
FFMIN             489 libavfilter/vf_w3fdif.c         ctx->internal->execute(ctx, deinterlace_slice, &td, NULL, FFMIN(s->planeheight[plane], s->nb_threads));
FFMIN             721 libavfilter/vf_waveform.c             int i = 0, v = FFMIN(*p, limit);
FFMIN            1003 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit) + s->max;
FFMIN            1004 libavfilter/vf_waveform.c                 const int c1 = FFMIN(FFABS(c1_data[x >> c1_shift_w] - mid) + FFABS(c2_data[x >> c2_shift_w] - mid), limit);
FFMIN            1038 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit) + s->max;
FFMIN            1039 libavfilter/vf_waveform.c                 const int c1 = FFMIN(FFABS(c1_data[x >> c1_shift_w] - mid) + FFABS(c2_data[x >> c2_shift_w] - mid), limit);
FFMIN            1290 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit) + mid;                                       \
FFMIN            1291 libavfilter/vf_waveform.c                 const int c1 = FFMIN(c1_data[x >> c1_shift_w], limit) - mid;                                       \
FFMIN            1292 libavfilter/vf_waveform.c                 const int c2 = FFMIN(c2_data[x >> c2_shift_w], limit) - mid;                                       \
FFMIN            1331 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit) + mid;                                       \
FFMIN            1332 libavfilter/vf_waveform.c                 const int c1 = FFMIN(c1_data[x >> c1_shift_w], limit) - mid;                                       \
FFMIN            1333 libavfilter/vf_waveform.c                 const int c2 = FFMIN(c2_data[x >> c2_shift_w], limit) - mid;                                       \
FFMIN            1563 libavfilter/vf_waveform.c                 const int sum = FFMIN(FFABS(c0_data[x >> c0_shift_w] - mid) + FFABS(c1_data[x >> c1_shift_w] - mid - 1), limit);
FFMIN            1585 libavfilter/vf_waveform.c                 const int sum = FFMIN(FFABS(c0_data[x >> c0_shift_w] - mid) + FFABS(c1_data[x >> c1_shift_w] - mid - 1), limit);
FFMIN            1783 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit);
FFMIN            1815 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit);
FFMIN            2049 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit);
FFMIN            2081 libavfilter/vf_waveform.c                 const int c0 = FFMIN(c0_data[x >> c0_shift_w], limit);
FFMIN             374 libavfilter/vf_xbr.c     ctx->internal->execute(ctx, s->func, &td, NULL, FFMIN(inlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN            1046 libavfilter/vf_xfade.c     const float sqx = 2.f * dist * FFMIN(w, h) / 20.f;                               \
FFMIN            1047 libavfilter/vf_xfade.c     const float sqy = 2.f * dist * FFMIN(w, h) / 20.f;                               \
FFMIN            1051 libavfilter/vf_xfade.c             int sx = dist > 0.f ? FFMIN((floorf(x / sqx) + .5f) * sqx, w - 1) : x;   \
FFMIN            1052 libavfilter/vf_xfade.c             int sy = dist > 0.f ? FFMIN((floorf(y / sqy) + .5f) * sqy, h - 1) : y;   \
FFMIN            1306 libavfilter/vf_xfade.c     const uint8_t *src = in->data[FFMIN(plane, s->nb_planes - 1)];
FFMIN            1307 libavfilter/vf_xfade.c     int linesize = in->linesize[FFMIN(plane, s->nb_planes - 1)];
FFMIN            1479 libavfilter/vf_xfade.c     ctx->internal->execute(ctx, xfade_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             254 libavfilter/vf_xmedian.c     ctx->internal->execute(ctx, s->median_frames, &td, NULL, FFMIN(s->height[1], ff_filter_get_nb_threads(ctx)));
FFMIN             418 libavfilter/vf_xmedian.c     ctx->internal->execute(ctx, s->median_frames, &td, NULL, FFMIN(s->height[0], ff_filter_get_nb_threads(ctx)));
FFMIN              73 libavfilter/vf_yadif.c             int max = FFMAX3(d - e, d - c, FFMIN(b - c, f - e)); \
FFMIN             250 libavfilter/vf_yadif.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ff_filter_get_nb_threads(ctx)));
FFMIN             256 libavfilter/vf_yaepblur.c         ctx->internal->execute(ctx, s->pre_calculate_row, &td, NULL, FFMIN(td.height, nb_threads));
FFMIN             257 libavfilter/vf_yaepblur.c         ctx->internal->execute(ctx, pre_calculate_col, &td, NULL, FFMIN(td.width,  nb_threads));
FFMIN             261 libavfilter/vf_yaepblur.c         ctx->internal->execute(ctx, s->filter_slice, &td, NULL, FFMIN(td.height, nb_threads));
FFMIN             282 libavfilter/vf_yaepblur.c     s->radius = FFMIN(s->radius, AV_CEIL_RSHIFT(FFMIN(inlink->w, inlink->h), 1));
FFMIN             276 libavfilter/vf_zscale.c              w = FFMIN(tmp_w, w);
FFMIN             277 libavfilter/vf_zscale.c              h = FFMIN(tmp_h, h);
FFMIN             266 libavfilter/vsrc_gradients.c     ctx->internal->execute(ctx, s->draw_slice, frame, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             385 libavfilter/vsrc_life.c                 int death_age = FFMIN((0xff - v) * life->mold, 0xff);
FFMIN             329 libavfilter/vsrc_mandelbrot.c                     i-= FFMIN(7, i);
FFMIN             197 libavfilter/vsrc_sierpinski.c     ctx->internal->execute(ctx, s->draw_slice, frame, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
FFMIN             779 libavfilter/vsrc_testsrc.c         int l = (FFMIN(s->w, s->h) - 32) >> 1;
FFMIN             812 libavfilter/vsrc_testsrc.c         int l = (FFMIN(s->w, s->h) - 16) >> 2;
FFMIN            1320 libavfilter/vsrc_testsrc.c     x = FFMIN(x, test->w - 1);
FFMIN            1321 libavfilter/vsrc_testsrc.c     y = FFMIN(y, test->h - 1);
FFMIN            1322 libavfilter/vsrc_testsrc.c     w = FFMAX(FFMIN(w, test->w - x), 0);
FFMIN            1323 libavfilter/vsrc_testsrc.c     h = FFMAX(FFMIN(h, test->h - y), 0);
FFMIN             149 libavfilter/window_func.h                 lut[n] = FFMIN(1, fabs(1/(1+4*16*x*x)));
FFMIN              63 libavformat/aacdec.c             fsize = FFMIN(fsize, end - buf2);
FFMIN              63 libavformat/afc.c     size = FFMIN(c->data_end - avio_tell(s->pb), 18 * 128);
FFMIN             410 libavformat/aiffdec.c     size = FFMIN(max_size, size);
FFMIN             427 libavformat/asfdec_f.c             20*FFABS(fsize - (int64_t)asf->hdr.file_size) < FFMIN(fsize, asf->hdr.file_size))
FFMIN             533 libavformat/asfdec_f.c             for (i = 0; i < FFMIN(st->codecpar->extradata_size, AVPALETTE_SIZE) / 4; i++)
FFMIN             537 libavformat/asfdec_f.c                    FFMIN(st->codecpar->extradata_size, AVPALETTE_SIZE));
FFMIN             223 libavformat/async.c         to_copy = FFMIN(4096, fifo_space);
FFMIN             343 libavformat/async.c         to_copy   = FFMIN(to_read, fifo_size);
FFMIN             106 libavformat/av1dec.c     ret = read_obu(p->buf + cnt, FFMIN(p->buf_size - cnt, obu_unit_size), &obu_size, &type);
FFMIN             121 libavformat/av1dec.c         ret = read_obu(p->buf + cnt, FFMIN(p->buf_size - cnt, obu_unit_size), &obu_size, &type);
FFMIN             146 libavformat/avc.c         size = FFMIN(AV_RB32(buf), end - buf - 4);
FFMIN             289 libavformat/avidec.c             av_add_index_entry(st, pos + j, ts + j, FFMIN(max, size - j), 0,
FFMIN             356 libavformat/avidec.c                 size = FFMIN(size, tag_end - avio_tell(s->pb));
FFMIN             358 libavformat/avidec.c                                   FFMIN(size, sizeof(buffer) - 1));
FFMIN             534 libavformat/avidec.c             size -= avio_read(pb, date, FFMIN(size, sizeof(date) - 1));
FFMIN             731 libavformat/avidec.c                     size = FFMIN(size, list_end - cur_pos);
FFMIN             784 libavformat/avidec.c                         pal_size = FFMIN(pal_size, st->codecpar->extradata_size);
FFMIN             922 libavformat/avidec.c                     size = FFMIN(size, list_end - cur_pos);
FFMIN            1495 libavformat/avidec.c                             const uint8_t *ptr = pkt->data, *end = ptr + FFMIN(size, 256);
FFMIN            1661 libavformat/avidec.c                 min_dts = FFMIN(min_dts, dts);
FFMIN            1662 libavformat/avidec.c                 min_pos = FFMIN(min_pos, st->index_entries[idx[i]].pos);
FFMIN            1870 libavformat/avidec.c         pos_min = FFMIN(pos_min,ast2->seek_pos);
FFMIN             295 libavformat/avienc.c         bitrate = FFMIN(bitrate + par->bit_rate, INT32_MAX);
FFMIN             265 libavformat/avio.c                    FFMIN(proto_len + 1, sizeof(proto_str)));
FFMIN             202 libavformat/aviobuf.c         int len = FFMIN(s->buf_end - s->buf_ptr, count);
FFMIN             221 libavformat/aviobuf.c         int len = FFMIN(s->buf_end - s->buf_ptr, size);
FFMIN             235 libavformat/aviobuf.c     int seekback = s->write_flag ? FFMIN(0, s->buf_ptr - s->buf_ptr_max) : 0;
FFMIN             301 libavformat/aviobuf.c         pos -= FFMIN(buffer_size>>1, pos);
FFMIN             631 libavformat/aviobuf.c         len = FFMIN(s->buf_end - s->buf_ptr, size);
FFMIN             864 libavformat/aviobuf.c     buflen = FFMIN(buflen - 1, maxlen);
FFMIN            1233 libavformat/aviobuf.c         ret = avio_read(h, buf, FFMIN(max_size, sizeof(buf)));
FFMIN             186 libavformat/cache.c                 r = read(c->fd, buf, FFMIN(size, entry->size - in_block_pos));
FFMIN             270 libavformat/cache.c                     size = FFMIN(sizeof(tmp), pos - c->logical_pos);
FFMIN             383 libavformat/cafdec.c         pkt_size   = FFMIN(pkt_size, left);
FFMIN             427 libavformat/cafdec.c             pos = FFMIN(pos, caf->data_size);
FFMIN             189 libavformat/crypto.c         size = FFMIN(size, c->outdata);
FFMIN             108 libavformat/dash.c             int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1);
FFMIN             152 libavformat/dash.c         dst_pos += FFMIN(n, buffer_size - dst_pos - 1);
FFMIN            1696 libavformat/dashdec.c         buf_size = FFMIN(buf_size, pls->cur_seg_size - pls->cur_seg_offset);
FFMIN            1767 libavformat/dashdec.c     sec_size = FFMIN(sec_size, max_init_section_size);
FFMIN            1828 libavformat/dashdec.c         int copy_size = FFMIN(v->init_sec_data_len - v->init_sec_buf_read_offset, buf_size);
FFMIN             702 libavformat/dashenc.c         avio_printf(out, "\t\t\t\t<SegmentList timescale=\"%d\" duration=\"%"PRId64"\" startNumber=\"%d\">\n", AV_TIME_BASE, FFMIN(os->seg_duration, os->last_duration), start_number);
FFMIN             713 libavformat/dashenc.c         avio_printf(out, "\t\t\t\t<SegmentList timescale=\"%d\" duration=\"%"PRId64"\" startNumber=\"%d\">\n", AV_TIME_BASE, FFMIN(os->seg_duration, os->last_duration), start_number);
FFMIN             106 libavformat/data_uri.c     size = FFMIN(size, dc->size - dc->pos);
FFMIN             191 libavformat/dsfdec.c     ret = av_get_packet(pb, pkt, FFMIN(dsf->data_end - pos, st->codecpar->block_align));
FFMIN              43 libavformat/dtsdec.c     for (pos = FFMIN(4096, p->buf_size); pos < p->buf_size - 2; pos += 2) {
FFMIN             149 libavformat/dtshddec.c     size = FFMIN(left, 1024);
FFMIN             148 libavformat/dump.c                     av_strlcpy(tmp, p, FFMIN(sizeof(tmp), len+1));
FFMIN              57 libavformat/dvbsub.c                 min = FFMIN(min, histogram[k]);
FFMIN             163 libavformat/dxa.c         size = FFMIN(c->bytes_left, c->bpc);
FFMIN             373 libavformat/fifo.c                 av_usleep(FFMIN(10000, time_to_wait));
FFMIN             113 libavformat/file.c     size = FFMIN(size, c->blocksize);
FFMIN             126 libavformat/file.c     size = FFMIN(size, c->blocksize);
FFMIN             462 libavformat/flvdec.c         for (i = 0; i < FFMIN(2,fileposlen); i++) {
FFMIN             974 libavformat/flvdec.c             if (lsize2 >= 11 && lsize2 + 8LL < FFMIN(i, RESYNC_BUFFER_SIZE)) {
FFMIN             977 libavformat/flvdec.c                 if (lsize1 >= 11 && lsize1 + 8LL + lsize2 < FFMIN(i, RESYNC_BUFFER_SIZE)) {
FFMIN             199 libavformat/format.c         score_max = FFMIN(AVPROBE_SCORE_EXTENSION / 2 - 1, score_max);
FFMIN             255 libavformat/format.c          probe_size = FFMIN(probe_size << 1,
FFMIN             163 libavformat/gifdec.c                     delay = FFMIN(delay, gdc->max_delay);
FFMIN             229 libavformat/gifdec.c         gdc->delay = FFMIN(gdc->delay, gdc->max_delay);
FFMIN             346 libavformat/hevc.c         hvcc->min_spatial_segmentation_idc = FFMIN(hvcc->min_spatial_segmentation_idc,
FFMIN             409 libavformat/hevc.c                 num_coeffs = FFMIN(64, 1 << (4 + (i << 1)));
FFMIN             574 libavformat/hevc.c             int len = FFMIN(log2_max_pic_order_cnt_lsb_minus4 + 4, 16);
FFMIN            1019 libavformat/hevc.c         uint32_t len = FFMIN(AV_RB32(buf), end - buf - 4);
FFMIN            1099 libavformat/hevc.c         uint32_t len = FFMIN(AV_RB32(buf), end - buf - 4);
FFMIN            1015 libavformat/hls.c         buf_size = FFMIN(buf_size, seg->size - pls->cur_seg_offset);
FFMIN            1159 libavformat/hls.c             int tag_got_bytes = FFMIN(taglen, *len);
FFMIN            1344 libavformat/hls.c     sec_size = FFMIN(sec_size, max_init_section_size);
FFMIN            1549 libavformat/hls.c         int copy_size = FFMIN(v->init_sec_data_len - v->init_sec_buf_read_offset, buf_size);
FFMIN            1693 libavformat/hls.c             return pls->start_seq_no + FFMIN(c->live_start_index, pls->n_segments - 1);
FFMIN            1423 libavformat/http.c         size = FFMIN(size, s->chunksize);
FFMIN            1622 libavformat/http.c     return FFMIN(size, remaining);
FFMIN              58 libavformat/icodec.c             return FFMIN(i, AVPROBE_SCORE_MAX / 4);
FFMIN              60 libavformat/icodec.c             return FFMIN(i, AVPROBE_SCORE_MAX / 4);
FFMIN              62 libavformat/icodec.c             return FFMIN(i, AVPROBE_SCORE_MAX / 4);
FFMIN              65 libavformat/icodec.c             return FFMIN(i, AVPROBE_SCORE_MAX / 4);
FFMIN              69 libavformat/icodec.c             return FFMIN(i, AVPROBE_SCORE_MAX / 4);
FFMIN              74 libavformat/icodec.c         return AVPROBE_SCORE_MAX / 4 + FFMIN(checked, 1);
FFMIN             233 libavformat/iff.c             int ret = get_metadata(s, metadata_tag, FFMIN(tag_size, size - 4));
FFMIN             835 libavformat/iff.c             ret = av_get_packet(pb, pkt, FFMIN(iff->body_end - pos, 1024 * st->codecpar->block_align));
FFMIN             169 libavformat/libamqp.c         queuename.len = FFMIN(r->queue.len, STR_LEN);
FFMIN             264 libavformat/libamqp.c     size = FFMIN(size, envelope.message.body.len);
FFMIN              50 libavformat/loasdec.c             fsize = FFMIN(fsize, end - buf2);
FFMIN            2465 libavformat/matroskadec.c             extradata_offset = FFMIN(track->codec_priv.size, 18);
FFMIN             383 libavformat/mlvdec.c         avio_seek(pb, FFMIN(vst->index_entries[0].pos, ast->index_entries[0].pos), SEEK_SET);
FFMIN             284 libavformat/mmf.c     size = FFMIN(left, MAX_SIZE);
FFMIN              34 libavformat/mms.c     size_to_copy = FFMIN(size, remaining_size);
FFMIN              47 libavformat/mms.c     read_size = FFMIN(size, mms->remaining_in_len);
FFMIN             621 libavformat/mov.c             volume_len = FFMIN(volume_len, 27);
FFMIN             631 libavformat/mov.c             len = FFMIN(len, 63);
FFMIN             756 libavformat/mov.c         if (title_size > FFMIN(INT_MAX, SIZE_MAX-1))
FFMIN            2688 libavformat/mov.c                     sc->stsc_data[i].first = FFMIN(sc->stsc_data[i-1].first + 1LL, INT_MAX);
FFMIN            2938 libavformat/mov.c         unsigned int min_entries = FFMIN(FFMAX(i + 1, 1024 * 1024), entries);
FFMIN            2979 libavformat/mov.c         st->duration= FFMIN(st->duration, duration);
FFMIN            3685 libavformat/mov.c                     msc->min_corrected_pts = FFMIN(msc->min_corrected_pts, edit_list_dts_counter + curr_ctts + msc->dts_shift);
FFMIN            3762 libavformat/mov.c     st->duration = FFMIN(st->duration, edit_list_dts_entry_end - start_dts);
FFMIN            4055 libavformat/mov.c                         samples = FFMIN((1024 / sc->samples_per_frame)*
FFMIN            4059 libavformat/mov.c                         samples = FFMIN(1024, chunk_samples);
FFMIN            5768 libavformat/mov.c     if (atom.size < sizeof(uuid) || atom.size >= FFMIN(INT_MAX, SIZE_MAX))
FFMIN            5871 libavformat/mov.c     ret = avio_read(pb, content, FFMIN(sizeof(content), atom.size));
FFMIN            6059 libavformat/mov.c         unsigned int min_samples = FFMIN(FFMAX(i + 1, 1024 * 1024), sample_count);
FFMIN            6113 libavformat/mov.c         unsigned int min_samples = FFMIN(FFMAX(i + 1, 1024 * 1024), sample_count);
FFMIN            6163 libavformat/mov.c         unsigned int to_read = FFMIN(size, alloc_size) - offset;
FFMIN            6313 libavformat/mov.c         unsigned int min_offsets = FFMIN(FFMAX(i + 1, 1024), entry_count);
FFMIN            6384 libavformat/mov.c             unsigned int min_kid_count = FFMIN(FFMAX(i + 1, 1024), kid_count);
FFMIN            7015 libavformat/mov.c         a.size = FFMIN(a.size, atom.size - total_size);
FFMIN            7883 libavformat/mov.c         sample->pos = FFMIN(sample->pos, mov->next_root_atom);
FFMIN            7884 libavformat/mov.c         sample->size = FFMIN(sample->size, (mov->next_root_atom - sample->pos));
FFMIN            3120 libavformat/movenc.c         start_ct  = -FFMIN(start_dts, 0);
FFMIN            3832 libavformat/movenc.c     int i, nb_chapters = FFMIN(s->nb_chapters, 255);
FFMIN            3846 libavformat/movenc.c             int len = FFMIN(strlen(t->value), 255);
FFMIN            4122 libavformat/movenc.c     len = FFMIN(sizeof(buf) / 2 - 1, len);
FFMIN            4950 libavformat/movenc.c     int video_kbitrate = FFMIN(video_par->bit_rate / 1000, 800 - audio_kbitrate);
FFMIN              98 libavformat/movenccenc.c         cur_size = FFMIN(size_left, sizeof(chunk));
FFMIN              97 libavformat/mp3dec.c             available = FFMIN(h.frame_size, end - buf2);
FFMIN             190 libavformat/mp3dec.c         min = FFMIN(fsize, mp3->header_filesize);
FFMIN             452 libavformat/mp3dec.c         size= FFMIN(size, mp3->filesize - pos);
FFMIN             252 libavformat/mp3enc.c             memcpy(encoder_str, enc->value, FFMIN(strlen(enc->value), sizeof(encoder_str)));
FFMIN             419 libavformat/mp3enc.c         toc[i] = FFMIN(seek_point, 255);
FFMIN            1042 libavformat/mpegts.c     int buf_padded_size = FFMIN(buf_size, sizeof(buf_padded) - AV_INPUT_BUFFER_PADDING_SIZE);
FFMIN            1108 libavformat/mpegts.c         int pool_size = FFMIN(MAX_PES_PAYLOAD + AV_INPUT_BUFFER_PADDING_SIZE, 2 << index);
FFMIN            2845 libavformat/mpegts.c     int64_t back = FFMIN(seekback, pos);
FFMIN            2982 libavformat/mpegts.c         int left = FFMIN(check_count - i, CHECK_BLOCK);
FFMIN            1320 libavformat/mpegtsenc.c                         next_pcr = FFMIN(next_pcr, ts_st2->last_pcr + ts_st2->pcr_period);
FFMIN            1817 libavformat/mpegtsenc.c                 data[i] = FFMIN(n, 255);
FFMIN            1825 libavformat/mpegtsenc.c                 trim_start = FFMIN(ts_st->opus_pending_trim_start, opus_samples);
FFMIN            1831 libavformat/mpegtsenc.c                 trim_end = FFMIN(trim_end, opus_samples - trim_start);
FFMIN            2297 libavformat/mxfdec.c             source_track->original_duration = st->duration = FFMIN(descriptor->duration, component->duration);
FFMIN            3128 libavformat/mxfdec.c     max_rip_length = FFMIN(max_rip_length, INT_MAX); //2 GiB and up is also silly
FFMIN            3492 libavformat/mxfdec.c                     size = FFMIN(max_data_size, MXF_MAX_CHUNK_SIZE);
FFMIN            3688 libavformat/mxfdec.c             sample_time = FFMIN(sample_time, source_track->original_duration - 1);
FFMIN             112 libavformat/network.c         av_usleep(FFMIN(time_left, POLLING_TIME * 1000));
FFMIN             460 libavformat/network.c             next_deadline_us = FFMIN(next_deadline_us, next_attempt_us);
FFMIN             595 libavformat/nsvdec.c         for (i = 0; i < FFMIN(8, vsize); i++)
FFMIN              46 libavformat/nutdec.c         avio_read(bc, string, FFMIN(len, maxlen));
FFMIN              55 libavformat/nutdec.c         string[FFMIN(len, maxlen - 1)] = 0;
FFMIN             606 libavformat/nutdec.c     return FFMIN(ret, 0);
FFMIN            1016 libavformat/nutenc.c                 sp_pos = FFMIN(sp_pos, st->index_entries[index].pos);
FFMIN             595 libavformat/oggdec.c                     s->internal->data_offset = FFMIN(s->internal->data_offset, cur_os->sync_pos);
FFMIN             230 libavformat/oggenc.c         segments = FFMIN(total_segments - i, 255 - page->segments_count);
FFMIN             238 libavformat/oggenc.c         len = FFMIN(size, segments*255);
FFMIN              83 libavformat/oggparseogm.c         size        = FFMIN(size, os->psize);
FFMIN             168 libavformat/oggparseopus.c         skip = FFMIN(skip, os->pduration);
FFMIN              93 libavformat/omadec.c     len = FFMIN(len, 16);
FFMIN             109 libavformat/omadec.c     len = FFMIN(len, 16);
FFMIN              42 libavformat/pcm.c     size = FFMIN(size, RAW_SAMPLES) * par->block_align;
FFMIN             254 libavformat/pp_bnk.c         size = FFMIN(trk->data_size - trk->bytes_read, PP_BNK_MAX_READ_SIZE);
FFMIN             208 libavformat/pva.c     pos_limit = FFMIN(*pos+PVA_MAX_PAYLOAD_LENGTH*8, (uint64_t)*pos+pos_limit);
FFMIN             131 libavformat/qcp.c     nb_rates = FFMIN(nb_rates, 8);
FFMIN             203 libavformat/rawdec.c         for (i=0; i<FFMIN(p->buf_size - (int)sizeof(ct_jpeg), 100); i++)
FFMIN              35 libavformat/rawutils.c     int padding = expected_stride - FFMIN(expected_stride, stride);
FFMIN              57 libavformat/rawutils.c         memcpy(new_pkt->data + y*expected_stride, pkt->data + y*stride, FFMIN(expected_stride, stride));
FFMIN             141 libavformat/riffdec.c         cbSize = FFMIN(size, cbSize);
FFMIN             816 libavformat/rmdec.c         len = FFMIN(len, pos);
FFMIN             119 libavformat/rtmppkt.c     *length = FFMIN(stringlen, readsize);
FFMIN             276 libavformat/rtmppkt.c     toread = FFMIN(size, chunk_size);
FFMIN             389 libavformat/rtmppkt.c         int towrite = FFMIN(chunk_size, pkt->size - off);
FFMIN             617 libavformat/rtmppkt.c         size = FFMIN(size, sizeof(buf) - 1);
FFMIN             635 libavformat/rtmppkt.c                 size = FFMIN(size, sizeof(buf) - 1);
FFMIN            2704 libavformat/rtmpproto.c             av_strlcpy(fname_buffer, fname, FFMIN(amp - fname + 1,
FFMIN            2729 libavformat/rtmpproto.c                 av_strlcpy(rt->app, path + 1, FFMIN(p - path, APP_MAX_LENGTH));
FFMIN            2732 libavformat/rtmpproto.c                 av_strlcpy(rt->app, path + 1, FFMIN(fname - path - 1, APP_MAX_LENGTH));
FFMIN            2965 libavformat/rtmpproto.c             int skip = FFMIN(rt->skip_bytes, size_temp);
FFMIN            2976 libavformat/rtmpproto.c             copy = FFMIN(RTMP_HEADER - rt->flv_header_bytes, size_temp);
FFMIN            3014 libavformat/rtmpproto.c         copy = FFMIN(rt->flv_size - rt->flv_off, size_temp);
FFMIN             178 libavformat/rtpdec.c         payload_len = FFMIN(len, (AV_RB16(buf + 2) + 1) * 4);
FFMIN             345 libavformat/rtpdec.c     lost                  = FFMIN(lost, 0xffffff); // clamp it since it's only 24 bits...
FFMIN             261 libavformat/rtpdec_asf.c                 if (FFMIN(cur_len, len - off) < 0)
FFMIN             266 libavformat/rtpdec_asf.c                        FFMIN(cur_len, len - off));
FFMIN             275 libavformat/rtpdec_mpeg4.c         data->buf_size = FFMIN(len, sizeof(data->buf));
FFMIN              84 libavformat/rtpdec_mpegts.c         data->read_buf_size = FFMIN(len - ret, sizeof(data->buf));
FFMIN             176 libavformat/rtpdec_qdm2.c     to_copy = FFMIN(len + (p - &buf[1]), 0x800 - qdm->len[id]);
FFMIN             221 libavformat/rtpdec_qdm2.c     to_copy = FFMIN(qdm->len[n], pkt->size - (p - pkt->data));
FFMIN             145 libavformat/rtpenc.c             s1->packet_size = FFMIN(s1->packet_size,
FFMIN             306 libavformat/rtpenc.c         int len = FFMIN(strlen(s->cname), 255);
FFMIN             370 libavformat/rtpenc.c         len = FFMIN(max_packet_size, size);
FFMIN              78 libavformat/rtpenc_aac.c             len = FFMIN(size, max_packet_size);
FFMIN              83 libavformat/rtpenc_h261.c         cur_frame_size = FFMIN(rtp_ctx->max_payload_size - RTP_H261_HEADER_SIZE, frame_size);
FFMIN              62 libavformat/rtpenc_h263.c         len = FFMIN(max_packet_size - 2, size);
FFMIN             129 libavformat/rtpenc_h263_rfc2190.c         len = FFMIN(s->max_payload_size - 8, size);
FFMIN             196 libavformat/rtpenc_jpeg.c         len = FFMIN(size, s->max_payload_size - hdr_size);
FFMIN              51 libavformat/rtpenc_latm.c         len   = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0));
FFMIN              90 libavformat/rtpenc_vc2hq.c         frag_len = FFMIN(rtp_ctx->max_payload_size - 20 /* pl header */, size);
FFMIN              44 libavformat/rtpenc_vp8.c         len = FFMIN(size, max_packet_size);
FFMIN              38 libavformat/rtpenc_vp9.c         len = FFMIN(size, rtp_ctx->max_payload_size - RTP_VP9_DESC_REQUIRED_SIZE);
FFMIN             213 libavformat/rtsp.c     memcpy(sock, ai->ai_addr, FFMIN(sizeof(*sock), ai->ai_addrlen));
FFMIN             164 libavformat/sbgdec.c         int m = FFMAX(32, FFMIN(*max_size, INT_MAX / 2) * 2);
FFMIN             861 libavformat/sbgdec.c             bufsize = FFMIN(FFMAX(2 * bufsize, 8192), max_size);
FFMIN            1057 libavformat/sbgdec.c         ts4 = FFMIN(ts2, ts1 + cpoints[i][0] * dt);
FFMIN            1290 libavformat/sbgdec.c             ev2->ts_int   = FFMIN(ev2->ts_trans, ev2->ts_int   + trans_time);
FFMIN            1454 libavformat/sbgdec.c         end_ts = FFMIN(avf->streams[0]->start_time + avf->streams[0]->duration,
FFMIN             244 libavformat/smoothstreamingenc.c         video_chunks = FFMIN(video_chunks, c->window_size);
FFMIN             245 libavformat/smoothstreamingenc.c         audio_chunks = FFMIN(audio_chunks, c->window_size);
FFMIN             495 libavformat/smoothstreamingenc.c         int n = FFMIN(size, sizeof(buf));
FFMIN             119 libavformat/spdifdec.c     const uint8_t *probe_end = p_buf + FFMIN(2 * SPDIF_MAX_OFFSET, buf_size - 1);
FFMIN             143 libavformat/spdifdec.c             probe_end = FFMIN(buf + SPDIF_MAX_OFFSET, p_buf + buf_size - 1);
FFMIN             515 libavformat/spdifenc.c                 int counted_as_padding = FFMIN(padding_remaining,
FFMIN             526 libavformat/spdifenc.c             int padding_to_insert = FFMIN(mat_codes[next_code_idx].pos - ctx->hd_buf_filled,
FFMIN             538 libavformat/spdifenc.c             int data_to_insert = FFMIN(mat_codes[next_code_idx].pos - ctx->hd_buf_filled,
FFMIN              86 libavformat/srtpproto.c     h->max_packet_size = FFMIN(s->rtp_hd->max_packet_size,
FFMIN             109 libavformat/subfile.c     size = FFMIN(size, rest);
FFMIN              70 libavformat/subviewerdec.c         ms1 = FFMIN(ms1, 999);
FFMIN              71 libavformat/subviewerdec.c         ms2 = FFMIN(ms2, 999);
FFMIN             200 libavformat/takdec.c         size = FFMIN(left, 1024);
FFMIN             512 libavformat/tls_schannel.c     size = FFMIN(len, c->dec_buf_offset);
FFMIN             544 libavformat/tls_schannel.c     len = FFMIN(len, c->sizes.cbMaximumMessage);
FFMIN             370 libavformat/tls_securetransport.c         size = FFMIN(available, size);
FFMIN             281 libavformat/utils.c                 read_size = FFMIN(read_size, SANE_CHUNK_SIZE);
FFMIN            1710 libavformat/utils.c                 discard_padding = FFMIN(end_sample - st->first_discard_sample, duration);
FFMIN            2655 libavformat/utils.c                 start_time_text = FFMIN(start_time_text, start_time1);
FFMIN            2657 libavformat/utils.c                 start_time = FFMIN(start_time, start_time1);
FFMIN            3926 libavformat/utils.c                     st->info->codec_info_duration = FFMIN(pkt->pts - st->start_time, st->info->codec_info_duration + pkt->duration);
FFMIN            4286 libavformat/utils.c         multiframe = FFMIN(5, count);
FFMIN            4525 libavformat/utils.c     if (s->nb_streams >= FFMIN(s->max_streams, INT_MAX/sizeof(*streams))) {
FFMIN            4812 libavformat/utils.c         av_strlcpy(proto, url, FFMIN(proto_size, p + 1 - url));
FFMIN            4834 libavformat/utils.c                        FFMIN(authorization_size, at + 1 - at2));
FFMIN            4841 libavformat/utils.c                        FFMIN(hostname_size, brk - p));
FFMIN            4846 libavformat/utils.c                        FFMIN(col + 1 - p, hostname_size));
FFMIN            4851 libavformat/utils.c                        FFMIN(ls + 1 - p, hostname_size));
FFMIN             468 libavformat/vapoursynth.c     vs->current_frame = FFMIN(FFMAX(0, ts), s->streams[0]->duration);
FFMIN             133 libavformat/voc_packet.c     size = FFMIN(voc->remaining_size, max_size);
FFMIN              55 libavformat/vqf.c     int len = FFMIN(tag_len, remaining);
FFMIN             159 libavformat/vqf.c             avio_skip(s->pb, FFMIN(len, header_size));
FFMIN             154 libavformat/wavdec.c         st->probe_packets = FFMIN(st->probe_packets, 32);
FFMIN             709 libavformat/wavdec.c     size = FFMIN(size, left);
FFMIN              97 libavformat/wavenc.c         len = FFMIN(len, maxlen);
FFMIN             381 libavformat/wavenc.c                 wav->peak_maxneg[c] = FFMIN(wav->peak_maxneg[c], *(int8_t*)(pkt->data + i));
FFMIN             384 libavformat/wavenc.c                 wav->peak_maxneg[c] = FFMIN(wav->peak_maxneg[c], (int16_t)AV_RL16(pkt->data + i));
FFMIN             397 libavformat/wavenc.c         wav->minpts        = FFMIN(wav->minpts, pkt->pts);
FFMIN              81 libavformat/wtvdec.c     buf_size = FFMIN(buf_size, wf->length - wf->position);
FFMIN              84 libavformat/wtvdec.c         int read_request        = FFMIN(buf_size - nread, remaining_in_sector);
FFMIN             853 libavformat/wtvdec.c                 buf_size = FFMIN(len - consumed, sizeof(buf));
FFMIN             459 libavformat/xmv.c         data_size = FFMIN(audio->frame_size, audio->data_size);
FFMIN             302 libavformat/xwma.c     size = FFMIN(size, left);
FFMIN             194 libavformat/yop.c     timestamp      = FFMAX(0, FFMIN(frame_count, timestamp));
FFMIN             332 libavresample/audio_convert.c         int ptr_align     = FFMIN(in->ptr_align,     out->ptr_align);
FFMIN             333 libavresample/audio_convert.c         int samples_align = FFMIN(in->samples_align, out->samples_align);
FFMIN             574 libavresample/audio_mix.c     for (i = 0; i < FFMIN(am->in_channels, am->out_channels); i++) {
FFMIN             622 libavresample/audio_mix.c     for (o = 0; o < FFMIN(am->in_channels, am->out_channels); o++) {
FFMIN             280 libavresample/dither.c         int ptr_align     = FFMIN(flt_data->ptr_align,     c->s16_data->ptr_align);
FFMIN             281 libavresample/dither.c         int samples_align = FFMIN(flt_data->samples_align, c->s16_data->samples_align);
FFMIN             125 libavresample/resample.c     double factor   = FFMIN(out_rate * avr->cutoff / in_rate, 1.0);
FFMIN             276 libavresample/resample.c         dst_size       = FFMIN(dst_size,
FFMIN              58 libavresample/utils.c     avr->resample_channels = FFMIN(avr->in_channels, avr->out_channels);
FFMIN              52 libavutil/adler32.c         unsigned len2 = FFMIN((len-1) & ~7, 23*8);
FFMIN             126 libavutil/aes_ctr.c         cur_end_pos = FFMIN(cur_end_pos, src_end);
FFMIN             144 libavutil/audio_fifo.c     nb_samples = FFMIN(nb_samples, af->nb_samples);
FFMIN             165 libavutil/audio_fifo.c     nb_samples = FFMIN(nb_samples, af->nb_samples);
FFMIN             187 libavutil/audio_fifo.c     nb_samples = FFMIN(nb_samples, af->nb_samples);
FFMIN             207 libavutil/audio_fifo.c     nb_samples = FFMIN(nb_samples, af->nb_samples);
FFMIN              33 libavutil/bprint.c #define av_bprint_room(buf) ((buf)->size - FFMIN((buf)->len, (buf)->size))
FFMIN              45 libavutil/bprint.c     min_size = buf->len + 1 + FFMIN(UINT_MAX - buf->len - 1, room);
FFMIN              48 libavutil/bprint.c         new_size = FFMIN(buf->size_max, min_size);
FFMIN              63 libavutil/bprint.c     extra_len = FFMIN(extra_len, UINT_MAX - 5 - buf->len);
FFMIN              66 libavutil/bprint.c         buf->str[FFMIN(buf->len, buf->size - 1)] = 0;
FFMIN              78 libavutil/bprint.c     buf->size     = FFMIN(size_auto, size_max);
FFMIN             152 libavutil/bprint.c         real_n = FFMIN(n, room - 1);
FFMIN             170 libavutil/bprint.c         real_n = FFMIN(size, room - 1);
FFMIN             209 libavutil/bprint.c                 memcpy(buf->str + buf->len, txt, FFMIN(sizeof(txt) - 1, room));
FFMIN             237 libavutil/bprint.c     unsigned real_size = FFMIN(buf->len + 1, buf->size);
FFMIN             203 libavutil/buffer.c         memcpy(new->data, buf->data, FFMIN(size, buf->size));
FFMIN             111 libavutil/colorspace.h (FFMIN((FIX(0.29900) * (r) + FIX(0.58700) * (g) + \
FFMIN             139 libavutil/colorspace.h (FFMIN((FIX(0.21260) * (r) + FIX(0.71520) * (g) + \
FFMIN              97 libavutil/common.h #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c)
FFMIN             130 libavutil/fifo.c         int len = FFMIN(f->end - wptr, size);
FFMIN             174 libavutil/fifo.c         len = FFMIN(f->end - rptr, buf_size);
FFMIN             196 libavutil/fifo.c         int len = FFMIN(f->end - rptr, buf_size);
FFMIN             218 libavutil/fifo.c         int len = FFMIN(f->end - f->rptr, buf_size);
FFMIN             305 libavutil/frame.c     for (i = 0; i < FFMIN(planes, AV_NUM_DATA_POINTERS); i++) {
FFMIN             931 libavutil/frame.c             min_log2_align = FFMIN(log2_align, min_log2_align);
FFMIN             210 libavutil/hash.c     memcpy(dst, buf, FFMIN(size, rsize));
FFMIN             221 libavutil/hash.c     for (i = 0; i < FFMIN(rsize, size / 2); i++)
FFMIN             233 libavutil/hash.c     memcpy(dst, b64, FFMIN(osize, size));
FFMIN             227 libavutil/hwcontext_cuda.c             .WidthInBytes  = FFMIN(src->linesize[i], dst->linesize[i]),
FFMIN             379 libavutil/hwcontext_d3d11va.c     int w = FFMIN(dst->width,  src->width);
FFMIN             380 libavutil/hwcontext_d3d11va.c     int h = FFMIN(dst->height, src->height);
FFMIN            2598 libavutil/hwcontext_vulkan.c         drm_desc->layers[i].planes[0].object_index = FFMIN(i, drm_desc->nb_objects - 1);
FFMIN            3066 libavutil/hwcontext_vulkan.c                             FFMIN(tmp.linesize[i], FFABS(src->linesize[i])),
FFMIN            3255 libavutil/hwcontext_vulkan.c                             FFMIN(tmp.linesize[i], FFABS(dst->linesize[i])),
FFMIN              46 libavutil/mathematics.c     k  = FFMIN(za, zb);
FFMIN             166 libavutil/md5.c         int cnt = FFMIN(len, 64 - j);
FFMIN             488 libavutil/mem.c     min_size = FFMIN(max_alloc_size, FFMAX(min_size + min_size / 16 + 32, min_size));
FFMIN             108 libavutil/mem.h     #define DECLARE_ALIGNED(n,t,v)      t __attribute__ ((aligned (FFMIN(n, 16)))) v
FFMIN             109 libavutil/mem.h     #define DECLARE_ASM_ALIGNED(n,t,v)  t av_used __attribute__ ((aligned (FFMIN(n, 16)))) v
FFMIN             110 libavutil/mem.h     #define DECLARE_ASM_CONST(n,t,v)    static const t av_used __attribute__ ((aligned (FFMIN(n, 16)))) v
FFMIN             416 libavutil/opt.c     max = FFMIN(o->max, fmt_nb-1);
FFMIN             687 libavutil/opt.c     max = FFMIN(o->max, nb_fmts-1);
FFMIN             369 libavutil/parseutils.c                FFMIN(slen-hex_offset+1, sizeof(color_string2)));
FFMIN             159 libavutil/pca.c                         ROTATE(pca->covariance,FFMIN(k,i),FFMAX(k,i),FFMIN(k,j),FFMAX(k,j))
FFMIN            2708 libavutil/pixdesc.c         *min = FFMIN(desc->comp[i].depth, *min);
FFMIN            2750 libavutil/pixdesc.c         nb_components = FFMIN(src_desc->nb_components, 4);
FFMIN            2752 libavutil/pixdesc.c         nb_components = FFMIN(src_desc->nb_components, dst_desc->nb_components);
FFMIN            2806 libavutil/pixdesc.c         score -= (nb_components * 65536) >> FFMIN(dst_desc->comp[0].depth - 1, src_desc->comp[0].depth - 1);
FFMIN             108 libavutil/qsort.h             unsigned end = FFMIN(i+2*step, (num));\
FFMIN              59 libavutil/rational.c             if (a1.den) x = FFMIN(x, (max - a0.den) / a1.den);
FFMIN             170 libavutil/slicethread.c     ctx->nb_active_threads = FFMIN(nb_jobs, ctx->nb_threads);
FFMIN              86 libavutil/tests/audio_fifo.c     int samples        = FFMIN(nb_samples, afifo->nb_samples);
FFMIN              85 libavutil/tests/pca.c                 v[j] += pca->covariance[FFMIN(k,j) + FFMAX(k,j)*LEN] * eigenvector[i + k*LEN];
FFMIN             278 libpostproc/postprocess.c             int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) );
FFMIN             287 libpostproc/postprocess.c                 d = FFMIN(d, q);
FFMIN             291 libpostproc/postprocess.c                 d = FFMIN(d, 0);
FFMIN             486 libpostproc/postprocess.c                 int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) );
FFMIN             494 libpostproc/postprocess.c                     d = FFMIN(d, q);
FFMIN             496 libpostproc/postprocess.c                     d = FFMIN(d, 0);
FFMIN             658 libpostproc/postprocess.c             av_strlcpy(temp, p, FFMIN(sizeof(temp), strchr(p, '\n') - p + 2));
FFMIN            1069 libpostproc/postprocess_template.c             int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) );
FFMIN            1077 libpostproc/postprocess_template.c                 d = FFMIN(d, q);
FFMIN            1079 libpostproc/postprocess_template.c                 d = FFMIN(d, 0);
FFMIN            1434 libpostproc/postprocess_template.c                 *p = FFMIN(*p + 20, 255);
FFMIN            3491 libpostproc/postprocess_template.c             linecpy(tempDst, dstBlock - dstStride, FFMIN(height-y+1, copyAhead+1), dstStride);
FFMIN            3506 libpostproc/postprocess_template.c             int endx = FFMIN(width, x+32);
FFMIN              32 libswresample/dither_template.c #    define CLIP(v) v = FFMAX(FFMIN(v, INT32_MAX), INT32_MIN)
FFMIN              37 libswresample/dither_template.c #    define CLIP(v) v = FFMAX(FFMIN(v, INT16_MAX), INT16_MIN)
FFMIN             260 libswresample/resample.c             minff= FFMIN(minff, ff);
FFMIN             262 libswresample/resample.c             minsf= FFMIN(minsf, sf);
FFMIN             292 libswresample/resample.c     double factor= FFMIN(out_rate * cutoff / in_rate, 1.0);
FFMIN             460 libswresample/resample.c         dst_size = FFMIN(dst_size, c->compensation_distance);
FFMIN             461 libswresample/resample.c     src_size = FFMIN(src_size, max_src_size);
FFMIN             470 libswresample/resample.c         dst_size = FFMAX(FFMIN(dst_size, new_size), 0);
FFMIN             491 libswresample/resample.c         dst_size = FFMAX(FFMIN(dst_size, delta_n), 0);
FFMIN             550 libswresample/resample.c     int reflection = (FFMIN(s->in_buffer_count, c->filter_length) + 1) / 2;
FFMIN             569 libswresample/resample.c     int n, ch, num = FFMIN(in_count + *out_sz, c->filter_length + 1), res;
FFMIN              51 libswresample/soxr_resample.c     q_spec.bw_pc = cutoff? FFMAX(FFMIN(cutoff,.995),.8)*100 : q_spec.bw_pc;
FFMIN              53 libswresample/soxr_resample.c     q_spec.passband_end = cutoff? FFMAX(FFMIN(cutoff,.995),.8) : q_spec.passband_end;
FFMIN             630 libswresample/swresample.c             out_count= FFMIN(out_count, in_count); //TODO check at the end if this is needed or redundant
FFMIN             732 libswresample/swresample.c         if((ret=swri_realloc_audio(&s->drop_temp, FFMIN(s->drop_output, MAX_DROP_STEP)))<0)
FFMIN             737 libswresample/swresample.c         ret = swr_convert(s, tmp_arg, FFMIN(-s->drop_output, MAX_DROP_STEP), in_arg, in_count); //FIXME optimize but this is as good as never called so maybe it doesn't matter
FFMIN             777 libswresample/swresample.c         size = FFMIN(out_count, s->in_buffer_count);
FFMIN             807 libswresample/swresample.c                 size = FFMIN(in_count, out_count);
FFMIN             111 libswscale/ppc/swscale_ppc_template.c             dst[i] = FFMIN(val >> 7, (1 << 15) - 1);
FFMIN             130 libswscale/ppc/swscale_ppc_template.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN             148 libswscale/ppc/swscale_ppc_template.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN             170 libswscale/ppc/swscale_ppc_template.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN             216 libswscale/ppc/swscale_ppc_template.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN            1897 libswscale/ppc/swscale_vsx.c             dst[i] = FFMIN(val >> 3, (1 << 19) - 1); // the cubic equation does overflow ...
FFMIN            1913 libswscale/ppc/swscale_vsx.c             dst[i] = FFMIN(vout[3] >> 3, (1 << 19) - 1);
FFMIN            1966 libswscale/ppc/swscale_vsx.c             dst[i] = FFMIN(val >> sh, (1 << 19) - 1);
FFMIN            1991 libswscale/ppc/swscale_vsx.c             dst[i] = FFMIN(vout[3] >> sh, (1 << 19) - 1);
FFMIN            2042 libswscale/ppc/swscale_vsx.c             dst[i] = FFMIN(val >> sh, (1 << 15) - 1);
FFMIN            2067 libswscale/ppc/swscale_vsx.c             dst[i] = FFMIN(vout[3] >> sh, (1 << 15) - 1);
FFMIN              92 libswscale/swscale.c         dst[i] = FFMIN(val >> sh, (1 << 19) - 1);
FFMIN             120 libswscale/swscale.c         dst[i] = FFMIN(val >> sh, (1 << 15) - 1);
FFMIN             137 libswscale/swscale.c         dst[i] = FFMIN(val >> 7, (1 << 15) - 1); // the cubic equation does overflow ...
FFMIN             154 libswscale/swscale.c         dst[i] = FFMIN(val >> 3, (1 << 19) - 1); // the cubic equation does overflow ...
FFMIN             164 libswscale/swscale.c         dstU[i] = (FFMIN(dstU[i], 30775) * 4663 - 9289992) >> 12; // -264
FFMIN             165 libswscale/swscale.c         dstV[i] = (FFMIN(dstV[i], 30775) * 4663 - 9289992) >> 12; // -264
FFMIN             182 libswscale/swscale.c         dst[i] = (FFMIN(dst[i], 30189) * 19077 - 39057361) >> 14;
FFMIN             198 libswscale/swscale.c         dstU[i] = (FFMIN(dstU[i], 30775 << 4) * 4663 - (9289992 << 4)) >> 12; // -264
FFMIN             199 libswscale/swscale.c         dstV[i] = (FFMIN(dstV[i], 30775 << 4) * 4663 - (9289992 << 4)) >> 12; // -264
FFMIN             219 libswscale/swscale.c         dst[i] = ((int)(FFMIN(dst[i], 30189 << 4) * 4769U - (39057361 << 2))) >> 12;
FFMIN             375 libswscale/swscale.c         const int firstLumSrcY2 = FFMAX(1 - vLumFilterSize, vLumFilterPos[FFMIN(dstY | ((1 << c->chrDstVSubSample) - 1), dstH - 1)]);
FFMIN             380 libswscale/swscale.c         int lastLumSrcY  = FFMIN(c->srcH,    firstLumSrcY  + vLumFilterSize) - 1;
FFMIN             381 libswscale/swscale.c         int lastLumSrcY2 = FFMIN(c->srcH,    firstLumSrcY2 + vLumFilterSize) - 1;
FFMIN             382 libswscale/swscale.c         int lastChrSrcY  = FFMIN(c->chrSrcH, firstChrSrcY  + vChrFilterSize) - 1;
FFMIN             438 libswscale/swscale.c             lastPosY = FFMIN(firstLumSrcY + hout_slice->plane[0].available_lines - 1, srcSliceY + srcSliceH - 1);
FFMIN             447 libswscale/swscale.c             lastCPosY = FFMIN(firstChrSrcY + hout_slice->plane[1].available_lines - 1, AV_CEIL_RSHIFT(srcSliceY + srcSliceH, c->chrSrcVSubSample) - 1);
FFMIN             478 libswscale/swscale_unscaled.c         int min_stride         = FFMIN(FFABS(srcstr), FFABS(dststr));
FFMIN             505 libswscale/swscale_unscaled.c         int min_stride         = FFMIN(FFABS(srcstr), FFABS(dststr));
FFMIN             349 libswscale/utils.c     const int64_t fone = 1LL << (54 - FFMIN(av_log2(srcW/dstW), 8));
FFMIN             425 libswscale/utils.c         filterSize = FFMIN(filterSize, srcW - 2);
FFMIN             656 libswscale/utils.c             int shift = (*filterPos)[i] + FFMIN(filterSize - srcW, 0);
FFMIN             120 libswscale/x86/swscale.c             int neg = -firstLumSrcY, i, end = FFMIN(c->srcH - firstLumSrcY, vLumFilterSize);
FFMIN             142 libswscale/x86/swscale.c             int neg = -firstChrSrcY, i, end = FFMIN(c->chrSrcH - firstChrSrcY, vChrFilterSize);
FFMIN              99 tests/audiomatch.c         int testlen = FFMIN(siglen, datlen-pos);
FFMIN             105 tests/audiomatch.c             maxshift = FFMIN(maxshift, fabs(pos)+32);
FFMIN              73 tests/checkasm/audiodsp.c         v2_bits = FFMIN(32 - (len_bits_minus4 + 4) - v1_bits - 1, 15);
FFMIN             100 tests/checkasm/audiodsp.c         min = FFMIN(val1, val2);
FFMIN             128 tests/checkasm/audiodsp.c         min = FFMIN(val1, val2);
FFMIN              72 tests/checkasm/vf_nlmeans.c                     const int u_endx_safe = FFMIN(s1x + w, s2x + w);
FFMIN              73 tests/checkasm/vf_nlmeans.c                     const int endy_safe   = FFMIN(s1y + h, s2y + h);
FFMIN             179 tests/tiny_psnr.c         for (j = 0; j < FFMIN(s0, s1); j += len) {
FFMIN             222 tests/tiny_psnr.c     i = FFMIN(size0, size1) / len;
FFMIN             134 tests/tiny_ssim.c             ssim += ssim_end4( sum0+x, sum1+x, FFMIN(4,width-x-1) );
FFMIN             120 tools/ismindex.c         int len = FFMIN(sizeof(buf), size);
FFMIN              45 tools/target_dem_fuzzer.c     int size = FFMIN(buf_size, c->fuzz_size);
FFMIN              48 tools/target_dem_fuzzer.c         c->filesize = FFMIN(c->pos, c->filesize);