/third_party/skia/include/core/ |
D | SkYUVAPixmaps.h | 28 static constexpr auto kMaxPlanes = SkYUVAInfo::kMaxPlanes; 102 const SkColorType[kMaxPlanes], 103 const size_t rowBytes[kMaxPlanes]); 108 SkYUVAPixmapInfo(const SkYUVAInfo&, DataType, const size_t rowBytes[kMaxPlanes]); 141 size_t computeTotalBytes(size_t planeSizes[kMaxPlanes] = nullptr) const; 148 bool initPixmapsFromSingleAllocation(void* memory, SkPixmap pixmaps[kMaxPlanes]) const; 161 std::array<SkImageInfo, kMaxPlanes> fPlaneInfos = {}; 162 std::array<size_t, kMaxPlanes> fRowBytes = {}; 174 static constexpr auto kMaxPlanes = SkYUVAPixmapInfo::kMaxPlanes; variable 206 static SkYUVAPixmaps FromExternalPixmaps(const SkYUVAInfo&, const SkPixmap[kMaxPlanes]); [all …]
|
D | SkYUVAInfo.h | 94 static constexpr int kMaxPlanes = 4; variable 118 SkISize planeDimensions[kMaxPlanes]); 188 int planeDimensions(SkISize planeDimensions[kMaxPlanes]) const { in planeDimensions() argument 197 size_t computeTotalBytes(const size_t rowBytes[kMaxPlanes], 198 size_t planeSizes[kMaxPlanes] = nullptr) const;
|
/third_party/skia/include/gpu/ |
D | GrYUVABackendTextures.h | 21 static constexpr auto kMaxPlanes = SkYUVAInfo::kMaxPlanes; 35 const GrBackendFormat[kMaxPlanes], 74 GrBackendFormat fPlaneFormats[kMaxPlanes]; 92 const GrBackendTexture[SkYUVAInfo::kMaxPlanes], 95 const std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes>& textures() const { in textures() 100 SkASSERT(i >= 0 && i < SkYUVAInfo::kMaxPlanes); in texture() 120 std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes> fTextures;
|
/third_party/skia/src/core/ |
D | SkYUVAPixmaps.cpp | 79 const SkColorType colorTypes[kMaxPlanes], in SkYUVAPixmapInfo() argument 80 const size_t rowBytes[kMaxPlanes]) in SkYUVAPixmapInfo() argument 89 size_t tempRowBytes[kMaxPlanes]; in SkYUVAPixmapInfo() 121 const size_t rowBytes[kMaxPlanes]) { in SkYUVAPixmapInfo() argument 122 SkColorType colorTypes[kMaxPlanes] = {}; in SkYUVAPixmapInfo() 139 size_t SkYUVAPixmapInfo::computeTotalBytes(size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes() 142 std::fill_n(planeSizes, kMaxPlanes, 0); in computeTotalBytes() 150 SkPixmap pixmaps[kMaxPlanes]) const { in initPixmapsFromSingleAllocation() 164 for (int i = n; i < kMaxPlanes; ++i) { in initPixmapsFromSingleAllocation() 235 SkPixmap pixmaps[kMaxPlanes]; in FromExternalMemory() [all …]
|
D | SkYUVAInfo.cpp | 79 SkISize planeDimensions[SkYUVAInfo::kMaxPlanes]) { in PlaneDimensions() argument 80 std::fill_n(planeDimensions, SkYUVAInfo::kMaxPlanes, SkISize{0, 0}); in PlaneDimensions() 323 size_t SkYUVAInfo::computeTotalBytes(const size_t rowBytes[kMaxPlanes], in computeTotalBytes() argument 324 size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes() 330 SkISize planeDimensions[kMaxPlanes]; in computeTotalBytes() 343 for (int i = n; i < kMaxPlanes; ++i) { in computeTotalBytes() 347 for (int i = 0; n < kMaxPlanes; ++i) { in computeTotalBytes()
|
D | SkYUVAInfoLocation.h | 32 bool used[SkYUVAInfo::kMaxPlanes] = {}; 39 } else if (locations[i].fPlane >= SkYUVAInfo::kMaxPlanes) {
|
/third_party/skia/src/gpu/ |
D | GrYUVATextureProxies.h | 24 sk_sp<GrSurfaceProxy>[SkYUVAInfo::kMaxPlanes], 34 GrSurfaceProxyView[SkYUVAInfo::kMaxPlanes], 35 GrColorType[SkYUVAInfo::kMaxPlanes]); 54 const std::array<sk_sp<GrSurfaceProxy>, SkYUVAInfo::kMaxPlanes>& proxies() const { in proxies() 69 std::array<sk_sp<GrSurfaceProxy>, SkYUVAInfo::kMaxPlanes> fProxies;
|
D | GrYUVATextureProxies.cpp | 29 sk_sp<GrSurfaceProxy> proxies[SkYUVAInfo::kMaxPlanes], in GrYUVATextureProxies() argument 38 uint32_t textureChannelMasks[SkYUVAInfo::kMaxPlanes]; in GrYUVATextureProxies() 70 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes], in GrYUVATextureProxies() argument 71 GrColorType colorTypes[SkYUVAInfo::kMaxPlanes]) in GrYUVATextureProxies() argument 73 uint32_t pixmapChannelMasks[SkYUVAInfo::kMaxPlanes]; in GrYUVATextureProxies()
|
D | GrYUVABackendTextures.cpp | 26 const GrBackendFormat formats[kMaxPlanes], in GrYUVABackendTextureInfo() argument 80 const GrBackendTexture textures[SkYUVAInfo::kMaxPlanes], in GrYUVABackendTextures() argument 86 SkISize planeDimensions[SkYUVAInfo::kMaxPlanes]; in GrYUVABackendTextures()
|
/third_party/skia/tools/ |
D | DDLPromiseImageHelper.h | 166 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in setCallbackContext() 170 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in callbackContext() 174 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in refCallbackContext() 185 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in backendFormat() 189 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in promiseTexture() 212 sk_sp<PromiseImageCallbackContext> fCallbackContexts[SkYUVAInfo::kMaxPlanes];
|
D | DDLPromiseImageHelper.cpp | 38 for (int i = 0; i < SkYUVAInfo::kMaxPlanes; ++i) { in PromiseImageInfo() 327 GrBackendFormat backendFormats[SkYUVAInfo::kMaxPlanes]; in CreatePromiseImages() 329 void* contexts[SkYUVAInfo::kMaxPlanes] = {nullptr, nullptr, nullptr, nullptr}; in CreatePromiseImages()
|
/third_party/skia/tests/ |
D | YUVTest.cpp | 50 REPORTER_ASSERT(reporter, numPlanes <= SkYUVAInfo::kMaxPlanes); in codec_yuv() 61 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv() 72 for (int i = 0; i < SkYUVAPixmaps::kMaxPlanes; ++i) { in codec_yuv() 75 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv()
|
D | YUVCacheTest.cpp | 53 SkPixmap pmaps[SkYUVAInfo::kMaxPlanes]; in DEF_TEST()
|
/third_party/skia/tools/gpu/ |
D | ManagedBackendTexture.cpp | 20 sk_sp<sk_gpu_test::ManagedBackendTexture> fMBETs[SkYUVAInfo::kMaxPlanes]; 48 const sk_sp<ManagedBackendTexture> mbets[SkYUVAInfo::kMaxPlanes]) { in MakeYUVAReleaseContext() argument 50 for (int i = 0; i < SkYUVAInfo::kMaxPlanes; ++i) { in MakeYUVAReleaseContext()
|
D | YUVUtils.cpp | 140 std::tuple<std::array<sk_sp<SkImage>, SkYUVAInfo::kMaxPlanes>, SkYUVAInfo> 150 SkISize dims[SkYUVAInfo::kMaxPlanes]; in MakeYUVAPlanesAsA8() 297 sk_sp<sk_gpu_test::ManagedBackendTexture> mbets[SkYUVAInfo::kMaxPlanes]; in ensureYUVImage() 298 GrBackendTexture textures[SkYUVAInfo::kMaxPlanes]; in ensureYUVImage()
|
D | YUVUtils.h | 26 std::tuple<std::array<sk_sp<SkImage>, SkYUVAInfo::kMaxPlanes>, SkYUVAInfo>
|
D | ManagedBackendTexture.h | 86 static void* MakeYUVAReleaseContext(const sk_sp<ManagedBackendTexture>[SkYUVAInfo::kMaxPlanes]);
|
/third_party/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 111 GrSurfaceProxy* proxies[SkYUVAInfo::kMaxPlanes] = {}; in onFlush() 233 sk_sp<GrSurfaceProxy> proxies[SkYUVAInfo::kMaxPlanes]; in MakeFromYUVATextures() 308 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes]; in MakeFromYUVAPixmaps() 309 GrColorType pixmapColorTypes[SkYUVAInfo::kMaxPlanes]; in MakeFromYUVAPixmaps() 341 SkISize planeDimensions[SkYUVAInfo::kMaxPlanes]; in MakePromiseYUVATexture()
|
D | SkImage_Lazy.cpp | 290 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes]; in textureProxyViewFromPlanes() 291 GrColorType pixmapColorTypes[SkYUVAInfo::kMaxPlanes]; in textureProxyViewFromPlanes()
|
/third_party/skia/gm/ |
D | yuvtorgbsubset.cpp | 92 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes]; in onGpuSetup() 93 GrColorType colorTypes[SkYUVAInfo::kMaxPlanes]; in onGpuSetup()
|
D | wacky_yuv_formats.cpp | 195 SkPixmap pmaps[SkYUVAInfo::kMaxPlanes]; in makeYUVAPixmaps() 1200 std::array<sk_sp<SkImage>, SkYUVAInfo::kMaxPlanes> planes; in onDraw()
|
/third_party/skia/src/codec/ |
D | SkJpegCodec.cpp | 820 SkColorType colorTypes[SkYUVAPixmapInfo::kMaxPlanes]; in is_yuv_supported() 821 size_t rowBytes[SkYUVAPixmapInfo::kMaxPlanes]; in is_yuv_supported() 861 const std::array<SkPixmap, SkYUVAPixmaps::kMaxPlanes>& planes = yuvaPixmaps.planes(); in onGetYUVAPlanes()
|
/third_party/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 54 std::unique_ptr<GrFragmentProcessor> planeFPs[SkYUVAInfo::kMaxPlanes]; in Make()
|