Home
last modified time | relevance | path

Searched refs:top_right (Results 1 – 25 of 28) sorted by relevance

12

/external/libgav1/libgav1/src/dsp/x86/
Dintrapred_smooth_sse4.cc225 const __m128i top_right = _mm_shuffle_epi32(top, 0xFF); in Smooth4x4_SSE4_1() local
229 const __m128i scaled_top_right = _mm_mullo_epi16(inverted_weights, top_right); in Smooth4x4_SSE4_1()
485 const __m128i top_right = _mm_set1_epi16(top_ptr[width - 1]); in SmoothWxH() local
515 _mm_mullo_epi16(inverted_weights_x, top_right); in SmoothWxH()
538 const __m128i top_right = _mm_set1_epi32(top_ptr[3]); in SmoothHorizontal4x4_SSE4_1() local
544 const __m128i scaled_top_right = _mm_mullo_epi16(inverted_weights, top_right); in SmoothHorizontal4x4_SSE4_1()
560 const __m128i top_right = _mm_set1_epi32(top[3]); in SmoothHorizontal4x8_SSE4_1() local
564 const __m128i scaled_top_right = _mm_mullo_epi16(inverted_weights, top_right); in SmoothHorizontal4x8_SSE4_1()
592 const __m128i top_right = _mm_set1_epi32(top[3]); in SmoothHorizontal4x16_SSE4_1() local
596 const __m128i scaled_top_right = _mm_mullo_epi16(inverted_weights, top_right); in SmoothHorizontal4x16_SSE4_1()
[all …]
/external/libgav1/libgav1/src/dsp/arm/
Dintrapred_smooth_neon.cc75 const uint8_t top_right = top[width - 1]; in Smooth4Or8xN_NEON() local
86 const uint8x8_t top_right_v = vdup_n_u8(top_right); in Smooth4Or8xN_NEON()
120 const uint8x16_t top, const uint8x8_t left, const uint8x8_t top_right, in CalculateWeightsAndPred() argument
126 vmull_u8(vget_low_u8(scaled_weights_x), top_right); in CalculateWeightsAndPred()
138 vmull_u8(vget_high_u8(scaled_weights_x), top_right); in CalculateWeightsAndPred()
156 const uint8_t top_right = top[width - 1]; in Smooth16PlusxN_NEON() local
171 const uint8x8_t top_right_v = vdup_n_u8(top_right); in Smooth16PlusxN_NEON()
338 const uint8_t top_right = top[width - 1]; in SmoothHorizontal4Or8xN_NEON() local
341 const uint8x8_t top_right_v = vdup_n_u8(top_right); in SmoothHorizontal4Or8xN_NEON()
366 const uint8x8_t left, const uint8x8_t top_right, const uint8x16_t weights_x, in CalculateHorizontalWeightsAndPred() argument
[all …]
/external/webp/src/dec/
Dframe_dec.c131 uint32_t* const top_right = (uint32_t*)(y_dst - BPS + 16); in ReconstructRow() local
135 memset(top_right, top_yuv[0].y[15], sizeof(*top_right)); in ReconstructRow()
137 memcpy(top_right, top_yuv[1].y, sizeof(*top_right)); in ReconstructRow()
141 top_right[BPS] = top_right[2 * BPS] = top_right[3 * BPS] = top_right[0]; in ReconstructRow()
/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op_gpu.cu.cc102 const float top_right(static_cast<float>( in CropAndResizeKernel()
117 const float top = top_left + (top_right - top_left) * x_lerp; in CropAndResizeKernel()
294 const float top_right(static_cast<float>( in CropAndResizeBackpropBoxesKernel()
312 x_lerp * (bottom_right - top_right); in CropAndResizeBackpropBoxesKernel()
313 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + in CropAndResizeBackpropBoxesKernel()
Dresize_bilinear_op.cc108 inline float compute_lerp(const float top_left, const float top_right, in compute_lerp() argument
111 const float top = top_left + (top_right - top_left) * x_lerp; in compute_lerp()
163 const float top_right = input_(b, ys_[y].lower, xs_[x].upper, c); in operator ()() local
168 return compute_lerp(top_left, top_right, bottom_left, bottom_right, xs_lerp, in operator ()()
Dresize_bilinear_op_gpu.cu.cc148 const float top_right( in ResizeBilinearKernel() local
161 const float top = top_left + (top_right - top_left) * x_lerp; in ResizeBilinearKernel()
316 const float top_right( in LegacyResizeBilinearKernel() local
329 const float top = top_left + (top_right - top_left) * x_lerp; in LegacyResizeBilinearKernel()
Dcrop_and_resize_op.cc291 const float top_right(static_cast<float>( in operator ()()
297 const float top = top_left + (top_right - top_left) * x_lerp; in operator ()()
711 const float top_right( in operator ()()
719 x_lerp * (bottom_right - top_right); in operator ()()
720 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + in operator ()()
Dresize_bilinear_op_test.cc120 const float top_right = images(b, top_y_index, right_x_index, c); in ResizeBilinearBaseline() local
125 const float top = top_left + (top_right - top_left) * x_lerp; in ResizeBilinearBaseline()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc826 T_CALC ComputeRefLerp(T_CALC top_left, T_CALC top_right, T_CALC bottom_left, in ComputeRefLerp() argument
830 top_left * RESOLUTION_POW + (top_right - top_left) * x_lerp; in ComputeRefLerp()
838 void TestComputeLerp8x8(uint8 top_left, uint8 top_right, uint8 bottom_left, in TestComputeLerp8x8() argument
841 uint8x8_t top_right8x8 = To8x8(top_right); in TestComputeLerp8x8()
854 static_cast<int16>(top_left), static_cast<int16>(top_right), in TestComputeLerp8x8()
863 << static_cast<int>(top_right) << ", " in TestComputeLerp8x8()
870 void TestComputeLerp32x2(int32 top_left, int32 top_right, int32 bottom_left, in TestComputeLerp32x2() argument
873 int32x2_t top_right32x2 = To32x2(top_right); in TestComputeLerp32x2()
884 static_cast<int64>(top_left), static_cast<int64>(top_right), in TestComputeLerp32x2()
888 VLOG(1) << "Lerp(32): " << top_left << ", " << top_right << ", " in TestComputeLerp32x2()
Dquantized_resize_bilinear_op.cc106 const float top_right = QuantizedToFloat<T>(in_top_right, min, max); in ComputeLerpReference() local
109 const float top = top_left + (top_right - top_left) * x_lerp; in ComputeLerpReference()
122 inline T ComputeLerp(const T top_left, const T top_right, const T bottom_left, in ComputeLerp() argument
127 MulOffset<T, T_SCALE, T_CALC>(top_right, top_left, x_lerp); in ComputeLerp()
257 const T top_right = ys_input_lower_ptr[xs_upper + c]; in OutputLerpForChannels() local
261 top_left, top_right, bottom_left, bottom_right, xs_ilerp, ys_ilerp); in OutputLerpForChannels()
500 const T top_right = ys_input_lower_ptr[xs_upper + c]; in ResizeImageReference() local
504 top_left, top_right, bottom_left, bottom_right, xs_lerp, ys_lerp, in ResizeImageReference()
Dquantized_resize_bilinear_op_test.cc86 const float top_right = QuantizedToFloat<T>(in_top_right, min, max); in ComputeLerpReference() local
89 const float top = top_left + (top_right - top_left) * x_lerp; in ComputeLerpReference()
134 const float top_right = image_data[y_lower_index + xs_upper + c]; in CalcReferenceResizedVal() local
138 ComputeLerpReference<T>(top_left, top_right, bottom_left, bottom_right, in CalcReferenceResizedVal()
Dconv_ops_fused_image_transform.cc148 top_right(in_top_right), in SampleRect()
155 top_left[channel] + (top_right[channel] - top_left[channel]) * x_lerp; in BilinearSample()
162 const T1* top_right; member
/external/libhevc/decoder/
Dihevcd_iquant_itrans_recon_ctb.c354 UWORD8 top_right, top, top_left, left, bot_left; in ihevcd_get_intra_nbr_flag() local
388 top_right = 0; in ihevcd_get_intra_nbr_flag()
456 top_right = (*pu1_nbr_intra_flag >> intra_pos); in ihevcd_get_intra_nbr_flag()
457 top_right &= num_8_blks_in_bits; in ihevcd_get_intra_nbr_flag()
482 top_right = 0xF; in ihevcd_get_intra_nbr_flag()
510 top_right &= ctb_size_top_bits; in ihevcd_get_intra_nbr_flag()
522 …nbr_flags = (top_left << 16) | (top_right << 12) | (top << 8) | (gau4_ihevcd_4_bit_reverse[left] <… in ihevcd_get_intra_nbr_flag()
/external/llvm-project/lldb/test/API/lang/c/array_types/
Dmain.c10 struct point_tag top_right; in main() member
/external/llvm-project/lldb/test/API/lang/c/struct_types/
Dmain.c29 struct point_tag top_right; in main() member
/external/tensorflow/tensorflow/lite/kernels/perception/
Ddense_image_warp.cc70 float top_right = in DenseImageWarp() local
77 float interp_top = alpha_x * (top_right - top_left) + top_left; in DenseImageWarp()
/external/XNNPACK/src/f32-ibilinear-chw/
Dwasmsimd.c.in163 // alpha_h * (1 - alpha_v) * top_right +
171 // right = top_right + alpha_v * (bottom_right - top_right).
186 // right_diff = bottom_right - top_right
Dneon.c.in168 // alpha_h * (1 - alpha_v) * top_right +
176 // right = top_right + alpha_v * (bottom_right - top_right).
191 // right_diff = bottom_right - top_right
/external/gemmlowp/internal/
Doutput_sse.h377 RegBlockInt32<4, 4> top_right;
378 top_right.buf.reg[0] = src.buf.reg[8];
379 top_right.buf.reg[1] = src.buf.reg[10];
380 top_right.buf.reg[2] = src.buf.reg[12];
381 top_right.buf.reg[3] = src.buf.reg[14];
382 const auto transpose_top_right = Transpose(top_right);
Doutput_msa.h545 RegBlockInt32<4, 4> top_right;
546 top_right.buf.reg[0] = src.buf.reg[8];
547 top_right.buf.reg[1] = src.buf.reg[10];
548 top_right.buf.reg[2] = src.buf.reg[12];
549 top_right.buf.reg[3] = src.buf.reg[14];
550 const auto transpose_top_right = Transpose(top_right);
Doutput_neon.h488 RegBlockInt32<4, 4> top_right;
489 top_right.buf.reg[0] = src.buf.reg[8];
490 top_right.buf.reg[1] = src.buf.reg[10];
491 top_right.buf.reg[2] = src.buf.reg[12];
492 top_right.buf.reg[3] = src.buf.reg[14];
493 const auto transpose_top_right = Transpose(top_right);
/external/libgav1/libgav1/src/dsp/
Dintrapred_smooth.cc67 const Pixel top_right = top[block_width - 1]; in Smooth() local
84 pred += static_cast<uint8_t>(scale_value - weights_x[x]) * top_right; in Smooth()
128 const Pixel top_right = top[block_width - 1]; in SmoothHorizontal() local
140 pred += static_cast<uint8_t>(scale_value - weights_x[x]) * top_right; in SmoothHorizontal()
/external/libchrome/ui/gfx/geometry/
Drect_f.h69 constexpr PointF top_right() const { return PointF(right(), y()); } in top_right() function
Drect.h102 constexpr Point top_right() const { return Point(right(), y()); } in top_right() function
/external/libgav1/libgav1/src/
Dmotion_vector.cc870 bool top_right = true; in FindWarpSamples() local
880 if (column_offset + source_width4x4 > block.width4x4) top_right = false; in FindWarpSamples()
922 if (top_right && block.size <= kBlock64x64) { in FindWarpSamples()

12