Home
last modified time | relevance | path

Searched refs:kMaxCount (Results 1 – 25 of 28) sorted by relevance

12

/third_party/flutter/skia/include/core/
DSkYUVASizeInfo.h16 static constexpr auto kMaxCount = 4; member
18 SkISize fSizes[kMaxCount];
32 size_t fWidthBytes[kMaxCount];
41 for (int i = 0; i < kMaxCount; ++i) {
55 for (int i = 0; i < kMaxCount; ++i) { in computeTotalBytes()
64 void computePlanes(void* base, void* planes[kMaxCount]) const;
/third_party/flutter/skia/tools/
DDDLPromiseImageHelper.h151 SkASSERT(index >= 0 && index < SkYUVASizeInfo::kMaxCount); in yuvPixmap()
160 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in setCallbackContext()
164 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in callbackContext()
168 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in refCallbackContext()
173 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in promiseTexture()
188 SkASSERT(index >= 0 && index < SkYUVASizeInfo::kMaxCount); in addYUVPlane()
205 SkPixmap fYUVPlanes[SkYUVASizeInfo::kMaxCount];
208 sk_sp<PromiseImageCallbackContext> fCallbackContexts[SkYUVASizeInfo::kMaxCount];
DDDLPromiseImageHelper.cpp177 GrBackendFormat backendFormats[SkYUVASizeInfo::kMaxCount]; in PromiseImageCreator()
178 void* contexts[SkYUVASizeInfo::kMaxCount] = { nullptr, nullptr, nullptr, nullptr }; in PromiseImageCreator()
179 SkISize sizes[SkYUVASizeInfo::kMaxCount]; in PromiseImageCreator()
190 for (int i = textureCount; i < SkYUVASizeInfo::kMaxCount; ++i) { in PromiseImageCreator()
278 const void* planes[SkYUVASizeInfo::kMaxCount]; in addImage()
285 SkColorType colorTypes[SkYUVASizeInfo::kMaxCount] = { in addImage()
302 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in addImage()
/third_party/flutter/skia/src/gpu/
DGrYUVProvider.cpp29 const void* constPlanes[SkYUVASizeInfo::kMaxCount]) { in getPlanes() argument
34 void* planes[SkYUVASizeInfo::kMaxCount]; in getPlanes()
39 for (int i = 1; i < SkYUVASizeInfo::kMaxCount; ++i) { in getPlanes()
58 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; i++) { in getPlanes()
69 for (int i = 1; i < SkYUVASizeInfo::kMaxCount; ++i) { in getPlanes()
114 const void* planes[SkYUVASizeInfo::kMaxCount]; in refAsTextureProxy()
122 sk_sp<GrTextureProxy> yuvTextureProxies[SkYUVASizeInfo::kMaxCount]; in refAsTextureProxy()
123 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in refAsTextureProxy()
DGrYUVProvider.h52 SkYUVColorSpace*, const void* planes[SkYUVASizeInfo::kMaxCount]);
/third_party/flutter/skia/src/core/
DSkYUVASizeInfo.cpp11 void SkYUVASizeInfo::computePlanes(void* base, void* planes[SkYUVASizeInfo::kMaxCount]) const { in computePlanes()
14 for (; i < SkYUVASizeInfo::kMaxCount; ++i) { in computePlanes()
20 for (; i < SkYUVASizeInfo::kMaxCount; ++i) { in computePlanes()
DSkImageGenerator.cpp43 void* planes[SkYUVASizeInfo::kMaxCount]) { in getYUVA8Planes() argument
45 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in getYUVA8Planes()
/third_party/flutter/skia/tests/
DYUVTest.cpp41 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in codec_yuv()
56 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in codec_yuv()
68 void* planes[SkYUVASizeInfo::kMaxCount]; in codec_yuv()
DYUVCacheTest.cpp35 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; i++) { in DEF_TEST()
/third_party/gn/src/gn/
Dstring_atom_unittest.cc133 const size_t kMaxCount = 16384; in TEST() local
141 for (size_t nn = 0; nn < kMaxCount; ++nn) { in TEST()
145 for (size_t nn = 0; nn < kMaxCount; ++nn) { in TEST()
/third_party/flutter/skia/tools/gpu/
DYUVUtils.cpp53 void* planes[SkYUVASizeInfo::kMaxCount]; in reset()
59 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in reset()
DYUVUtils.h39 SkPixmap fPlanes[SkYUVASizeInfo::kMaxCount];
/third_party/skia/modules/skottie/src/layers/shapelayer/
DRepeater.cpp138 static constexpr SkScalar kMaxCount = 1024; in onSync() local
139 this->node()->setCount(static_cast<size_t>(SkTPin(fCount, 0.0f, kMaxCount) + 0.5f)); in onSync()
/third_party/skia/fuzz/
DFuzzCanvas.cpp698 constexpr int kMaxCount = 4; in make_fuzz_imageFilter() local
699 sk_sp<SkImageFilter> ifs[kMaxCount]; in make_fuzz_imageFilter()
701 fuzz->nextRange(&count, 1, kMaxCount); in make_fuzz_imageFilter()
1190 constexpr int kMaxCount = 30; in fuzz_canvas() local
1191 fuzz->nextRange(&count, 0, kMaxCount); in fuzz_canvas()
1192 SkPoint pts[kMaxCount]; in fuzz_canvas()
1387 constexpr int kMaxCount = 100; in fuzz_canvas() local
1389 SkPoint vertices[kMaxCount]; in fuzz_canvas()
1390 SkPoint texs[kMaxCount]; in fuzz_canvas()
1391 SkColor colors[kMaxCount]; in fuzz_canvas()
[all …]
/third_party/flutter/skia/fuzz/
DFuzzCanvas.cpp695 constexpr int kMaxCount = 4; in make_fuzz_imageFilter() local
696 sk_sp<SkImageFilter> ifs[kMaxCount]; in make_fuzz_imageFilter()
698 fuzz->nextRange(&count, 1, kMaxCount); in make_fuzz_imageFilter()
1187 constexpr int kMaxCount = 30; in fuzz_canvas() local
1188 fuzz->nextRange(&count, 0, kMaxCount); in fuzz_canvas()
1189 SkPoint pts[kMaxCount]; in fuzz_canvas()
1499 constexpr int kMaxCount = 100; in fuzz_canvas() local
1501 SkPoint vertices[kMaxCount]; in fuzz_canvas()
1502 SkPoint texs[kMaxCount]; in fuzz_canvas()
1503 SkColor colors[kMaxCount]; in fuzz_canvas()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_mosaic_info.cpp45 kMaxCount = 8 enumerator
50 dng_point fDelta [kMaxCount];
52 real32 fWeight32 [kMaxCount];
53 uint16 fWeight16 [kMaxCount];
55 int32 fOffset [kMaxCount];
107 DNG_ASSERT (fCount < kMaxCount, "Too many kernel entries"); in Add()
/third_party/flutter/skia/include/codec/
DSkCodec.h408 Result getYUV8Planes(const SkYUVASizeInfo& sizeInfo, void* planes[SkYUVASizeInfo::kMaxCount]) { in getYUV8Planes() argument
761 void*[SkYUVASizeInfo::kMaxCount] /*planes*/) { in onGetYUV8Planes() argument
/third_party/flutter/skia/src/codec/
DSkJpegCodec.h50 void* planes[SkYUVASizeInfo::kMaxCount]) override;
/third_party/flutter/skia/modules/skottie/src/
DSkottieAdapter.cpp190 static constexpr SkScalar kMaxCount = 512; in apply() local
191 const auto count = static_cast<size_t>(SkTPin(fCount, 0.0f, kMaxCount) + 0.5f); in apply()
/third_party/mindspore/mindspore/core/mindrt/src/thread/
Dthreadpool.h33 constexpr int kMaxCount = 30000; variable
Dactor_threadpool.cc93 } while (!terminate && count++ < kMaxCount); in ~ActorThreadPool()
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest-printers.h408 const size_t kMaxCount = 32; // The maximum number of elements to print. in DefaultPrintTo() local
415 if (count == kMaxCount) { // Enough has been printed. in DefaultPrintTo()
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp747 SkBitmap bitmaps[SkYUVASizeInfo::kMaxCount]) in YUVGenerator() argument
754 SkASSERT(fNumBitmaps > 0 && fNumBitmaps <= SkYUVASizeInfo::kMaxCount); in YUVGenerator()
838 for ( ; i < SkYUVASizeInfo::kMaxCount; ++i) { in onQueryYUVA8()
848 void* planes[SkYUVASizeInfo::kMaxCount]) override { in onGetYUVA8Planes() argument
860 SkBitmap fYUVBitmaps[SkYUVASizeInfo::kMaxCount];
/third_party/googletest/googletest/include/gtest/
Dgtest-printers.h133 const size_t kMaxCount = 32; // The maximum number of elements to print. in PrintValue() local
139 if (count == kMaxCount) { // Enough has been printed. in PrintValue()
/third_party/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp354 for (int i = numTextures; i < SkYUVASizeInfo::kMaxCount; ++i) { in MakePromiseYUVATexture()

12