Home
last modified time | relevance | path

Searched refs:imax (Results 1 – 25 of 46) 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/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Drange_infer.c60 shape_size = imax((int)(ceil((float)(limit - start) / delta)), 0); in RangeInferShape()
70 shape_size = imax((int)(ceil((float)(limit - start) / delta)), 0); in RangeInferShape()
Dcommon_infer.h202 int imax(int a, int b);
Dstrided_slice_infer.c170 … begins[i] = imax(imin(begin_data[axis], input_tensor->shape_[i] - 1), -input_tensor->shape_[i]); in HandleAxesInputExist()
173 ends[i] = imax(imin(end_data[axis], input_tensor->shape_[i]), -input_tensor->shape_[i] - 1); in HandleAxesInputExist()
/third_party/boost/libs/convert/test/
Dstrtol_converter.cpp42 unsigned int const imax = (std::numeric_limits<unsigned int>::max)(); in test_str_to_uint() local
44 std::string const imax_str = boost::lexical_cast<std::string>(imax); in test_str_to_uint()
56 BOOST_TEST(imax == convert< unsigned int>(imax_str).value()); in test_str_to_uint()
104 int const imax = (std::numeric_limits<int>::max)(); in test_int_to_str() local
111 std::string const imax_str = boost::lexical_cast<std::string>(imax); in test_int_to_str()
118 BOOST_TEST( imax_str == convert<std::string>( imax).value()); in test_int_to_str()
/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/boost/libs/container/test/
Dpool_resource_test.hpp422 for(std::size_t i = 0, imax = pool_count, s = minimum_size; i != imax; s*=2, ++i){ in test_release() local
459 for(std::size_t i = 0, imax = pool_count, s = minimum_size; i != imax; s*=2, ++i){ in test_destructor() local
/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/mesa3d/src/compiler/nir/
Dnir_opt_uniform_atomics.c68 OP(imax, imax) in parse_atomic_op()
Dnir_opt_load_store_vectorize.c88 ATOMIC(nir_var_mem_ssbo, ssbo, imax, 0, 1, -1, 2) in get_info()
102 ATOMIC(0, deref, imax, -1, -1, 0, 1) in get_info()
116 ATOMIC(nir_var_mem_shared, shared, imax, -1, 0, -1, 1) in get_info()
130 ATOMIC(nir_var_mem_global, global, imax, -1, 0, -1, 1) in get_info()
/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/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/boost/libs/rational/test/
Drational_test.cpp1314 boost::int32_t imax = (std::numeric_limits<boost::int32_t>::max)(); in BOOST_AUTO_TEST_CASE() local
1316 ll = imax; in BOOST_AUTO_TEST_CASE()
1318 BOOST_CHECK_EQUAL(rat.numerator(), imax); in BOOST_AUTO_TEST_CASE()
1328 ull = imax; in BOOST_AUTO_TEST_CASE()
1330 BOOST_CHECK_EQUAL(rat.numerator(), imax); in BOOST_AUTO_TEST_CASE()
/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.c731 ALU_CASE(imax, imax); in emit_alu()
2082 ATOMIC_CASE(ctx, instr, imax, imax); in emit_intrinsic()
2093 IMAGE_ATOMIC_CASE(ctx, instr, imax, imax); in emit_intrinsic()

12