Home
last modified time | relevance | path

Searched refs:flat2 (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vpx_dsp/x86/
Dloopfilter_avx2.c20 __m128i mask, hev, flat, flat2; in vpx_lpf_horizontal_16_avx2() local
147 flat2 = _mm_max_epu8( in vpx_lpf_horizontal_16_avx2()
159 flat2 = _mm_max_epu8(work, flat2); in vpx_lpf_horizontal_16_avx2()
160 flat2 = _mm_max_epu8(flat2, _mm_srli_si128(flat2, 8)); in vpx_lpf_horizontal_16_avx2()
161 flat2 = _mm_subs_epu8(flat2, one); in vpx_lpf_horizontal_16_avx2()
162 flat2 = _mm_cmpeq_epi8(flat2, zero); in vpx_lpf_horizontal_16_avx2()
163 flat2 = _mm_and_si128(flat2, flat); // flat2 & flat & mask in vpx_lpf_horizontal_16_avx2()
307 flat2 = _mm_shuffle_epi32(flat2, 68); in vpx_lpf_horizontal_16_avx2()
321 q6p6 = _mm_andnot_si128(flat2, q6p6); in vpx_lpf_horizontal_16_avx2()
322 flat2_q6p6 = _mm_and_si128(flat2, flat2_q6p6); in vpx_lpf_horizontal_16_avx2()
[all …]
Dhighbd_loopfilter_sse2.c58 __m128i mask, hev, flat, flat2, abs_p1p0, abs_q1q0; in vpx_highbd_lpf_horizontal_16_sse2() local
219 flat2 = _mm_max_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
226 flat2 = _mm_max_epi16(work, flat2); in vpx_highbd_lpf_horizontal_16_sse2()
231 flat2 = _mm_max_epi16(work, flat2); in vpx_highbd_lpf_horizontal_16_sse2()
236 flat2 = _mm_max_epi16(work, flat2); in vpx_highbd_lpf_horizontal_16_sse2()
239 flat2 = _mm_subs_epu16(flat2, one); in vpx_highbd_lpf_horizontal_16_sse2()
241 flat2 = _mm_subs_epu16(flat2, _mm_slli_epi16(one, 2)); in vpx_highbd_lpf_horizontal_16_sse2()
243 flat2 = _mm_subs_epu16(flat2, _mm_slli_epi16(one, 4)); in vpx_highbd_lpf_horizontal_16_sse2()
245 flat2 = _mm_cmpeq_epi16(flat2, zero); in vpx_highbd_lpf_horizontal_16_sse2()
246 flat2 = _mm_and_si128(flat2, flat); // flat2 & flat & mask in vpx_highbd_lpf_horizontal_16_sse2()
[all …]
Dloopfilter_sse2.c240 __m128i mask, hev, flat, flat2; in vpx_lpf_horizontal_16_sse2() local
351 flat2 = _mm_max_epu8(abs_diff(q4p4, q0p0), abs_diff(q5p5, q0p0)); in vpx_lpf_horizontal_16_sse2()
357 flat2 = _mm_max_epu8(work, flat2); in vpx_lpf_horizontal_16_sse2()
358 flat2 = _mm_max_epu8(flat2, _mm_srli_si128(flat2, 8)); in vpx_lpf_horizontal_16_sse2()
359 flat2 = _mm_subs_epu8(flat2, one); in vpx_lpf_horizontal_16_sse2()
360 flat2 = _mm_cmpeq_epi8(flat2, zero); in vpx_lpf_horizontal_16_sse2()
361 flat2 = _mm_and_si128(flat2, flat); // flat2 & flat & mask in vpx_lpf_horizontal_16_sse2()
505 flat2 = _mm_shuffle_epi32(flat2, 68); in vpx_lpf_horizontal_16_sse2()
519 q6p6 = _mm_andnot_si128(flat2, q6p6); in vpx_lpf_horizontal_16_sse2()
520 flat2_q6p6 = _mm_and_si128(flat2, flat2_q6p6); in vpx_lpf_horizontal_16_sse2()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dhighbd_loopfilter_neon.c96 uint16x8_t flat2 = vabdq_u16(p4, p0); in flat_mask5() local
97 flat2 = vmaxq_u16(flat2, vabdq_u16(p3, p0)); in flat_mask5()
98 flat2 = vmaxq_u16(flat2, vabdq_u16(p2, p0)); in flat_mask5()
99 flat2 = vmaxq_u16(flat2, vabdq_u16(p1, p0)); in flat_mask5()
100 flat2 = vmaxq_u16(flat2, vabdq_u16(q1, q0)); in flat_mask5()
101 flat2 = vmaxq_u16(flat2, vabdq_u16(q2, q0)); in flat_mask5()
102 flat2 = vmaxq_u16(flat2, vabdq_u16(q3, q0)); in flat_mask5()
103 flat2 = vmaxq_u16(flat2, vabdq_u16(q4, q0)); in flat_mask5()
104 flat2 = vcleq_u16(flat2, vdupq_n_u16(1 << (bd - 8))); in flat_mask5()
105 flat2 = vandq_u16(flat2, flat); in flat_mask5()
[all …]
Dloopfilter_neon.c134 uint8x##w##_t flat2 = vabd##r##u8(p4, p0); \
135 flat2 = vmax##r##u8(flat2, vabd##r##u8(p3, p0)); \
136 flat2 = vmax##r##u8(flat2, vabd##r##u8(p2, p0)); \
137 flat2 = vmax##r##u8(flat2, vabd##r##u8(p1, p0)); \
138 flat2 = vmax##r##u8(flat2, vabd##r##u8(q1, q0)); \
139 flat2 = vmax##r##u8(flat2, vabd##r##u8(q2, q0)); \
140 flat2 = vmax##r##u8(flat2, vabd##r##u8(q3, q0)); \
141 flat2 = vmax##r##u8(flat2, vabd##r##u8(q4, q0)); \
142 flat2 = vcle##r##u8(flat2, vdup##r##n_u8(1)); \
143 flat2 = vand##r##u8(flat2, flat); \
[all …]
Dloopfilter_16_neon.asm79 ; flat2 was not set for any of the channels. Just store the values from
237 ; flat2 was not set for any of the channels. Just store the values from
445 vcge.u8 d18, d30, d23 ; flat2
452 vand d17, d18, d16 ; flat2 && flat && mask
558 ; wide_mbfilter flat2 && flat && mask branch
/external/libaom/libaom/aom_dsp/mips/
Dloopfilter_16_msa.c82 v16u8 flat, flat2, filter8; in aom_hz_lpf_t16_16w() local
96 AOM_FLAT5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, flat, flat2); in aom_hz_lpf_t16_16w()
98 if (__msa_test_bz_v(flat2)) { in aom_hz_lpf_t16_16w()
148 p6 = __msa_bmnz_v(p6, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
168 p5 = __msa_bmnz_v(p5, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
188 p4 = __msa_bmnz_v(p4, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
208 p3 = __msa_bmnz_v(p3, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
229 filter8 = __msa_bmnz_v(filter8, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
250 filter8 = __msa_bmnz_v(filter8, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
271 filter8 = __msa_bmnz_v(filter8, (v16u8)r_out, flat2); in aom_hz_lpf_t16_16w()
[all …]
Dloopfilter_mb_vert_dspr2.c27 uint32_t mask, hev, flat, flat2; in aom_lpf_vertical_16_dspr2() local
239 flatmask5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, &flat2); in aom_lpf_vertical_16_dspr2()
242 if (((flat2 == 0) && (flat == 0) && (mask != 0)) || in aom_lpf_vertical_16_dspr2()
243 ((flat2 != 0) && (flat == 0) && (mask != 0))) { in aom_lpf_vertical_16_dspr2()
246 } else if ((flat2 == 0XFFFFFFFF) && (flat == 0xFFFFFFFF) && in aom_lpf_vertical_16_dspr2()
262 } else if ((flat2 == 0) && (flat == 0xFFFFFFFF) && (mask == 0xFFFFFFFF)) { in aom_lpf_vertical_16_dspr2()
271 } else if ((flat2 == 0) && (flat != 0) && (mask != 0)) { in aom_lpf_vertical_16_dspr2()
428 } else if ((flat2 != 0) && (flat != 0) && (mask != 0)) { in aom_lpf_vertical_16_dspr2()
450 if (mask & flat & flat2 & 0x000000FF) { in aom_lpf_vertical_16_dspr2()
545 if (mask & flat & flat2 & 0x0000FF00) { in aom_lpf_vertical_16_dspr2()
[all …]
Dloopfilter_mb_horiz_dspr2.c28 uint32_t hev, flat, flat2; in mb_lpf_horizontal_edge() local
111 flatmask5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, &flat2); in mb_lpf_horizontal_edge()
114 if (((flat2 == 0) && (flat == 0) && (mask != 0)) || in mb_lpf_horizontal_edge()
115 ((flat2 != 0) && (flat == 0) && (mask != 0))) { in mb_lpf_horizontal_edge()
128 } else if ((flat2 == 0XFFFFFFFF) && (flat == 0xFFFFFFFF) && in mb_lpf_horizontal_edge()
175 } else if ((flat2 == 0) && (flat == 0xFFFFFFFF) && (mask == 0xFFFFFFFF)) { in mb_lpf_horizontal_edge()
199 } else if ((flat2 == 0) && (flat != 0) && (mask != 0)) { in mb_lpf_horizontal_edge()
364 } else if ((flat2 != 0) && (flat != 0) && (mask != 0)) { in mb_lpf_horizontal_edge()
391 if (mask & flat & flat2 & 0x000000FF) { in mb_lpf_horizontal_edge()
491 if (mask & flat & flat2 & 0x0000FF00) { in mb_lpf_horizontal_edge()
[all …]
Dloopfilter_masks_dspr2.h273 uint32_t q3, uint32_t q4, uint32_t *flat2) { in flatmask5() argument
350 *flat2 = flat1; in flatmask5()
/external/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_16_msa.c83 v16u8 flat, flat2, filter8; in hz_lpf_t16_16w() local
97 VP9_FLAT5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, flat, flat2); in hz_lpf_t16_16w()
99 if (__msa_test_bz_v(flat2)) { in hz_lpf_t16_16w()
149 p6 = __msa_bmnz_v(p6, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
169 p5 = __msa_bmnz_v(p5, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
189 p4 = __msa_bmnz_v(p4, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
209 p3 = __msa_bmnz_v(p3, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
230 filter8 = __msa_bmnz_v(filter8, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
251 filter8 = __msa_bmnz_v(filter8, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
272 filter8 = __msa_bmnz_v(filter8, (v16u8)r_out, flat2); in hz_lpf_t16_16w()
[all …]
Dloopfilter_mb_vert_dspr2.c25 uint32_t mask, hev, flat, flat2; in vpx_lpf_vertical_16_dspr2() local
237 flatmask5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, &flat2); in vpx_lpf_vertical_16_dspr2()
240 if (((flat2 == 0) && (flat == 0) && (mask != 0)) || in vpx_lpf_vertical_16_dspr2()
241 ((flat2 != 0) && (flat == 0) && (mask != 0))) { in vpx_lpf_vertical_16_dspr2()
244 } else if ((flat2 == 0XFFFFFFFF) && (flat == 0xFFFFFFFF) && in vpx_lpf_vertical_16_dspr2()
260 } else if ((flat2 == 0) && (flat == 0xFFFFFFFF) && (mask == 0xFFFFFFFF)) { in vpx_lpf_vertical_16_dspr2()
269 } else if ((flat2 == 0) && (flat != 0) && (mask != 0)) { in vpx_lpf_vertical_16_dspr2()
426 } else if ((flat2 != 0) && (flat != 0) && (mask != 0)) { in vpx_lpf_vertical_16_dspr2()
448 if (mask & flat & flat2 & 0x000000FF) { in vpx_lpf_vertical_16_dspr2()
543 if (mask & flat & flat2 & 0x0000FF00) { in vpx_lpf_vertical_16_dspr2()
[all …]
Dloopfilter_mb_horiz_dspr2.c26 uint32_t hev, flat, flat2; in mb_lpf_horizontal_edge() local
109 flatmask5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, &flat2); in mb_lpf_horizontal_edge()
112 if (((flat2 == 0) && (flat == 0) && (mask != 0)) || in mb_lpf_horizontal_edge()
113 ((flat2 != 0) && (flat == 0) && (mask != 0))) { in mb_lpf_horizontal_edge()
126 } else if ((flat2 == 0XFFFFFFFF) && (flat == 0xFFFFFFFF) && in mb_lpf_horizontal_edge()
173 } else if ((flat2 == 0) && (flat == 0xFFFFFFFF) && (mask == 0xFFFFFFFF)) { in mb_lpf_horizontal_edge()
197 } else if ((flat2 == 0) && (flat != 0) && (mask != 0)) { in mb_lpf_horizontal_edge()
362 } else if ((flat2 != 0) && (flat != 0) && (mask != 0)) { in mb_lpf_horizontal_edge()
389 if (mask & flat & flat2 & 0x000000FF) { in mb_lpf_horizontal_edge()
489 if (mask & flat & flat2 & 0x0000FF00) { in mb_lpf_horizontal_edge()
[all …]
Dloopfilter_masks_dspr2.h271 uint32_t q3, uint32_t q4, uint32_t *flat2) { in flatmask5() argument
348 *flat2 = flat1; in flatmask5()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc298 auto* flat2 = Flat(2000); in TEST() local
299 auto* concat = ref.NeedsUnref(Concat(flat1, flat2)); in TEST()
304 SizeOf(concat) + SizeOf(flat1) + SizeOf(flat2); in TEST()
317 auto* flat2 = Flat(2000); in TEST() local
321 auto* concat1 = Concat(flat1, flat2); in TEST()
328 SizeOf(flat2) + SizeOf(flat3) + in TEST()
345 auto* flat2 = ref.Ref(Flat(2000), 4); in TEST() local
349 auto* concat1 = Concat(flat1, flat2); in TEST()
356 SizeOf(flat2) + SizeOf(flat3) + in TEST()
373 auto* flat2 = Flat(2000); in TEST() local
[all …]
Dcord_rep_consume_test.cc160 CordRepFlat* flat2 = CreateFlatWithLength(20); in TEST() local
161 CordRepConcat* concat = CreateConcat(flat1, flat2); in TEST()
164 EXPECT_CALL(consume, Call(flat2, 5, 10)); in TEST()
166 EXPECT_TRUE(flat2->refcount.IsOne()); in TEST()
167 CordRep::Unref(flat2); in TEST()
/external/libaom/libaom/aom_dsp/x86/
Dloopfilter_sse2.c400 __m128i mask, hev, flat, flat2; in lpf_internal_14_dual_sse2() local
561 flat2 = _mm_max_epu8(abs_diff(*q4p4, *q0p0), abs_diff(*q5p5, *q0p0)); in lpf_internal_14_dual_sse2()
563 flat2 = _mm_max_epu8(work, flat2); in lpf_internal_14_dual_sse2()
564 flat2 = _mm_max_epu8(flat2, _mm_srli_si128(flat2, 8)); in lpf_internal_14_dual_sse2()
565 flat2 = _mm_subs_epu8(flat2, one); in lpf_internal_14_dual_sse2()
566 flat2 = _mm_cmpeq_epi8(flat2, zero); in lpf_internal_14_dual_sse2()
567 flat2 = _mm_and_si128(flat2, flat); // flat2 & flat & mask in lpf_internal_14_dual_sse2()
583 if (0xffff != _mm_movemask_epi8(_mm_cmpeq_epi8(flat2, zero))) { in lpf_internal_14_dual_sse2()
665 flat2 = _mm_unpacklo_epi64(flat2, flat2); in lpf_internal_14_dual_sse2()
667 *q5p5 = _mm_andnot_si128(flat2, *q5p5); in lpf_internal_14_dual_sse2()
[all …]
Dhighbd_loopfilter_sse2.c195 __m128i *flat2, int bd) { in highbd_flat_mask4_sse2() argument
200 flat_mask_internal(&th, pq, 4, 7, flat2); in highbd_flat_mask4_sse2()
205 __m128i *flat2, int bd) { in highbd_flat_mask4_dual_sse2() argument
210 flat_mask_internal_dual(&th, p, q, 4, 7, flat2); in highbd_flat_mask4_dual_sse2()
348 __m128i flat, flat2; in highbd_lpf_internal_14_sse2() local
349 highbd_flat_mask4_sse2(pq, &flat, &flat2, bd); in highbd_lpf_internal_14_sse2()
352 flat2 = _mm_and_si128(flat2, flat); in highbd_lpf_internal_14_sse2()
356 flat2 = _mm_unpacklo_epi64(flat2, flat2); in highbd_lpf_internal_14_sse2()
415 (0xffff != _mm_movemask_epi8(_mm_cmpeq_epi16(flat2, zero))); in highbd_lpf_internal_14_sse2()
488 pq[i] = _mm_andnot_si128(flat2, pq[i]); in highbd_lpf_internal_14_sse2()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dloopfilter.c236 uint8_t flat2, uint8_t *op7, uint8_t *op6, in filter16() argument
242 if (flat2 && flat && mask) { in filter16()
305 const int8_t flat2 = flat_mask5( in mb_lpf_horizontal_edge_w() local
309 filter16(mask, *thresh, flat, flat2, s - 8 * pitch, s - 7 * pitch, in mb_lpf_horizontal_edge_w()
339 const int8_t flat2 = flat_mask5(1, s[-8], s[-7], s[-6], s[-5], p0, q0, s[4], in mb_lpf_vertical_edge_w() local
342 filter16(mask, *thresh, flat, flat2, s - 8, s - 7, s - 6, s - 5, s - 4, in mb_lpf_vertical_edge_w()
588 uint8_t flat2, uint16_t *op7, uint16_t *op6, in highbd_filter16() argument
594 if (flat2 && flat && mask) { in highbd_filter16()
675 const int8_t flat2 = highbd_flat_mask5( in highbd_mb_lpf_horizontal_edge_w() local
679 highbd_filter16(mask, *thresh, flat, flat2, s - 8 * pitch, s - 7 * pitch, in highbd_mb_lpf_horizontal_edge_w()
[all …]
/external/libaom/libaom/aom_dsp/
Dloopfilter.c328 int8_t flat2, uint8_t *op6, uint8_t *op5, in filter14() argument
333 if (flat2 && flat && mask) { in filter14()
391 const int8_t flat2 = flat_mask4(1, p6, p5, p4, p0, q0, q4, q5, q6); in mb_lpf_horizontal_edge_w() local
393 filter14(mask, *thresh, flat, flat2, s - 7 * p, s - 6 * p, s - 5 * p, in mb_lpf_horizontal_edge_w()
426 const int8_t flat2 = flat_mask4(1, p6, p5, p4, p0, q0, q4, q5, q6); in mb_lpf_vertical_edge_w() local
428 filter14(mask, *thresh, flat, flat2, s - 7, s - 6, s - 5, s - 4, s - 3, in mb_lpf_vertical_edge_w()
777 int8_t flat2, uint16_t *op6, uint16_t *op5, in highbd_filter14() argument
783 if (flat2 && flat && mask) { in highbd_filter14()
860 const int8_t flat2 = in highbd_mb_lpf_horizontal_edge_w() local
864 highbd_filter14(mask, *thresh, flat, flat2, s - 7 * p, s - 6 * p, s - 5 * p, in highbd_mb_lpf_horizontal_edge_w()
[all …]
/external/libvpx/config/arm-neon/vpx_dsp/arm/
Dloopfilter_16_neon.asm.S88 @ flat2 was not set for any of the channels. Just store the values from
249 @ flat2 was not set for any of the channels. Just store the values from
460 vcge.u8 d18, d30, d23 @ flat2
467 vand d17, d18, d16 @ flat2 && flat && mask
573 @ wide_mbfilter flat2 && flat && mask branch