Home
last modified time | relevance | path

Searched refs:weights_y (Results 1 – 4 of 4) sorted by relevance

/external/libgav1/libgav1/src/dsp/x86/
Dintrapred_smooth_sse4.cc114 const __m128i& weights_y, in WriteSmoothPredSum4() argument
120 const __m128i weight_y = _mm_shuffle_epi32(weights_y, y_mask); in WriteSmoothPredSum4()
181 inline void WriteSmoothPred4x8(const __m128i* pixel, const __m128i* weights_y, in WriteSmoothPred4x8() argument
194 const __m128i weight_y = _mm_shuffle_epi8(weights_y[0], y_select); in WriteSmoothPred4x8()
195 const __m128i inverted_weight_y = _mm_shuffle_epi8(weights_y[1], y_select); in WriteSmoothPred4x8()
255 __m128i weights_y[2]; in Smooth4x8_SSE4_1() local
256 LoadSmoothWeights4(kSmoothWeights, 8, weights_y, weights_x); in Smooth4x8_SSE4_1()
260 WriteSmoothPred4x8(pixels, weights_y, weights_x, dst, stride, false); in Smooth4x8_SSE4_1()
268 __m128i weights_y[4]; in Smooth4x16_SSE4_1() local
269 LoadSmoothWeights4(kSmoothWeights, 16, weights_y, weights_x); in Smooth4x16_SSE4_1()
[all …]
/external/libgav1/libgav1/src/dsp/arm/
Dintrapred_smooth_neon.cc77 const uint8_t* const weights_y = kSmoothWeights + height - 4; in Smooth4Or8xN_NEON() local
96 const uint8x8_t weights_y_v = vdup_n_u8(weights_y[y]); in Smooth4Or8xN_NEON()
97 const uint8x8_t scaled_weights_y = vdup_n_u8(256 - weights_y[y]); in Smooth4Or8xN_NEON()
121 const uint8x8_t weights_y, const uint8x16_t weights_x, in CalculateWeightsAndPred() argument
123 const uint16x8_t weighted_top_low = vmull_u8(weights_y, vget_low_u8(top)); in CalculateWeightsAndPred()
135 const uint16x8_t weighted_top_high = vmull_u8(weights_y, vget_high_u8(top)); in CalculateWeightsAndPred()
158 const uint8_t* const weights_y = kSmoothWeights + height - 4; in Smooth16PlusxN_NEON() local
203 const uint8x8_t weights_y_v = vdup_n_u8(weights_y[y]); in Smooth16PlusxN_NEON()
204 const uint8x8_t scaled_weights_y = vdup_n_u8(256 - weights_y[y]); in Smooth16PlusxN_NEON()
238 const uint8_t* const weights_y = kSmoothWeights + height - 4; in SmoothVertical4Or8xN_NEON() local
[all …]
/external/libgav1/libgav1/src/dsp/
Dintrapred_smooth.cc73 const uint8_t* const weights_y = kSmoothWeights + block_height - 4; in Smooth() local
80 assert(scale_value >= weights_y[y] && scale_value >= weights_x[x]); in Smooth()
81 uint32_t pred = weights_y[y] * top[x]; in Smooth()
83 pred += static_cast<uint8_t>(scale_value - weights_y[y]) * bottom_left; in Smooth()
104 const uint8_t* const weights_y = kSmoothWeights + block_height - 4; in SmoothVertical() local
111 assert(scale_value >= weights_y[y]); in SmoothVertical()
112 uint32_t pred = weights_y[y] * top[x]; in SmoothVertical()
113 pred += static_cast<uint8_t>(scale_value - weights_y[y]) * bottom_left; in SmoothVertical()
/external/libaom/libaom/aom_dsp/x86/
Dintrapred_ssse3.c902 const __m128i weights_y = _mm_cvtsi32_si128((uint32_t)sm_weights_h[y]); in smooth_predictor_wxh() local
904 const __m128i scale_m_weights_y = _mm_sub_epi16(scale_value, weights_y); in smooth_predictor_wxh()
907 _mm_shuffle_epi32(_mm_unpacklo_epi16(weights_y, left_y), 0); in smooth_predictor_wxh()
1269 const __m128i weights_y = _mm_cvtsi32_si128((uint32_t)sm_weights_h[y]); in smooth_v_predictor_wxh() local
1271 _mm_shuffle_epi8(_mm_sub_epi16(scale_value, weights_y), dup16); in smooth_v_predictor_wxh()
1273 _mm_shuffle_epi32(_mm_unpacklo_epi16(weights_y, bottom_left), 0); in smooth_v_predictor_wxh()