/foundation/multimedia/av_codec/test/unittest/codeclist_test/ |
H A D | codeclist_unit_test.cpp | 428 int32_t hmax = DEFAULT_HEIGHT_RANGE.maxVal; in HWTEST_F() local 436 EXPECT_TRUE(capability_->IsVideoSizeSupported(wmin + 2, hmax)) in HWTEST_F() 437 << "width:" << wmin + 2 << "height:" << hmax << std::endl; in HWTEST_F() 438 EXPECT_TRUE(capability_->IsVideoSizeSupported(wmin + 2, hmax - 2)) in HWTEST_F() 439 << "width:" << wmin + 2 << "height:" << hmax - 2 << std::endl; in HWTEST_F() 440 EXPECT_TRUE(capability_->IsVideoSizeSupported(DEFAULT_WIDTH, hmax)) in HWTEST_F() 441 << "width:" << DEFAULT_WIDTH << "height:" << hmax << std::endl; in HWTEST_F() 442 EXPECT_TRUE(capability_->IsVideoSizeSupported(DEFAULT_WIDTH, hmax - 2)) in HWTEST_F() 443 << "width:" << DEFAULT_WIDTH << "height:" << hmax - 2 << std::endl; in HWTEST_F() 473 int32_t hmax in HWTEST_F() local 587 int32_t hmax = DEFAULT_WIDTH_RANGE_OF_HEIGHT.maxVal; HWTEST_F() local 610 int32_t hmax = DEFAULT_HEIGHT_RANGE.maxVal; HWTEST_F() local [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | transpose.c | 82 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 D | imx274.c | 1146 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 D | imx290.c | 58 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 D | tvp5150.c | 1090 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 D | signature_lookup.c | 177 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 D | imx274.c | 1281 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 D | tvp5150.c | 1090 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 D | v4l2-common.c | 121 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 D | rpng2-win.c | 844 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 D | rpng2-x.c | 1091 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 D | mdp_cfg_data.c | 390 .hmax = 8176, 396 .hmax = 8176,
|
H A D | mtk-mdp3-regs.h | 270 u32 hmax; member
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 121 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 D | astcenc_vecmathlib_avx2_8.h | 534 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 D | astcenc_decompress_symbolic.cpp | 113 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 D | astcenc_vecmathlib_common_4.h | 270 return hmax(a).lane<0>(); in hmax_s()
|
/third_party/astc-encoder/Source/UnitTest/ |
H A D | test_simd.cpp | 810 /** @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...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-common.h | 359 * @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 D | v4l2-common.h | 359 * @hmax: maximum height. 365 * @hmin and @hmax, inclusive. 376 * #. @hmax must not be smaller than @hmin. 389 unsigned int hmax, unsigned int halign,
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 1589 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/drivers/media/platform/mtk-mdp/ |
H A D | mtk_mdp_m2m.c | 154 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 D | vivid-kthread-cap.c | 249 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 D | vivid-kthread-cap.c | 229 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 D | mtk_mdp_m2m.c | 154 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
|