Home
last modified time | relevance | path

Searched refs:kOne (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/src/core/
DSkBlendMode.cpp55 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kZero },
56 { SkBlendModeCoeff::kZero, SkBlendModeCoeff::kOne },
57 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISA },
58 { SkBlendModeCoeff::kIDA, SkBlendModeCoeff::kOne },
67 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kOne },
69 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISC }, // screen
DSkBlendModePriv.h27 kOne, /** 1 */ enumerator
/external/skia/src/core/
DSkBlendMode.cpp56 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kZero },
57 { SkBlendModeCoeff::kZero, SkBlendModeCoeff::kOne },
58 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISA },
59 { SkBlendModeCoeff::kIDA, SkBlendModeCoeff::kOne },
68 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kOne },
70 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISC }, // screen
DSkBlendModePriv.h27 kOne, /** 1 */ enumerator
/external/libvpx/libvpx/vpx_dsp/x86/
Dfwd_dct32x32_impl_avx2.h93 const __m256i kOne = _mm256_set1_epi16(1); in FDCT32x32_2D_AVX2() local
511 step2[0] = _mm256_add_epi16(step2[0], kOne); in FDCT32x32_2D_AVX2()
512 step2[1] = _mm256_add_epi16(step2[1], kOne); in FDCT32x32_2D_AVX2()
513 step2[2] = _mm256_add_epi16(step2[2], kOne); in FDCT32x32_2D_AVX2()
514 step2[3] = _mm256_add_epi16(step2[3], kOne); in FDCT32x32_2D_AVX2()
515 step2[4] = _mm256_add_epi16(step2[4], kOne); in FDCT32x32_2D_AVX2()
516 step2[5] = _mm256_add_epi16(step2[5], kOne); in FDCT32x32_2D_AVX2()
517 step2[6] = _mm256_add_epi16(step2[6], kOne); in FDCT32x32_2D_AVX2()
518 step2[7] = _mm256_add_epi16(step2[7], kOne); in FDCT32x32_2D_AVX2()
519 step2[8] = _mm256_add_epi16(step2[8], kOne); in FDCT32x32_2D_AVX2()
[all …]
Dfwd_dct32x32_impl_sse2.h103 const __m128i kOne = _mm_set1_epi16(1); in FDCT32x32_2D() local
557 step2[0] = _mm_add_epi16(step2[0], kOne); in FDCT32x32_2D()
558 step2[1] = _mm_add_epi16(step2[1], kOne); in FDCT32x32_2D()
559 step2[2] = _mm_add_epi16(step2[2], kOne); in FDCT32x32_2D()
560 step2[3] = _mm_add_epi16(step2[3], kOne); in FDCT32x32_2D()
561 step2[4] = _mm_add_epi16(step2[4], kOne); in FDCT32x32_2D()
562 step2[5] = _mm_add_epi16(step2[5], kOne); in FDCT32x32_2D()
563 step2[6] = _mm_add_epi16(step2[6], kOne); in FDCT32x32_2D()
564 step2[7] = _mm_add_epi16(step2[7], kOne); in FDCT32x32_2D()
565 step2[8] = _mm_add_epi16(step2[8], kOne); in FDCT32x32_2D()
[all …]
Dfwd_txfm_impl_sse2.h603 const __m128i kOne = _mm_set1_epi16(1); in FDCT16x16_2D() local
675 in00 = _mm_add_epi16(in00, kOne); in FDCT16x16_2D()
676 in01 = _mm_add_epi16(in01, kOne); in FDCT16x16_2D()
677 in02 = _mm_add_epi16(in02, kOne); in FDCT16x16_2D()
678 in03 = _mm_add_epi16(in03, kOne); in FDCT16x16_2D()
679 in04 = _mm_add_epi16(in04, kOne); in FDCT16x16_2D()
680 in05 = _mm_add_epi16(in05, kOne); in FDCT16x16_2D()
681 in06 = _mm_add_epi16(in06, kOne); in FDCT16x16_2D()
682 in07 = _mm_add_epi16(in07, kOne); in FDCT16x16_2D()
683 in08 = _mm_add_epi16(in08, kOne); in FDCT16x16_2D()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops_common.h55 Eigen::array<Index, 1> kOne; member
60 kOne[0] = 1; in Constants()
69 const Eigen::IndexList<Eigen::type2index<1>> kOne; member
206 constants.kOne, reducer);
215 constants.kOne, reducer);
232 constants.kOne, reducer);
Dsoftmax_op_gpu.cu.cc81 context, output, input, 2, rows, cols, 1, 1, constants.kOne, op); in DoRowReduction()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer.cc282 static const size_t kOne = 1; // Avoids repeated static_cast<>s below. in CreateErbBank() local
284 center_freqs_[max(kOne, i - lf) - 1] * freqs_ / in CreateErbBank()
287 center_freqs_[max(kOne, i) - 1] * freqs_ / (0.5f * sample_rate_hz_))); in CreateErbBank()
288 lll = min(freqs_, max(lll, kOne)) - 1; in CreateErbBank()
289 ll = min(freqs_, max(ll, kOne)) - 1; in CreateErbBank()
297 rrr = min(freqs_, max(rrr, kOne)) - 1; in CreateErbBank()
298 rr = min(freqs_, max(rr, kOne)) - 1; in CreateErbBank()
/external/webp/src/dsp/
Dalpha_processing_neon.c34 const uint16x8_t r3 = vaddq_u16(r2, kOne); \
35 const uint16x8_t g3 = vaddq_u16(g2, kOne); \
36 const uint16x8_t b3 = vaddq_u16(b2, kOne); \
44 const uint16x8_t kOne = vdupq_n_u16(1u); in ApplyAlphaMultiply_NEON() local
/external/v8/src/
Dbit-vector.h63 static const uintptr_t kOne = 1; // This saves some static_casts. variable
98 return (block & (kOne << (i % kDataBits))) != 0; in Contains()
103 data_[i / kDataBits] |= (kOne << (i % kDataBits)); in Add()
110 data_[i / kDataBits] &= ~(kOne << (i % kDataBits)); in Remove()
Dutils.h311 static const U kOne = static_cast<U>(1U);
312 static const U kMask = ((kOne << shift) << size) - (kOne << shift);
318 static const T kMax = static_cast<T>((kOne << size) - 1);
/external/skqp/tests/
DPointTest.cpp144 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local
146 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
/external/skia/tests/
DPointTest.cpp144 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local
146 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
/external/clang/test/Sema/
Dstatements.c46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator
48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
Dswitch.c309 kOne = 1, enumerator
315 case kOne: in rdar110822110()
/external/tensorflow/tensorflow/core/lib/math/
Dmath_util_test.cc147 const IntegralType kOne(1); in CeilOfRatioDenomMinusOne() local
148 return (numerator + denominator - kOne) / denominator; in CeilOfRatioDenomMinusOne()
/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp403 case SkBlendModeCoeff::kOne: in append_porterduff_term()
473 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
481 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp403 case SkBlendModeCoeff::kOne: in append_porterduff_term()
473 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
481 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
/external/skia/src/gpu/
DSkGr.h176 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkBlendModeCoeff::kOne);
/external/skqp/src/gpu/
DSkGr.h175 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkBlendModeCoeff::kOne);
/external/skia/gm/
Dbleed.cpp127 constexpr uint8_t kOne = 0xFF; in make_ringed_alpha_bitmap() local
129 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); in make_ringed_alpha_bitmap()
/external/skqp/gm/
Dbleed.cpp127 constexpr uint8_t kOne = 0xFF; in make_ringed_alpha_bitmap() local
129 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); in make_ringed_alpha_bitmap()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc1777 constexpr BN_ULONG kOne = 1; in TEST_F() local
1781 EXPECT_EQ(i, BN_num_bits_word(kOne << (i - 1))) << i; in TEST_F()
1786 EXPECT_EQ(i, BN_num_bits_word((kOne << i) - 1)) << i; in TEST_F()
1799 w |= kOne << (BN_BITS2 - 1); in TEST_F()
1803 w &= (kOne << num_bits) - 1; in TEST_F()
1804 w |= kOne << (num_bits - 1); in TEST_F()

12