Searched refs:sums (Results 1 – 4 of 4) sorted by relevance
/frameworks/rs/toolkit/ |
D | Histogram.cpp | 38 void kernelP1U4(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 39 void kernelP1U3(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 40 void kernelP1U2(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 41 void kernelP1U1(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 56 void kernelP1L4(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 57 void kernelP1L3(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 58 void kernelP1L2(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 59 void kernelP1L1(const uchar* in, int* sums, uint32_t xstart, uint32_t xend); 102 int* sums = &mSums[256 * paddedSize(mVectorSize) * threadIndex]; in processData() local 106 std::invoke(kernel, this, inPtr, sums, startX, endX); in processData() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicHistogram.cpp | 169 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U4() local 172 sums[(in[0] << 2) ] ++; in kernelP1U4() 173 sums[(in[1] << 2) + 1] ++; in kernelP1U4() 174 sums[(in[2] << 2) + 2] ++; in kernelP1U4() 175 sums[(in[3] << 2) + 3] ++; in kernelP1U4() 186 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U3() local 189 sums[(in[0] << 2) ] ++; in kernelP1U3() 190 sums[(in[1] << 2) + 1] ++; in kernelP1U3() 191 sums[(in[2] << 2) + 2] ++; in kernelP1U3() 202 int * sums = &cp->mSums[256 * 2 * info->lid]; in kernelP1U2() local [all …]
|
/frameworks/native/libs/ftl/ |
D | static_vector_test.cpp | 260 StaticVector<int, 6> sums = {0, 0, 0, 0, 0, -1}; in TEST() local 261 EXPECT_TRUE(sums.full()); in TEST() 264 std::transform(pairs.begin(), pairs.end(), sums.begin(), [](Pair p) { return p.a + p.b; }); in TEST() 265 EXPECT_EQ(sums, (StaticVector{1, 5, 9, 13, 17, -1})); in TEST() 267 sums.pop_back(); in TEST() 268 std::reverse(sums.begin(), sums.end()); in TEST() 270 EXPECT_EQ(sums, (StaticVector{17, 13, 9, 5, 1})); in TEST()
|
D | small_vector_test.cpp | 314 SmallVector<int, 6> sums = {0, 0, 0, 0, 0, 0}; in TEST() local 315 EXPECT_FALSE(sums.dynamic()); in TEST() 318 std::transform(pairs.begin(), pairs.end(), sums.begin(), [](Pair p) { return p.a + p.b; }); in TEST() 319 EXPECT_EQ(sums, (SmallVector{1, 5, 9, 13, 17, 21})); in TEST() 321 sums.pop_back(); in TEST() 322 std::reverse(sums.begin(), sums.end()); in TEST() 324 EXPECT_EQ(sums, (SmallVector{17, 13, 9, 5, 1})); in TEST()
|