av_log2 1091 libavcodec/ac3enc.c return av_log2(v); av_log2 1205 libavcodec/ac3enc.c e = 23 - av_log2(v) + exp_samples[i][ch]; av_log2 186 libavcodec/alac.c k = av_log2((history >> 9) + 3); av_log2 211 libavcodec/alac.c k = 7 - av_log2(history) + ((history + 16) >> 6 /* / 64 */); av_log2 292 libavcodec/alacenc.c k = av_log2((history >> 9) + 3); av_log2 312 libavcodec/alacenc.c k = 7 - av_log2(history) + ((history + 16) >> 6); av_log2 186 libavcodec/celp_math.c power_int = av_log2(value); av_log2 245 libavcodec/cook.c if (ff_mdct_init(&q->mdct_ctx, av_log2(mlt_size)+1, 1)) { av_log2 250 libavcodec/cook.c av_log2(mlt_size)+1); av_log2 479 libavcodec/eac3dec.c int block_start_bits = (s->num_blocks-1) * (4 + av_log2(s->frame_size-2)); av_log2 254 libavcodec/escape124.c cb_depth = av_log2(cb_size - 1) + 1; av_log2 224 libavcodec/ffv1.c const int e= av_log2(a); av_log2 462 libavcodec/flacenc.c k = av_log2(n<256 ? FASTDIV(sum2,n) : sum2/n); av_log2 554 libavcodec/flacenc.c int porder = FFMIN(max_porder, av_log2(n^(n-1))); av_log2 556 libavcodec/flacenc.c porder = FFMIN(porder, av_log2(n/order)); av_log2 67 libavcodec/golomb.h log= 2*av_log2(buf) - 31; av_log2 170 libavcodec/golomb.h log= 2*av_log2(buf) - 31; av_log2 245 libavcodec/golomb.h log= av_log2(buf); av_log2 274 libavcodec/golomb.h log= av_log2(buf); av_log2 422 libavcodec/golomb.h e= av_log2(i+1); av_log2 1836 libavcodec/h263.c len= mvtab[32][1] + av_log2(code>>5) + 2 + bit_size; av_log2 3112 libavcodec/h263.c int mb_num_bits= av_log2(s->mb_num - 1) + 1; av_log2 3177 libavcodec/h263.c int mb_num_bits= av_log2(s->mb_num - 1) + 1; av_log2 5553 libavcodec/h263.c s->time_increment_bits = av_log2(s->avctx->time_base.den - 1) + 1; av_log2 1886 libavcodec/h264.c int prefix= LEVEL_TAB_BITS - av_log2(2*i); av_log2 4106 libavcodec/h264.c log= 32 - av_log2(buf); av_log2 419 libavcodec/mjpegenc.c nbits= av_log2(val) + 1; av_log2 112 libavcodec/motionpixels.c mp->offset_bits_len = av_log2(avctx->width * avctx->height) + 1; av_log2 744 libavcodec/mpeg12enc.c index = av_log2(2*adiff); av_log2 394 libavcodec/mpegaudioenc.c n = av_log2(vmax); av_log2 497 libavcodec/mpegvideo_enc.c s->time_increment_bits = av_log2(s->avctx->time_base.den - 1) + 1; av_log2 113 libavcodec/nellymoser.c l = 30 - av_log2(FFABS(*la)); av_log2 1853 libavcodec/qdm2.c s->fft_order = av_log2(s->fft_size) + 1; av_log2 1857 libavcodec/qdm2.c s->group_order = av_log2(s->group_size) + 1; av_log2 79 libavcodec/rangecoder.h return 8*x - av_log2(c->range); av_log2 446 libavcodec/rv10.c f= get_bits(&s->gb, av_log2(v)+1); av_log2 329 libavcodec/shorten.c s->blocksize = get_uint(s, av_log2(DEFAULT_BLOCK_SIZE)); av_log2 473 libavcodec/shorten.c s->blocksize = get_uint(s, av_log2(s->blocksize)); av_log2 601 libavcodec/snow.c const int e= av_log2(a); av_log2 1431 libavcodec/snow.c int context= av_log2(/*FFABS(ll) + */3*FFABS(l) + FFABS(lt) + 2*FFABS(t) + FFABS(rt) + FFABS(p)); av_log2 1447 libavcodec/snow.c int context= av_log2(/*FFABS(ll) + */3*FFABS(l) + FFABS(lt) + 2*FFABS(t) + FFABS(rt) + FFABS(p)); av_log2 1514 libavcodec/snow.c int context= av_log2(/*FFABS(ll) + */3*(l>>1) + (lt>>1) + (t&~1) + (rt>>1) + (p>>1)); av_log2 1775 libavcodec/snow.c int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref); av_log2 1776 libavcodec/snow.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)); av_log2 1777 libavcodec/snow.c int my_context= av_log2(2*FFABS(left->my - top->my)); av_log2 1855 libavcodec/snow.c ref_score+= 2*av_log2(2*ref)*c->penalty_factor; av_log2 1983 libavcodec/snow.c int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref); av_log2 1984 libavcodec/snow.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 16*!!b->ref; av_log2 1985 libavcodec/snow.c int my_context= av_log2(2*FFABS(left->my - top->my)) + 16*!!b->ref; av_log2 2045 libavcodec/snow.c int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref); av_log2 2046 libavcodec/snow.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 0*av_log2(2*FFABS(tr->mx - top->mx)); av_log2 2047 libavcodec/snow.c int my_context= av_log2(2*FFABS(left->my - top->my)) + 0*av_log2(2*FFABS(tr->my - top->my)); av_log2 2770 libavcodec/snow.c return 3+2*( av_log2(2*FFABS(left->color[0] - b->color[0])) av_log2 2771 libavcodec/snow.c + av_log2(2*FFABS(left->color[1] - b->color[1])) av_log2 2772 libavcodec/snow.c + av_log2(2*FFABS(left->color[2] - b->color[2]))); av_log2 2777 libavcodec/snow.c return 2*(1 + av_log2(2*FFABS(dmx)) //FIXME kill the 2* can be merged in lambda av_log2 2778 libavcodec/snow.c + av_log2(2*FFABS(dmy)) av_log2 2779 libavcodec/snow.c + av_log2(2*b->ref)); av_log2 738 libavcodec/svq3.c i = (s->mb_num < 64) ? 6 : (1 + av_log2 (s->mb_num - 1)); av_log2 602 libavcodec/vmdav.c silent_chunks = av_log2(flags + 1); av_log2 41 libavcodec/vorbis.h #define ilog(i) av_log2(2*(i)) av_log2 2212 libavcodec/vp3.c i= get_bits(gb, av_log2(matrices-1)+1); av_log2 2220 libavcodec/vp3.c i = get_bits(gb, av_log2(63-qi)+1) + 1; av_log2 161 libavcodec/wavpack.c bits = av_log2(val) + 1; av_log2 193 libavcodec/wavpack.c p = av_log2(k); av_log2 135 libavcodec/wma.c s->byte_offset_bits = av_log2((int)(bps * s->frame_len / 8.0 + 0.5)) + 2; av_log2 363 libavcodec/wmadec.c n = av_log2(s->nb_block_sizes - 1) + 1; av_log2 200 libavformat/gxf.c int idx = av_log2((flags & 0x7c0) >> 6); av_log2 95 libavformat/matroskaenc.c return (av_log2(id+1)-1)/7+1; av_log2 327 libavformat/mxfenc.c return (av_log2(len) >> 3) + 2; av_log2 340 libavformat/mxfenc.c size = (av_log2(len) >> 3) + 1; av_log2 621 libavformat/utils.c if(av_log2(pd->buf_size) != av_log2(pd->buf_size - pkt->size)){ av_log2 231 libavutil/common.h int ones= 7 - av_log2(val ^ 255);\ av_log2 267 libavutil/common.h bytes = (av_log2(in) + 4) / 5;\ av_log2 114 libavutil/integer.c assert(av_log2(b)>=0); av_log2 191 libavutil/integer.c assert(av_log2_i(ai) == av_log2(a)); av_log2 44 libavutil/softfloat.h int s=ONE_BITS + 1 - av_log2(a.mant ^ (a.mant<<1));