lrint            1517 fftools/ffplay.c     int new_volume = lrint(SDL_MIX_MAXVOLUME * pow(10.0, (volume_level + sign * step) / 20.0));
lrint              33 libavcodec/cbrt_tablegen.h #define CBRT(x) lrint((x) * 8192)
lrint             524 libavcodec/dds.c                 z = lrint(sqrtf(d));
lrint              39 libavcodec/fft-internal.h #define SCALE_FLOAT(a, bits) lrint((a) * (double)(1 << (bits)))
lrint             282 libavcodec/fitsdec.c                     *dst++ = lrint(((t - header.data_min) * ((1 << (sizeof(type) * 8)) - 1)) * scale); \
lrint             842 libavcodec/libvpxenc.c     enccfg.rc_2pass_vbr_bias_pct           = lrint(avctx->qcompress * 100);
lrint            1010 libavcodec/libvpxenc.c         codecctl_int(avctx, VP9E_SET_TARGET_LEVEL, ctx->level < 0 ? 255 : lrint(ctx->level * 10));
lrint              86 libavcodec/mdct_template.c         s->tcos[i*tstep] = lrint(-cos(alpha) * 2147483648.0);
lrint              87 libavcodec/mdct_template.c         s->tsin[i*tstep] = lrint(-sin(alpha) * 2147483648.0);
lrint             292 libavcodec/pngenc.c #define AV_WB32_PNG(buf, n) AV_WB32(buf, lrint((n) * 100000))
lrint            1485 libavcodec/snowenc.c     return lrint(QROOT*log2(qscale / (float)FF_QP2LAMBDA))
lrint              44 libavcodec/tests/iirfilter.c         x[i] = lrint(0.75 * INT16_MAX * sin(0.5 * M_PI * i * i / SIZE));
lrint             570 libavcodec/texturedsp.c                 b = lrint(sqrtf(d));
lrint             764 libavcodec/vaapi_encode_h265.c                         FFMIN(lrint(chroma_den *
lrint             768 libavcodec/vaapi_encode_h265.c                         FFMIN(lrint(chroma_den *
lrint             774 libavcodec/vaapi_encode_h265.c                     FFMIN(lrint(chroma_den * av_q2d(mdm->white_point[0])),
lrint             777 libavcodec/vaapi_encode_h265.c                     FFMIN(lrint(chroma_den * av_q2d(mdm->white_point[1])),
lrint             781 libavcodec/vaapi_encode_h265.c                     lrint(luma_den * av_q2d(mdm->max_luminance));
lrint             783 libavcodec/vaapi_encode_h265.c                     FFMIN(lrint(luma_den * av_q2d(mdm->min_luminance)),
lrint             252 libavcodec/wmaenc.c                     coefs1[i] = lrint(t);
lrint             639 libavcodec/wmavoice.c         idx = lrint((max - lpcs[n]) * irange - 1);
lrint             337 libavdevice/pulse_audio_enc.c     vol = pa_sw_volume_multiply(lrint(volume * PA_VOLUME_NORM), s->base_volume);
lrint             181 libavfilter/af_afftdn.c     return lrint(-d1 + d2 - d3);
lrint             244 libavfilter/af_afftdn.c     return lrint(sum);
lrint             495 libavfilter/af_afftdn.c         return lrint(s->band_centre[0] / 1.5);
lrint             505 libavfilter/af_afftdn.c         i = lrint(s->band_centre[14] * 1.224745);
lrint             507 libavfilter/af_afftdn.c         i = lrint(s->band_centre[band] / 1.224745);
lrint             633 libavfilter/af_afftdn.c         s->band_centre[i] = lrint(1.5 * s->band_centre[i - 1] + 5.0);
lrint             672 libavfilter/af_afftdn.c         s->bin2band[i] = lrint(sdiv * freq2bark((0.5 * i * s->sample_rate) / s->fft_length2));
lrint             794 libavfilter/af_afftdn.c             if (i < lrint(12.0 * sdiv)) {
lrint             845 libavfilter/af_afftdn.c         if (s->noise_band_edge[j] > lrint(1.1 * s->noise_band_edge[j - 1]))
lrint            1057 libavfilter/af_afftdn.c         i = lrint(temp[7] - d1);
lrint            1070 libavfilter/af_afftdn.c             new_band_noise[m] = lrint(temp[m]);
lrint             149 libavfilter/af_anequalizer.c             x = lrint(f);
lrint             162 libavfilter/af_dynaudnorm.c     const int frame_size = lrint((double)sample_rate * (frame_len_msec / 1000.0));
lrint             570 libavfilter/af_replaygain.c     level = lrint(floor(100 * calc_stereo_rms((float *)out->data[0],
lrint             227 libavfilter/asrc_sine.c     int i, nb_samples = lrint(av_expr_eval(sine->samples_per_frame_expr, values, sine));
lrint             209 libavfilter/avf_ahistogram.c                 bin = lrint(av_clipf(fabsf(src[n]), 0, 1) * (w - 1));
lrint             219 libavfilter/avf_ahistogram.c                     bin = lrint(av_clipf(fabsf(src2[n]), 0, 1) * (w - 1));
lrint             232 libavfilter/avf_ahistogram.c                 bin = lrint(av_clipf(1 + log10(fabsf(src[n])) / 6, 0, 1) * (w - 1));
lrint             242 libavfilter/avf_ahistogram.c                     bin = lrint(av_clipf(1 + log10(fabsf(src2[n])) / 6, 0, 1) * (w - 1));
lrint             443 libavfilter/avf_showcqt.c     return lrint(x*255.0) << 16;
lrint             449 libavfilter/avf_showcqt.c     return lrint(x*255.0) << 8;
lrint             455 libavfilter/avf_showcqt.c     return lrint(x*255.0);
lrint             269 libavfilter/vf_chromakey.c #define FIXNUM(x) lrint((x) * (1 << 10))
lrint             428 libavfilter/vf_colorchannelmixer.c         s->lut[R][R][i] = lrint(i * s->rr);
lrint             429 libavfilter/vf_colorchannelmixer.c         s->lut[R][G][i] = lrint(i * s->rg);
lrint             430 libavfilter/vf_colorchannelmixer.c         s->lut[R][B][i] = lrint(i * s->rb);
lrint             431 libavfilter/vf_colorchannelmixer.c         s->lut[R][A][i] = lrint(i * s->ra);
lrint             433 libavfilter/vf_colorchannelmixer.c         s->lut[G][R][i] = lrint(i * s->gr);
lrint             434 libavfilter/vf_colorchannelmixer.c         s->lut[G][G][i] = lrint(i * s->gg);
lrint             435 libavfilter/vf_colorchannelmixer.c         s->lut[G][B][i] = lrint(i * s->gb);
lrint             436 libavfilter/vf_colorchannelmixer.c         s->lut[G][A][i] = lrint(i * s->ga);
lrint             438 libavfilter/vf_colorchannelmixer.c         s->lut[B][R][i] = lrint(i * s->br);
lrint             439 libavfilter/vf_colorchannelmixer.c         s->lut[B][G][i] = lrint(i * s->bg);
lrint             440 libavfilter/vf_colorchannelmixer.c         s->lut[B][B][i] = lrint(i * s->bb);
lrint             441 libavfilter/vf_colorchannelmixer.c         s->lut[B][A][i] = lrint(i * s->ba);
lrint             443 libavfilter/vf_colorchannelmixer.c         s->lut[A][R][i] = lrint(i * s->ar);
lrint             444 libavfilter/vf_colorchannelmixer.c         s->lut[A][G][i] = lrint(i * s->ag);
lrint             445 libavfilter/vf_colorchannelmixer.c         s->lut[A][B][i] = lrint(i * s->ab);
lrint             446 libavfilter/vf_colorchannelmixer.c         s->lut[A][A][i] = lrint(i * s->aa);
lrint             197 libavfilter/vf_colorlevels.c             int imin = lrint(r->in_min  * UINT8_MAX);
lrint             198 libavfilter/vf_colorlevels.c             int imax = lrint(r->in_max  * UINT8_MAX);
lrint             199 libavfilter/vf_colorlevels.c             int omin = lrint(r->out_min * UINT8_MAX);
lrint             200 libavfilter/vf_colorlevels.c             int omax = lrint(r->out_max * UINT8_MAX);
lrint             249 libavfilter/vf_colorlevels.c             int imin = lrint(r->in_min  * UINT16_MAX);
lrint             250 libavfilter/vf_colorlevels.c             int imax = lrint(r->in_max  * UINT16_MAX);
lrint             251 libavfilter/vf_colorlevels.c             int omin = lrint(r->out_min * UINT16_MAX);
lrint             252 libavfilter/vf_colorlevels.c             int omax = lrint(r->out_max * UINT16_MAX);
lrint             260 libavfilter/vf_colorspace.c         s->delin_lut[n] = av_clip_int16(lrint(d * 28672.0));
lrint             270 libavfilter/vf_colorspace.c         s->lin_lut[n] = av_clip_int16(lrint(l * 28672.0));
lrint             535 libavfilter/vf_colorspace.c                     s->lrgb2lrgb_coeffs[m][n][0] = lrint(16384.0 * rgb2rgb[m][n]);
lrint             660 libavfilter/vf_colorspace.c                     s->yuv2rgb_coeffs[n][m][0] = lrint(28672 * bits * yuv2rgb[n][m] / in_rng);
lrint             692 libavfilter/vf_colorspace.c                     s->rgb2yuv_coeffs[n][m][0] = lrint(bits * out_rng * rgb2yuv[n][m] / 28672);
lrint             716 libavfilter/vf_colorspace.c                         lrint(16384 * yuv2yuv[m][n] * out_rng * (1 << idepth) /
lrint             125 libavfilter/vf_crop.c         *n = lrint(d);
lrint             168 libavfilter/vf_cropdetect.c     int limit = lrint(s->limit);
lrint             209 libavfilter/vf_geq.c     return getpix_integrate_internal(geq, lrint(av_clipd(x, -w, 2*w)), lrint(av_clipd(y, -h, 2*h)), plane, w, h);
lrint             369 libavfilter/vf_histogram.c                     value += lrint(max_value * (log2(s->histogram[idx] + 1) / max_hval_log));
lrint             371 libavfilter/vf_histogram.c                     value += lrint(max_value * s->histogram[idx] / (float)max_hval);
lrint             408 libavfilter/vf_histogram.c                     col_height = lrint(s->level_height * (1. - (log2(s->histogram[i] + 1) / max_hval_log)));
lrint             186 libavfilter/vf_hqdn3d.c         ct[(256<<LUT_BITS)+i] = lrint(C);
lrint             111 libavfilter/vf_hue.c     hue->hue_sin = lrint(sin(hue->hue) * (1 << 16) * hue->saturation);
lrint             112 libavfilter/vf_hue.c     hue->hue_cos = lrint(cos(hue->hue) * (1 << 16) * hue->saturation);
lrint             414 libavfilter/vf_idet.c         idet->decay_coefficient = lrint( PRECISION * exp2(-1.0 / idet->half_life) );
lrint             215 libavfilter/vf_perspective.c             u =      lrint(SUB_PIXELS * (x0 * x + x1 * y + x2) /
lrint             217 libavfilter/vf_perspective.c             v =      lrint(SUB_PIXELS * (x3 * x + x4 * y + x5) /
lrint             267 libavfilter/vf_perspective.c             s->coeff[i][j] = lrint((1 << COEFF_BITS) * temp[j] / sum);
lrint             326 libavfilter/vf_psnr.c     s->average_max = lrint(average_max);
lrint             313 libavfilter/vf_selectivecolor.c     return lrint(av_clipf(res, min, max) * scale);
lrint             661 libavfilter/vf_signalstats.c     lowp   = lrint(s->fs  * 10 / 100.);
lrint             662 libavfilter/vf_signalstats.c     highp  = lrint(s->fs  * 90 / 100.);
lrint             663 libavfilter/vf_signalstats.c     clowp  = lrint(s->cfs * 10 / 100.);
lrint             664 libavfilter/vf_signalstats.c     chighp = lrint(s->cfs * 90 / 100.);
lrint             883 libavfilter/vf_signalstats.c     lowp   = lrint(s->fs  * 10 / 100.);
lrint             884 libavfilter/vf_signalstats.c     highp  = lrint(s->fs  * 90 / 100.);
lrint             885 libavfilter/vf_signalstats.c     clowp  = lrint(s->cfs * 10 / 100.);
lrint             886 libavfilter/vf_signalstats.c     chighp = lrint(s->cfs * 90 / 100.);
lrint              72 libavfilter/vf_tonemap_vaapi.c                 lrint(luma_den * av_q2d(hdr_meta->max_luminance));
lrint              74 libavfilter/vf_tonemap_vaapi.c                 FFMIN(lrint(luma_den * av_q2d(hdr_meta->min_luminance)),
lrint              93 libavfilter/vf_tonemap_vaapi.c                     FFMIN(lrint(chroma_den *
lrint              97 libavfilter/vf_tonemap_vaapi.c                     FFMIN(lrint(chroma_den *
lrint             103 libavfilter/vf_tonemap_vaapi.c                 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[0])),
lrint             106 libavfilter/vf_tonemap_vaapi.c                 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[1])),
lrint             253 libavfilter/vf_vmafmotion.c         s->filter[i] = lrint(FILTER_5[i] * (1 << BIT_SHIFT));
lrint              98 libavfilter/vsrc_gradients.c     return (lrint(c0[0] * y + c1[0] * x)) << 0  |
lrint              99 libavfilter/vsrc_gradients.c            (lrint(c0[1] * y + c1[1] * x)) << 8  |
lrint             100 libavfilter/vsrc_gradients.c            (lrint(c0[2] * y + c1[2] * x)) << 16 |
lrint             101 libavfilter/vsrc_gradients.c            (lrint(c0[3] * y + c1[3] * x)) << 24;
lrint             186 libavfilter/vsrc_mandelbrot.c         x= lrint((p->p[0] - s->start_x) / scale + s->w/2);
lrint             129 libavfilter/vsrc_mptestsrc.c             dst[dst_linesize*i + j] = av_clip_uint8(lrint(sum));
lrint             551 libavformat/dashenc.c             target_duration = lrint(duration);
lrint            1495 libavformat/hlsenc.c             target_duration = lrint(en->duration);
lrint             148 libavformat/hlsplaylist.c         avio_printf(out, "#EXTINF:%ld,\n",  lrint(duration));
lrint             161 libavformat/hlsplaylist.c         milli = av_clip(lrint(1000*(*prog_date_time - tt)), 0, 999);
lrint            1885 libavformat/movenc.c         gama = (uint32_t)lrint((double)(1<<16) * gamma);
lrint             212 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,  uint8_t, AV_SAMPLE_FMT_DBL, double,  av_clip_uint8(  lrint(*(const double *)pi * (1  <<  7)) + 0x80))
lrint             213 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double,  av_clip_int16(  lrint(*(const double *)pi * (1  << 15))))
lrint             702 libavresample/audio_mix.c             CONVERT_MATRIX(q8, av_clip_int16(lrint(256.0 * v)))
lrint              54 libavresample/resample_template.c #define DBL_TO_FELEM(d, v) d = av_clip_int16(lrint(v * (1 << 15)))
lrint              54 libavresample/tests/avresample.c PUT_FUNC(u8,  AV_SAMPLE_FMT_U8,  uint8_t, av_clip_uint8 ( lrint(v_dbl * (1  <<  7)) + 128))
lrint              55 libavresample/tests/avresample.c PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1  << 15))))
lrint              84 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_DBL, av_clip_uint8(  lrint(*(const double*)pi * (1<<7)) + 0x80))
lrint              85 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, av_clip_int16(  lrint(*(const double*)pi * (1<<15))))
lrint              69 libswresample/tests/swresample.c     case AV_SAMPLE_FMT_U8 : ((uint8_t*)p)[index]= av_clip_uint8 (lrint((v+1.0)*127));     break;
lrint              70 libswresample/tests/swresample.c     case AV_SAMPLE_FMT_S16: ((int16_t*)p)[index]= av_clip_int16 (lrint(v*32767));         break;
lrint             856 libswscale/utils.c         xyzgamma_tab[i] = lrint(pow(i / 4095.0, xyzgamma) * 4095.0);
lrint             857 libswscale/utils.c         rgbgamma_tab[i] = lrint(pow(i / 4095.0, rgbgamma) * 4095.0);
lrint             858 libswscale/utils.c         xyzgammainv_tab[i] = lrint(pow(i / 4095.0, xyzgammainv) * 4095.0);
lrint             859 libswscale/utils.c         rgbgammainv_tab[i] = lrint(pow(i / 4095.0, rgbgammainv) * 4095.0);
lrint             226 tests/checkasm/vf_colorspace.c         coeff[0][0][n] = lrint(0.3 * (1 << 14));
lrint             227 tests/checkasm/vf_colorspace.c         coeff[0][1][n] = lrint(0.6 * (1 << 14));
lrint             228 tests/checkasm/vf_colorspace.c         coeff[0][2][n] = lrint(0.1 * (1 << 14));
lrint             229 tests/checkasm/vf_colorspace.c         coeff[1][0][n] = lrint(-0.15 * (1 << 14));
lrint             230 tests/checkasm/vf_colorspace.c         coeff[1][1][n] = lrint(-0.35 * (1 << 14));
lrint             231 tests/checkasm/vf_colorspace.c         coeff[1][2][n] = lrint(0.5 * (1 << 14));
lrint             232 tests/checkasm/vf_colorspace.c         coeff[2][0][n] = lrint(0.5 * (1 << 14));
lrint             233 tests/checkasm/vf_colorspace.c         coeff[2][1][n] = lrint(-0.42 * (1 << 14));
lrint             234 tests/checkasm/vf_colorspace.c         coeff[2][2][n] = lrint(-0.08 * (1 << 14));
lrint             281 tests/checkasm/vf_colorspace.c         coeff[0][0][n] = lrint(0.85 * (1 << 14));
lrint             282 tests/checkasm/vf_colorspace.c         coeff[0][1][n] = lrint(0.10 * (1 << 14));
lrint             283 tests/checkasm/vf_colorspace.c         coeff[0][2][n] = lrint(0.05 * (1 << 14));
lrint             284 tests/checkasm/vf_colorspace.c         coeff[1][0][n] = lrint(-0.1 * (1 << 14));
lrint             285 tests/checkasm/vf_colorspace.c         coeff[1][1][n] = lrint(0.95 * (1 << 14));
lrint             286 tests/checkasm/vf_colorspace.c         coeff[1][2][n] = lrint(0.15 * (1 << 14));
lrint             287 tests/checkasm/vf_colorspace.c         coeff[2][0][n] = lrint(-0.2 * (1 << 14));
lrint             288 tests/checkasm/vf_colorspace.c         coeff[2][1][n] = lrint(0.30 * (1 << 14));
lrint             289 tests/checkasm/vf_colorspace.c         coeff[2][2][n] = lrint(0.90 * (1 << 14));
lrint             245 tests/checkasm/vp9dsp.c             buf[n] = lrint(outd[n]);
lrint             247 tests/checkasm/vp9dsp.c             ((int32_t *) buf)[n] = lrint(outd[n]);