Home
last modified time | relevance | path

Searched refs:hmax (Results 1 - 25 of 48) sorted by relevance

12

/third_party/python/Modules/_decimal/libmpdec/
H A Dtranspose.c82 mpd_size_t hn, hmax; /* halfrow number */ in swap_halfrows_pow2() local
101 hmax = rows; /* cycles start at odd halfrows */ in swap_halfrows_pow2()
103 if ((done = mpd_calloc(hmax/(sizeof *done) + 1, sizeof *done)) == NULL) { in swap_halfrows_pow2()
107 for (hn = 1; hn <= hmax; hn += 2) { in swap_halfrows_pow2()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dimx274.c1146 u32 hmax; in imx274_apply_trimming() local
1159 hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); in imx274_apply_trimming()
1168 err = imx274_write_mbreg(imx274, IMX274_HMAX_REG_LSB, hmax, 2); in imx274_apply_trimming()
1384 * frame_length = vmax x (svr + 1), in unit of hmax.
1582 u32 hmax; in imx274_set_exposure() local
1590 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_exposure()
1594 if (hmax == 0) { in imx274_set_exposure()
1600 - priv->mode->nocpiop) / hmax; in imx274_set_exposure()
1610 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure()
1729 u32 hmax; in imx274_set_frame_interval() local
[all...]
H A Dimx290.c58 u32 hmax; member
311 .hmax = 0x1130,
319 .hmax = 0x19c8,
330 .hmax = 0x0898,
338 .hmax = 0x0ce4,
740 ret = imx290_set_hmax(imx290, imx290->current_mode->hmax); in imx290_start_streaming()
H A Dtvp5150.c1090 unsigned int hmax = tvp5150_get_hmax(sd); in tvp5150_set_hw_selection() local
1094 rect->top + rect->height - hmax); in tvp5150_set_hw_selection()
1113 unsigned int hmax; in tvp5150_set_selection() local
1124 hmax = tvp5150_get_hmax(sd); in tvp5150_set_selection()
1134 hmax - TVP5150_MAX_CROP_TOP - rect->top, in tvp5150_set_selection()
1135 hmax - rect->top, 0, 0); in tvp5150_set_selection()
/third_party/ffmpeg/libavfilter/
H A Dsignature_lookup.c177 size_t i, j, k, l, hmax = 0, score; in get_matching_parameters() local
266 if (score > hmax ) in get_matching_parameters()
267 hmax = score; in get_matching_parameters()
277 if (hmax > 0) { in get_matching_parameters()
278 hmax = (int) (0.7*hmax); in get_matching_parameters()
281 if (hmax < hspace[i][j].score) { in get_matching_parameters()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dimx274.c1281 u32 hmax; in imx274_apply_trimming() local
1294 hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); in imx274_apply_trimming()
1303 err = imx274_write_mbreg(imx274, IMX274_HMAX_REG_LSB, hmax, 2); in imx274_apply_trimming()
1503 * frame_length = vmax x (svr + 1), in unit of hmax.
1701 u32 hmax; in imx274_set_exposure() local
1709 err = imx274_read_mbreg(priv, IMX274_HMAX_REG_LSB, &hmax, 2); in imx274_set_exposure()
1713 if (hmax == 0) { in imx274_set_exposure()
1719 - priv->mode->nocpiop) / hmax; in imx274_set_exposure()
1729 (coarse_time * hmax + priv->mode->nocpiop) in imx274_set_exposure()
1848 u32 hmax; in imx274_set_frame_interval() local
[all...]
H A Dtvp5150.c1090 unsigned int hmax = tvp5150_get_hmax(sd); in tvp5150_set_hw_selection() local
1094 rect->top + rect->height - hmax); in tvp5150_set_hw_selection()
1113 unsigned int hmax; in tvp5150_set_selection() local
1124 hmax = tvp5150_get_hmax(sd); in tvp5150_set_selection()
1134 hmax - TVP5150_MAX_CROP_TOP - rect->top, in tvp5150_set_selection()
1135 hmax - rect->top, 0, 0); in tvp5150_set_selection()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-common.c121 u32 *h, unsigned int hmin, unsigned int hmax, in v4l_bound_align_image()
125 *h = clamp_align(*h, hmin, hmax, halign); in v4l_bound_align_image()
139 unsigned int hmaxa = __fls(hmax ^ (hmin - 1)); in v4l_bound_align_image()
148 *h = clamp_align(*h, hmin, hmax, halign + 1); in v4l_bound_align_image()
119 v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, unsigned int walign, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int halign, unsigned int salign) v4l_bound_align_image() argument
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A Drpng2-win.c844 int k, hmax, max;
941 hmax = (bgscale-1)/2; /* half the max weight of a color */
942 max = 2*hmax; /* the max weight of a color */
953 if (yidx > hmax)
958 if (xidx > hmax)
H A Drpng2-x.c1091 int k, hmax, max; in rpng2_x_load_bg_image() local
1193 hmax = (bgscale-1)/2; /* half the max weight of a color */ in rpng2_x_load_bg_image()
1194 max = 2*hmax; /* the max weight of a color */ in rpng2_x_load_bg_image()
1205 if (yidx > hmax) in rpng2_x_load_bg_image()
1210 if (xidx > hmax) in rpng2_x_load_bg_image()
1878 int k, hmax, max; in rpng2_x_reload_bg_image() local
1965 hmax = (bgscale-1)/2; /* half the max weight of a color */ in rpng2_x_reload_bg_image()
1966 max = 2*hmax; /* the max weight of a color */ in rpng2_x_reload_bg_image()
1977 if (yidx > hmax) in rpng2_x_reload_bg_image()
1982 if (xidx > hmax) in rpng2_x_reload_bg_image()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
H A Dmdp_cfg_data.c390 .hmax = 8176,
396 .hmax = 8176,
H A Dmtk-mdp3-regs.h270 u32 hmax; member
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-common.c121 u32 *h, unsigned int hmin, unsigned int hmax, in v4l_bound_align_image()
125 *h = clamp_align(*h, hmin, hmax, halign); in v4l_bound_align_image()
139 unsigned int hmaxa = __fls(hmax ^ (hmin - 1)); in v4l_bound_align_image()
148 *h = clamp_align(*h, hmin, hmax, halign + 1); in v4l_bound_align_image()
119 v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, unsigned int walign, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int halign, unsigned int salign) v4l_bound_align_image() argument
/third_party/astc-encoder/Source/
H A Dastcenc_vecmathlib_avx2_8.h534 ASTCENC_SIMD_INLINE vint8 hmax(vint8 a) in hmax() function
866 ASTCENC_SIMD_INLINE vfloat8 hmax(vfloat8 a) in hmax() function
890 return hmax(a).lane<0>(); in hmax_s()
H A Dastcenc_decompress_symbolic.cpp113 int max_weight_count = hmax(weight_count).lane<0>(); in unpack_weights()
148 int max_weight_count = hmax(weight_count).lane<0>(); in unpack_weights()
H A Dastcenc_vecmathlib_common_4.h270 return hmax(a).lane<0>(); in hmax_s()
/third_party/astc-encoder/Source/UnitTest/
H A Dtest_simd.cpp810 /** @brief Test vfloat4 hmax. */
811 TEST(vfloat4, hmax) in TEST()
814 vfloat4 r1 = hmax(a1); in TEST()
821 vfloat4 r2 = hmax(a2); in TEST()
1640 /** @brief Test vint4 hmax. */
1641 TEST(vint4, hmax) in TEST()
1644 vint4 r1 = hmax(a1); in TEST()
1651 vint4 r2 = hmax(a2); in TEST()
2539 /** @brief Test vfloat8 hmax. */
2540 TEST(vfloat8, hmax) in TEST()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp1589 const int hmax = divRoundToZero(max, 2); in generateBasic2DCaseIterations() local
1599 result.push_back(GatherArgs(componentNdx, IVec2(0, hmax))); in generateBasic2DCaseIterations()
1616 const int hmax = divRoundToZero(max, 2); in generateBasic2DCaseIterations() local
1626 IVec2(min, hmax), in generateBasic2DCaseIterations()
1628 IVec2(0, hmax), in generateBasic2DCaseIterations()
1629 IVec2(hmax, 0))); in generateBasic2DCaseIterations()
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-common.h359 * @hmax: maximum height.
365 * @hmin and @hmax, inclusive.
376 * #. @hmax must not be smaller than @hmin.
389 unsigned int hmax, unsigned int halign,
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-common.h359 * @hmax: maximum height.
365 * @hmin and @hmax, inclusive.
376 * #. @hmax must not be smaller than @hmin.
389 unsigned int hmax, unsigned int halign,
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_m2m.c154 unsigned int hmax, unsigned int align_h) in mtk_mdp_bound_align_image()
163 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_mdp_bound_align_image()
169 if (*h < org_h && (*h + step_h) <= hmax) in mtk_mdp_bound_align_image()
151 mtk_mdp_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, unsigned int align_w, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int align_h) mtk_mdp_bound_align_image() argument
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c249 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
292 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
313 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c229 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() local
272 for (y = 0; y < hmax / vdiv; y++, vcapbuf += stride_cap) in vivid_copy_buffer()
293 for (y = 0; y < hmax; y += vdiv, vcapbuf += stride_cap) { in vivid_copy_buffer()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c154 unsigned int hmax, unsigned int align_h) in mtk_mdp_bound_align_image()
163 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_mdp_bound_align_image()
169 if (*h < org_h && (*h + step_h) <= hmax) in mtk_mdp_bound_align_image()
151 mtk_mdp_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, unsigned int align_w, u32 *h, unsigned int hmin, unsigned int hmax, unsigned int align_h) mtk_mdp_bound_align_image() argument
/kernel/linux/linux-5.10/tools/perf/util/
H A Djitdump.c71 #define hmax(a, b) ((a) > (b) ? (a) : (b)) macro
146 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()

Completed in 38 milliseconds

12