FFMIN 884 ffmpeg.c nb_frames= FFMIN(nb_frames, max_frames[CODEC_TYPE_VIDEO] - ost->frame_number); FFMIN 1735 ffplay.c enc->request_channels = FFMIN(2, enc->channels); FFMIN 540 libavcodec/aac.c for (sfb = 0; sfb < FFMIN(ics->max_sfb, ff_aac_pred_sfb_max[ac->m4ac.sampling_index]); sfb++) { FFMIN 1372 libavcodec/aac.c const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb); FFMIN 1389 libavcodec/aac.c start = ics->swb_offset[FFMIN(bottom, mmm)]; FFMIN 1390 libavcodec/aac.c end = ics->swb_offset[FFMIN( top, mmm)]; FFMIN 1402 libavcodec/aac.c for (i = 1; i <= FFMIN(m, order); i++) FFMIN 64 libavcodec/aac_ac3_parser.c s->remaining_size -= FFMIN(s->remaining_size, buf_size); FFMIN 331 libavcodec/aacenc.c put_bits(&s->pb, 4, FFMIN(namelen, 15)); FFMIN 71 libavcodec/ac3.c end1 = FFMIN(band_start_tab[k+1], end); FFMIN 74 libavcodec/ac3.c int adr = FFMIN(FFABS(v - psd[j]) >> 1, 255); FFMIN 196 libavcodec/ac3.c end1 = FFMIN(band_start_tab[j] + ff_ac3_critical_band_size_tab[j], end); FFMIN 614 libavcodec/ac3dec.c end = FFMIN(s->end_freq[1], s->end_freq[2]); FFMIN 618 libavcodec/ac3dec.c bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd+1]); FFMIN 1233 libavcodec/ac3dec.c memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE)); FFMIN 342 libavcodec/ac3enc.c exp1[i] = FFMIN(exp1[i], exp1[i-1] + 2); FFMIN 344 libavcodec/ac3enc.c exp1[i] = FFMIN(exp1[i], exp1[i+1] + 2); FFMIN 213 libavcodec/adpcm.c int nibble = FFMIN(7, abs(delta)*4/step_table[c->step_index]) + (delta<0)*8; FFMIN 255 libavcodec/adpcm.c nibble = FFMIN(7, abs(delta)*4/c->step) + (delta<0)*8; FFMIN 94 libavcodec/alacenc.c k = FFMIN(k, s->rc.k_modifier); FFMIN 864 libavcodec/apedec.c blockstodecode = FFMIN(BLOCKS_PER_LOOP, nblocks); FFMIN 462 libavcodec/atrac3.c coded_values = FFMIN(max_coded_values,coded_values); FFMIN 209 libavcodec/cavsdec.c predpred = FFMIN(nA,nB); FFMIN 569 libavcodec/dnxhdenc.c last_lower = FFMIN(lambda, last_lower); FFMIN 626 libavcodec/dnxhdenc.c last_lower = FFMIN(qscale, last_lower); FFMIN 166 libavcodec/dsicinav.c sz = FFMIN(sz, dst_end - dst); FFMIN 186 libavcodec/dsicinav.c memset(dst, *src++, FFMIN(len, dst_end - dst)); FFMIN 189 libavcodec/dsicinav.c memcpy(dst, src, FFMIN(len, dst_end - dst)); FFMIN 321 libavcodec/dsicinav.c buf_size = FFMIN(buf_size, *data_size/2); FFMIN 502 libavcodec/dsputil.c end_y= FFMIN(block_h, h-src_y); FFMIN 503 libavcodec/dsputil.c end_x= FFMIN(block_w, w-src_x); FFMIN 102 libavcodec/dvdsubdec.c len = FFMIN(len, w - x); FFMIN 114 libavcodec/eatgv.c run = FFMIN(size1, dst_end-dst); FFMIN 124 libavcodec/eatgv.c run = FFMIN(size2, dst_end-dst); FFMIN 172 libavcodec/elbg.c min[i]=FFMIN(min[i], elbg->points[tempcell->index*elbg->dim + i]); FFMIN 454 libavcodec/error_resilience.c min_x= FFMIN(min_x, mv_predictor[j][0]); FFMIN 455 libavcodec/error_resilience.c min_y= FFMIN(min_y, mv_predictor[j][1]); FFMIN 489 libavcodec/ffv1.c encode_line(s, w, sample[p], FFMIN(p, 1), 9); FFMIN 815 libavcodec/ffv1.c decode_line(s, w, sample[p], FFMIN(p, 1), 9); FFMIN 608 libavcodec/flacdec.c buf_size= FFMIN(buf_size, s->max_framesize - FFMIN(s->bitstream_size, s->max_framesize)); FFMIN 463 libavcodec/flacenc.c return FFMIN(k, MAX_RICE_PARAM); FFMIN 554 libavcodec/flacenc.c int porder = FFMIN(max_porder, av_log2(n^(n-1))); FFMIN 556 libavcodec/flacenc.c porder = FFMIN(porder, av_log2(n/order)); FFMIN 113 libavcodec/golomb.h LAST_SKIP_BITS(re, gb, FFMIN(ff_interleaved_golomb_vlc_len[buf], 8)); FFMIN 2287 libavcodec/h263.c time= FFMIN(time, s->reordered_input_picture[1]->pts); FFMIN 5394 libavcodec/h263.c min_ab= FFMIN(alpha, beta); FFMIN 642 libavcodec/h264.c const int min= FFMIN(left, top); FFMIN 3560 libavcodec/h264.c cur->poc= FFMIN(cur->field_poc[0], cur->field_poc[1]); FFMIN 3733 libavcodec/h264.c s->width = 16*s->mb_width - 2*FFMIN(h->sps.crop_right, 7); FFMIN 3735 libavcodec/h264.c s->height= 16*s->mb_height - 2*FFMIN(h->sps.crop_bottom, 7); FFMIN 3737 libavcodec/h264.c s->height= 16*s->mb_height - 4*FFMIN(h->sps.crop_bottom, 3); FFMIN 198 libavcodec/huffyuv.c for(i=0; i<FFMIN(w,4); i++){ FFMIN 672 libavcodec/huffyuv.c int d= FFMIN(j, 256-j); FFMIN 693 libavcodec/huffyuv.c int d= FFMIN(j, 256-j); FFMIN 1031 libavcodec/indeo3.c FFMIN(image_width, 160)); FFMIN 1045 libavcodec/indeo3.c FFMIN(chroma_width, 40)); FFMIN 1056 libavcodec/indeo3.c FFMIN(chroma_width, 40)); FFMIN 382 libavcodec/intrax8.c w->est_run = FFMIN(b,a); FFMIN 386 libavcodec/intrax8.c if( (s->mb_x & s->mb_y) != 0 ) w->est_run=FFMIN(c,w->est_run); FFMIN 94 libavcodec/intrax8dsp.c min_pix=FFMIN(min_pix,c); FFMIN 107 libavcodec/intrax8dsp.c min_pix=FFMIN(min_pix, c); FFMIN 210 libavcodec/intrax8dsp.c dst[x]=src[area4 + FFMIN(2*y+x+2, 15) ]; FFMIN 298 libavcodec/intrax8dsp.c dst[x]=src[area2+6-FFMIN(x+y,6)]; FFMIN 357 libavcodec/intrax8dsp.c min=FFMIN(min,p3); max=FFMAX(max,p3); FFMIN 358 libavcodec/intrax8dsp.c min=FFMIN(min,p5); max=FFMAX(max,p5); FFMIN 359 libavcodec/intrax8dsp.c min=FFMIN(min,p8); max=FFMAX(max,p8); FFMIN 361 libavcodec/intrax8dsp.c min=FFMIN(min,p2); max=FFMAX(max,p2); FFMIN 362 libavcodec/intrax8dsp.c min=FFMIN(min,p4); max=FFMAX(max,p4); FFMIN 363 libavcodec/intrax8dsp.c min=FFMIN(min,p6); max=FFMAX(max,p6); FFMIN 364 libavcodec/intrax8dsp.c min=FFMIN(min,p7); max=FFMAX(max,p7); FFMIN 384 libavcodec/intrax8dsp.c x=FFABS(x0) - FFMIN( FFABS(x1), FFABS(x2) ); FFMIN 68 libavcodec/jpegls.c factor= (FFMIN(s->maxval, 4095) + 128)>>8; FFMIN 100 libavcodec/jpegls.h state->B[Q]= FFMIN(state->B[Q] - state->N[Q], 0); FFMIN 46 libavcodec/lsp.c lsfq[lp_order-1] = FFMIN(lsfq[lp_order-1], lsfq_max);//Is warning required ? FFMIN 208 libavcodec/mace.c chd->factor = FFMIN(chd->factor + 506, 32767); FFMIN 106 libavcodec/mjpegbdec.c 8 * FFMIN(field_size, buf_end - buf_ptr - sos_offs)); FFMIN 553 libavcodec/mjpegdec.c int last = FFMIN(se, *last_nnz); FFMIN 1000 libavcodec/mlpdec.c shorten_by = FFMIN(shorten_by, s->blockpos); FFMIN 237 libavcodec/motion_est.c int cache_size= FFMIN(ME_MAP_SIZE>>ME_MAP_SHIFT, 1<<ME_MAP_SHIFT); FFMIN 240 libavcodec/motion_est.c if(FFMIN(s->avctx->dia_size, s->avctx->pre_dia_size) < -ME_MAP_SIZE){ FFMIN 516 libavcodec/motion_est.c c->xmax = FFMIN(c->xmax, range); FFMIN 518 libavcodec/motion_est.c c->ymax = FFMIN(c->ymax, range); FFMIN 990 libavcodec/motion_est.c int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); FFMIN 1064 libavcodec/motion_est.c int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); FFMIN 1084 libavcodec/motion_est.c int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); FFMIN 1191 libavcodec/motion_est.c int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); FFMIN 1526 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 1529 libavcodec/motion_est.c xmax= FFMIN(xmax, s->width - max); FFMIN 1533 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 1536 libavcodec/motion_est.c ymax= FFMIN(ymax, s->height - max); FFMIN 1762 libavcodec/motion_est.c range= FFMIN(range, 16); FFMIN 1764 libavcodec/motion_est.c range= FFMIN(range, 256); FFMIN 521 libavcodec/motion_est_template.c const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\ FFMIN 522 libavcodec/motion_est_template.c const int Ly2= FFMAX(ymin, FFMIN(Ly, ymax));\ FFMIN 753 libavcodec/motion_est_template.c for(x2=FFMAX(x-dia_size+1, xmin); x2<=FFMIN(x+dia_size-1,xmax); x2+=2){ FFMIN 756 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 762 libavcodec/motion_est_template.c for(y2=FFMAX(y-2, ymin); y2<=FFMIN(y+2,ymax); y2++){ FFMIN 763 libavcodec/motion_est_template.c for(x2=FFMAX(x-2, xmin); x2<=FFMIN(x+2,xmax); x2++){ FFMIN 794 libavcodec/motion_est_template.c for(y=FFMAX(-dia_size, ymin); y<=FFMIN(dia_size,ymax); y++){ FFMIN 795 libavcodec/motion_est_template.c for(x=FFMAX(-dia_size, xmin); x<=FFMIN(dia_size,xmax); x++){ FFMIN 951 libavcodec/motion_est_template.c end = FFMIN(dia_size, xmax - x + 1); FFMIN 960 libavcodec/motion_est_template.c end = FFMIN(dia_size, y - ymin + 1); FFMIN 969 libavcodec/motion_est_template.c end = FFMIN(dia_size, x - xmin + 1); FFMIN 978 libavcodec/motion_est_template.c end = FFMIN(dia_size, ymax - y + 1); FFMIN 1124 libavcodec/motion_est_template.c const int xend= FFMIN(s->mb_width , s->mb_x + count + 1); FFMIN 1125 libavcodec/motion_est_template.c const int yend= FFMIN(s->mb_height, s->mb_y + count + 1); FFMIN 133 libavcodec/motionpixels.c w = FFMIN(w, mp->avctx->width - x); FFMIN 134 libavcodec/motionpixels.c h = FFMIN(h, mp->avctx->height - y); FFMIN 46 libavcodec/movsub_bsf.c *poutbuf_size = FFMIN(buf_size - 2, AV_RB16(buf)); FFMIN 85 libavcodec/mpc8.c mask = mpc8_dec_enum(gb, FFMIN(t, size - t), size); FFMIN 1816 libavcodec/mpeg12.c if(left < 0 || (left && show_bits(&s->gb, FFMIN(left, 23)) && !is_d10) FFMIN 1818 libavcodec/mpeg12.c av_log(avctx, AV_LOG_ERROR, "end mismatch left=%d %0X\n", left, show_bits(&s->gb, FFMIN(left, 23))); FFMIN 117 libavcodec/mpegaudio_parser.c len = FFMIN(MPA_HEADER_SIZE - len, buf_size); FFMIN 217 libavcodec/mpegaudio_parser.c len = FFMIN(s->frame_size - len, buf_size); FFMIN 133 libavcodec/mpegaudiodec.c k = FFMIN(g->region_size[i], g->big_values); FFMIN 158 libavcodec/mpegaudiodec.c l = FFMIN(ra1 + ra2 + 2, 22); FFMIN 1458 libavcodec/mpegaudiodec.c int end_pos= FFMIN(end_pos2, s->gb.size_in_bits); FFMIN 2235 libavcodec/mpegaudiodec.c i= FFMIN(BACKSTEP_SIZE, buf_size - HEADER_SIZE); FFMIN 112 libavcodec/mpegvideo.c p= FFMIN(p, end)-4; FFMIN 2009 libavcodec/mpegvideo.c h= FFMIN(h, s->avctx->height - y); FFMIN 1422 libavcodec/mpegvideo_enc.c for(y2= FFMAX(y-1, 0); y2 < FFMIN(8, y+2); y2++){ FFMIN 1423 libavcodec/mpegvideo_enc.c for(x2= FFMAX(x-1, 0); x2 < FFMIN(8, x+2); x2++){ FFMIN 3040 libavcodec/mpegvideo_enc.c coeff_count[i]= FFMIN(level, 2); FFMIN 377 libavcodec/msmpeg4.c put_bits(&s->pb, 11, FFMIN(s->bit_rate/1024, 2047)); FFMIN 232 libavcodec/nellymoserenc.c idx_max = FFMIN(OPT_SIZE, cand[band - 1] + q); FFMIN 233 libavcodec/nellymoserenc.c for (i = FFMAX(0, cand[band - 1] - q); i < FFMIN(OPT_SIZE, cand[band - 1] + q); i++) { FFMIN 366 libavcodec/pcm.c buf_size= FFMIN(buf_size, *data_size/2); FFMIN 172 libavcodec/qcelpdec.c lspf[9] = FFMIN(lspf[9], (1.0 - QCELP_LSP_SPREAD_FACTOR)); FFMIN 174 libavcodec/qcelpdec.c lspf[i-1] = FFMIN(lspf[i-1], (lspf[i] - QCELP_LSP_SPREAD_FACTOR)); FFMIN 557 libavcodec/qcelpdec.c q->pitch_gain[i] = FFMIN(q->pitch_gain[i], max_pitch_gain); FFMIN 569 libavcodec/qcelpdec.c q->pitch_gain[i] = 0.5 * FFMIN(q->pitch_gain[i], 1.0); FFMIN 138 libavcodec/qtrleenc.c skipcount = FFMIN(skipcount + 1, MAX_RLE_SKIP); FFMIN 147 libavcodec/qtrleenc.c repeatcount = FFMIN(repeatcount + 1, MAX_RLE_REPEAT); FFMIN 174 libavcodec/qtrleenc.c int limit = FFMIN(width - i, MAX_RLE_BULK); FFMIN 112 libavcodec/ra144.c memcpy(target, source, FFMIN(BLOCKSIZE, offset)*sizeof(*target)); FFMIN 50 libavcodec/rectangle.h assert((((long)vp)&(FFMIN(w, STRIDE_ALIGN)-1)) == 0); FFMIN 165 libavcodec/resample2.c minff= FFMIN(minff, ff); FFMIN 167 libavcodec/resample2.c minsf= FFMIN(minsf, sf); FFMIN 180 libavcodec/resample2.c double factor= FFMIN(out_rate * cutoff / in_rate, 1.0); FFMIN 222 libavcodec/resample2.c dst_size= FFMIN(dst_size, (src_size-1-index) * (int64_t)c->src_incr / c->dst_incr); FFMIN 38 libavcodec/rle.c for(pos = start + bpp; count < FFMIN(127, len); pos += bpp, count ++) { FFMIN 43 libavcodec/rle.c if(bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos+1)) FFMIN 255 libavcodec/rv30.c r->rpr = FFMIN(r->rpr + 1, 3); FFMIN 95 libavcodec/rv34.c init_vlc_sparse(vlc, FFMIN(maxbits, 9), realsize, FFMIN 249 libavcodec/shorten.c *samples++ = FFMIN(buffer[chan][i], 32768); FFMIN 283 libavcodec/shorten.c buf_size= FFMIN(buf_size, s->max_framesize - s->bitstream_size); FFMIN 399 libavcodec/shorten.c coffset >>= FFMIN(1, s->bitshift); FFMIN 603 libavcodec/snow.c const int el= FFMIN(e, 10); FFMIN 612 libavcodec/snow.c put_rac(c, state+1+FFMIN(i,9), 0); FFMIN 640 libavcodec/snow.c put_rac(c, state+1+FFMIN(i,9), 1); //1..10 FFMIN 642 libavcodec/snow.c put_rac(c, state+1+FFMIN(i,9), 0); FFMIN 645 libavcodec/snow.c put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31 FFMIN 649 libavcodec/snow.c put_rac(c, state+11 + FFMIN(e,10), v < 0); //11..21 FFMIN 663 libavcodec/snow.c while(get_rac(c, state+1 + FFMIN(e,9))){ //1..10 FFMIN 669 libavcodec/snow.c a += a + get_rac(c, state+22 + FFMIN(i,9)); //22..31 FFMIN 672 libavcodec/snow.c if(is_signed && get_rac(c, state+11 + FFMIN(e,10))) //11..21 FFMIN 1304 libavcodec/snow.c while(cs[level].y <= FFMIN((y>>level)+support, height>>level)){ FFMIN 1321 libavcodec/snow.c while(cs[level].y <= FFMIN((y>>level)+support, height>>level)){ FFMIN 1538 libavcodec/snow.c if(y) max_run= FFMIN(run, prev_xc->x - x - 2); FFMIN 1539 libavcodec/snow.c else max_run= FFMIN(run, w-x-1); FFMIN 1541 libavcodec/snow.c max_run= FFMIN(max_run, 2*parent_xc->x - x - 1); FFMIN 2596 libavcodec/snow.c for(y=block_w*mb_y; y<FFMIN(h,block_w*(mb_y+1)); y++){ FFMIN 2608 libavcodec/snow.c for(y=block_w*mb_y; y<FFMIN(h,block_w*(mb_y+1)); y++){ FFMIN 2652 libavcodec/snow.c for(y=block_w*mb_y; y<FFMIN(h,block_w*(mb_y+1)); y++){ FFMIN 2661 libavcodec/snow.c for(y=block_w*mb_y; y<FFMIN(h,block_w*(mb_y+1)); y++){ FFMIN 2722 libavcodec/snow.c for(y2= FFMAX(y, 0); y2<FFMIN(h, y+block_w); y2++){ FFMIN 2723 libavcodec/snow.c for(x2= FFMAX(x, 0); x2<FFMIN(w, x+block_w); x2++){ FFMIN 2805 libavcodec/snow.c int x1= FFMIN(block_w*2, w-sx); FFMIN 2806 libavcodec/snow.c int y1= FFMIN(block_w*2, h-sy); FFMIN 4025 libavcodec/snow.c s->max_ref_frames = FFMAX(FFMIN(avctx->refs, MAX_REF_FRAMES), 1); FFMIN 4590 libavcodec/snow.c start_y = FFMIN(b->height, start_y); FFMIN 4591 libavcodec/snow.c end_y = FFMIN(b->height, end_y); FFMIN 4596 libavcodec/snow.c int correlate_end_y = FFMIN(b->height, end_y + 1); FFMIN 4597 libavcodec/snow.c int correlate_start_y = FFMIN(b->height, (start_y ? start_y + 1 : 0)); FFMIN 4623 libavcodec/snow.c y = FFMIN(p->height, slice_starty); FFMIN 4624 libavcodec/snow.c end_y = FFMIN(p->height, slice_h); FFMIN 442 libavcodec/svq3.c mb_type = FFMIN(s->next_picture.mb_type[mb_xy], 6); FFMIN 57 libavcodec/tiertexseqv.c memset(dst, *src++, FFMIN(len, dst_size)); FFMIN 59 libavcodec/tiertexseqv.c memcpy(dst, src, FFMIN(len, dst_size)); FFMIN 473 libavcodec/tiff.c if(tiff_unpack_strip(s, dst, stride, orig_buf + soff, ssize, FFMIN(s->rps, s->height - i)) < 0) FFMIN 348 libavcodec/truespeech.c iterations = FFMIN(buf_size / 32, *data_size / 480); FFMIN 336 libavcodec/vc1.c int a3 = FFMIN(a1, a2); FFMIN 345 libavcodec/vc1.c d = FFMIN(d, clip); FFMIN 704 libavcodec/vc1.c if(c < d) return (FFMIN(b, d) + FFMAX(a, c)) / 2; FFMIN 705 libavcodec/vc1.c else return (FFMIN(b, c) + FFMAX(a, d)) / 2; FFMIN 707 libavcodec/vc1.c if(c < d) return (FFMIN(a, d) + FFMAX(b, c)) / 2; FFMIN 708 libavcodec/vc1.c else return (FFMIN(a, c) + FFMAX(b, d)) / 2; FFMIN 181 libavcodec/vorbis.c render_line(lx, ly, FFMIN(x1,samples), y1, out); FFMIN 1039 libavcodec/vorbis_dec.c avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1])>>2; FFMIN 629 libavcodec/vorbis_enc.c int end = fc->list[fc->list[FFMIN(i+1, fc->values - 1)].sort].x; FFMIN 684 libavcodec/vorbis_enc.c int room = FFMIN(highroom, lowroom); FFMIN 246 libavcodec/vp5.c ctx_last = FFMIN(s->coeff_ctx_last[vp56_b6to4[b]], 24); FFMIN 409 libavcodec/vp6.c cg = FFMIN(vp6_coeff_groups[coeff_idx], 3); FFMIN 365 libavcodec/wmaenc.c if(scoreL < FFMIN(best, scoreR)){ FFMIN 37 libavcodec/wmv2enc.c put_bits(&pb, 11, FFMIN(s->bit_rate/1024, 2047)); FFMIN 105 libavcodec/xsubdec.c rlelen = FFMIN(rlelen, buf_end - buf); FFMIN 115 libavcodec/xsubdec.c run = FFMIN(run, w - x); FFMIN 92 libavcodec/zmbvenc.c bw = FFMIN(ZMBV_BLOCK, c->avctx->width - x); FFMIN 93 libavcodec/zmbvenc.c bh = FFMIN(ZMBV_BLOCK, c->avctx->height - y); FFMIN 96 libavcodec/zmbvenc.c for(ty = FFMAX(y - c->range, 0); ty < FFMIN(y + c->range, c->avctx->height - bh); ty++){ FFMIN 97 libavcodec/zmbvenc.c for(tx = FFMAX(x - c->range, 0); tx < FFMIN(x + c->range, c->avctx->width - bw); tx++){ FFMIN 189 libavcodec/zmbvenc.c bh2 = FFMIN(avctx->height - y, ZMBV_BLOCK); FFMIN 191 libavcodec/zmbvenc.c bw2 = FFMIN(avctx->width - x, ZMBV_BLOCK); FFMIN 259 libavcodec/zmbvenc.c c->range = FFMIN(avctx->me_range, 127); FFMIN 355 libavdevice/x11grab.c for (line = 0; line < FFMIN(20, (y_off + height) - y); line++) { FFMIN 364 libavdevice/x11grab.c for (column = 0; column < FFMIN(16, (x_off + width) - x); column++) { FFMIN 62 libavfilter/avfilter.c idx = FFMIN(idx, *count); FFMIN 195 libavfilter/avfilter.c min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i])); FFMIN 49 libavfilter/formats.c ret->formats = av_malloc(sizeof(*ret->formats) * FFMIN(a->format_count, FFMIN 85 libavformat/aiff.c int res = get_buffer(s->pb, str, FFMIN(sizeof(str)-1, size)); FFMIN 106 libavformat/ape.c l = FFMIN(i, sizeof(key) -1); FFMIN 110 libavformat/ape.c l = FFMIN(size, sizeof(value)-1); FFMIN 357 libavformat/asfdec.c for (i = 0; i < FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)/4; i++) FFMIN 361 libavformat/asfdec.c FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)); FFMIN 78 libavformat/audiointerleave.c int size = FFMIN(av_fifo_size(&aic->fifo), *aic->samples * aic->sample_size); FFMIN 225 libavformat/avidec.c av_add_index_entry(st, pos+j, ts + j/ast->sample_size, FFMIN(max, size-j), 0, AVINDEX_KEYFRAME); FFMIN 493 libavformat/avidec.c for (i = 0; i < FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)/4; i++) FFMIN 497 libavformat/avidec.c FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)); FFMIN 149 libavformat/dxa.c size = FFMIN(c->bytes_left, c->bpc); FFMIN 744 libavformat/matroskaenc.c size = FFMIN(i+size, sizeof(buffer)); FFMIN 815 libavformat/matroskaenc.c av_md5_update(mkv->md5_ctx, pkt->data, FFMIN(200, pkt->size)); FFMIN 210 libavformat/mov.c a.size = FFMIN(a.size, atom.size - total_size); FFMIN 277 libavformat/mov.c volume_len = FFMIN(volume_len, 27); FFMIN 1574 libavformat/movenc.c int video_kbitrate= FFMIN(VideoCodec->bit_rate / 1000, 800 - audio_kbitrate); FFMIN 194 libavformat/mp3.c len = FFMIN(taglen, dstlen-1); FFMIN 36 libavformat/nutdec.c get_buffer(bc, string, FFMIN(len, maxlen)); FFMIN 43 libavformat/nutdec.c string[FFMIN(len, maxlen-1)]= 0; FFMIN 683 libavformat/nutenc.c if(index>=0) dummy.pos= FFMIN(dummy.pos, st->index_entries[index].pos); FFMIN 63 libavformat/oggenc.c page_segments = FFMIN((size/255)+!!size, 255); FFMIN 181 libavformat/pva.c pos_limit = FFMIN(*pos+PVA_MAX_PAYLOAD_LENGTH*8, (uint64_t)*pos+pos_limit); FFMIN 417 libavformat/riff.c cbSize = FFMIN(size, cbSize); FFMIN 530 libavformat/rmdec.c len = FFMIN(len, pos); FFMIN 78 libavformat/rtp_aac.c len = FFMIN(size, max_packet_size); FFMIN 211 libavformat/rtpdec.c lost= FFMIN(lost, 0xffffff); // clamp it since it's only 24 bits... FFMIN 180 libavformat/rtpenc.c len = FFMIN(max_packet_size, size); FFMIN 3228 libavformat/utils.c av_strlcpy(proto, url, FFMIN(proto_size, p + 1 - url)); FFMIN 3252 libavformat/utils.c FFMIN(authorization_size, at + 1 - p)); FFMIN 3259 libavformat/utils.c FFMIN(hostname_size, brk - p)); FFMIN 3264 libavformat/utils.c FFMIN(col + 1 - p, hostname_size)); FFMIN 3268 libavformat/utils.c FFMIN(ls + 1 - p, hostname_size)); FFMIN 128 libavformat/vocdec.c size = FFMIN(voc->remaining_size, max_size); FFMIN 79 libavformat/wav.c wav->minpts = FFMIN(wav->minpts, pkt->pts); FFMIN 228 libavformat/wav.c size= FFMIN(size, left); FFMIN 126 libavutil/common.h #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) FFMIN 88 libavutil/fifo.c int len = FFMIN(f->end - f->wptr, size); FFMIN 108 libavutil/fifo.c int len = FFMIN(f->end - f->rptr, buf_size); FFMIN 148 libavutil/pca.c ROTATE(pca->covariance,FFMIN(k,i),FFMAX(k,i),FFMIN(k,j),FFMAX(k,j)) FFMIN 225 libavutil/pca.c v[j] += pca->covariance[FFMIN(k,j) + FFMAX(k,j)*LEN] * eigenvector[i + k*LEN]; FFMIN 58 libavutil/rational.c if(a1.den) x= FFMIN(x, (max - a0.den) / a1.den); FFMIN 330 libpostproc/postprocess.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFMIN 527 libpostproc/postprocess.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFMIN 1123 libpostproc/postprocess_template.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFMIN 1484 libpostproc/postprocess_template.c *p = FFMIN(*p + 20, 255); FFMIN 3481 libpostproc/postprocess_template.c linecpy(tempDst, dstBlock - dstStride, FFMIN(height-y+1, copyAhead+1), dstStride); FFMIN 1408 libswscale/swscale.c int right= FFMIN(j + shift, filterSize-1); FFMIN 223 libswscale/swscale_altivec_template.c dst[i] = FFMIN(val>>7, (1<<15)-1); FFMIN 262 libswscale/swscale_altivec_template.c dst[i] = FFMIN(tempo[3]>>7, (1<<15)-1); FFMIN 289 libswscale/swscale_altivec_template.c dst[i] = FFMIN(tempo[3]>>7, (1<<15)-1); FFMIN 318 libswscale/swscale_altivec_template.c dst[i] = FFMIN(tempo[3]>>7, (1<<15)-1); FFMIN 380 libswscale/swscale_altivec_template.c dst[i] = FFMIN(tempo[3]>>7, (1<<15)-1); FFMIN 2122 libswscale/swscale_template.c dst[i] = FFMIN(val>>7, (1<<15)-1); // the cubic equation does overflow ... FFMIN 2359 libswscale/swscale_template.c dst[i]= (FFMIN(dst[i],30189)*19077 - 39057361)>>14; FFMIN 2654 libswscale/swscale_template.c dst[i ]= (FFMIN(dst[i ],30775)*4663 - 9289992)>>12; //-264 FFMIN 2655 libswscale/swscale_template.c dst[i+VOFW]= (FFMIN(dst[i+VOFW],30775)*4663 - 9289992)>>12; //-264 FFMIN 139 tests/tiny_psnr.c for(j=0; j<FFMIN(s0,s1); j++){ FFMIN 154 tests/tiny_psnr.c i= FFMIN(size0,size1)/len;