Home
last modified time | relevance | path

Searched refs:in_hi (Results 1 – 10 of 10) sorted by relevance

/external/ComputeLibrary/src/cpu/kernels/scale/neon/
Dfp16.cpp68 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_fr… in fp16_neon_scale_nearest() local
69 const int offset_row = in_hi * in_stride_wc; in fp16_neon_scale_nearest()
116 const int32_t in_hi = std::floor((id.z() + sampling_offset) * hr - sampling_offset); in fp16_neon_scale_bilinear() local
117 …_ptr = reinterpret_cast<const float16_t *>(in.ptr()) + offset * in_stride_c + in_hi * in_stride_wc; in fp16_neon_scale_bilinear()
119 …const auto a00 = (0 <= offset && offset < in_dim_w && 0 <= in_hi && in_hi < in_dim_h) ? *in_ptr : … in fp16_neon_scale_bilinear()
120 …const auto a01 = (-1 <= offset && offset < in_dim_w - 1 && 0 <= in_hi && in_hi < in_dim_h) ? *(in_… in fp16_neon_scale_bilinear()
121 …const auto a10 = (0 <= offset && offset < in_dim_w && -1 <= in_hi && in_hi < in_dim_h - 1) ? *(in_… in fp16_neon_scale_bilinear()
122 …const auto a11 = (-1 <= offset && offset < in_dim_w - 1 && -1 <= in_hi && in_hi < in_dim_h - 1) ? … in fp16_neon_scale_bilinear()
135 const int in_hi = std::floor((id.z() + sampling_offset) * hr - sampling_offset); in fp16_neon_scale_bilinear() local
139 auto clamped_h = utility::clamp<int>(in_hi, 0, in_dim_h - 1); in fp16_neon_scale_bilinear()
[all …]
Dinteger.cpp60 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from… in u8_neon_scale_nearest() local
61 const int offset_row = in_hi * in_stride_wc; in u8_neon_scale_nearest()
108 … const int32_t in_hi = std::floor((id.z() + sampling_offset) * scale_y - sampling_offset); in u8_neon_scale_bilinear() local
109 …in_ptr = reinterpret_cast<const uint8_t *>(in.ptr()) + offset * in_stride_c + in_hi * in_stride_wc; in u8_neon_scale_bilinear()
111 …const auto a00 = (0 <= offset && offset < input_width && 0 <= in_hi && in_hi < input_height) ? *in… in u8_neon_scale_bilinear()
112 …const auto a01 = (-1 <= offset && offset < input_width - 1 && 0 <= in_hi && in_hi < input_height) … in u8_neon_scale_bilinear()
113 …const auto a10 = (0 <= offset && offset < input_width && -1 <= in_hi && in_hi < input_height - 1) … in u8_neon_scale_bilinear()
114 …const auto a11 = (-1 <= offset && offset < input_width - 1 && -1 <= in_hi && in_hi < input_height … in u8_neon_scale_bilinear()
542 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from… in s16_neon_scale_nearest() local
543 const int offset_row = in_hi * in_stride_wc; in s16_neon_scale_nearest()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dsimdlib_types.hpp240 SIMD128Impl::Float const& in_hi = _mm_setzero_ps()) in Float() argument
242 v = _mm256_insertf128_ps(_mm256_castps128_ps256(in_lo), in_hi, 0x1); in Float()
265 SIMD128Impl::Integer const& in_hi = _mm_setzero_si128()) in Integer() argument
267 v = _mm256_insertf128_si256(_mm256_castsi128_si256(in_lo), in_hi, 0x1); in Integer()
290 SIMD128Impl::Double const& in_hi = _mm_setzero_pd()) in Double() argument
292 v = _mm256_insertf128_pd(_mm256_castpd128_pd256(in_lo), in_hi, 0x1); in Double()
360 SIMD256Impl::Float const& in_hi = _mm256_setzero_ps()) in Float() argument
363 v8[1] = in_hi; in Float()
391 SIMD256Impl::Integer const& in_hi = _mm256_setzero_si256()) in Integer() argument
394 v8[1] = in_hi; in Integer()
[all …]
/external/ComputeLibrary/src/cpu/kernels/scale/sve/
Dinteger.cpp65 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from_… in u8_sve_scale_nearest() local
66 const int offset_row = in_hi * in_stride_wc; in u8_sve_scale_nearest()
109 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from_… in s16_sve_scale_nearest() local
110 const int offset_row = in_hi * in_stride_wc; in s16_sve_scale_nearest()
Dfp32.cpp66 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from_… in fp32_sve_scale_nearest() local
67 const int offset_row = in_hi * in_stride_wc; in fp32_sve_scale_nearest()
Dqasymm8.cpp66 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from_… in qasymm8_sve_scale_nearest() local
67 const int offset_row = in_hi * in_stride_wc; in qasymm8_sve_scale_nearest()
Dfp16.cpp67 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from_… in fp16_sve_scale_nearest() local
68 const int offset_row = in_hi * in_stride_wc; in fp16_sve_scale_nearest()
Dqasymm8_signed.cpp66 …const auto in_hi = static_cast<int>(align_corners ? utils::rounding::round_half_away_from_… in qasymm8_signed_sve_scale_nearest() local
67 const int offset_row = in_hi * in_stride_wc; in qasymm8_signed_sve_scale_nearest()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dpooling_ops.cc638 auto in_hi = xla::BitcastConvertType( in Compile() local
645 auto in_hi_bp_hi = xla::Add(in_hi, bp_hi); // Want an unsigned add. in Compile()
646 auto in_hi_bp_lo = xla::Add(in_hi, bp_lo); // Want an unsigned add. in Compile()
/external/webp/src/dsp/
Dlossless_enc_sse2.c353 const __m128i in_hi = _mm_unpackhi_epi8(zero, in); in BundleColorMap_SSE2() local
354 const __m128i dst2 = _mm_unpacklo_epi16(in_hi, ff); in BundleColorMap_SSE2()
355 const __m128i dst3 = _mm_unpackhi_epi16(in_hi, ff); in BundleColorMap_SSE2()