/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_avx2.c | 20 __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 …]
|
D | highbd_loopfilter_sse2.c | 58 __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 …]
|
D | loopfilter_sse2.c | 240 __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/ |
D | highbd_loopfilter_neon.c | 96 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 …]
|
D | loopfilter_neon.c | 134 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 …]
|
D | loopfilter_16_neon.asm | 79 ; 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/libvpx/libvpx/vpx_dsp/mips/ |
D | loopfilter_16_msa.c | 83 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 …]
|
D | loopfilter_mb_vert_dspr2.c | 25 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 …]
|
D | loopfilter_mb_horiz_dspr2.c | 26 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 …]
|
D | loopfilter_masks_dspr2.h | 271 uint32_t q3, uint32_t q4, uint32_t *flat2) { in flatmask5() argument 348 *flat2 = flat1; in flatmask5()
|
/external/libaom/libaom/aom_dsp/mips/ |
D | loopfilter_16_msa.c | 82 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 …]
|
D | loopfilter_mb_vert_dspr2.c | 27 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 …]
|
D | loopfilter_mb_horiz_dspr2.c | 28 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 …]
|
D | loopfilter_masks_dspr2.h | 273 uint32_t q3, uint32_t q4, uint32_t *flat2) { in flatmask5() argument 350 *flat2 = flat1; in flatmask5()
|
/external/libaom/libaom/aom_dsp/x86/ |
D | loopfilter_sse2.c | 400 __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 …]
|
D | highbd_loopfilter_sse2.c | 195 __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/ |
D | loopfilter.c | 236 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/ |
D | loopfilter.c | 326 int8_t flat2, uint8_t *op6, uint8_t *op5, in filter14() argument 331 if (flat2 && flat && mask) { in filter14() 389 const int8_t flat2 = flat_mask4(1, p6, p5, p4, p0, q0, q4, q5, q6); in mb_lpf_horizontal_edge_w() local 391 filter14(mask, *thresh, flat, flat2, s - 7 * p, s - 6 * p, s - 5 * p, in mb_lpf_horizontal_edge_w() 424 const int8_t flat2 = flat_mask4(1, p6, p5, p4, p0, q0, q4, q5, q6); in mb_lpf_vertical_edge_w() local 426 filter14(mask, *thresh, flat, flat2, s - 7, s - 6, s - 5, s - 4, s - 3, in mb_lpf_vertical_edge_w() 774 int8_t flat2, uint16_t *op6, uint16_t *op5, in highbd_filter14() argument 780 if (flat2 && flat && mask) { in highbd_filter14() 857 const int8_t flat2 = in highbd_mb_lpf_horizontal_edge_w() local 861 highbd_filter14(mask, *thresh, flat, flat2, s - 7 * p, s - 6 * p, s - 5 * p, in highbd_mb_lpf_horizontal_edge_w() [all …]
|
/external/v8/src/builtins/ |
D | builtins-string.cc | 240 String::FlatContent flat2 = str2->GetFlatContent(); in BUILTIN() local 243 if (flat1.Get(i) != flat2.Get(i)) { in BUILTIN() 244 return Smi::FromInt(flat1.Get(i) - flat2.Get(i)); in BUILTIN()
|
/external/libvpx/config/arm-neon/vpx_dsp/arm/ |
D | loopfilter_16_neon.asm.S | 89 @ flat2 was not set for any of the channels. Just store the values from 250 @ flat2 was not set for any of the channels. Just store the values from 461 vcge.u8 d18, d30, d23 @ flat2 468 vand d17, d18, d16 @ flat2 && flat && mask 574 @ wide_mbfilter flat2 && flat && mask branch
|
/external/v8/src/objects/ |
D | intl-objects.cc | 2044 String::FlatContent flat2 = string2->GetFlatContent(); in CompareStrings() local 2050 FALSE, GetUCharBufferFromFlat(flat2, &sap2, length2), length2); in CompareStrings()
|
/external/v8/src/ |
D | objects.cc | 11787 String::FlatContent flat2 = two->GetFlatContent(); in SlowEquals() local 11789 if (flat1.IsOneByte() && flat2.IsOneByte()) { in SlowEquals() 11791 flat2.ToOneByteVector().start(), in SlowEquals() 11795 if (flat1.Get(i) != flat2.Get(i)) return false; in SlowEquals() 17291 String::FlatContent flat2 = other->GetFlatContent(); in IsMatch() local 17293 flat2.ToOneByteVector().start(), len); in IsMatch() 17298 String::FlatContent flat2 = other->GetFlatContent(); in IsMatch() local 17300 flat2.ToUC16Vector().start(), len); in IsMatch()
|