FFMIN             536 cmdutils.c         av_strlcpy(opt_stripped, opt, FFMIN(sizeof(opt_stripped), p - opt + 1));
FFMIN              45 doc/examples/avio_reading.c     buf_size = FFMIN(buf_size, bd->size);
FFMIN             125 doc/examples/demuxing_decoding.c         decoded = FFMIN(ret, pkt.size);
FFMIN             608 doc/examples/transcode_aac.c     const int frame_size = FFMIN(av_audio_fifo_size(fifo),
FFMIN             733 ffmpeg.c               of->recording_time = FFMIN(of->recording_time, end);
FFMIN             907 ffmpeg.c               duration = FFMIN(duration, 1/(av_q2d(ost->frame_rate) * av_q2d(enc->time_base)));
FFMIN             945 ffmpeg.c               double cor = FFMIN(-delta0, duration);
FFMIN             989 ffmpeg.c           nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number);
FFMIN             990 ffmpeg.c           nb0_frames = FFMIN(nb0_frames, nb_frames);
FFMIN            1584 ffmpeg.c                          FFMIN(buf_script.len, buf_script.size - 1));
FFMIN            3591 ffmpeg.c                       new_start_time = FFMIN(new_start_time, av_rescale_q(st->start_time, st->time_base, AV_TIME_BASE_Q));
FFMIN            1640 ffmpeg_opt.c           out_ch->end       = FFMIN(rt, in_ch->end   - ts_off);
FFMIN             646 ffplay.c           f->max_size = FFMIN(max_size, FRAME_QUEUE_SIZE);
FFMIN            1242 ffplay.c               nb_display_channels= FFMIN(nb_display_channels, 2);
FFMIN            1274 ffplay.c                       a = FFMIN(a, 255);
FFMIN            1275 ffplay.c                       b = FFMIN(b, 255);
FFMIN            1363 ffplay.c           w = FFMIN(16383, w);
FFMIN            1482 ffplay.c              set_clock_speed(&is->extclk, FFMIN(EXTERNAL_CLOCK_SPEED_MAX, is->extclk.speed + EXTERNAL_CLOCK_SPEED_STEP));
FFMIN            1545 ffplay.c               sync_threshold = FFMAX(AV_SYNC_THRESHOLD_MIN, FFMIN(AV_SYNC_THRESHOLD_MAX, delay));
FFMIN            1597 ffplay.c               *remaining_time = FFMIN(*remaining_time, is->last_vis_time + rdftspeed - time);
FFMIN            1636 ffplay.c                       *remaining_time = FFMIN(is->frame_timer + delay - time, *remaining_time);
FFMIN            1750 ffplay.c           bufferdiff = vp->bmp ? FFMAX(vp->bmp->pixels[0], vp->bmp->pixels[1]) - FFMIN(vp->bmp->pixels[0], vp->bmp->pixels[1]) : 0;
FFMIN            2406 ffplay.c                           wanted_nb_samples = FFMIN(FFMAX(wanted_nb_samples, min_nb_samples), max_nb_samples);
FFMIN            2607 ffplay.c               wanted_spec.channels = next_nb_channels[FFMIN(7, wanted_spec.channels)];
FFMIN            3547 ffplay.c                       screen = SDL_SetVideoMode(FFMIN(16383, event.resize.w), event.resize.h, 0,
FFMIN             688 ffprobe.c              l = FFMIN(size, 16);
FFMIN            1873 ffprobe.c          ret = FFMIN(ret, pkt->size); /* guard against bogus return values */
FFMIN            2565 ffserver.c                        FFMIN(c->chunk_size, c->buffer_end - c->buffer_ptr), 0);
FFMIN             131 libavcodec/8svx.c     buf_size = FFMIN(MAX_FRAME_SIZE, esc->data_size - esc->data_idx);
FFMIN              73 libavcodec/a64multienc.c     int height = FFMIN(avctx->height, C64YRES);
FFMIN              74 libavcodec/a64multienc.c     int width  = FFMIN(avctx->width , C64XRES);
FFMIN             127 libavcodec/a64multienc.c         index2[a] = FFMIN(i + 1, c->mc_pal_size - 1);
FFMIN             173 libavcodec/a64multienc.c                     best_cb[x] = FFMIN(c->mc_luma_vals[3], best_cb[x]);
FFMIN             292 libavcodec/a64multienc.c         b_height = FFMIN(avctx->height,C64YRES) >> 3;
FFMIN             293 libavcodec/a64multienc.c         b_width  = FFMIN(avctx->width ,C64XRES) >> 3;
FFMIN              66 libavcodec/aac_ac3_parser.c         s->remaining_size -= FFMIN(s->remaining_size, buf_size);
FFMIN              79 libavcodec/aaccoder.c         out[i] = (int)FFMIN(qc + 0.4054, (double)maxval);
FFMIN             571 libavcodec/aaccoder.c             q0f = FFMIN(q0f, t);
FFMIN             637 libavcodec/aaccoder.c                         qmin = FFMIN(qmin, t);
FFMIN             660 libavcodec/aaccoder.c                     minrd = FFMIN(minrd, dist);
FFMIN             723 libavcodec/aaccoder.c     destbits = FFMIN(destbits, 5800);
FFMIN             742 libavcodec/aaccoder.c                 minthr = FFMIN(minthr, uplim);
FFMIN             752 libavcodec/aaccoder.c             sce->sf_idx[w*16+g] = SCALE_ONE_POS + FFMIN(log2f(uplims[w*16+g]/minthr)*4,59);
FFMIN             792 libavcodec/aaccoder.c                     minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
FFMIN             841 libavcodec/aaccoder.c                 sce->sf_idx[w*16+g] = FFMIN(sce->sf_idx[w*16+g], 219);
FFMIN             926 libavcodec/aaccoder.c                 end2   = FFMIN(peakpos + 3, end2);
FFMIN            1005 libavcodec/aaccoder.c             minq = FFMIN(minq, sce->sf_idx[i]);
FFMIN            1009 libavcodec/aaccoder.c     minq = FFMIN(minq, SCALE_MAX_POS);
FFMIN            1010 libavcodec/aaccoder.c     maxsf = FFMIN(minq + SCALE_MAX_DIFF, SCALE_MAX_POS);
FFMIN            1037 libavcodec/aaccoder.c                 minq = FFMIN(minq, sce->sf_idx[(w+w2)*16+g]);
FFMIN            1069 libavcodec/aaccoder.c                     float minthr = FFMIN(band0->threshold, band1->threshold);
FFMIN            1207 libavcodec/aacdec.c     for (sfb = 0; sfb < FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[ac->oc[1].m4ac.sampling_index]); sfb++) {
FFMIN            1223 libavcodec/aacdec.c     for (sfb = 0; sfb < FFMIN(max_sfb, MAX_LTP_LONG_SFB); sfb++)
FFMIN            2360 libavcodec/aacdec.c     const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb);
FFMIN            2378 libavcodec/aacdec.c             start = ics->swb_offset[FFMIN(bottom, mmm)];
FFMIN            2379 libavcodec/aacdec.c             end   = ics->swb_offset[FFMIN(   top, mmm)];
FFMIN            2393 libavcodec/aacdec.c                     for (i = 1; i <= FFMIN(m, order); i++)
FFMIN            2399 libavcodec/aacdec.c                     for (i = 1; i <= FFMIN(m, order); i++)
FFMIN            2461 libavcodec/aacdec.c         for (sfb = 0; sfb < FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++)
FFMIN            3223 libavcodec/aacdec.c         asclen         = FFMIN(asclen, get_bits_left(gb));
FFMIN             478 libavcodec/aacenc.c     put_bits(&s->pb, 4, FFMIN(namelen, 15));
FFMIN             681 libavcodec/aacenc.c         s->lambda = FFMIN(s->lambda, 65536.f);
FFMIN             775 libavcodec/aacenc.c     avctx->bit_rate = (int)FFMIN(
FFMIN             351 libavcodec/aacpsy.c                 minscale = FFMIN(minscale, ath((start + i) * line_to_frequency, ATH_ADD));
FFMIN             502 libavcodec/aacpsy.c     ctx->pe.min = FFMIN(pe, ctx->pe.min);
FFMIN             504 libavcodec/aacpsy.c     return FFMIN(ctx->frame_bits * bit_factor, ctx->frame_bits + size - bits);
FFMIN             656 libavcodec/aacpsy.c                 band->thr = FFMAX(PSY_3GPP_RPEMIN*band->thr, FFMIN(band->thr,
FFMIN             287 libavcodec/aacsbr.c         min = FFMIN(array[i], min);
FFMIN             387 libavcodec/aacsbr.c     sbr->k[2] = FFMIN(64, sbr->k[2]);
FFMIN             479 libavcodec/aacsbr.c                 change = FFMIN(vdk0_max - vk1[1], (vk1[num_bands_1] - vk1[1]) >> 1);
FFMIN            1564 libavcodec/aacsbr.c             gain_max = FFMIN(100000.f, gain_max);
FFMIN            1567 libavcodec/aacsbr.c                 sbr->q_m[e][m]  = FFMIN(sbr->q_m[e][m], q_m_max);
FFMIN            1568 libavcodec/aacsbr.c                 sbr->gain[e][m] = FFMIN(sbr->gain[e][m], gain_max);
FFMIN            1578 libavcodec/aacsbr.c             gain_boost = FFMIN(1.584893192f, gain_boost);
FFMIN              56 libavcodec/aasc.c         s->palette_size = FFMIN(avctx->extradata_size, AVPALETTE_SIZE);
FFMIN             112 libavcodec/ac3.c         int band_end = FFMIN(ff_ac3_band_start_tab[band+1], end);
FFMIN             116 libavcodec/ac3.c             int adr = FFMIN(max - ((v + psd[bin] + 1) >> 1), 255);
FFMIN             159 libavcodec/ac3.c         end1 = FFMIN(band_end, 22);
FFMIN             657 libavcodec/ac3dec.c     end = FFMIN(s->end_freq[1], s->end_freq[2]);
FFMIN             661 libavcodec/ac3dec.c             bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd + 1]);
FFMIN            1425 libavcodec/ac3dec.c         int cnt = FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE) >> 1;
FFMIN            1429 libavcodec/ac3dec.c         memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE));
FFMIN            1628 libavcodec/ac3dec.c     return FFMIN(buf_size, s->frame_size);
FFMIN             125 libavcodec/ac3dsp.c         band_end = FFMIN(band_end, end);
FFMIN             285 libavcodec/ac3enc.c         nb_coefs = FFMIN(block->end_freq[1], block->end_freq[2]);
FFMIN             289 libavcodec/ac3enc.c                 end   = FFMIN(nb_coefs, ff_ac3_rematrix_band_tab[bnd+1]);
FFMIN             463 libavcodec/ac3enc.c         exp[i] = FFMIN(exp[i], exp[i-1] + 2);
FFMIN             466 libavcodec/ac3enc.c         exp[i] = FFMIN(exp[i], exp[i+1] + 2);
FFMIN            1029 libavcodec/ac3enc.c                                     FFMIN(end, block->end_freq[ch]) - start);
FFMIN            2296 libavcodec/ac3enc.c         cpl_start_band = av_clip(cpl_start, 0, FFMIN(cpl_end_band-1, 15));
FFMIN             131 libavcodec/ac3enc_fixed.c         uint32_t coord32 = FFMIN(coord, 1073741824);
FFMIN             133 libavcodec/ac3enc_fixed.c         return FFMIN(coord32, COEF_MAX);
FFMIN             136 libavcodec/ac3enc_float.c     return FFMIN(coord, COEF_MAX);
FFMIN             152 libavcodec/ac3enc_template.c     cpl_start     = FFMIN(256, cpl_start + num_cpl_coefs) - num_cpl_coefs;
FFMIN             304 libavcodec/ac3enc_template.c                 min_exp = FFMIN(exp, min_exp);
FFMIN             359 libavcodec/ac3enc_template.c         nb_coefs = FFMIN(block->end_freq[1], block->end_freq[2]);
FFMIN             369 libavcodec/ac3enc_template.c             int end   = FFMIN(nb_coefs, ff_ac3_rematrix_band_tab[bnd+1]);
FFMIN             375 libavcodec/ac3enc_template.c             if (FFMIN(sum[2], sum[3]) < FFMIN(sum[0], sum[1]))
FFMIN             575 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             580 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             585 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             593 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             599 libavcodec/adpcm.c             buf_size = FFMIN(buf_size, avctx->block_align);
FFMIN             169 libavcodec/adpcmenc.c     int nibble = FFMIN(7, abs(delta) * 4 /
FFMIN             256 libavcodec/adpcmenc.c     nibble = FFMIN(7, abs(delta) * 4 / c->step) + (delta < 0) * 8;
FFMIN             309 libavcodec/aic.c     int slice_width = FFMIN(ctx->slice_width, ctx->mb_width - mb_x);
FFMIN             124 libavcodec/alac.c         k = FFMIN(k, alac->rice_limit);
FFMIN             143 libavcodec/alac.c             k = FFMIN(k, alac->rice_limit);
FFMIN             516 libavcodec/alac.c     for (ch = 0; ch < FFMIN(alac->channels, 2); ch++) {
FFMIN             531 libavcodec/alac.c     for (ch = 0; ch < FFMIN(alac->channels, 2); ch++) {
FFMIN             107 libavcodec/alacenc.c     k = FFMIN(k, s->rc.k_modifier);
FFMIN             721 libavcodec/alsdec.c                 k_max = FFMIN(opt_order, 20);
FFMIN             735 libavcodec/alsdec.c                 k_max = FFMIN(opt_order, 127);
FFMIN             781 libavcodec/alsdec.c             bd->raw_samples[1] = decode_rice(gb, FFMIN(s[0] + 3, ctx->s_max));
FFMIN             783 libavcodec/alsdec.c             bd->raw_samples[2] = decode_rice(gb, FFMIN(s[0] + 1, ctx->s_max));
FFMIN             785 libavcodec/alsdec.c         start = FFMIN(opt_order, 3);
FFMIN            1492 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             728 libavcodec/amrwbdec.c         g0 = FFMIN(*prev_tr_gain, fixed_gain + fixed_gain *
FFMIN             959 libavcodec/amrwbdec.c     scale = 0.5 * (FFMIN(est, 7600) - isf[LP_ORDER - 2]) /
FFMIN              85 libavcodec/anm.c         int striplen = FFMIN(count, remaining);
FFMIN             196 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             199 libavcodec/ansi.c         s->x = FFMIN(s->x + (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), avctx->width  - FONT_WIDTH);
FFMIN             301 libavcodec/ansi.c         for (i = 0; i < FFMIN(s->nb_args, MAX_NB_ARGS); i++) {
FFMIN             311 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             319 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            1478 libavcodec/apedec.c     blockstodecode = FFMIN(s->blocks_per_loop, s->samples);
FFMIN             381 libavcodec/atrac3.c                 coded_values     = FFMIN(max_coded_values, coded_values);
FFMIN              92 libavcodec/audio_frame_queue.c         int n= FFMIN(afq->frames[i].duration, nb_samples);
FFMIN             130 libavcodec/avpacket.c         memcpy(pkt->buf->data, pkt->data, FFMIN(pkt->size, pkt->size + grow_by));
FFMIN             486 libavcodec/bink.c         len2 = FFMIN(len - i, 8);
FFMIN             192 libavcodec/binkaudio.c             quant[i]  = quant_table[FFMIN(value, 95)];
FFMIN             213 libavcodec/binkaudio.c             j = FFMIN(j, s->frame_len);
FFMIN             221 libavcodec/bitstream.c             subtable_bits = FFMIN(subtable_bits, table_nb_bits);
FFMIN             256 libavcodec/bmp.c             colors = FFMIN(256, (hsize-ihsize-14) / 3);
FFMIN              78 libavcodec/bmp_parser.c             i = FFMIN(bpc->remaining_size, buf_size);
FFMIN             165 libavcodec/bytestream.h     g->buffer += FFMIN(g->buffer_end - g->buffer, size);
FFMIN             180 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             265 libavcodec/bytestream.h     int size2 = FFMIN(g->buffer_end - g->buffer, size);
FFMIN             287 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             311 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             349 libavcodec/bytestream.h     size  = FFMIN(g->buffer_end - g->buffer, size);
FFMIN             350 libavcodec/bytestream.h     size2 = FFMIN(p->buffer_end - p->buffer, size);
FFMIN             658 libavcodec/cavsdec.c         predpred = FFMIN(nA, nB);
FFMIN             299 libavcodec/ccaption_dec.c     keep_lines = FFMIN(ctx->cursor_row + 1, ctx->rollup);
FFMIN             213 libavcodec/cdgraphics.c     h_off =  FFMIN(data[1] & 0x07, CDG_BORDER_WIDTH  - 1);
FFMIN             214 libavcodec/cdgraphics.c     v_off =  FFMIN(data[2] & 0x0F, CDG_BORDER_HEIGHT - 1);
FFMIN             236 libavcodec/cdgraphics.c     for (y = FFMAX(0, vinc); y < FFMIN(CDG_FULL_HEIGHT + vinc, CDG_FULL_HEIGHT); y++)
FFMIN             239 libavcodec/cdgraphics.c                FFMIN(stride + hinc, stride));
FFMIN             361 libavcodec/cinepak.c     num_strips = FFMIN(num_strips, MAX_STRIPS);
FFMIN             671 libavcodec/cinepakenc.c             for(y = x; y < FFMIN(x+32, mb_count); y++)
FFMIN             678 libavcodec/cinepakenc.c             for(y = x; y < FFMIN(x+32, mb_count); y++) {
FFMIN             117 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            1425 libavcodec/dcadec.c     core_ss_end = FFMIN(s->frame_size, s->dca_buffer_size) * 8;
FFMIN             361 libavcodec/dfa.c             pal_elems = FFMIN(chunk_size / 3, 256);
FFMIN              91 libavcodec/dirac_arith.c     length = FFMIN(length, get_bits_left(gb)/8);
FFMIN             557 libavcodec/dirac_dwt.c         while (d->cs[level].y <= FFMIN((y>>level)+support, hl))
FFMIN             546 libavcodec/diracdec.c     b->quant = FFMIN(b->quant, MAX_QUANT);
FFMIN             668 libavcodec/diracdec.c                 b->length = FFMIN(b->length, FFMAX(get_bits_left(&s->gb)/8, 0));
FFMIN             693 libavcodec/diracdec.c     int qfactor = qscale_tab[FFMIN(quant, MAX_QUANT)];
FFMIN             694 libavcodec/diracdec.c     int qoffset = qoffset_intra_tab[FFMIN(quant, MAX_QUANT)];
FFMIN             744 libavcodec/diracdec.c     int luma_end    = get_bits_count(gb) + FFMIN(luma_bits, get_bits_left(gb));
FFMIN             758 libavcodec/diracdec.c     chroma_end  = get_bits_count(gb) + FFMIN(chroma_bits, get_bits_left(gb));
FFMIN             743 libavcodec/dnxhdenc.c                 int bw = FFMIN(avctx->width - 16 * mb_x, 16);
FFMIN             744 libavcodec/dnxhdenc.c                 int bh = FFMIN((avctx->height >> ctx->interlaced) - 16 * mb_y, 16);
FFMIN             840 libavcodec/dnxhdenc.c             last_lower = FFMIN(lambda, last_lower);
FFMIN             845 libavcodec/dnxhdenc.c             down_step = FFMIN((int64_t)down_step*5, INT_MAX);
FFMIN             858 libavcodec/dnxhdenc.c             up_step = FFMIN((int64_t)up_step*5, INT_MAX);
FFMIN             902 libavcodec/dnxhdenc.c             last_lower = FFMIN(qscale, last_lower);
FFMIN              69 libavcodec/dpx_parser.c             i = FFMIN(d->remaining_size, buf_size);
FFMIN             208 libavcodec/dpxenc.c         memcpy (buf + 160, LIBAVCODEC_IDENT, FFMIN(sizeof(LIBAVCODEC_IDENT), 100));
FFMIN              84 libavcodec/dsd_tablegen.h         k = FFMIN(HTAPS - t * 8, 8);
FFMIN             152 libavcodec/dsicinvideo.c                 sz = FFMIN(sz, dst_end - dst);
FFMIN             175 libavcodec/dsicinvideo.c             memset(dst, *src++, FFMIN(len, dst_end - dst));
FFMIN             221 libavcodec/dvbsub.c                     len = FFMIN(len, 127);
FFMIN             226 libavcodec/dvbsub.c                     len = FFMIN(len, 127);
FFMIN             130 libavcodec/dvdsubdec.c         len = FFMIN(len, w - x);
FFMIN             174 libavcodec/dvdsubenc.c         mult = 2 + FFMIN(bright, 2);
FFMIN             290 libavcodec/dvdsubenc.c             xmin = FFMIN(xmin, h->rects[i]->x);
FFMIN             291 libavcodec/dvdsubenc.c             ymin = FFMIN(ymin, h->rects[i]->y);
FFMIN             358 libavcodec/dxva2_h264.c     padding = FFMIN(128 - ((current - dxva_data) & 127), end - current);
FFMIN             280 libavcodec/dxva2_hevc.c     padding = FFMIN(128 - ((current - dxva_data) & 127), end - current);
FFMIN              89 libavcodec/eac3dec.c             copysize = FFMIN(bandsize - i, s->spx_src_start_freq - bin);
FFMIN             160 libavcodec/eatgq.c         init_get_bits8(&gb, s->gb.buffer, FFMIN(bytestream2_get_bytes_left(&s->gb), mode));
FFMIN             124 libavcodec/eatgv.c             run   = FFMIN(size1, dst_end - dst);
FFMIN             134 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             555 libavcodec/error_resilience.c                             min_x = FFMIN(min_x, mv_predictor[j][0]);
FFMIN             556 libavcodec/error_resilience.c                             min_y = FFMIN(min_y, mv_predictor[j][1]);
FFMIN             557 libavcodec/error_resilience.c                             min_r = FFMIN(min_r, ref[j]);
FFMIN             596 libavcodec/evrcdec.c     for (i = FFMIN(MIN_DELAY, idx - 3); i <= FFMAX(MAX_DELAY, idx + 3); i++) {
FFMIN             617 libavcodec/evrcdec.c             gamma = FFMIN(gamma, 1.0);
FFMIN             870 libavcodec/evrcdec.c             e->fade_scale = FFMIN(e->fade_scale + 0.2, 1.0);
FFMIN             737 libavcodec/exr.c     memset(td->bitmap, 0, FFMIN(min_non_zero, BITMAP_SIZE));
FFMIN             861 libavcodec/exr.c     s->ysize          = FFMIN(s->scan_lines_per_block, s->ymax - line + 1);
FFMIN              50 libavcodec/ffv1dec.c         while (get_rac(c, state + 1 + FFMIN(e, 9))) // 1..10
FFMIN              55 libavcodec/ffv1dec.c             a += a + get_rac(c, state + 22 + FFMIN(i, 9));  // 22..31
FFMIN              57 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             213 libavcodec/ffv1enc.c                 put_rac(c, state + 1 + FFMIN(i, 9), 1);  // 1..10
FFMIN             217 libavcodec/ffv1enc.c                 put_rac(c, state + 22 + FFMIN(i, 9), (a >> i) & 1);  // 22..31
FFMIN             237 libavcodec/fic.c     for (i = 0; i < FFMIN(32, avctx->height - cur_y) - 1; i += 2) {
FFMIN             238 libavcodec/fic.c         int lsize = FFMIN(32, avctx->width - cur_x);
FFMIN             136 libavcodec/flac_parser.c         int seg_len = FFMIN(f->end - start, len);
FFMIN             162 libavcodec/flac_parser.c     *len = FFMIN(*len, f->end - start);
FFMIN             614 libavcodec/flac_parser.c             read_end       = read_end + FFMIN(buf + buf_size - read_end,
FFMIN             560 libavcodec/flacenc.c             part_end = FFMIN(s->frame.blocksize, part_end + psize);
FFMIN             582 libavcodec/flacenc.c     return FFMIN(k, max_param);
FFMIN             682 libavcodec/flacenc.c     int porder = FFMIN(max_porder, av_log2(n^(n-1)));
FFMIN             684 libavcodec/flacenc.c         porder = FFMIN(porder, av_log2(n/order));
FFMIN            1170 libavcodec/flacenc.c                 part_end = FFMIN(frame_end, part_end + psize);
FFMIN             163 libavcodec/frame_thread_encoder.c         avctx->thread_count = FFMIN(avctx->thread_count, MAX_THREADS);
FFMIN             364 libavcodec/g2meet.c     width  = FFMIN(c->width  - tile_x * c->tile_width,  c->tile_width);
FFMIN             365 libavcodec/g2meet.c     height = FFMIN(c->height - tile_y * c->tile_height, c->tile_height);
FFMIN             519 libavcodec/g2meet.c         cursor_hot_x = FFMIN(cursor_hot_x, cursor_w - 1);
FFMIN             520 libavcodec/g2meet.c         cursor_hot_y = FFMIN(cursor_hot_y, cursor_h - 1);
FFMIN             310 libavcodec/g723_1.c         cur_lsp[LPC_ORDER - 1] = FFMIN(cur_lsp[LPC_ORDER - 1], 0x7e00);
FFMIN             589 libavcodec/g723_1.c     pitch_lag = FFMIN(PITCH_MAX - 3, pitch_lag);
FFMIN             591 libavcodec/g723_1.c         limit = FFMIN(FRAME_LEN + PITCH_MAX - offset - length, pitch_lag + 3);
FFMIN             994 libavcodec/g723_1.c     seg2 = FFMIN(seg, 3);
FFMIN            1084 libavcodec/g723_1.c         t = FFMIN(t, 0x7FFF);
FFMIN            1635 libavcodec/g723_1.c         min  = FFMIN(lsp[i] - lsp[i - 1], lsp[i + 1] - lsp[i]);
FFMIN            1945 libavcodec/g723_1.c             pitch_lag = FFMIN(pitch_lag, PITCH_MAX - 5);
FFMIN             695 libavcodec/g729dec.c             ctx->pitch_delay_int_prev = FFMIN(ctx->pitch_delay_int_prev + 1, PITCH_DELAY_MAX);
FFMIN             183 libavcodec/get_bits.h     name ## _index = FFMIN(name ## _size_plus8, name ## _index + (num))
FFMIN             204 libavcodec/gif.c         int size = FFMIN(255, len);
FFMIN             135 libavcodec/golomb.h                            FFMIN(ff_interleaved_golomb_vlc_len[buf], 8));
FFMIN             110 libavcodec/h264.c     height = FFMIN(height, avctx->height - y);
FFMIN            1193 libavcodec/h264.c     *pic_poc = FFMIN(pic_field_poc[0], pic_field_poc[1]);
FFMIN             987 libavcodec/h264.h     const int min    = FFMIN(left, top);
FFMIN            1110 libavcodec/h264.h     return FFMIN(buf_index, buf_size);
FFMIN             169 libavcodec/h264_direct.c                              FFMIN(16 * mb_y >> ref_field_picture,
FFMIN             179 libavcodec/h264_mb.c                                              FFMIN((row >> 1) - !(row & 1),
FFMIN             183 libavcodec/h264_mb.c                                              FFMIN((row >> 1), pic_height - 1),
FFMIN             187 libavcodec/h264_mb.c                                              FFMIN(row * 2 + ref_field,
FFMIN             192 libavcodec/h264_mb.c                                              FFMIN(row, pic_height - 1),
FFMIN             196 libavcodec/h264_mb.c                                              FFMIN(row, pic_height - 1),
FFMIN            1189 libavcodec/h264_slice.c             max_slices = FFMIN(H264_MAX_THREADS, h->mb_height);
FFMIN            1945 libavcodec/h264_slice.c                    FFMIN(h->slice_alpha_c0_offset, h->slice_beta_offset) -
FFMIN            2371 libavcodec/h264_slice.c     height = FFMIN(height, pic_height - top);
FFMIN            2626 libavcodec/h264_slice.c                 mb_index_end = FFMIN(mb_index_end, mb_index2);
FFMIN            1097 libavcodec/hevc.c     int x_end = FFMIN(x0 + cb_size, s->sps->width);
FFMIN            1098 libavcodec/hevc.c     int y_end = FFMIN(y0 + cb_size, s->sps->height);
FFMIN            2233 libavcodec/hevc.c     lc->end_of_tiles_y = FFMIN(y_ctb + ctb_size, s->sps->height);
FFMIN             628 libavcodec/hevc_cabac.c     int length = (1 << (FFMIN(s->sps->bit_depth, 10) - 5)) - 1;
FFMIN             848 libavcodec/hevc_cabac.c     int max_ctx = FFMIN(max, 2);
FFMIN             986 libavcodec/hevc_cabac.c     inc = FFMIN(ctx_cg, 1) + (c_idx>0 ? 2 : 0);
FFMIN            1447 libavcodec/hevc_cabac.c                             c_rice_param = s->sps->persistent_rice_adaptation_enabled_flag ? c_rice_param + 1 : FFMIN(c_rice_param + 1, 4);
FFMIN            1463 libavcodec/hevc_cabac.c                         c_rice_param = s->sps->persistent_rice_adaptation_enabled_flag ? c_rice_param + 1 : FFMIN(c_rice_param + 1, 4);
FFMIN            1545 libavcodec/hevc_cabac.c                     col_limit = FFMIN(4, col_limit);
FFMIN            1547 libavcodec/hevc_cabac.c                     col_limit = FFMIN(8, col_limit);
FFMIN            1549 libavcodec/hevc_cabac.c                     col_limit = FFMIN(24, col_limit);
FFMIN             313 libavcodec/hevc_filter.c         int width    = FFMIN(ctb_size_h, (s->sps->width  >> s->sps->hshift[c_idx]) - x0);
FFMIN             314 libavcodec/hevc_filter.c         int height   = FFMIN(ctb_size_v, (s->sps->height >> s->sps->vshift[c_idx]) - y0);
FFMIN             319 libavcodec/hevc_mvs.c                         s->sh.nb_refs[0] : FFMIN(s->sh.nb_refs[0], s->sh.nb_refs[1]);
FFMIN             664 libavcodec/hevc_ps.c                 coef_num  = FFMIN(64, 1 << (4 + (size_id << 1)));
FFMIN            1105 libavcodec/hevc_ps.c     if (sps->log2_max_trafo_size > FFMIN(sps->log2_ctb_size, 5)) {
FFMIN             357 libavcodec/hevc_refs.c             rpl->nb_refs = FFMIN(rpl->nb_refs, sh->nb_refs[list_idx]);
FFMIN             239 libavcodec/hevcdsp_template.c     int      limit2   = FFMIN(col_limit + 4, H)
FFMIN             241 libavcodec/hevcdsp_template.c         int      limit   = FFMIN(col_limit, H);                               \
FFMIN             242 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->sps->height) -
FFMIN             114 libavcodec/hevcpred_template.c     int top_right_size   = (FFMIN(x0 + 2 * size_in_luma_h, s->sps->width) -
FFMIN             127 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_v, s->sps->min_pu_height - y_bottom_pu);
FFMIN             135 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_v, s->sps->min_pu_height - y_left_pu);
FFMIN             148 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_h, s->sps->min_pu_width - x_top_pu);
FFMIN             156 libavcodec/hevcpred_template.c             int max = FFMIN(size_in_luma_pu_h, s->sps->min_pu_width - x_right_pu);
FFMIN             293 libavcodec/hevcpred_template.c             int min_dist_vert_hor = FFMIN(FFABS((int)(mode - 26U)),
FFMIN             313 libavcodec/huffyuvdec.c     s->vlc_n = FFMIN(s->n, MAX_VLC_N);
FFMIN             331 libavcodec/huffyuvdec.c             s->vlc_n = FFMIN(s->n, MAX_VLC_N);
FFMIN             105 libavcodec/huffyuvenc.c     for (i = 0; i < FFMIN(w, 4); i++) {
FFMIN             137 libavcodec/huffyuvenc.c     for (i = 0; i < FFMIN(w, 16); i++) {
FFMIN             311 libavcodec/huffyuvenc.c     s->vlc_n = FFMIN(s->n, MAX_VLC_N);
FFMIN             402 libavcodec/huffyuvenc.c                 int d = FFMIN(j, s->vlc_n - j);
FFMIN             417 libavcodec/huffyuvenc.c                 int d = FFMIN(j, s->vlc_n - j);
FFMIN             158 libavcodec/iff.c     count = FFMIN(palette_size / 3, count);
FFMIN             274 libavcodec/iff.c             int i, count = FFMIN(palette_size / 3, 1 << s->ham);
FFMIN             495 libavcodec/iff.c             length = FFMIN(-value + 1, dst_size - x);
FFMIN             583 libavcodec/iff.c                 int length = FFMIN(size - i, width);
FFMIN             642 libavcodec/iff.c             d = FFMIN(d, width - x);
FFMIN             708 libavcodec/iff.c                         decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN             721 libavcodec/iff.c                         decodeplane8(s->ham_buf, start, FFMIN(s->planesize, buf_end - start), plane);
FFMIN             732 libavcodec/iff.c                 memcpy(row, buf, FFMIN(raw_width, buf_end - buf));
FFMIN             745 libavcodec/iff.c                         decodeplane8(row, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN             754 libavcodec/iff.c                         decodeplane8(s->ham_buf, buf, FFMIN(s->planesize, buf_end - buf), plane);
FFMIN             765 libavcodec/iff.c                                       FFMIN(s->planesize, buf_end - buf), plane);
FFMIN             774 libavcodec/iff.c                     memcpy(row, buf, FFMIN(avctx->width, buf_end - buf));
FFMIN             780 libavcodec/iff.c                     memcpy(s->ham_buf, buf, FFMIN(avctx->width, buf_end - buf));
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             407 libavcodec/intrax8.c     w->est_run = FFMIN(b,a);
FFMIN             411 libavcodec/intrax8.c     if( (s->mb_x & s->mb_y) != 0 ) w->est_run=FFMIN(c,w->est_run);
FFMIN              95 libavcodec/intrax8dsp.c             min_pix=FFMIN(min_pix,c);
FFMIN             108 libavcodec/intrax8dsp.c             min_pix=FFMIN(min_pix, c);
FFMIN             209 libavcodec/intrax8dsp.c             dst[x]=src[area4 + FFMIN(2*y+x+2, 15) ];
FFMIN             297 libavcodec/intrax8dsp.c             dst[x]=src[area2+6-FFMIN(x+y,6)];
FFMIN             356 libavcodec/intrax8dsp.c                 min=FFMIN(min,p3); max=FFMAX(max,p3);
FFMIN             357 libavcodec/intrax8dsp.c                 min=FFMIN(min,p5); max=FFMAX(max,p5);
FFMIN             358 libavcodec/intrax8dsp.c                 min=FFMIN(min,p8); max=FFMAX(max,p8);
FFMIN             360 libavcodec/intrax8dsp.c                     min=FFMIN(min,p2); max=FFMAX(max,p2);
FFMIN             361 libavcodec/intrax8dsp.c                     min=FFMIN(min,p4); max=FFMAX(max,p4);
FFMIN             362 libavcodec/intrax8dsp.c                     min=FFMIN(min,p6); max=FFMAX(max,p6);
FFMIN             363 libavcodec/intrax8dsp.c                     min=FFMIN(min,p7); max=FFMAX(max,p7);
FFMIN             383 libavcodec/intrax8dsp.c                 x=FFABS(x0) - FFMIN( FFABS(x1), FFABS(x2) );
FFMIN             391 libavcodec/ivi_common.c             tile->width    = FFMIN(band->width - x,  t_width);
FFMIN             392 libavcodec/ivi_common.c             tile->height   = FFMIN(band->height - y, t_height);
FFMIN             361 libavcodec/j2kenc.c                 comp->coord[0][1] = comp->coord_o[0][1] = FFMIN((tilex+1)*s->tile_width, s->width);
FFMIN             363 libavcodec/j2kenc.c                 comp->coord[1][1] = comp->coord_o[1][1] = FFMIN((tiley+1)*s->tile_height, s->height);
FFMIN             835 libavcodec/j2kenc.c                 yy1 = FFMIN(ff_jpeg2000_ceildivpow2(band->coord[1][0] + 1, band->log2_cblk_height) << band->log2_cblk_height,
FFMIN             849 libavcodec/j2kenc.c                     xx1 = FFMIN(ff_jpeg2000_ceildivpow2(band->coord[0][0] + 1, band->log2_cblk_width) << band->log2_cblk_width,
FFMIN             874 libavcodec/j2kenc.c                         xx1 = FFMIN(xx1 + (1 << band->log2_cblk_width), band->coord[0][1] - band->coord[0][0] + x0);
FFMIN             877 libavcodec/j2kenc.c                     yy1 = FFMIN(yy1 + (1 << band->log2_cblk_height), band->coord[1][1] - band->coord[1][0] + y0);
FFMIN             340 libavcodec/jpeg2000.c                 band->log2_cblk_width  = FFMIN(codsty->log2_cblk_width,
FFMIN             342 libavcodec/jpeg2000.c                 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
FFMIN             358 libavcodec/jpeg2000.c                 band->log2_cblk_width  = FFMIN(codsty->log2_cblk_width,
FFMIN             360 libavcodec/jpeg2000.c                 band->log2_cblk_height = FFMIN(codsty->log2_cblk_height,
FFMIN             401 libavcodec/jpeg2000.c                 prec->coord[0][1] = FFMIN(prec->coord[0][1], band->coord[0][1]);
FFMIN             406 libavcodec/jpeg2000.c                 prec->coord[1][1] = FFMIN(prec->coord[1][1], band->coord[1][1]);
FFMIN             454 libavcodec/jpeg2000.c                     cblk->coord[0][1] = FFMIN(Cx0 + (1 << band->log2_cblk_width),
FFMIN             458 libavcodec/jpeg2000.c                     cblk->coord[1][1] = FFMIN(Cy0 + (1 << band->log2_cblk_height),
FFMIN             690 libavcodec/jpeg2000dec.c         comp->coord_o[0][1] = FFMIN((tilex + 1) * s->tile_width  + s->tile_offset_x, s->width);
FFMIN             692 libavcodec/jpeg2000dec.c         comp->coord_o[1][1] = FFMIN((tiley + 1) * s->tile_height + s->tile_offset_y, s->height);
FFMIN              72 libavcodec/jpegls.c         factor = FFMIN(s->maxval, 4095) + 128 >> 8;
FFMIN             113 libavcodec/jpegls.h         state->B[Q] = FFMIN(state->B[Q] - state->N[Q], 0);
FFMIN             105 libavcodec/jpeglsdec.c         maxtab = FFMIN(maxtab, (len - 5) / wt + s->palette_index);
FFMIN             332 libavcodec/lagarith.c         int count = FFMIN(l->zeros_rem, width - i);
FFMIN             379 libavcodec/lagarith.c         count = FFMIN(l->zeros_rem, width - i);
FFMIN              96 libavcodec/lcldec.c             ofs = FFMIN(ofs, destptr - destptr_bak);
FFMIN              98 libavcodec/lcldec.c             cnt = FFMIN(cnt, destptr_end - destptr);
FFMIN             204 libavcodec/lcldec.c                 mthread_inlen = FFMIN(mthread_inlen, len - 8);
FFMIN             206 libavcodec/lcldec.c                 mthread_outlen = FFMIN(mthread_outlen, c->decomp_size);
FFMIN             276 libavcodec/lcldec.c             mthread_inlen = FFMIN(mthread_inlen, len - 8);
FFMIN             278 libavcodec/lcldec.c             mthread_outlen = FFMIN(mthread_outlen, c->decomp_size);
FFMIN             191 libavcodec/libopenjpegdec.c         adjust[x] = FFMAX(FFMIN(desc->comp[x].depth_minus1 + 1 - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
FFMIN             228 libavcodec/libopenjpegdec.c         adjust[x] = FFMAX(FFMIN(desc->comp[x].depth_minus1 + 1 - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
FFMIN             107 libavcodec/libopusdec.c             opus->gain.i = FFMIN(gain_lin * 65536, INT_MAX);
FFMIN              46 libavcodec/libvpxdec.c         .threads = FFMIN(avctx->thread_count, 16)
FFMIN             194 libavcodec/libwebpenc.c                             for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) {
FFMIN             195 libavcodec/libwebpenc.c                                 for (x2 = xs; x2 < FFMIN(xs + bs2, w); x2++) {
FFMIN             210 libavcodec/libwebpenc.c                                 for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) {
FFMIN             212 libavcodec/libwebpenc.c                                             & frame->data[p][frame->linesize[p] * y2 + xs], FFMIN(bs2, w-xs));
FFMIN             215 libavcodec/libwebpenc.c                         for (y2 = y; y2 < FFMIN(y+bs, frame->height); y2++) {
FFMIN             218 libavcodec/libwebpenc.c                                     FFMIN(bs, frame->width-x));
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             129 libavcodec/mathops.h         if (c < d) return (FFMIN(b, d) + FFMAX(a, c)) / 2;
FFMIN             130 libavcodec/mathops.h         else       return (FFMIN(b, c) + FFMAX(a, d)) / 2;
FFMIN             132 libavcodec/mathops.h         if (c < d) return (FFMIN(a, d) + FFMAX(b, c)) / 2;
FFMIN             133 libavcodec/mathops.h         else       return (FFMIN(a, c) + FFMAX(b, d)) / 2;
FFMIN            2150 libavcodec/mips/aaccoder_mips.c     destbits = FFMIN(destbits, 5800);
FFMIN            2167 libavcodec/mips/aaccoder_mips.c                 minthr = FFMIN(minthr, uplim);
FFMIN            2177 libavcodec/mips/aaccoder_mips.c             sce->sf_idx[w*16+g] = SCALE_ONE_POS + FFMIN(log2f(uplims[w*16+g]/minthr)*4,59);
FFMIN            2216 libavcodec/mips/aaccoder_mips.c                         minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
FFMIN            2252 libavcodec/mips/aaccoder_mips.c                         minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
FFMIN            2302 libavcodec/mips/aaccoder_mips.c                 sce->sf_idx[w*16+g] = FFMIN(sce->sf_idx[w*16+g], 219);
FFMIN            2329 libavcodec/mips/aaccoder_mips.c                     float minthr = FFMIN(band0->threshold, band1->threshold);
FFMIN             278 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              62 libavcodec/mjpeg_parser.c                 int size= FFMIN(buf_size-i, m->size);
FFMIN              88 libavcodec/mjpeg_parser.c                 int size= FFMIN(buf_size-i, m->size);
FFMIN             122 libavcodec/mjpegbdec.c                       8 * FFMIN(field_size, buf_end - buf_ptr - sos_offs));
FFMIN             810 libavcodec/mjpegdec.c     int last    = FFMIN(se, *last_nnz);
FFMIN            1900 libavcodec/mjpegdec.c                     t -= FFMIN(2, t);
FFMIN             363 libavcodec/mlpdec.c     m->max_decoded_substream = FFMIN(m->num_substreams - 1, 2);
FFMIN            1260 libavcodec/mlpdec.c                 s->blockpos -= FFMIN(shorten_by & 0x1FFF, s->blockpos);
FFMIN             306 libavcodec/motion_est.c     int cache_size= FFMIN(ME_MAP_SIZE>>ME_MAP_SHIFT, 1<<ME_MAP_SHIFT);
FFMIN             309 libavcodec/motion_est.c     if(FFMIN(s->avctx->dia_size, s->avctx->pre_dia_size) < -FFMIN(ME_MAP_SIZE, MAX_SAB_SIZE)){
FFMIN             557 libavcodec/motion_est.c         c->xmax = FFMIN(c->xmax, range);
FFMIN             559 libavcodec/motion_est.c         c->ymax = FFMIN(c->ymax, range);
FFMIN             981 libavcodec/motion_est.c         int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100);
FFMIN            1063 libavcodec/motion_est.c             int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100);
FFMIN            1372 libavcodec/motion_est.c                     int a= (xmax - FFMAX(fx,bx))|(FFMIN(fx,bx) - xmin);
FFMIN            1373 libavcodec/motion_est.c                     int b= (ymax - FFMAX(fy,by))|(FFMIN(fy,by) - ymin);
FFMIN            1391 libavcodec/motion_est.c                             int a= FFMIN(xmax - FFMAX(fx,bx), FFMIN(fx,bx) - xmin);
FFMIN            1392 libavcodec/motion_est.c                             int b= FFMIN(ymax - FFMAX(fy,by), FFMIN(fy,by) - ymin);
FFMIN            1393 libavcodec/motion_est.c                             borderdist= FFMIN(a,b);
FFMIN            1444 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            1447 libavcodec/motion_est.c         xmax= FFMIN(xmax, s->width - max);
FFMIN            1451 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            1454 libavcodec/motion_est.c         ymax= FFMIN(ymax, s->height - max);
FFMIN            1629 libavcodec/motion_est.c             range= FFMIN(range, 16);
FFMIN            1631 libavcodec/motion_est.c             range= FFMIN(range, 256);
FFMIN             380 libavcodec/motion_est_template.c     const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\
FFMIN             381 libavcodec/motion_est_template.c     const int Ly2= FFMAX(ymin, FFMIN(Ly, ymax));\
FFMIN             590 libavcodec/motion_est_template.c     for(x2=FFMAX(x-dia_size+1, xmin); x2<=FFMIN(x+dia_size-1,xmax); x2+=2){
FFMIN             593 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             599 libavcodec/motion_est_template.c     for(y2=FFMAX(y-2, ymin); y2<=FFMIN(y+2,ymax); y2++){
FFMIN             600 libavcodec/motion_est_template.c         for(x2=FFMAX(x-2, xmin); x2<=FFMIN(x+2,xmax); x2++){
FFMIN             631 libavcodec/motion_est_template.c     for(y=FFMAX(-dia_size, ymin); y<=FFMIN(dia_size,ymax); y++){
FFMIN             632 libavcodec/motion_est_template.c         for(x=FFMAX(-dia_size, xmin); x<=FFMIN(dia_size,xmax); x++){
FFMIN             788 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, xmax - x + 1);
FFMIN             797 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, y - ymin + 1);
FFMIN             806 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, x - xmin + 1);
FFMIN             815 libavcodec/motion_est_template.c         end  = FFMIN(dia_size, ymax - y + 1);
FFMIN             946 libavcodec/motion_est_template.c         const int xend= FFMIN(s->mb_width , s->mb_x + count + 1);
FFMIN             947 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              48 libavcodec/movsub_bsf.c     *poutbuf_size = FFMIN(buf_size - 2, AV_RB16(buf));
FFMIN              85 libavcodec/movtextdec.c     end = ptr + FFMIN(2 + AV_RB16(ptr), avpkt->size);
FFMIN              92 libavcodec/movtextenc.c     av_strlcpy(s->ptr, text, FFMIN(s->end - s->ptr, len + 1));
FFMIN              93 libavcodec/movtextenc.c     s->ptr += FFMIN(s->end - s->ptr, len);
FFMIN             100 libavcodec/movtextenc.c     av_strlcpy(s->ptr, "\n", FFMIN(s->end - s->ptr, 2));
FFMIN              86 libavcodec/mpc8.c          mask = mpc8_dec_enum(gb, FFMIN(t, size - t), size);
FFMIN            1910 libavcodec/mpeg12dec.c                     (left && show_bits(&s->gb, FFMIN(left, 23)) && !is_d10) ||
FFMIN            1913 libavcodec/mpeg12dec.c                            left, show_bits(&s->gb, FFMIN(left, 23)));
FFMIN             312 libavcodec/mpeg4videodec.c         min_ab = FFMIN(alpha, beta);
FFMIN             381 libavcodec/mpeg4videodec.c     int len = FFMIN(ctx->time_increment_bits + 3, 15);
FFMIN            1656 libavcodec/mpeg4videodec.c                                          ? FFMIN(s->mb_y + 1, s->mb_height - 1)
FFMIN             691 libavcodec/mpeg4videoenc.c                             int xe = FFMIN(16, s->width - x);
FFMIN             692 libavcodec/mpeg4videoenc.c                             int ye = FFMIN(16, s->height - y);
FFMIN             921 libavcodec/mpeg4videoenc.c         time = FFMIN(time, s->reordered_input_picture[1]->f->pts);
FFMIN              55 libavcodec/mpegaudio_parser.c             int inc= FFMIN(buf_size - i, s->frame_size);
FFMIN             150 libavcodec/mpegaudiodec_template.c         k = FFMIN(g->region_size[i], g->big_values);
FFMIN             180 libavcodec/mpegaudiodec_template.c     l = FFMIN(ra1 + ra2 + 2, 22);
FFMIN             863 libavcodec/mpegaudiodec_template.c     int end_pos = FFMIN(end_pos2, s->gb.size_in_bits);
FFMIN            1609 libavcodec/mpegaudiodec_template.c             i = FFMIN(BACKSTEP_SIZE, buf_size - HEADER_SIZE);
FFMIN              43 libavcodec/mpegutils.c     h = FFMIN(h, avctx->height - y);
FFMIN            1319 libavcodec/mpegvideo.c             max_slices = FFMIN(MAX_THREADS, s->mb_height);
FFMIN            2556 libavcodec/mpegvideo.c     const int op_index = FFMIN(lowres, 3);
FFMIN            2609 libavcodec/mpegvideo.c     const int op_index   = FFMIN(lowres-1+s->chroma_x_shift, 3);
FFMIN            2737 libavcodec/mpegvideo.c     const int op_index   = FFMIN(lowres, 3);
FFMIN            2957 libavcodec/mpegvideo.c         my_min = FFMIN(my_min, my);
FFMIN            2962 libavcodec/mpegvideo.c     return FFMIN(FFMAX(s->mb_y + off, 0), s->mb_height-1);
FFMIN            2030 libavcodec/mpegvideo_enc.c             for (y2 = FFMAX(y - 1, 0); y2 < FFMIN(8, y + 2); y2++) {
FFMIN            2031 libavcodec/mpegvideo_enc.c                 for (x2= FFMAX(x - 1, 0); x2 < FFMIN(8, x + 2); x2++) {
FFMIN            3871 libavcodec/mpegvideo_enc.c             coeff_count[i]= FFMIN(level, 2);
FFMIN             286 libavcodec/msmpeg4enc.c         put_bits(&s->pb, 5, FFMIN(fps, 31)); //yes 29.97 -> 29
FFMIN             288 libavcodec/msmpeg4enc.c         put_bits(&s->pb, 11, FFMIN(s->bit_rate/1024, 2047));
FFMIN              79 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             180 libavcodec/mss12.c             val = FFMIN(i, pctx->cache_size - 1);
FFMIN             215 libavcodec/mss2.c                         int skip = FFMIN((unsigned)repeat, dst + w - p);
FFMIN             345 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             162 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             255 libavcodec/nellymoserenc.c             idx_max = FFMIN(OPT_SIZE, cand[band - 1] + q);
FFMIN             256 libavcodec/nellymoserenc.c             for (i = FFMAX(0, cand[band - 1] - q); i < FFMIN(OPT_SIZE, cand[band - 1] + q); i++) {
FFMIN             213 libavcodec/opus.h     symbol = total - FFMIN(symbol, total);
FFMIN             302 libavcodec/opus.h     k      = total - FFMIN(k, total);
FFMIN             307 libavcodec/opus.h         return FFMIN(k, size - 1);
FFMIN             320 libavcodec/opus.h     center = (1 << 15) - FFMIN(center, 1 << 15);
FFMIN             346 libavcodec/opus.h     opus_rc_update(rc, scale, low, FFMIN(low + symbol, 32768), 32768);
FFMIN             357 libavcodec/opus.h     symbol = total - FFMIN(symbol, total);
FFMIN             373 libavcodec/opus.h     center = total - FFMIN(center, total);
FFMIN             553 libavcodec/opus_celt.c                 int k = FFMIN(i, 20) << 1;
FFMIN             684 libavcodec/opus_celt.c         quanta = FFMIN(quanta << 3, FFMAX(6 << 3, quanta));
FFMIN             765 libavcodec/opus_celt.c                 total += FFMIN(bandbits, cap[i]);
FFMIN             809 libavcodec/opus_celt.c                 total += FFMIN(bandbits, cap[j]);
FFMIN             829 libavcodec/opus_celt.c         bandbits     = FFMIN(bandbits, cap[i]);
FFMIN             890 libavcodec/opus_celt.c         int bits = FFMIN(remaining, celt_freq_range[i]);
FFMIN             927 libavcodec/opus_celt.c             max_bits  = FFMIN((s->pulses[i]>>3) >> (s->coded_channels - 1),
FFMIN             950 libavcodec/opus_celt.c             int fineextra = FFMIN(extrabits >> (s->coded_channels + 2),
FFMIN            1297 libavcodec/opus_celt.c #define CELT_PVQ_U(n, k) (celt_pvq_u_row[FFMIN(n, k)][FFMAX(n, k)])
FFMIN            1530 libavcodec/opus_celt.c                     delta = FFMIN(0, delta + (N << 3 >> (5 - duration)));
FFMIN            1855 libavcodec/opus_celt.c         Ediff = frame->energy[i] - FFMIN(prev[0], prev[1]);
FFMIN            1863 libavcodec/opus_celt.c         r = FFMIN(thresh, r) * sqrt_1;
FFMIN            1911 libavcodec/opus_celt.c             int curr_balance = s->remaining / FFMIN(3, s->codedbands-i);
FFMIN            1912 libavcodec/opus_celt.c             b = av_clip_uintp2(FFMIN(s->remaining2 + 1, s->pulses[i] + curr_balance), 14);
FFMIN            2128 libavcodec/opus_celt.c                 frame->prev_energy[0][j] = FFMIN(frame->prev_energy[0][j], frame->energy[j]);
FFMIN             833 libavcodec/opus_silk.c             center_val = FFMIN(max_center, FFMAX(min_center, center_val));
FFMIN             980 libavcodec/opus_silk.c             maxabs = FFMIN(maxabs, 163838); // anything above this overflows chirp's numerator
FFMIN            1194 libavcodec/opus_silk.c                                          voiced][qoffset_high][FFMIN(pulsecount[i >> 4], 6)]);
FFMIN             227 libavcodec/opusdec.c                                             FFMIN(s->packet.bandwidth, OPUS_BANDWIDTH_WIDEBAND),
FFMIN              59 libavcodec/pcx.c     pallen = FFMIN(pallen, bytestream2_get_bytes_left(gb) / 3);
FFMIN             165 libavcodec/pictordec.c         npal = FFMIN(esize, 16);
FFMIN             168 libavcodec/pictordec.c             palette[i]  = ff_cga_palette[FFMIN(pal_idx, 15)];
FFMIN             171 libavcodec/pictordec.c         npal = FFMIN(esize, 16);
FFMIN             174 libavcodec/pictordec.c             palette[i]  = ff_ega_palette[FFMIN(pal_idx, 63)];
FFMIN             177 libavcodec/pictordec.c         npal = FFMIN(esize / 3, 256);
FFMIN             211 libavcodec/pictordec.c             stop_size = t1 - FFMIN(t1, t2);
FFMIN             248 libavcodec/pictordec.c             memcpy(frame->data[0] + y * frame->linesize[0], s->g.buffer, FFMIN(avctx->width, bytestream2_get_bytes_left(&s->g)));
FFMIN              61 libavcodec/png_parser.c         i = FFMIN(ppc->remaining_size, buf_size);
FFMIN             388 libavcodec/pngdec.c     s->zstream.avail_in = FFMIN(length, bytestream2_get_bytes_left(&s->gb));
FFMIN             851 libavcodec/pngdec.c     int ls = FFMIN(av_image_get_linesize(p->format, s->width, 0), s->width * s->bpp);
FFMIN             874 libavcodec/pngdec.c     int ls = FFMIN(av_image_get_linesize(p->format, s->width, 0), s->width * s->bpp);
FFMIN             129 libavcodec/pngenc.c     unaligned_w = FFMIN(32 - bpp, size);
FFMIN             301 libavcodec/proresdec2.c         DECODE_CODEWORD(code, dc_codebook[FFMIN(code, 6U)]);
FFMIN             336 libavcodec/proresdec2.c         DECODE_CODEWORD(run, run_to_cb[FFMIN(run,  15)]);
FFMIN             343 libavcodec/proresdec2.c         DECODE_CODEWORD(level, lev_to_cb[FFMIN(level, 9)]);
FFMIN             360 libavcodec/proresdec_lgpl.c         code = decode_vlc_codeword(gb, ff_prores_dc_codebook[FFMIN(FFABS(delta), 3)]);
FFMIN             390 libavcodec/proresdec_lgpl.c         run_cb_index = ff_prores_run_to_cb_index[FFMIN(run, 15)];
FFMIN             391 libavcodec/proresdec_lgpl.c         lev_cb_index = ff_prores_lev_to_cb_index[FFMIN(level, 9)];
FFMIN             221 libavcodec/proresenc_anatoliy.c         encode_codeword(pb, new_code, dc_codebook[FFMIN(code, 6)]);
FFMIN             246 libavcodec/proresenc_anatoliy.c                 encode_codeword(pb, run, run_to_cb[FFMIN(prev_run, 15)]);
FFMIN             253 libavcodec/proresenc_anatoliy.c                 encode_codeword(pb, code, lev_to_cb[FFMIN(prev_level, 9)]);
FFMIN             346 libavcodec/proresenc_anatoliy.c     int box_width = FFMIN(width - x, dst_width);
FFMIN             347 libavcodec/proresenc_anatoliy.c     int box_height = FFMIN(height - y, dst_height);
FFMIN             253 libavcodec/proresenc_kostya.c             bw = FFMIN(w - x, mb_width);
FFMIN             254 libavcodec/proresenc_kostya.c             bh = FFMIN(h - y, 16);
FFMIN             306 libavcodec/proresenc_kostya.c     copy_w = FFMIN(w - x, slice_width);
FFMIN             307 libavcodec/proresenc_kostya.c     copy_h = FFMIN(h - y, 16);
FFMIN             382 libavcodec/proresenc_kostya.c         codebook = FFMIN(codebook, 3);
FFMIN             412 libavcodec/proresenc_kostya.c                 run_cb = ff_prores_run_to_cb_index[FFMIN(run, 15)];
FFMIN             413 libavcodec/proresenc_kostya.c                 lev_cb = ff_prores_lev_to_cb_index[FFMIN(abs_level, 9)];
FFMIN             628 libavcodec/proresenc_kostya.c         codebook = FFMIN(codebook, 3);
FFMIN             660 libavcodec/proresenc_kostya.c                 run_cb = ff_prores_run_to_cb_index[FFMIN(run, 15)];
FFMIN             661 libavcodec/proresenc_kostya.c                 lev_cb = ff_prores_lev_to_cb_index[FFMIN(abs_level, 9)];
FFMIN             626 libavcodec/pthread_frame.c             thread_count = avctx->thread_count = FFMIN(nb_cpus + 1, MAX_AUTO_THREADS);
FFMIN             199 libavcodec/pthread_slice.c             nb_cpus = FFMIN(nb_cpus, (avctx->height+15)/16);
FFMIN             202 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             309 libavcodec/qpeg.c     pal_size = FFMIN(1024U, avctx->extradata_size);
FFMIN             185 libavcodec/qtrleenc.c         if (FFMIN(width, i + MAX_RLE_BULK) < lowest_bulk_cost_index) {
FFMIN             223 libavcodec/qtrleenc.c             skipcount = FFMIN(skipcount + 1, MAX_RLE_SKIP);
FFMIN             232 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             322 libavcodec/ralf.c         int flen = FFMIN(ctx->filter_length, i);
FFMIN             332 libavcodec/ralf.c             acc = FFMIN(acc, max_clip);
FFMIN              49 libavcodec/rectangle.h     av_assert2((((long)vp)&(FFMIN(w, 8<<(HAVE_NEON|ARCH_PPC|HAVE_MMX))-1)) == 0);
FFMIN             176 libavcodec/resample2.c             minff= FFMIN(minff, ff);
FFMIN             178 libavcodec/resample2.c             minsf= FFMIN(minsf, sf);
FFMIN             194 libavcodec/resample2.c     double factor= FFMIN(out_rate * cutoff / in_rate, 1.0);
FFMIN             248 libavcodec/resample2.c         dst_size= FFMIN(dst_size, (src_size-1-index) * (int64_t)c->src_incr / c->dst_incr);
FFMIN              39 libavcodec/rle.c     for(pos = start + bpp; count < FFMIN(127, len); pos += bpp, count ++) {
FFMIN              44 libavcodec/rle.c                 if(bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos+1))
FFMIN             126 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              93 libavcodec/sgirledec.c                 int length = FFMIN(v, width - x);
FFMIN             441 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             441 libavcodec/snow.h             for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){
FFMIN             450 libavcodec/snow.h             for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){
FFMIN             532 libavcodec/snow.h         const int el= FFMIN(e, 10);
FFMIN             541 libavcodec/snow.h         put_rac(c, state+1+FFMIN(i,9), 0);
FFMIN             563 libavcodec/snow.h         while(get_rac(c, state+1 + FFMIN(e,9))){ //1..10
FFMIN             569 libavcodec/snow.h             a += a + get_rac(c, state+22 + FFMIN(i,9)); //22..31
FFMIN             572 libavcodec/snow.h         e= -(is_signed && get_rac(c, state+11 + FFMIN(e,10))); //11..21
FFMIN             694 libavcodec/snow.h                     if(y) max_run= FFMIN(run, prev_xc->x - x - 2);
FFMIN             695 libavcodec/snow.h                     else  max_run= FFMIN(run, w-x-1);
FFMIN             697 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             350 libavcodec/snowdec.c             for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN             379 libavcodec/snowdec.c     if(FFMIN(s->avctx-> width>>s->chroma_h_shift,
FFMIN             552 libavcodec/snowdec.c                     start_y = FFMIN(b->height, start_y);
FFMIN             553 libavcodec/snowdec.c                     end_y = FFMIN(b->height, end_y);
FFMIN             558 libavcodec/snowdec.c                             int correlate_end_y = FFMIN(b->height, end_y + 1);
FFMIN             559 libavcodec/snowdec.c                             int correlate_start_y = FFMIN(b->height, (start_y ? start_y + 1 : 0));
FFMIN             585 libavcodec/snowdec.c             y = FFMIN(p->height, slice_starty);
FFMIN             586 libavcodec/snowdec.c             end_y = FFMIN(p->height, slice_h);
FFMIN              86 libavcodec/snowenc.c     s->max_ref_frames = FFMAX(FFMIN(avctx->refs, MAX_REF_FRAMES), 1);
FFMIN             531 libavcodec/snowenc.c         for(y2= FFMAX(y, 0); y2<FFMIN(h, y+block_h); y2++){
FFMIN             532 libavcodec/snowenc.c             for(x2= FFMAX(x, 0); x2<FFMIN(w, x+block_w); x2++){
FFMIN             615 libavcodec/snowenc.c     int x1= FFMIN(block_w*2, w-sx);
FFMIN             616 libavcodec/snowenc.c     int y1= FFMIN(block_h*2, h-sy);
FFMIN            1361 libavcodec/snowenc.c     for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN            1412 libavcodec/snowenc.c         for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
FFMIN            1420 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             145 libavcodec/sonic.c         while(get_rac(c, state+1 + FFMIN(e,9))){ //1..10
FFMIN             151 libavcodec/sonic.c             a += a + get_rac(c, state+22 + FFMIN(i,9)); //22..31
FFMIN             154 libavcodec/sonic.c         e= -(is_signed && get_rac(c, state+11 + FFMIN(e, 10))); //11..21
FFMIN             144 libavcodec/srtdec.c                                                FFMIN(sizeof(tmp), len+1));
FFMIN             514 libavcodec/svq3.c             mb_type = FFMIN(s->next_pic->mb_type[mb_xy], 6);
FFMIN              62 libavcodec/tak_parser.c             int tmp_buf_size       = FFMIN(2 * TAK_MAX_FRAME_HEADER_BYTES,
FFMIN             465 libavcodec/takdec.c         int tmp = FFMIN(y, x);
FFMIN             633 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              64 libavcodec/tiertexseqv.c             memset(dst, *src++, FFMIN(len, dst_size));
FFMIN              68 libavcodec/tiertexseqv.c             memcpy(dst, src, FFMIN(len, dst_size));
FFMIN             301 libavcodec/tiff.c                     p->data[0][FFMIN(lnum + j, s->height-1) * p->linesize[0] +
FFMIN             302 libavcodec/tiff.c                                FFMIN(i * s->subsampling[0] + k, s->width-1)] = *src++;
FFMIN             899 libavcodec/tiff.c         s->rps = FFMIN(value, s->height);
FFMIN            1277 libavcodec/tiff.c                                          FFMIN(s->rps, s->height - i))) < 0) {
FFMIN             211 libavcodec/tiffenc.c                     *dst++ = p->data[0][FFMIN(lnum + j, s->height-1) * p->linesize[0] +
FFMIN             212 libavcodec/tiffenc.c                                         FFMIN(i * s->subsampling[0] + k, s->width-1)];
FFMIN             632 libavcodec/utils.c     for (i = 0; i < FFMIN(planes, AV_NUM_DATA_POINTERS); i++) {
FFMIN             993 libavcodec/utils.c             for (i = 0; i < FFMIN(planes, FF_ARRAY_ELEMS(frame->buf)); i++)
FFMIN            2675 libavcodec/utils.c         ret = FFMIN(AVERROR(errno), -1);
FFMIN            2746 libavcodec/utils.c                    FFMIN(avpkt->size - tmp.size, FF_INPUT_BUFFER_PADDING_SIZE));
FFMIN            3807 libavcodec/utils.c     p = FFMIN(p, end) - 4;
FFMIN              75 libavcodec/utvideodec.c     return ff_init_vlc_sparse(vlc, FFMIN(he[last].len, 11), last + 1,
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             200 libavcodec/vc1_pred.c         refdist = FFMIN(v->refdist, 3);
FFMIN             211 libavcodec/vc1dec.c                 next_line = FFMIN(yline + 1, (v->sprite_height >> !!plane) - 1) * iline;
FFMIN             972 libavcodec/vc1dec.c                 s->end_mb_y = (i == n_slices     ) ? mb_height : FFMIN(mb_height, slices[i].mby_start % mb_height);
FFMIN             978 libavcodec/vc1dec.c                 s->end_mb_y = (i <= n_slices1 + 1) ? mb_height : FFMIN(mb_height, slices[i].mby_start % mb_height);
FFMIN             163 libavcodec/vc1dsp.c                 int a3     = FFMIN(a1, a2);
FFMIN             173 libavcodec/vc1dsp.c                     d = FFMIN(d, clip);
FFMIN              54 libavcodec/videodsp_template.c     end_y = FFMIN(block_h, h-src_y);
FFMIN              55 libavcodec/videodsp_template.c     end_x = FFMIN(block_w, w-src_x);
FFMIN             232 libavcodec/vorbis.c                 render_line(lx, ly, FFMIN(x1,samples), y1, out);
FFMIN             710 libavcodec/vorbisdec.c             (res_setup->end-res_setup->begin) / res_setup->partition_size > FFMIN(V_MAX_PARTITIONS, 65535)) {
FFMIN             722 libavcodec/vorbisenc.c     int end   = fc->list[fc->list[FFMIN(i+1, fc->values - 1)].sort].x;
FFMIN             786 libavcodec/vorbisenc.c         int room = FFMIN(highroom, lowroom);
FFMIN            1646 libavcodec/vp3.c                                   FFMIN(4 * sb_y + 3, fragment_height - 1));
FFMIN            1658 libavcodec/vp3.c     vp3_draw_horiz_band(s, FFMIN((32 << s->chroma_y_shift) * (slice + 1) - 16,
FFMIN             242 libavcodec/vp5.c         ctx_last = FFMIN(s->coeff_ctx_last[ff_vp56_b6to4[b]], 24);
FFMIN             436 libavcodec/vp6.c             cg = FFMIN(vp6_coeff_groups[coeff_idx], 3);
FFMIN             167 libavcodec/vp8.c                    FFMIN(s->num_coeff_partitions, avctx->thread_count) > 1;
FFMIN             300 libavcodec/vp8.c     s->qmat[0].chroma_qmul[0]  = FFMIN(vp7_ydc_qlookup[uvdc_qi], 132);
FFMIN             333 libavcodec/vp8.c         s->qmat[i].chroma_qmul[0]  = FFMIN(s->qmat[i].chroma_qmul[0], 132);
FFMIN            2050 libavcodec/vp8.c         interior_limit = FFMIN(interior_limit, 9 - s->filter.sharpness);
FFMIN            2633 libavcodec/vp8.c         num_jobs = FFMIN(s->num_coeff_partitions, avctx->thread_count);
FFMIN             275 libavcodec/vp8dsp.c     f1 = FFMIN(a + 4, 127) >> 3;
FFMIN             280 libavcodec/vp8dsp.c         f2 = FFMIN(a + 3, 127) >> 3;
FFMIN            1335 libavcodec/vp9.c     int w4 = FFMIN(s->cols - col, bwh_tab[1][b->bs][0]);
FFMIN            1336 libavcodec/vp9.c     int h4 = FFMIN(s->rows - row, bwh_tab[1][b->bs][1]), y;
FFMIN            1358 libavcodec/vp9.c                     pred = FFMIN(pred, refsegmap[idx_base + x]);
FFMIN            1458 libavcodec/vp9.c         b->tx = FFMIN(max_tx, s->txfmmode);
FFMIN            2167 libavcodec/vp9.c     int end_x = FFMIN(2 * (s->cols - col), w4);
FFMIN            2168 libavcodec/vp9.c     int end_y = FFMIN(2 * (s->rows - row), h4);
FFMIN            2222 libavcodec/vp9.c                 memset(&la[n + 1], la[n], FFMIN(end - n - 1, 3)); \
FFMIN            2238 libavcodec/vp9.c                 memset(&la[n + 1], la[n], FFMIN(end - n - 1, 7)); \
FFMIN            2477 libavcodec/vp9.c     int end_x = FFMIN(2 * (s->cols - col), w4);
FFMIN            2478 libavcodec/vp9.c     int end_y = FFMIN(2 * (s->rows - row), h4);
FFMIN            2769 libavcodec/vp9.c         int end_x = FFMIN(2 * (s->cols - col), w4);
FFMIN            2770 libavcodec/vp9.c         int end_y = FFMIN(2 * (s->rows - row), h4);
FFMIN            3043 libavcodec/vp9.c         int w = FFMIN(s->cols - col, w4) * 8, h = FFMIN(s->rows - row, h4) * 8, n, o = 0;
FFMIN            3057 libavcodec/vp9.c         int w = FFMIN(s->cols - col, w4) * 4, h = FFMIN(s->rows - row, h4) * 4, n, o = 0;
FFMIN            3077 libavcodec/vp9.c         int x_end = FFMIN(s->cols - col, w4), y_end = FFMIN(s->rows - row, h4);
FFMIN            3093 libavcodec/vp9.c                 limit = FFMIN(limit, 9 - sharp);
FFMIN            3476 libavcodec/vp9.c     *start = FFMIN(sb_start, n) << 3;
FFMIN            3477 libavcodec/vp9.c     *end   = FFMIN(sb_end,   n) << 3;
FFMIN            3491 libavcodec/vp9.c     ct = FFMIN(ct, max_count);
FFMIN            1564 libavcodec/vp9dsp.c                 f1 = FFMIN(f + 4, 127) >> 3;
FFMIN            1565 libavcodec/vp9dsp.c                 f2 = FFMIN(f + 3, 127) >> 3;
FFMIN            1572 libavcodec/vp9dsp.c                 f1 = FFMIN(f + 4, 127) >> 3;
FFMIN            1573 libavcodec/vp9dsp.c                 f2 = FFMIN(f + 3, 127) >> 3;
FFMIN             698 libavcodec/wavpackenc.c     decorr_mono(samples, outsamples, FFMIN(2048, nb_samples), &dp, -1);
FFMIN             939 libavcodec/wavpackenc.c     info.log_limit = FFMIN(6912, info.log_limit);
FFMIN            1038 libavcodec/wavpackenc.c     log_limit = FFMIN(6912, log_limit);
FFMIN            1080 libavcodec/wavpackenc.c                         FFMIN(nb_samples, 2048), &temp_decorr_pass, -1);
FFMIN            1515 libavcodec/wavpackenc.c                   FFMIN(2048, nb_samples), &dp, -1);
FFMIN            1748 libavcodec/wavpackenc.c     info.log_limit = FFMIN(6912, info.log_limit);
FFMIN            1830 libavcodec/wavpackenc.c     log_limit = FFMIN(6912, log_limit);
FFMIN            1896 libavcodec/wavpackenc.c                               FFMIN(2048, nb_samples), &temp_decorr_pass, -1);
FFMIN              93 libavcodec/wmaenc.c     block_align        = FFMIN(block_align, MAX_CODED_SUPERFRAME_SIZE);
FFMIN            1140 libavcodec/wmalosslessdec.c         align = FFMIN(align, len);
FFMIN            1024 libavcodec/wmaprodec.c                     for (y = sfb[0]; y < FFMIN(sfb[1], s->subframe_len); y++) {
FFMIN            1043 libavcodec/wmaprodec.c                     int len = FFMIN(sfb[1], s->subframe_len) - sfb[0];
FFMIN            1292 libavcodec/wmaprodec.c                 const int end = FFMIN(s->cur_sfb_offsets[b+1], s->subframe_len);
FFMIN            1503 libavcodec/wmaprodec.c         align = FFMIN(align, len);
FFMIN             520 libavcodec/wmavoice.c                 *end = &in[-FFMIN(s->max_pitch_val, pitch + 3)],
FFMIN             584 libavcodec/wmavoice.c         max       = FFMAX(max, tmp); min = FFMIN(min, tmp); \
FFMIN             711 libavcodec/wmavoice.c         remainder = FFMIN(127 - size, size - 1);
FFMIN             731 libavcodec/wmavoice.c         lim = FFMIN(s->denoise_filter_cache_size, size);
FFMIN             741 libavcodec/wmavoice.c         lim = FFMIN(remainder, s->denoise_filter_cache_size);
FFMIN            1027 libavcodec/wmavoice.c     s->aw_pulse_range        = FFMIN(pitch[0], pitch[1]) > 32 ? 24 : 16;
FFMIN            1480 libavcodec/wmavoice.c         cur_pitch_val    = FFMIN(cur_pitch_val, s->max_pitch_val - 1);
FFMIN            1637 libavcodec/wmavoice.c     lsps[num - 1] = FFMIN(lsps[num - 1], 0.9985 * M_PI);
FFMIN            1929 libavcodec/wmavoice.c     if ((rmn_bits = FFMIN(rmn_bits, nbits)) > 0)
FFMIN            1932 libavcodec/wmavoice.c                  FFMIN(nbits - rmn_bits, rmn_bytes << 3));
FFMIN              38 libavcodec/wmv2enc.c     put_bits(&pb, 11, FFMIN(s->bit_rate / 1024, 2047));
FFMIN             184 libavcodec/x86/videodsp_init.c     end_y   = FFMIN(block_h, h-src_y);
FFMIN             185 libavcodec/x86/videodsp_init.c     end_x   = FFMIN(block_w, w-src_x);
FFMIN             224 libavcodec/xan.c         int count = FFMIN(pixel_count, width - current_x);
FFMIN             563 libavcodec/xan.c         size = FFMIN(size, bytestream2_get_bytes_left(&ctx));
FFMIN             142 libavcodec/xsubdec.c             run = FFMIN(run, w - x);
FFMIN              85 libavcodec/xsubenc.c                 len = FFMIN(len, 255);
FFMIN             343 libavcodec/xxan.c             dec_size = FFMIN(dec_size, s->buffer_size/2 - 1);
FFMIN              98 libavcodec/zmbvenc.c     bw = FFMIN(ZMBV_BLOCK, c->avctx->width - x);
FFMIN              99 libavcodec/zmbvenc.c     bh = FFMIN(ZMBV_BLOCK, c->avctx->height - y);
FFMIN             102 libavcodec/zmbvenc.c     for(ty = FFMAX(y - c->range, 0); ty < FFMIN(y + c->range, c->avctx->height - bh); ty++){
FFMIN             103 libavcodec/zmbvenc.c         for(tx = FFMAX(x - c->range, 0); tx < FFMIN(x + c->range, c->avctx->width - bw); tx++){
FFMIN             181 libavcodec/zmbvenc.c             bh2 = FFMIN(avctx->height - y, ZMBV_BLOCK);
FFMIN             183 libavcodec/zmbvenc.c                 bw2 = FFMIN(avctx->width - x, ZMBV_BLOCK);
FFMIN             286 libavcodec/zmbvenc.c         c->range = FFMIN(avctx->me_range, 127);
FFMIN             245 libavdevice/alsa-audio-common.c     buffer_size = FFMIN(buffer_size, ALSA_BUFFER_SIZE_MAX);
FFMIN             130 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             707 libavdevice/opengl_enc.c         int max = FFMIN(FFMAX(in_width, in_height), opengl->max_texture_size);
FFMIN             876 libavdevice/opengl_enc.c         opengl->window_width = FFMIN(opengl->window_width, opengl->max_viewport_width);
FFMIN             877 libavdevice/opengl_enc.c         opengl->window_height = FFMIN(opengl->window_height, opengl->max_viewport_height);
FFMIN              70 libavdevice/oss_audio_enc.c         len = FFMIN(OSS_AUDIO_BLOCK_SIZE - s->buffer_ptr, size);
FFMIN              51 libavdevice/sndio_enc.c         len = FFMIN(s->buffer_size - s->buffer_offset, size);
FFMIN             317 libavdevice/x11grab.c         x_off  = FFMIN(FFMAX(x_off, 0), screen_w - x11grab->width);
FFMIN             318 libavdevice/x11grab.c         y_off  = FFMIN(FFMAX(y_off, 0), screen_h - x11grab->height);
FFMIN             434 libavdevice/x11grab.c     to_line   = FFMIN((y + xcim->height), (height + y_off));
FFMIN             435 libavdevice/x11grab.c     to_column = FFMIN((x + xcim->width),  (width  + x_off));
FFMIN             589 libavdevice/x11grab.c         s->x_off = x_off = FFMIN(FFMAX(x_off, 0), screen_w - s->width);
FFMIN             590 libavdevice/x11grab.c         s->y_off = y_off = FFMIN(FFMAX(y_off, 0), screen_h - s->height);
FFMIN             140 libavdevice/xcbgrab.c     c->x = FFMIN(FFMAX(0, x), geo->width  - w);
FFMIN             141 libavdevice/xcbgrab.c     c->y = FFMIN(FFMAX(0, y), geo->height - h);
FFMIN             326 libavdevice/xcbgrab.c     w = FFMIN(cx + ci->width,  gr->x + gr->width)  - x;
FFMIN             327 libavdevice/xcbgrab.c     h = FFMIN(cy + ci->height, gr->y + gr->height) - y;
FFMIN             523 libavdevice/xcbgrab.c     c->width      = FFMIN(geo->width, c->width);
FFMIN             524 libavdevice/xcbgrab.c     c->height     = FFMIN(geo->height, c->height);
FFMIN              79 libavfilter/aeval.c     return eval->channel_values[FFMIN((int)ch, eval->nb_in_channels-1)];
FFMIN              96 libavfilter/af_adelay.c             const int len = FFMIN(nb_samples, d->delay - d->delay_index); \
FFMIN             220 libavfilter/af_adelay.c         int nb_samples = FFMIN(s->max_delay, 2048);
FFMIN             304 libavfilter/af_aecho.c         int nb_samples = FFMIN(s->fade_out, 2048);
FFMIN             124 libavfilter/af_afade.c     gain = FFMAX(0.0, FFMIN(1.0, 1.0 * index / range));
FFMIN             246 libavfilter/af_amerge.c         nb_samples = FFMIN(nb_samples, am->in[i].nb_samples);
FFMIN             273 libavfilter/af_amerge.c             ns = FFMIN(ns, inbuf[i]->nb_samples - am->in[i].pos);
FFMIN             332 libavfilter/af_amix.c         available_samples = FFMIN(available_samples, nb_samples);
FFMIN             443 libavfilter/af_amix.c         available_samples = FFMIN(available_samples, wanted_samples);
FFMIN             104 libavfilter/af_apad.c             n_out = FFMIN(n_out, apad->pad_len_left);
FFMIN             190 libavfilter/af_aresample.c         n_out += FFMIN(delay, FFMAX(4096, n_out));
FFMIN              93 libavfilter/af_asetnsamples.c         nb_pad_samples = nb_out_samples - FFMIN(nb_out_samples, av_audio_fifo_size(asns->fifo));
FFMIN              95 libavfilter/af_asetnsamples.c         nb_out_samples = FFMIN(asns->nb_out_samples, av_audio_fifo_size(asns->fifo));
FFMIN             141 libavfilter/af_astats.c         p->min_sigma_x2 = FFMIN(p->min_sigma_x2, p->avg_sigma_x2);
FFMIN             197 libavfilter/af_astats.c         min = FFMIN(min, p->min);
FFMIN             199 libavfilter/af_astats.c         min_sigma_x2 = FFMIN(min_sigma_x2, p->min_sigma_x2);
FFMIN             125 libavfilter/af_asyncts.c         int delta = FFMIN(s->first_pts - s->pts, avresample_available(s->avr));
FFMIN             375 libavfilter/af_atempo.c                 s = FFMIN((FFTSample)scalar_max,                        \
FFMIN             383 libavfilter/af_atempo.c                     si = FFMIN((FFTSample)scalar_max,                   \
FFMIN             449 libavfilter/af_atempo.c         int nsamples = FFMIN(read_size, src_samples);
FFMIN             453 libavfilter/af_atempo.c         nsamples = FFMIN(nsamples, atempo->ring);
FFMIN             454 libavfilter/af_atempo.c         na = FFMIN(nsamples, atempo->ring - atempo->tail);
FFMIN             455 libavfilter/af_atempo.c         nb = FFMIN(nsamples - na, atempo->ring);
FFMIN             464 libavfilter/af_atempo.c             atempo->size = FFMIN(atempo->size + na, atempo->ring);
FFMIN             479 libavfilter/af_atempo.c             atempo->size = FFMIN(atempo->size + nb, atempo->ring);
FFMIN             539 libavfilter/af_atempo.c         zeros = FFMIN(start - frag->position[0], (int64_t)nsamples);
FFMIN             566 libavfilter/af_atempo.c     n0 = i0 < na ? FFMIN(na - i0, (int)(nsamples - zeros)) : 0;
FFMIN             664 libavfilter/af_atempo.c     i0 = FFMIN(i0, window);
FFMIN             666 libavfilter/af_atempo.c     i1 = FFMIN(window / 2 + delta_max - drift, window - window / 16);
FFMIN             780 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             348 libavfilter/af_channelmap.c            FFMIN(FF_ARRAY_ELEMS(buf->data), nch_out) * sizeof(buf->data[0]));
FFMIN             299 libavfilter/af_compand.c     frame = ff_get_audio_buffer(outlink, FFMIN(2048, s->delay_count));
FFMIN             463 libavfilter/af_compand.c         r = FFMIN(radius, len);
FFMIN             469 libavfilter/af_compand.c         r = FFMIN(radius, len / 2);
FFMIN             129 libavfilter/af_earwax.c     len = FFMIN(NUMTAPS, 2*insamples->nb_samples);
FFMIN             432 libavfilter/af_join.c         linesize = FFMIN(linesize, cur->linesize[0]);
FFMIN             459 libavfilter/af_join.c     for (i = 0; i < FFMIN(FF_ARRAY_ELEMS(frame->buf), nb_buffers); i++) {
FFMIN             484 libavfilter/af_join.c                FFMIN(FF_ARRAY_ELEMS(frame->data), s->nb_channels));
FFMIN             349 libavfilter/af_pan.c             cur += FFMIN(buf + sizeof(buf) - cur, r);
FFMIN             378 libavfilter/af_volume.c                 vol->volume = FFMIN(vol->volume, 1.0 / p);
FFMIN             242 libavfilter/asrc_flite.c     int nb_samples = FFMIN(flite->wave_nb_samples, flite->frame_nb_samples);
FFMIN             178 libavfilter/asrc_sine.c         nb_samples = FFMIN(nb_samples, sine->duration - sine->pts);
FFMIN             121 libavfilter/audio.c            FFMIN(FF_ARRAY_ELEMS(samples->data), planes)*sizeof(samples->data[0]));
FFMIN              87 libavfilter/avf_avectorscope.c         y = FFMIN(y, s->h - 1);
FFMIN              88 libavfilter/avf_avectorscope.c         x = FFMIN(x, s->w - 1);
FFMIN              92 libavfilter/avf_avectorscope.c     dst[0] = FFMIN(dst[0] + s->contrast[0], 255);
FFMIN              93 libavfilter/avf_avectorscope.c     dst[1] = FFMIN(dst[1] + s->contrast[1], 255);
FFMIN              94 libavfilter/avf_avectorscope.c     dst[2] = FFMIN(dst[2] + s->contrast[2], 255);
FFMIN             270 libavfilter/avf_concat.c         frame_nb_samples = FFMIN(frame_nb_samples, nb_samples);
FFMIN             588 libavfilter/avf_showcqt.c         result[x][0] = 255.0f * powf(FFMIN(1.0f,result[x][0]), g);
FFMIN             589 libavfilter/avf_showcqt.c         result[x][1] = 255.0f * powf(FFMIN(1.0f,result[x][1]), g);
FFMIN             590 libavfilter/avf_showcqt.c         result[x][2] = 255.0f * powf(FFMIN(1.0f,result[x][2]), g);
FFMIN             406 libavfilter/avf_showspectrum.c                     a = 1 - log(FFMAX(FFMIN(1, a), 1e-6)) / log(1e-6); // zero = -120dBFS
FFMIN             468 libavfilter/avf_showspectrum.c                 *p = rint(FFMAX(0, FFMIN(s->combine_buffer[3 * y + plane], 255)));
FFMIN             107 libavfilter/avfilter.c     idx = FFMIN(idx, *count);
FFMIN             386 libavfilter/avfilter.c         min = FFMIN(min, val);
FFMIN            1127 libavfilter/avfilter.c         nb_samples = FFMIN(insamples,
FFMIN             282 libavfilter/buffersrc.c         for (i = 0; i < FFMIN(planes, FF_ARRAY_ELEMS(frame->buf)); i++)
FFMIN             319 libavfilter/drawutils.c     *start = FFMIN(*start, *w);
FFMIN             273 libavfilter/f_select.c         ret  = av_clipf(FFMIN(mafd, diff) / 100., 0, 1);
FFMIN             349 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             208 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             568 libavfilter/src_movie.c             return FFMIN(ret, 0);
FFMIN             274 libavfilter/trim.c             start_sample = FFMIN(start_sample, s->start_sample - s->nb_samples);
FFMIN             280 libavfilter/trim.c             start_sample = FFMIN(start_sample, s->start_pts - pts);
FFMIN             322 libavfilter/trim.c     end_sample     = FFMIN(frame->nb_samples, end_sample);
FFMIN             124 libavfilter/vf_alphamerge.c                    FFMIN(main_linesize, alpha_linesize));
FFMIN             192 libavfilter/vf_blend.c #define DODGE(a, b)       (((a) == 255) ? (a) : FFMIN(255, (((b) << 8) / (255 - (a)))))
FFMIN             194 libavfilter/vf_blend.c DEFINE_BLEND(addition,   FFMIN(255, A + B))
FFMIN             204 libavfilter/vf_blend.c DEFINE_BLEND(darken,     FFMIN(A, B))
FFMIN             211 libavfilter/vf_blend.c DEFINE_BLEND(pinlight,   (B < 128) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 128)))
FFMIN             212 libavfilter/vf_blend.c DEFINE_BLEND(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 255)
FFMIN             293 libavfilter/vf_blend.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outh, ctx->graph->nb_threads));
FFMIN             186 libavfilter/vf_boxblur.c         2*s->comp##_param.radius > FFMIN(w_, h_)) {                     \
FFMIN             189 libavfilter/vf_boxblur.c                s->comp##_param.radius, FFMIN(w_, h_)/2);                \
FFMIN             145 libavfilter/vf_colorlevels.c                         imin = FFMIN(imin, src[x + offset]);
FFMIN             192 libavfilter/vf_colorlevels.c                         imin = FFMIN(imin, src[x + offset]);
FFMIN             345 libavfilter/vf_curves.c     for (i = 0; i < FFMIN(nb_curves, FF_ARRAY_ELEMS(comp_ids)); i++) {
FFMIN             534 libavfilter/vf_curves.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads));
FFMIN             622 libavfilter/vf_dctdnoiz.c     const int slice_end_ctx   = FFMIN(slice_end, h - s->bsize + 1);
FFMIN             113 libavfilter/vf_decimate.c         int m = FFMIN(width, x + hblockx);                  \
FFMIN             253 libavfilter/vf_delogo.c                      s->band>>FFMIN(hsub, vsub),
FFMIN             462 libavfilter/vf_deshake.c         deshake->cx = FFMIN(deshake->cx, link->w);
FFMIN             463 libavfilter/vf_deshake.c         deshake->cy = FFMIN(deshake->cy, link->h);
FFMIN            1180 libavfilter/vf_drawtext.c         y_min = FFMIN(glyph->bbox.yMin, y_min);
FFMIN            1182 libavfilter/vf_drawtext.c         x_min = FFMIN(glyph->bbox.xMin, x_min);
FFMIN            1241 libavfilter/vf_drawtext.c     box_w = FFMIN(width - 1 , max_text_line_w);
FFMIN            1242 libavfilter/vf_drawtext.c     box_h = FFMIN(height - 1, y + s->max_glyph_h);
FFMIN             329 libavfilter/vf_fade.c                                 FFMIN(frame->height, ctx->graph->nb_threads));
FFMIN             332 libavfilter/vf_fade.c                                    FFMIN(frame->height, ctx->graph->nb_threads));
FFMIN             336 libavfilter/vf_fade.c                                 FFMIN(frame->height, ctx->graph->nb_threads));
FFMIN             341 libavfilter/vf_fade.c                                     FFMIN(frame->height, ctx->graph->nb_threads));
FFMIN             449 libavfilter/vf_fieldmatch.c                                 for (u = FFMAX(x-4,0); u < FFMIN(x+5,width); u++) {
FFMIN             583 libavfilter/vf_fieldmatch.c         FFMAX(accumPml,accumNml) > 3*FFMIN(accumPml,accumNml)) {
FFMIN             592 libavfilter/vf_fieldmatch.c     c1 = ((float)FFMAX(norm1,norm2)) / ((float)FFMAX(FFMIN(norm1,norm2),1));
FFMIN             593 libavfilter/vf_fieldmatch.c     c2 = ((float)FFMAX(mtn1, mtn2))  / ((float)FFMAX(FFMIN(mtn1, mtn2), 1));
FFMIN             188 libavfilter/vf_fps.c                 first_pts = FFMIN(FFMAX(first_pts, INT64_MIN), INT64_MAX);
FFMIN             213 libavfilter/vf_gradfun.c         if (FFMIN(w, h) > 2 * r)
FFMIN             169 libavfilter/vf_hflip.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads));
FFMIN             181 libavfilter/vf_hqdn3d.c     gamma = log(0.25) / log(1.0 - FFMIN(dist25,252.0)/255.0 - 0.00001);
FFMIN             501 libavfilter/vf_hqx.c     ctx->internal->execute(ctx, hqx->func, &td, NULL, FFMIN(inlink->h, ctx->graph->nb_threads));
FFMIN             195 libavfilter/vf_lenscorrection.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ctx->graph->nb_threads));
FFMIN             105 libavfilter/vf_lut3d.c #define NEXT(x) (FFMIN((int)(x) + 1, lut3d->lutsize - 1))
FFMIN             532 libavfilter/vf_lut3d.c     ctx->internal->execute(ctx, lut3d->interp, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads));
FFMIN             726 libavfilter/vf_lut3d.c     lut3d->clut_width = w = h = FFMIN(inlink->w, inlink->h);
FFMIN             189 libavfilter/vf_mpdecimate.c         decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
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], ctx->graph->nb_threads));
FFMIN             398 libavfilter/vf_overlay.c         for (imax = FFMIN(-y + dst_h, src_h); i < imax; i++) {
FFMIN             403 libavfilter/vf_overlay.c             for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) {
FFMIN             456 libavfilter/vf_overlay.c             for (imax = FFMIN(-y + dst_h, src_h); i < imax; i++) {
FFMIN             461 libavfilter/vf_overlay.c                 for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) {
FFMIN             500 libavfilter/vf_overlay.c             for (jmax = FFMIN(-yp + dst_hp, src_hp); j < jmax; j++) {
FFMIN             506 libavfilter/vf_overlay.c                 for (kmax = FFMIN(-xp + dst_wp, src_wp); k < kmax; k++) {
FFMIN             335 libavfilter/vf_palettegen.c             min[0] = FFMIN(r, min[0]), max[0] = FFMAX(r, max[0]);
FFMIN             336 libavfilter/vf_palettegen.c             min[1] = FFMIN(g, min[1]), max[1] = FFMAX(g, max[1]);
FFMIN             337 libavfilter/vf_palettegen.c             min[2] = FFMIN(b, min[2]), max[2] = FFMAX(b, max[2]);
FFMIN             443 libavfilter/vf_perspective.c         ctx->internal->execute(ctx, s->perspective, &td, NULL, FFMIN(td.h, ctx->graph->nb_threads));
FFMIN             244 libavfilter/vf_pp7.c             int end = FFMIN(x + 8, width);
FFMIN             249 libavfilter/vf_pp7.c                 qp = qp_store[ (FFMIN(x, width - 1) >> qps) + (FFMIN(y, height - 1) >> qps) * qp_stride];
FFMIN             164 libavfilter/vf_psnr.c     s->min_mse = FFMIN(s->min_mse, mse);
FFMIN             272 libavfilter/vf_removelogo.c             dst_data[(y * dst_linesize) + x] = FFMIN(1, dst_data[(y * dst_linesize) + x]);
FFMIN             406 libavfilter/vf_removelogo.c     end_posx   = FFMIN(w - 1, x + mask_size);
FFMIN             407 libavfilter/vf_removelogo.c     end_posy   = FFMIN(h - 1, y + mask_size);
FFMIN             296 libavfilter/vf_rotate.c     int int_x1 = FFMIN(int_x+1, max_x);
FFMIN             297 libavfilter/vf_rotate.c     int int_y1 = FFMIN(int_y+1, max_y);
FFMIN             507 libavfilter/vf_rotate.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outh, ctx->graph->nb_threads));
FFMIN             315 libavfilter/vf_scale.c              w = FFMIN(tmp_w, w);
FFMIN             316 libavfilter/vf_scale.c              h = FFMIN(tmp_h, h);
FFMIN             161 libavfilter/vf_signalstats.c     s->nb_jobs   = FFMAX(1, FFMIN(inlink->h, ctx->graph->nb_threads));
FFMIN             411 libavfilter/vf_signalstats.c                            NULL, FFMIN(s->chromah, ctx->graph->nb_threads));
FFMIN             274 libavfilter/vf_spp.c                 qp = qp_table[(FFMIN(x, width - 1) >> qps) + (FFMIN(y, height - 1) >> qps) * qp_stride];
FFMIN             292 libavfilter/vf_spp.c                                FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count,
FFMIN             297 libavfilter/vf_spp.c                                 FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count,
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             253 libavfilter/vf_transpose.c     ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads));
FFMIN             367 libavfilter/vf_xbr.c     ctx->internal->execute(ctx, xbr->func, &td, NULL, FFMIN(inlink->h, ctx->graph->nb_threads));
FFMIN              72 libavfilter/vf_yadif.c             int max = FFMAX3(d - e, d - c, FFMIN(b - c, f - e)); \
FFMIN             243 libavfilter/vf_yadif.c         ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ctx->graph->nb_threads));
FFMIN             384 libavfilter/vsrc_life.c                 int death_age = FFMIN((0xff - v) * life->mold, 0xff);
FFMIN             327 libavfilter/vsrc_mandelbrot.c                     i-= FFMIN(7, i);
FFMIN             845 libavfilter/vsrc_testsrc.c     x = FFMIN(x, test->w - 1);
FFMIN             846 libavfilter/vsrc_testsrc.c     y = FFMIN(y, test->h - 1);
FFMIN             847 libavfilter/vsrc_testsrc.c     w = FFMIN(w, test->w - x);
FFMIN             848 libavfilter/vsrc_testsrc.c     h = FFMIN(h, test->h - y);
FFMIN              59 libavformat/aacdec.c             fsize = FFMIN(fsize, end - buf2);
FFMIN              62 libavformat/afc.c     size = FFMIN(c->data_end - avio_tell(s->pb), 18 * 128);
FFMIN             359 libavformat/aiffdec.c     size = FFMIN(max_size, size);
FFMIN             383 libavformat/asfdec.c             FFABS(fsize - (int64_t)asf->hdr.file_size) / (float)FFMIN(fsize, asf->hdr.file_size) < 0.05)
FFMIN             489 libavformat/asfdec.c             for (i = 0; i < FFMIN(st->codec->extradata_size, AVPALETTE_SIZE) / 4; i++)
FFMIN             493 libavformat/asfdec.c                    FFMIN(st->codec->extradata_size, AVPALETTE_SIZE));
FFMIN              84 libavformat/audiointerleave.c     int size = FFMIN(av_fifo_size(aic->fifo), *aic->samples * aic->sample_size);
FFMIN             126 libavformat/avc.c                 size = FFMIN(AV_RB32(buf), end - buf - 4);
FFMIN             293 libavformat/avidec.c             av_add_index_entry(st, pos + j, ts + j, FFMIN(max, size - j), 0,
FFMIN             358 libavformat/avidec.c                 size = FFMIN(size, tag_end - avio_tell(s->pb));
FFMIN             360 libavformat/avidec.c                                   FFMIN(size, sizeof(buffer) - 1));
FFMIN             531 libavformat/avidec.c             size -= avio_read(pb, date, FFMIN(size, sizeof(date) - 1));
FFMIN             711 libavformat/avidec.c                     size = FFMIN(size, list_end - cur_pos);
FFMIN             759 libavformat/avidec.c                         pal_size = FFMIN(pal_size, st->codec->extradata_size);
FFMIN             881 libavformat/avidec.c                     size = FFMIN(size, list_end - cur_pos);
FFMIN            1451 libavformat/avidec.c                         for (i=0; i<FFMIN(size,256); i++) {
FFMIN            1610 libavformat/avidec.c                 min_dts = FFMIN(min_dts, dts);
FFMIN            1611 libavformat/avidec.c                 min_pos = FFMIN(min_pos, st->index_entries[idx[i]].pos);
FFMIN            1821 libavformat/avidec.c         pos_min = FFMIN(pos_min,ast2->seek_pos);
FFMIN             230 libavformat/avio.c                    FFMIN(proto_len + 1, sizeof(proto_str)));
FFMIN             166 libavformat/aviobuf.c         int len = FFMIN(s->buf_end - s->buf_ptr, count);
FFMIN             185 libavformat/aviobuf.c         int len = FFMIN(s->buf_end - s->buf_ptr, size);
FFMIN             247 libavformat/aviobuf.c         pos -= FFMIN(buffer_size>>1, pos);
FFMIN             711 libavformat/aviobuf.c     buflen = FFMIN(buflen - 1, maxlen);
FFMIN             989 libavformat/aviobuf.c         ret = avio_read(h, buf, FFMIN(max_size, sizeof(buf)));
FFMIN             179 libavformat/cache.c                 r = read(c->fd, buf, FFMIN(size, entry->size - in_block_pos));
FFMIN             263 libavformat/cache.c                     size = FFMIN(sizeof(tmp), pos - c->logical_pos);
FFMIN             358 libavformat/cafdec.c         pkt_size   = FFMIN(pkt_size, left);
FFMIN             402 libavformat/cafdec.c             pos = FFMIN(pos, caf->data_size);
FFMIN             181 libavformat/crypto.c         size = FFMIN(size, c->outdata);
FFMIN             321 libavformat/dashenc.c             int num_copy_bytes = FFMIN(t_next - t_cur, buffer_size - dst_pos - 1);
FFMIN             365 libavformat/dashenc.c         dst_pos += FFMIN(n, buffer_size - dst_pos - 1);
FFMIN             106 libavformat/data_uri.c     size = FFMIN(size, dc->size - dc->pos);
FFMIN             148 libavformat/dsfdec.c     return av_get_packet(pb, pkt, FFMIN(dsf->data_end - pos, st->codec->block_align));
FFMIN              39 libavformat/dtsdec.c     buf = p->buf + FFMIN(4096, p->buf_size);
FFMIN             116 libavformat/dtshddec.c     size = FFMIN(left, 1024);
FFMIN             143 libavformat/dump.c                     av_strlcpy(tmp, p, FFMIN(sizeof(tmp), len+1));
FFMIN              55 libavformat/dvbsub.c                 min = FFMIN(min, histogram[k]);
FFMIN             163 libavformat/dxa.c         size = FFMIN(c->bytes_left, c->bpc);
FFMIN             123 libavformat/ffmdec.c                         int64_t seekback = FFMIN(ffm->packet_size * 2LL, avio_tell(pb) - last_pos);
FFMIN             159 libavformat/ffmdec.c     pos = FFMIN(pos1, ffm->file_size - FFM_PACKET_SIZE);
FFMIN              85 libavformat/file.c     size = FFMIN(size, c->blocksize);
FFMIN              94 libavformat/file.c     size = FFMIN(size, c->blocksize);
FFMIN              57 libavformat/flac_picture.c         avio_read(pb, mimetype, FFMIN(len, sizeof(mimetype) - 1)) != len) {
FFMIN             216 libavformat/format.c         score_max = FFMIN(AVPROBE_SCORE_EXTENSION / 2 - 1, score_max);
FFMIN             275 libavformat/format.c          probe_size = FFMIN(probe_size << 1,
FFMIN             661 libavformat/ftp.c     fake_pos = s->filesize != -1 ? FFMIN(new_pos, s->filesize) : new_pos;
FFMIN             339 libavformat/hevc.c         hvcc->min_spatial_segmentation_idc = FFMIN(hvcc->min_spatial_segmentation_idc,
FFMIN             402 libavformat/hevc.c                 num_coeffs = FFMIN(64, 1 << (4 + (i << 1)));
FFMIN             561 libavformat/hevc.c             int len = FFMIN(log2_max_pic_order_cnt_lsb_minus4 + 4, 16);
FFMIN            1037 libavformat/hevc.c         uint32_t len = FFMIN(AV_RB32(buf), end - buf - 4);
FFMIN            1112 libavformat/hevc.c         uint32_t len = FFMIN(AV_RB32(buf), end - buf - 4);
FFMIN             695 libavformat/hls.c         buf_size = FFMIN(buf_size, seg->size - pls->cur_seg_offset);
FFMIN             843 libavformat/hls.c             int tag_got_bytes = FFMIN(taglen, *len);
FFMIN             981 libavformat/http.c         size = FFMIN(size, s->chunksize);
FFMIN            1064 libavformat/http.c     return FFMIN(size, remaining);
FFMIN             225 libavformat/iff.c             int ret = get_metadata(s, metadata_tag, FFMIN(tag_size, size - 4));
FFMIN             722 libavformat/iff.c             ret = av_get_packet(pb, pkt, FFMIN(iff->body_end - pos, 1024 * st->codec->block_align));
FFMIN              50 libavformat/loasdec.c             fsize = FFMIN(fsize, end - buf2);
FFMIN             904 libavformat/matroskadec.c     return ebml_read_num(matroska, &pb, FFMIN(size, 8), num);
FFMIN            1775 libavformat/matroskadec.c             extradata_offset = FFMIN(track->codec_priv.size, 18);
FFMIN             362 libavformat/mlvdec.c         avio_seek(pb, FFMIN(vst->index_entries[0].pos, ast->index_entries[0].pos), SEEK_SET);
FFMIN             288 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             493 libavformat/mov.c             volume_len = FFMIN(volume_len, 27);
FFMIN             501 libavformat/mov.c             len = FFMIN(len, 63);
FFMIN            2566 libavformat/mov.c                         samples = FFMIN((1024 / sc->samples_per_frame)*
FFMIN            2570 libavformat/mov.c                         samples = FFMIN(1024, chunk_samples);
FFMIN            3440 libavformat/mov.c     ret = avio_read(pb, content, FFMIN(sizeof(content), atom.size));
FFMIN            3587 libavformat/mov.c         a.size = FFMIN(a.size, atom.size - total_size);
FFMIN            4230 libavformat/mov.c         sample->pos = FFMIN(sample->pos, mov->next_root_atom);
FFMIN            4231 libavformat/mov.c         sample->size = FFMIN(sample->size, (mov->next_root_atom - sample->pos));
FFMIN            2463 libavformat/movenc.c         start_ct  = -FFMIN(start_dts, 0);
FFMIN            3009 libavformat/movenc.c     int i, nb_chapters = FFMIN(s->nb_chapters, 255);
FFMIN            3023 libavformat/movenc.c             int len = FFMIN(strlen(t->value), 255);
FFMIN            3236 libavformat/movenc.c     len = FFMIN(sizeof(buf) / 2 - 1, len);
FFMIN            3883 libavformat/movenc.c     int video_kbitrate = FFMIN(video_codec->bit_rate / 1000, 800 - audio_kbitrate);
FFMIN             163 libavformat/mp3dec.c         min = FFMIN(fsize, mp3->header_filesize);
FFMIN             379 libavformat/mp3dec.c         size= FFMIN(size, mp3->filesize - pos);
FFMIN             238 libavformat/mp3enc.c             memcpy(encoder_str, enc->value, FFMIN(strlen(enc->value), sizeof(encoder_str)));
FFMIN             396 libavformat/mp3enc.c         toc[i] = FFMIN(seek_point, 255);
FFMIN             876 libavformat/mpegts.c     int buf_padded_size = FFMIN(buf_size, sizeof(buf_padded) - FF_INPUT_BUFFER_PADDING_SIZE);
FFMIN            2312 libavformat/mpegts.c             avio_seek(pb, -FFMIN(raw_packet_size, pos), SEEK_CUR);
FFMIN            2398 libavformat/mpegts.c         int left = FFMIN(check_count - i, CHECK_BLOCK);
FFMIN            1818 libavformat/mxfdec.c             source_track->original_duration = st->duration = FFMIN(descriptor->duration, component->duration);
FFMIN            2534 libavformat/mxfdec.c     max_rip_length = FFMIN(max_rip_length, INT_MAX); //2 GiB and up is also silly
FFMIN            2919 libavformat/mxfdec.c     edit_units = FFMIN(mxf->edit_units_per_packet, st->duration - mxf->current_edit_unit);
FFMIN            3059 libavformat/mxfdec.c             sample_time = FFMIN(sample_time, source_track->original_duration - 1);
FFMIN             606 libavformat/nsvdec.c         for (i = 0; i < FFMIN(8, vsize); i++)
FFMIN              46 libavformat/nutdec.c         avio_read(bc, string, FFMIN(len, maxlen));
FFMIN              53 libavformat/nutdec.c         string[FFMIN(len, maxlen - 1)] = 0;
FFMIN            1014 libavformat/nutenc.c                 sp_pos = FFMIN(sp_pos, st->index_entries[index].pos);
FFMIN             542 libavformat/oggdec.c                     s->internal->data_offset = FFMIN(s->internal->data_offset, cur_os->sync_pos);
FFMIN             244 libavformat/oggenc.c         segments = FFMIN(total_segments - i, 255 - page->segments_count);
FFMIN             252 libavformat/oggenc.c         len = FFMIN(size, segments*255);
FFMIN              79 libavformat/oggparseogm.c         size        = FFMIN(size, os->psize);
FFMIN             162 libavformat/oggparseopus.c         skip = FFMIN(skip, os->pduration);
FFMIN              84 libavformat/omadec.c     len = FFMIN(len, 16);
FFMIN             100 libavformat/omadec.c     len = FFMIN(len, 16);
FFMIN             204 libavformat/pva.c     pos_limit = FFMIN(*pos+PVA_MAX_PAYLOAD_LENGTH*8, (uint64_t)*pos+pos_limit);
FFMIN             124 libavformat/qcp.c     nb_rates = FFMIN(nb_rates, 8);
FFMIN             194 libavformat/rawdec.c         for (i=0; i<FFMIN(p->buf_size - sizeof(ct_jpeg), 100); i++)
FFMIN             128 libavformat/riffdec.c         cbSize = FFMIN(size, cbSize);
FFMIN             775 libavformat/rmdec.c         len = FFMIN(len, pos);
FFMIN             119 libavformat/rtmppkt.c     *length = FFMIN(stringlen, readsize);
FFMIN             268 libavformat/rtmppkt.c     toread = FFMIN(size, chunk_size);
FFMIN             381 libavformat/rtmppkt.c         int towrite = FFMIN(chunk_size, pkt->size - off);
FFMIN             503 libavformat/rtmppkt.c                 av_strlcpy(dst, data, FFMIN(len+1, dst_size));
FFMIN             563 libavformat/rtmppkt.c         size = FFMIN(size, sizeof(buf) - 1);
FFMIN             581 libavformat/rtmppkt.c                 size = FFMIN(size, sizeof(buf) - 1);
FFMIN            2703 libavformat/rtmpproto.c         av_strlcpy(rt->app, path + 1, FFMIN(qmark - path, APP_MAX_LENGTH));
FFMIN            2708 libavformat/rtmpproto.c             av_strlcpy(fname_buffer, fname, FFMIN(amp - fname + 1,
FFMIN            2733 libavformat/rtmpproto.c                 av_strlcpy(rt->app, path + 1, FFMIN(p - path, APP_MAX_LENGTH));
FFMIN            2736 libavformat/rtmpproto.c                 av_strlcpy(rt->app, path + 1, FFMIN(fname - path - 1, APP_MAX_LENGTH));
FFMIN            2964 libavformat/rtmpproto.c             int skip = FFMIN(rt->skip_bytes, size_temp);
FFMIN            2975 libavformat/rtmpproto.c             copy = FFMIN(RTMP_HEADER - rt->flv_header_bytes, size_temp);
FFMIN            3013 libavformat/rtmpproto.c         copy = FFMIN(rt->flv_size - rt->flv_off, size_temp);
FFMIN             148 libavformat/rtpdec.c         payload_len = FFMIN(len, (AV_RB16(buf + 2) + 1) * 4);
FFMIN             316 libavformat/rtpdec.c     lost                  = FFMIN(lost, 0xffffff); // clamp it since it's only 24 bits...
FFMIN             251 libavformat/rtpdec_asf.c                 if (FFMIN(cur_len, len - off) < 0)
FFMIN             256 libavformat/rtpdec_asf.c                        FFMIN(cur_len, len - off));
FFMIN             263 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             174 libavformat/rtpdec_qdm2.c     to_copy = FFMIN(len + (p - &buf[1]), 0x800 - qdm->len[id]);
FFMIN             219 libavformat/rtpdec_qdm2.c     to_copy = FFMIN(qdm->len[n], pkt->size - (p - pkt->data));
FFMIN             141 libavformat/rtpenc.c             s1->packet_size = FFMIN(s1->packet_size,
FFMIN             280 libavformat/rtpenc.c         int len = FFMIN(strlen(s->cname), 255);
FFMIN             344 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             111 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              44 libavformat/rtpenc_vp8.c         len = FFMIN(size, max_packet_size);
FFMIN             177 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            1055 libavformat/sbgdec.c         ts4 = FFMIN(ts2, ts1 + cpoints[i][0] * dt);
FFMIN            1288 libavformat/sbgdec.c             ev2->ts_int   = FFMIN(ev2->ts_trans, ev2->ts_int   + trans_time);
FFMIN            1451 libavformat/sbgdec.c         end_ts = FFMIN(avf->streams[0]->start_time + avf->streams[0]->duration,
FFMIN             248 libavformat/smoothstreamingenc.c         video_chunks = FFMIN(video_chunks, c->window_size);
FFMIN             249 libavformat/smoothstreamingenc.c         audio_chunks = FFMIN(audio_chunks, c->window_size);
FFMIN             497 libavformat/smoothstreamingenc.c         int n = FFMIN(size, sizeof(buf));
FFMIN             115 libavformat/spdifdec.c     const uint8_t *probe_end = p_buf + FFMIN(2 * SPDIF_MAX_OFFSET, buf_size - 1);
FFMIN             139 libavformat/spdifdec.c             probe_end = FFMIN(buf + SPDIF_MAX_OFFSET, p_buf + buf_size - 1);
FFMIN              86 libavformat/srtpproto.c     h->max_packet_size = FFMIN(s->rtp_hd->max_packet_size,
FFMIN             105 libavformat/subfile.c     size = FFMIN(size, rest);
FFMIN             185 libavformat/takdec.c         size = FFMIN(left, 1024);
FFMIN             216 libavformat/utils.c                 read_size = FFMIN(read_size, SANE_CHUNK_SIZE);
FFMIN            1411 libavformat/utils.c                 discard_padding = FFMIN(end_sample - st->first_discard_sample, duration);
FFMIN            2261 libavformat/utils.c                 start_time = FFMIN(start_time, start_time1);
FFMIN            3522 libavformat/utils.c         multiframe = FFMIN(5, count);
FFMIN            3890 libavformat/utils.c         av_strlcpy(proto, url, FFMIN(proto_size, p + 1 - url));
FFMIN            3908 libavformat/utils.c         ls = FFMIN(ls, ls2);
FFMIN            3920 libavformat/utils.c                        FFMIN(authorization_size, at + 1 - at2));
FFMIN            3927 libavformat/utils.c                        FFMIN(hostname_size, brk - p));
FFMIN            3932 libavformat/utils.c                        FFMIN(col + 1 - p, hostname_size));
FFMIN            3937 libavformat/utils.c                        FFMIN(ls + 1 - p, hostname_size));
FFMIN             166 libavformat/vocdec.c     size = FFMIN(voc->remaining_size, max_size);
FFMIN              55 libavformat/vqf.c     int len = FFMIN(tag_len, remaining);
FFMIN             156 libavformat/vqf.c             avio_skip(s->pb, FFMIN(len, header_size));
FFMIN             122 libavformat/wavdec.c         st->probe_packets = FFMIN(st->probe_packets, 14);
FFMIN             568 libavformat/wavdec.c     size = FFMIN(size, left);
FFMIN              99 libavformat/wavenc.c         len = FFMIN(len, maxlen);
FFMIN             392 libavformat/wavenc.c                 wav->peak_maxneg[c] = FFMIN(wav->peak_maxneg[c], *(int8_t*)(pkt->data + i));
FFMIN             395 libavformat/wavenc.c                 wav->peak_maxneg[c] = FFMIN(wav->peak_maxneg[c], (int16_t)AV_RL16(pkt->data + i));
FFMIN             408 libavformat/wavenc.c         wav->minpts        = FFMIN(wav->minpts, pkt->pts);
FFMIN              83 libavformat/wtvdec.c     buf_size = FFMIN(buf_size, wf->length - wf->position);
FFMIN              87 libavformat/wtvdec.c         int read_request        = FFMIN(buf_size - nread, remaining_in_sector);
FFMIN             858 libavformat/wtvdec.c                 buf_size = FFMIN(len - consumed, sizeof(buf));
FFMIN             446 libavformat/xmv.c         data_size = FFMIN(audio->frame_size, audio->data_size);
FFMIN             270 libavformat/xwma.c     size = FFMIN(size, left);
FFMIN             206 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             335 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             145 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              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             202 libavutil/buffer.c         memcpy(new->data, buf->data, FFMIN(size, buf->size));
FFMIN              67 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             155 libavutil/fifo.c         int len = FFMIN(f->end - f->rptr, buf_size);
FFMIN             245 libavutil/frame.c     for (i = 0; i < FFMIN(planes, AV_NUM_DATA_POINTERS); i++) {
FFMIN             206 libavutil/hash.c     memcpy(dst, buf, FFMIN(size, rsize));
FFMIN             217 libavutil/hash.c     for (i = 0; i < FFMIN(rsize, size / 2); i++)
FFMIN             229 libavutil/hash.c     memcpy(dst, b64, FFMIN(osize, size));
FFMIN             157 libavutil/md5.c         int cnt = FFMIN(len, 64 - j);
FFMIN             327 libavutil/opt.c     max = FFMIN(o->max, fmt_nb-1);
FFMIN             591 libavutil/opt.c     max = FFMIN(o->max, nb_fmts-1);
FFMIN             359 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             238 libavutil/pca.c                 v[j] += pca->covariance[FFMIN(k,j) + FFMAX(k,j)*LEN] * eigenvector[i + k*LEN];
FFMIN            2186 libavutil/pixdesc.c         *min = FFMIN(desc->comp[i].depth_minus1+1, *min);
FFMIN            2220 libavutil/pixdesc.c         nb_components = FFMIN(src_desc->nb_components, 4);
FFMIN            2222 libavutil/pixdesc.c         nb_components = FFMIN(src_desc->nb_components, dst_desc->nb_components);
FFMIN            2276 libavutil/pixdesc.c         score -= (nb_components * 65536) >> FFMIN(dst_desc->comp[0].depth_minus1, src_desc->comp[0].depth_minus1);
FFMIN             105 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             311 libpostproc/postprocess.c             int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) );
FFMIN             320 libpostproc/postprocess.c                 d = FFMIN(d, q);
FFMIN             324 libpostproc/postprocess.c                 d = FFMIN(d, 0);
FFMIN             519 libpostproc/postprocess.c                 int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) );
FFMIN             527 libpostproc/postprocess.c                     d = FFMIN(d, q);
FFMIN             529 libpostproc/postprocess.c                     d = FFMIN(d, 0);
FFMIN             696 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            3466 libpostproc/postprocess_template.c             linecpy(tempDst, dstBlock - dstStride, FFMIN(height-y+1, copyAhead+1), dstStride);
FFMIN              15 libswresample/dither_template.c #    define CLIP(v) v = FFMAX(FFMIN(v, INT32_MAX), INT32_MIN)
FFMIN              20 libswresample/dither_template.c #    define CLIP(v) v = FFMAX(FFMIN(v, INT16_MAX), INT16_MIN)
FFMIN             158 libswresample/resample.c             minff= FFMIN(minff, ff);
FFMIN             160 libswresample/resample.c             minsf= FFMIN(minsf, sf);
FFMIN             179 libswresample/resample.c     double factor= FFMIN(out_rate * cutoff / in_rate, 1.0);
FFMIN             281 libswresample/resample.c         dst_size= FFMIN(dst_size, new_size);
FFMIN             297 libswresample/resample.c         dst_size = FFMIN(dst_size, delta_n);
FFMIN             316 libswresample/resample.c         dst_size = FFMIN(dst_size, c->compensation_distance);
FFMIN             317 libswresample/resample.c     src_size = FFMIN(src_size, max_src_size);
FFMIN             368 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             567 libswresample/swresample.c             out_count= FFMIN(out_count, in_count); //TODO check at the end if this is needed or redundant
FFMIN             664 libswresample/swresample.c         if((ret=swri_realloc_audio(&s->drop_temp, FFMIN(s->drop_output, MAX_DROP_STEP)))<0)
FFMIN             669 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             706 libswresample/swresample.c         size = FFMIN(out_count, s->in_buffer_count);
FFMIN             736 libswresample/swresample.c                 size = FFMIN(in_count, out_count);
FFMIN             227 libswscale/ppc/swscale_altivec.c             dst[i] = FFMIN(val >> 7, (1 << 15) - 1);
FFMIN             246 libswscale/ppc/swscale_altivec.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN             264 libswscale/ppc/swscale_altivec.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN             286 libswscale/ppc/swscale_altivec.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN             330 libswscale/ppc/swscale_altivec.c                 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1);
FFMIN              89 libswscale/swscale.c         dst[i] = FFMIN(val >> sh, (1 << 19) - 1);
FFMIN             114 libswscale/swscale.c         dst[i] = FFMIN(val >> sh, (1 << 15) - 1);
FFMIN             131 libswscale/swscale.c         dst[i] = FFMIN(val >> 7, (1 << 15) - 1); // the cubic equation does overflow ...
FFMIN             148 libswscale/swscale.c         dst[i] = FFMIN(val >> 3, (1 << 19) - 1); // the cubic equation does overflow ...
FFMIN             158 libswscale/swscale.c         dstU[i] = (FFMIN(dstU[i], 30775) * 4663 - 9289992) >> 12; // -264
FFMIN             159 libswscale/swscale.c         dstV[i] = (FFMIN(dstV[i], 30775) * 4663 - 9289992) >> 12; // -264
FFMIN             176 libswscale/swscale.c         dst[i] = (FFMIN(dst[i], 30189) * 19077 - 39057361) >> 14;
FFMIN             192 libswscale/swscale.c         dstU[i] = (FFMIN(dstU[i], 30775 << 4) * 4663 - (9289992 << 4)) >> 12; // -264
FFMIN             193 libswscale/swscale.c         dstV[i] = (FFMIN(dstV[i], 30775 << 4) * 4663 - (9289992 << 4)) >> 12; // -264
FFMIN             213 libswscale/swscale.c         dst[i] = ((int)(FFMIN(dst[i], 30189 << 4) * 4769U - (39057361 << 2))) >> 12;
FFMIN             436 libswscale/swscale.c         const int firstLumSrcY2 = FFMAX(1 - vLumFilterSize, vLumFilterPos[FFMIN(dstY | ((1 << c->chrDstVSubSample) - 1), dstH - 1)]);
FFMIN             441 libswscale/swscale.c         int lastLumSrcY  = FFMIN(c->srcH,    firstLumSrcY  + vLumFilterSize) - 1;
FFMIN             442 libswscale/swscale.c         int lastLumSrcY2 = FFMIN(c->srcH,    firstLumSrcY2 + vLumFilterSize) - 1;
FFMIN             443 libswscale/swscale.c         int lastChrSrcY  = FFMIN(c->chrSrcH, firstChrSrcY  + vChrFilterSize) - 1;
FFMIN             352 libswscale/swscale_unscaled.c         int min_stride         = FFMIN(FFABS(srcstr), FFABS(dststr));
FFMIN             299 libswscale/utils.c     const int64_t fone = 1LL << (54 - FFMIN(av_log2(srcW/dstW), 8));
FFMIN             375 libswscale/utils.c         filterSize = FFMIN(filterSize, srcW - 2);
FFMIN             614 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             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             135 tests/tiny_ssim.c             ssim += ssim_end4( sum0+x, sum1+x, FFMIN(4,width-x-1) );
FFMIN             122 tools/ismindex.c         int len = FFMIN(sizeof(buf), size);