Home
last modified time | relevance | path

Searched refs:imax (Results 1 – 25 of 41) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_colorlevels.c216 int imax = lrint(r->in_max * UINT8_MAX); in filter_frame() local
231 if (imax < 0) { in filter_frame()
233 imax = 0; in filter_frame()
238 imax = FFMAX(imax, src[x + offset]); in filter_frame()
243 coeff = (omax - omin) / (double)(imax - imin); in filter_frame()
256 int imax = lrint(r->in_max * UINT16_MAX); in filter_frame() local
271 if (imax < 0) { in filter_frame()
273 imax = 0; in filter_frame()
278 imax = FFMAX(imax, src[x + offset]); in filter_frame()
283 coeff = (omax - omin) / (double)(imax - imin); in filter_frame()
Dvf_colorcorrect.c44 float y = yptr[x] * imax; \
45 float u = uptr[x] * imax - .5f; \
46 float v = vptr[x] * imax - .5f; \
59 const float imax = 1.f / max; in colorcorrect_slice8() local
99 const float imax = 1.f / max; in colorcorrect_slice16() local
Dvf_monochrome.c70 float y = yptr[x] * imax; \
71 float u = uptr[cx] * imax - .5f; \
72 float v = vptr[cx] * imax - .5f; \
88 const float imax = 1.f / max; in monochrome_slice8() local
127 const float imax = 1.f / max; in monochrome_slice16() local
Dvf_overlay.c355 int i, imax, j, jmax; in blend_slice_packed_rgb() local
375 imax = FFMIN3(-y + dst_h, FFMIN(src_h, dst_h), y + src_h); in blend_slice_packed_rgb()
377 slice_start = i + (imax * jobnr) / nb_jobs; in blend_slice_packed_rgb()
378 slice_end = i + (imax * (jobnr+1)) / nb_jobs; in blend_slice_packed_rgb()
572 …int i, imax, j, jmax; …
577imax = FFMIN(-y + dst_h, src_h); …
578 …slice_start = (imax * jobnr) / nb_jobs; …
579 …slice_end = ((imax * (jobnr+1)) / nb_jobs); …
Davf_concat.c231 unsigned imax = i + ctx->nb_outputs; in find_next_delta_ts() local
235 for (; i < imax; i++) in find_next_delta_ts()
/third_party/glslang/Test/
D300BuiltIns.frag3 int imax, imin;
37 ivec4 iv15 = max(iv4a, imax);
41 ivec4 iv17 = clamp(iv4a, imin, imax);
/third_party/alsa-lib/src/pcm/
Dpcm_extplug.c113 int imin, imax; in snd_interval_list() local
130 for (imax = num_list - 1; imax >= imin; imax--) { in snd_interval_list()
131 if (ival->max == list[imax] && ! ival->openmax) in snd_interval_list()
133 if (ival->max >= list[imax]) { in snd_interval_list()
134 ival->max = list[imax]; in snd_interval_list()
140 if (imax < imin) in snd_interval_list()
/third_party/ltp/lib/
Drandom_range.c730 int imax = 6 * GIG; /* higher than 32 bits */ local
732 int imax = 1048576; local
851 itmin = imax;
852 part = imax / PARTNUM;
858 lret = random_range(imin, imax, imult, NULL);
883 valbound[PARTNUM - 1], (long)imax, cntarr[PARTNUM - 1],
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_rsa_fips186_4.c250 int i, imax; in ossl_bn_rsa_fips186_4_derive_prime() local
313 imax = 20 * bits; /* max = 20/2 * nbits */ in ossl_bn_rsa_fips186_4_derive_prime()
352 if (++i >= imax) { in ossl_bn_rsa_fips186_4_derive_prime()
/third_party/openssl/crypto/bn/
Dbn_rsa_fips186_4.c250 int i, imax; in ossl_bn_rsa_fips186_4_derive_prime() local
313 imax = 20 * bits; /* max = 20/2 * nbits */ in ossl_bn_rsa_fips186_4_derive_prime()
352 if (++i >= imax) { in ossl_bn_rsa_fips186_4_derive_prime()
/third_party/alsa-lib/include/
Dcontrol_external.h177 long *imin, long *imax, long *istep);
182 int64_t *imin, int64_t *imax, int64_t *istep);
Dcontrol.h616 …snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, unsigned int count, long imin, long imax, long istep);
617 … const snd_ctl_elem_id_t *id, unsigned int count, long long imin, long long imax, long long istep);
/third_party/ltp/testcases/misc/math/float/
Dthread_code.c282 int imax, index; in thread_code() local
360 imax = fsize / sizeof(double); in thread_code()
365 for (index = th_data->th_num; index < imax; index += num_threads) { /* computation loop */ in thread_code()
/third_party/alsa-utils/alsactl/
Dstate.c832 long *imin, long *imax, long *istep) in get_comment_range() argument
841 err = sscanf(s, "%li - %li (step %li)", imin, imax, istep); in get_comment_range()
844 err = sscanf(s, "%li - %li", imin, imax); in get_comment_range()
902 long imin, imax, istep; in add_user_control() local
909 imin = imax = istep = 0; in add_user_control()
928 err = get_comment_range(n, ctype, &imin, &imax, &istep); in add_user_control()
966 if (imin > imax || istep > imax - imin) { in add_user_control()
970 err = snd_ctl_elem_add_integer(handle, id, count, imin, imax, istep); in add_user_control()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test.c786 unsigned imin, imax; in depth_bounds_test_quads() local
790 imax = ((unsigned) (max * 65535.0)) & 0xffff; in depth_bounds_test_quads()
793 imax = (unsigned) (max * 4294967295.0); in depth_bounds_test_quads()
797 imax = ((unsigned) (max * 16777215.0)) & 0xffffff; in depth_bounds_test_quads()
805 if (iz >= imin && iz <= imax) in depth_bounds_test_quads()
/third_party/glslang/Test/baseResults/
D300BuiltIns.frag.out66 0:37 'imax' ( global mediump int)
92 0:41 'imax' ( global mediump int)
191 0:? 'imax' ( global mediump int)
273 0:37 'imax' ( global mediump int)
299 0:41 'imax' ( global mediump int)
398 0:? 'imax' ( global mediump int)
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_uniform_atomics.c77 OP(imax, imax) in parse_atomic_op()
Dnir_opt_load_store_vectorize.c90 ATOMIC(nir_var_mem_ssbo, ssbo, imax, 0, 1, -1, 2) in get_info()
104 ATOMIC(0, deref, imax, -1, -1, 0, 1) in get_info()
118 ATOMIC(nir_var_mem_shared, shared, imax, -1, 0, -1, 1) in get_info()
132 ATOMIC(nir_var_mem_global, global, imax, -1, 0, -1, 1) in get_info()
146 ATOMIC(nir_var_mem_task_payload, task_payload, imax, -1, 0, -1, 1) in get_info()
/third_party/optimized-routines/math/test/rtest/
Ddotest.c1389 uint32 imin, imax; in pow_cases() local
1391 imin = 0x40000 / (0x3FE - e), imax = 0x43200 / (0x3FE - e); in pow_cases()
1393 imin = 0x43200 / (e - 0x3FF), imax = 0x40000 / (e - 0x3FF); in pow_cases()
1396 dmax = doubletop(imax, -8); in pow_cases()
1479 uint32 imin, imax; in pow_cases_float() local
1481 imin = 0x8000 / (0x7e - e), imax = 0x9500 / (0x7e - e); in pow_cases_float()
1483 imin = 0x9500 / (e - 0x7f), imax = 0x8000 / (e - 0x7f); in pow_cases_float()
1486 dmax = floatval(imax, -8); in pow_cases_float()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_emit.c96 IOPC(imax, SELECT, 0_1_0, LT),
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c772 ALU_CASE(imax, imax); in emit_alu()
2173 ATOMIC_CASE(ctx, instr, imax, imax); in emit_intrinsic()
2184 IMAGE_ATOMIC_CASE(ctx, instr, imax, imax); in emit_intrinsic()
/third_party/cups-filters/filter/foomatic-rip/
Doptions.c506 int i, imin, imax; in get_valid_param_string() local
514 imax = !isempty(param->max) ? atoi(param->max) : 1000000; in get_valid_param_string()
520 else if (i > imax) { in get_valid_param_string()
522 str, opt->name, param->name, imax); in get_valid_param_string()
/third_party/python/Modules/
Dselectmodule.c266 int imax, omax, emax, max; in select_select_impl() local
310 if ((imax = seq2set(rlist, &ifdset, rfd2obj)) < 0) in select_select_impl()
317 max = imax; in select_select_impl()
D_testbuffer.c933 Py_ssize_t imin, imax; in verify_structure() local
952 imin = imax = 0; in verify_structure()
957 imax += (shape[n]-1) * strides[n]; in verify_structure()
959 if (imin + offset < 0 || imax + offset + itemsize > len) in verify_structure()
/third_party/python/Doc/c-api/
Dbuffer.rst391 imax = sum(strides[j]*(shape[j]-1) for j in range(ndim)
394 return 0 <= offset+imin and offset+imax+itemsize <= memlen

12