Home
last modified time | relevance | path

Searched refs:pred_1 (Results 1 – 20 of 20) sorted by relevance

/external/libgav1/libgav1/src/dsp/arm/
Dweight_mask_neon.cc44 const int16x8_t pred_1 = vld1q_s16(prediction_1); in WeightMask8_NEON() local
48 vreinterpretq_u16_s16(vabdq_s16(pred_0, pred_1)), kRoundingBits8bpp); in WeightMask8_NEON()
61 WeightMask8_NEON<mask_is_inverse>(pred_0, pred_1, mask)
66 pred_1 += 8; \
73 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask8x8_NEON() local
85 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask8x16_NEON() local
99 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask8x32_NEON() local
113 WeightMask8_NEON<mask_is_inverse>(pred_0, pred_1, mask); \
114 WeightMask8_NEON<mask_is_inverse>(pred_0 + 8, pred_1 + 8, mask + 8)
119 pred_1 += 16; \
[all …]
Daverage_blend_neon.cc79 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in AverageBlend_NEON() local
84 const uint8x8_t result = AverageBlend8Row(pred_0, pred_1); in AverageBlend_NEON()
86 pred_1 += 8; in AverageBlend_NEON()
99 vst1_u8(dst, AverageBlend8Row(pred_0, pred_1)); in AverageBlend_NEON()
102 pred_1 += 8; in AverageBlend_NEON()
104 vst1_u8(dst, AverageBlend8Row(pred_0, pred_1)); in AverageBlend_NEON()
107 pred_1 += 8; in AverageBlend_NEON()
115 AverageBlendLargeRow(pred_0, pred_1, width, dst); in AverageBlend_NEON()
118 pred_1 += width; in AverageBlend_NEON()
120 AverageBlendLargeRow(pred_0, pred_1, width, dst); in AverageBlend_NEON()
[all …]
Dmask_blend_neon.cc83 const int16_t* const pred_1, in WriteMaskBlendLine4x2() argument
88 const int16x8_t pred_val_1 = vld1q_s16(pred_1); in WriteMaskBlendLine4x2()
112 inline void MaskBlending4x4_NEON(const int16_t* pred_0, const int16_t* pred_1, in MaskBlending4x4_NEON() argument
120 WriteMaskBlendLine4x2(pred_0, pred_1, pred_mask_0, pred_mask_1, dst, in MaskBlending4x4_NEON()
125 pred_1 += 4 << 1; in MaskBlending4x4_NEON()
131 WriteMaskBlendLine4x2(pred_0, pred_1, pred_mask_0, pred_mask_1, dst, in MaskBlending4x4_NEON()
136 inline void MaskBlending4xH_NEON(const int16_t* pred_0, const int16_t* pred_1, in MaskBlending4xH_NEON() argument
143 pred_0, pred_1, mask, mask_stride, dst, dst_stride); in MaskBlending4xH_NEON()
153 WriteMaskBlendLine4x2(pred_0, pred_1, pred_mask_0, pred_mask_1, dst, in MaskBlending4xH_NEON()
156 pred_1 += 4 << 1; in MaskBlending4xH_NEON()
[all …]
Ddistance_weighted_blend_neon.cc137 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in DistanceWeightedBlend_NEON() local
143 DistanceWeightedBlendSmall_NEON<4, 4>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
146 DistanceWeightedBlendSmall_NEON<4, 8>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
150 DistanceWeightedBlendSmall_NEON<4, 16>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
159 DistanceWeightedBlendSmall_NEON<8, 4>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
163 DistanceWeightedBlendSmall_NEON<8, 8>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
167 DistanceWeightedBlendSmall_NEON<8, 16>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
172 DistanceWeightedBlendSmall_NEON<8, 32>(pred_0, pred_1, weights, dest, in DistanceWeightedBlend_NEON()
179 DistanceWeightedBlendLarge_NEON(pred_0, pred_1, weights, width, height, dest, in DistanceWeightedBlend_NEON()
276 const auto* pred_1 = static_cast<const uint16_t*>(prediction_1); in DistanceWeightedBlend_NEON() local
[all …]
Dintrapred_smooth_neon.cc64 const uint32x4_t pred_1 = vaddl_u16(weighted_bl, weighted_tr); in CalculatePred() local
65 const uint32x4_t pred_2 = vaddq_u32(pred_0, pred_1); in CalculatePred()
313 const uint8x16_t pred_1 = in SmoothVertical16PlusxN_NEON() local
315 vst1q_u8(dst + 16, pred_1); in SmoothVertical16PlusxN_NEON()
427 const uint8x16_t pred_1 = CalculateHorizontalWeightsAndPred( in SmoothHorizontal16PlusxN_NEON() local
429 vst1q_u8(dst + 16, pred_1); in SmoothHorizontal16PlusxN_NEON()
/external/libgav1/libgav1/src/dsp/x86/
Daverage_blend_sse4.cc41 const __m128i pred_1 = LoadLo8(prediction_1); in AverageBlend4Row() local
42 __m128i res = _mm_add_epi16(pred_0, pred_1); in AverageBlend4Row()
50 const __m128i pred_1 = LoadAligned16(prediction_1); in AverageBlend8Row() local
51 __m128i res = _mm_add_epi16(pred_0, pred_1); in AverageBlend8Row()
79 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in AverageBlend_SSE4_1() local
86 AverageBlend4Row(pred_0, pred_1, dst); in AverageBlend_SSE4_1()
89 pred_1 += width; in AverageBlend_SSE4_1()
91 AverageBlend4Row(pred_0, pred_1, dst); in AverageBlend_SSE4_1()
94 pred_1 += width; in AverageBlend_SSE4_1()
103 AverageBlend8Row(pred_0, pred_1, dst); in AverageBlend_SSE4_1()
[all …]
Dweight_mask_sse4.cc80 WeightMask16_SSE4<mask_is_inverse, false>(pred_0, pred_1, mask, mask_stride)
85 pred_1 += 8 << 1; \
92 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask8x8_SSE4() local
104 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask8x16_SSE4() local
118 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask8x32_SSE4() local
129 WeightMask16_SSE4<mask_is_inverse, true>(pred_0, pred_1, mask, mask_stride)
134 pred_1 += 16; \
141 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask16x8_SSE4() local
153 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask16x16_SSE4() local
167 const auto* pred_1 = static_cast<const int16_t*>(prediction_1); in WeightMask16x32_SSE4() local
[all …]
Ddistance_weighted_blend_sse4.cc57 const int16_t* pred_0, const int16_t* pred_1, const uint8_t weight_0, in DistanceWeightedBlend4xH_SSE4_1() argument
65 const __m128i src_10 = LoadLo8(pred_1); in DistanceWeightedBlend4xH_SSE4_1()
67 pred_1 += 4; in DistanceWeightedBlend4xH_SSE4_1()
69 __m128i src_1 = LoadHi8(src_10, pred_1); in DistanceWeightedBlend4xH_SSE4_1()
71 pred_1 += 4; in DistanceWeightedBlend4xH_SSE4_1()
75 const __m128i src_11 = LoadLo8(pred_1); in DistanceWeightedBlend4xH_SSE4_1()
77 pred_1 += 4; in DistanceWeightedBlend4xH_SSE4_1()
79 src_1 = LoadHi8(src_11, pred_1); in DistanceWeightedBlend4xH_SSE4_1()
81 pred_1 += 4; in DistanceWeightedBlend4xH_SSE4_1()
101 const int16_t* pred_0, const int16_t* pred_1, const uint8_t weight_0, in DistanceWeightedBlend8xH_SSE4_1() argument
[all …]
Dmask_blend_sse4.cc120 const int16_t* const pred_1, in WriteMaskBlendLine4x2() argument
125 const __m128i pred_val_1 = LoadAligned16(pred_1); in WriteMaskBlendLine4x2()
148 inline void MaskBlending4x4_SSE4(const int16_t* pred_0, const int16_t* pred_1, in MaskBlending4x4_SSE4() argument
156 WriteMaskBlendLine4x2(pred_0, pred_1, pred_mask_0, pred_mask_1, dst, in MaskBlending4x4_SSE4()
159 pred_1 += 4 << 1; in MaskBlending4x4_SSE4()
165 WriteMaskBlendLine4x2(pred_0, pred_1, pred_mask_0, pred_mask_1, dst, in MaskBlending4x4_SSE4()
170 inline void MaskBlending4xH_SSE4(const int16_t* pred_0, const int16_t* pred_1, in MaskBlending4xH_SSE4() argument
177 pred_0, pred_1, mask, mask_stride, dst, dst_stride); in MaskBlending4xH_SSE4()
187 WriteMaskBlendLine4x2(pred_0, pred_1, pred_mask_0, pred_mask_1, dst, in MaskBlending4xH_SSE4()
190 pred_1 += 4 << 1; in MaskBlending4xH_SSE4()
[all …]
/external/libgav1/libgav1/src/dsp/
Daverage_blend.cc39 const auto* pred_1 = static_cast<const PredType*>(prediction_1); in AverageBlend_C() local
48 int res = pred_0[x] + pred_1[x]; in AverageBlend_C()
57 pred_1 += width; in AverageBlend_C()
Ddistance_weighted_blend.cc40 const auto* pred_1 = static_cast<const PredType*>(prediction_1); in DistanceWeightedBlend_C() local
50 int res = pred_0[x] * weight_0 + pred_1[x] * weight_1; in DistanceWeightedBlend_C()
59 pred_1 += width; in DistanceWeightedBlend_C()
Dweight_mask.cc37 const auto* pred_1 = static_cast<const PredType*>(prediction_1); in WeightMask_C() local
44 std::abs(pred_0[x] - pred_1[x]), rounding_bits); in WeightMask_C()
50 pred_1 += width; in WeightMask_C()
Dmask_blend.cc55 const auto* pred_1 = static_cast<const PredType*>(prediction_1); in MaskBlend_C() local
69 mask_value * pred_1[x] + (64 - mask_value) * pred_0[x], 6)); in MaskBlend_C()
72 int res = (mask_value * pred_0[x] + (64 - mask_value) * pred_1[x]) >> 6; in MaskBlend_C()
83 pred_1 += prediction_stride_1; in MaskBlend_C()
/external/libhevc/encoder/arm/
Dihevce_ssd_calculator_neon.c140 uint8x16_t src_0, pred_0, src_1, pred_1, abs_0, abs_1; in ihevce_1x32_ssd_computer_neon() local
148 pred_1 = vld1q_u8(pu1_pred + 16); in ihevce_1x32_ssd_computer_neon()
155 pred_1 = vld2q_u8(pu1_pred + 32).val[chroma_plane]; in ihevce_1x32_ssd_computer_neon()
158 abs_1 = vabdq_u8(src_1, pred_1); in ihevce_1x32_ssd_computer_neon()
180 uint8x16_t pred_0, pred_1, pred_2, pred_3; in ihevce_1x64_ssd_computer_neon() local
190 pred_1 = vld1q_u8(pu1_pred + 16); in ihevce_1x64_ssd_computer_neon()
201 pred_1 = vld2q_u8(pu1_pred + 32).val[chroma_plane]; in ihevce_1x64_ssd_computer_neon()
208 abs_1 = vabdq_u8(src_1, pred_1); in ihevce_1x64_ssd_computer_neon()
Dihevce_sad_compute_neon.c146 const uint8x16_t pred_1 = vld1q_u8(pu1_pred + 16); in ihevce_32xn_sad_computer_neon() local
150 abs_1 = vabal_u8(abs_1, vget_low_u8(src_1), vget_low_u8(pred_1)); in ihevce_32xn_sad_computer_neon()
151 abs_1 = vabal_u8(abs_1, vget_high_u8(src_1), vget_high_u8(pred_1)); in ihevce_32xn_sad_computer_neon()
180 const uint8x16_t pred_1 = vld1q_u8(pu1_pred + 16); in ihevce_64xn_sad_computer_neon() local
188 abs_0 = vabal_u8(abs_0, vget_low_u8(src_1), vget_low_u8(pred_1)); in ihevce_64xn_sad_computer_neon()
189 abs_0 = vabal_u8(abs_0, vget_high_u8(src_1), vget_high_u8(pred_1)); in ihevce_64xn_sad_computer_neon()
Dihevce_ssd_and_sad_calculator_neon.c188 const uint8x16_t pred_1 = vld1q_u8(pu1_recon + 16); in ihevce_ssd_and_sad_calculator_neon() local
201 abs_l = vabd_u8(vget_low_u8(src_1), vget_low_u8(pred_1)); in ihevce_ssd_and_sad_calculator_neon()
202 abs_h = vabd_u8(vget_high_u8(src_1), vget_high_u8(pred_1)); in ihevce_ssd_and_sad_calculator_neon()
247 const uint8x16_t pred_1 = vld1q_u8(pu1_recon + 16); in ihevce_ssd_and_sad_calculator_neon() local
264 abs_l = vabd_u8(vget_low_u8(src_1), vget_low_u8(pred_1)); in ihevce_ssd_and_sad_calculator_neon()
265 abs_h = vabd_u8(vget_high_u8(src_1), vget_high_u8(pred_1)); in ihevce_ssd_and_sad_calculator_neon()
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_architectures.py77 pred_1 = keras.layers.Dense(2, activation='sigmoid', name='priority')(x)
81 inputs=[body_input, tags_input], outputs=[pred_1, pred_2])
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/protobufs/
Dspvtoolsfuzz.proto1037 …// Adds an OpPhi instruction at the start of a block with n predecessors (pred_1, pred_2, ..., pre…
1040 // %fresh_id = OpPhi %type %id_1 %pred_1 %id_2 %pred_2 ... %id_n %pred_n
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto1035 …// Adds an OpPhi instruction at the start of a block with n predecessors (pred_1, pred_2, ..., pre…
1038 // %fresh_id = OpPhi %type %id_1 %pred_1 %id_2 %pred_2 ... %id_n %pred_n
/external/deqp-deps/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto1035 …// Adds an OpPhi instruction at the start of a block with n predecessors (pred_1, pred_2, ..., pre…
1038 // %fresh_id = OpPhi %type %id_1 %pred_1 %id_2 %pred_2 ... %id_n %pred_n