Home
last modified time | relevance | path

Searched refs:lrint (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/ffmpeg/tests/checkasm/
Dvf_colorspace.c227 coeff[0][0][n] = lrint(0.3 * (1 << 14)); in check_rgb2yuv()
228 coeff[0][1][n] = lrint(0.6 * (1 << 14)); in check_rgb2yuv()
229 coeff[0][2][n] = lrint(0.1 * (1 << 14)); in check_rgb2yuv()
230 coeff[1][0][n] = lrint(-0.15 * (1 << 14)); in check_rgb2yuv()
231 coeff[1][1][n] = lrint(-0.35 * (1 << 14)); in check_rgb2yuv()
232 coeff[1][2][n] = lrint(0.5 * (1 << 14)); in check_rgb2yuv()
233 coeff[2][0][n] = lrint(0.5 * (1 << 14)); in check_rgb2yuv()
234 coeff[2][1][n] = lrint(-0.42 * (1 << 14)); in check_rgb2yuv()
235 coeff[2][2][n] = lrint(-0.08 * (1 << 14)); in check_rgb2yuv()
282 coeff[0][0][n] = lrint(0.85 * (1 << 14)); in check_multiply3x3()
[all …]
/third_party/musl/src/math/x32/
Dlrint.s1 .global lrint symbol
2 .type lrint,@function
3 lrint: label
/third_party/ffmpeg/libavfilter/
Dvf_colorlevels.c215 int imin = lrint(r->in_min * UINT8_MAX); in filter_frame()
216 int imax = lrint(r->in_max * UINT8_MAX); in filter_frame()
217 int omin = lrint(r->out_min * UINT8_MAX); in filter_frame()
218 int omax = lrint(r->out_max * UINT8_MAX); in filter_frame()
255 int imin = lrint(r->in_min * UINT16_MAX); in filter_frame()
256 int imax = lrint(r->in_max * UINT16_MAX); in filter_frame()
257 int omin = lrint(r->out_min * UINT16_MAX); in filter_frame()
258 int omax = lrint(r->out_max * UINT16_MAX); in filter_frame()
Dvf_colorchannelmixer.c641 s->lut[R][R][i] = lrint(i * s->rr); in config_output()
642 s->lut[R][G][i] = lrint(i * s->rg); in config_output()
643 s->lut[R][B][i] = lrint(i * s->rb); in config_output()
644 s->lut[R][A][i] = lrint(i * s->ra); in config_output()
646 s->lut[G][R][i] = lrint(i * s->gr); in config_output()
647 s->lut[G][G][i] = lrint(i * s->gg); in config_output()
648 s->lut[G][B][i] = lrint(i * s->gb); in config_output()
649 s->lut[G][A][i] = lrint(i * s->ga); in config_output()
651 s->lut[B][R][i] = lrint(i * s->br); in config_output()
652 s->lut[B][G][i] = lrint(i * s->bg); in config_output()
[all …]
Dvf_tonemap_vaapi.c72 lrint(luma_den * av_q2d(hdr_meta->max_luminance)); in tonemap_vaapi_save_metadata()
74 FFMIN(lrint(luma_den * av_q2d(hdr_meta->min_luminance)), in tonemap_vaapi_save_metadata()
93 FFMIN(lrint(chroma_den * in tonemap_vaapi_save_metadata()
97 FFMIN(lrint(chroma_den * in tonemap_vaapi_save_metadata()
103 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[0])), in tonemap_vaapi_save_metadata()
106 FFMIN(lrint(chroma_den * av_q2d(hdr_meta->white_point[1])), in tonemap_vaapi_save_metadata()
Daf_vibrato.c165 s->buf_size = lrint(inlink->sample_rate * 0.005 + 0.5); in config_input()
173 s->wave_table_size = lrint(inlink->sample_rate / s->freq + 0.5); in config_input()
Daf_afftdn.c181 return lrint(-d1 + d2 - d3); in get_band_noise()
244 return lrint(sum); in process_get_band_noise()
495 return lrint(s->band_centre[0] / 1.5); in get_band_centre()
505 i = lrint(s->band_centre[14] * 1.224745); in get_band_edge()
507 i = lrint(s->band_centre[band] / 1.224745); in get_band_edge()
633 s->band_centre[i] = lrint(1.5 * s->band_centre[i - 1] + 5.0); in config_input()
672 s->bin2band[i] = lrint(sdiv * freq2bark((0.5 * i * s->sample_rate) / s->fft_length2)); in config_input()
794 if (i < lrint(12.0 * sdiv)) { in config_input()
845 if (s->noise_band_edge[j] > lrint(1.1 * s->noise_band_edge[j - 1])) in config_input()
1057 i = lrint(temp[7] - d1); in set_noise_profile()
[all …]
/third_party/musl/libc-test/src/functional/
Dtgmath.c8 i = lrint(123456789.1f) & 0x7fffffff; in main()
11 i = lrint(123456789.1) & 0x7fffffff; in main()
/third_party/musl/src/math/
Dlrint.c54 long lrint(double x) in lrint() function
68 long lrint(double x) in lrint() function
Dlrintl.c9 return lrint(x); in lrintl()
/third_party/musl/porting/liteos_a/kernel/src/math/
Dlrint.c54 long lrint(double x) in lrint() function
68 long lrint(double x) in lrint() function
Dlrintl.c9 return lrint(x); in lrintl()
/third_party/alsa-utils/amixer/
Dvolume_mapping.c49 return lrint(ceil(x)); in lrint_dir()
51 return lrint(floor(x)); in lrint_dir()
53 return lrint(x); in lrint_dir()
/third_party/alsa-utils/alsamixer/
Dvolume_mapping.c49 return lrint(ceil(x)); in lrint_dir()
51 return lrint(floor(x)); in lrint_dir()
53 return lrint(x); in lrint_dir()
/third_party/libsnd/cmake/
DClipMode.cmake39 { ival = (lrint (fval)) >> 24 ;
64 { ival = (lrint (fval)) >> 24 ;
/third_party/musl/libc-test/src/api/
Dtgmath.c211 #ifdef lrint in f()
212 {double r = lrint(x);} in f()
214 #error no lrint(x) in f()
/third_party/libsnd/m4/
Dclip_mode.m446 { ival = (lrint (fval)) >> 24 ;
74 { ival = (lrint (fval)) >> 24 ;
/third_party/ffmpeg/libavformat/
Dhlsplaylist.c148 avio_printf(out, "#EXTINF:%ld,\n", lrint(duration)); in ff_hls_write_file_entry()
161 milli = av_clip(lrint(1000*(*prog_date_time - tt)), 0, 999); in ff_hls_write_file_entry()
/third_party/musl/src/math/i386/
Dlrint.c3 long lrint(double x) in lrint() function
/third_party/musl/src/math/x86_64/
Dlrint.c3 long lrint(double x) in lrint() function
/third_party/musl/src/math/aarch64/
Dlrint.c3 long lrint(double x) in lrint() function
/third_party/musl/src/math/powerpc64/
Dlrint.c5 long lrint(double x) in lrint() function
/third_party/node/deps/v8/src/base/
Dqnx-math.h17 using std::lrint;
/third_party/ffmpeg/libavutil/
Dtablegen.h53 #define lrint ff_lrint macro
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_lrint_test.cpp24 bool testResult = DoubleUlpCmp(g_lrintData[i].expected, lrint(g_lrintData[i].input), 1);

123456