Home
last modified time | relevance | path

Searched refs:SkYUVASizeInfo (Results 1 – 25 of 33) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrYUVProvider.cpp26 sk_sp<SkCachedData> GrYUVProvider::getPlanes(SkYUVASizeInfo* size, in getPlanes()
29 const void* constPlanes[SkYUVASizeInfo::kMaxCount]) { in getPlanes()
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()
111 SkYUVASizeInfo yuvSizeInfo; in refAsTextureProxy()
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.h51 sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount],
52 SkYUVColorSpace*, const void* planes[SkYUVASizeInfo::kMaxCount]);
68 virtual bool onQueryYUVA8(SkYUVASizeInfo* sizeInfo,
83 virtual bool onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo,
/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.cpp33 bool SkImageGenerator::queryYUVA8(SkYUVASizeInfo* sizeInfo, in queryYUVA8()
41 bool SkImageGenerator::getYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in getYUVA8Planes()
43 void* planes[SkYUVASizeInfo::kMaxCount]) { in getYUVA8Planes()
45 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in getYUVA8Planes()
DSkYUVPlanesCache.h28 SkYUVASizeInfo fSizeInfo;
/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()
275 SkYUVASizeInfo yuvaSizeInfo; in addImage()
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/include/core/
DSkImageGenerator.h94 bool queryYUVA8(SkYUVASizeInfo* sizeInfo,
110 bool getYUVA8Planes(const SkYUVASizeInfo& sizeInfo,
173 virtual bool onQueryYUVA8(SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount], in onQueryYUVA8() argument
175 … virtual bool onGetYUVA8Planes(const SkYUVASizeInfo&, const SkYUVAIndex[SkYUVAIndex::kIndexCount], in onGetYUVA8Planes() argument
DSkYUVASizeInfo.h15 struct SK_API SkYUVASizeInfo { struct
40 bool operator==(const SkYUVASizeInfo& that) const { argument
DSkDeferredDisplayListRecorder.h25 struct SkYUVASizeInfo;
/third_party/flutter/skia/tests/
DYUVTest.cpp30 SkYUVASizeInfo info; in codec_yuv()
41 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()
DImageGeneratorTest.cpp65 SkYUVASizeInfo sizeInfo; in DEF_TEST()
/third_party/flutter/skia/include/codec/
DSkCodec.h380 bool queryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8()
408 Result getYUV8Planes(const SkYUVASizeInfo& sizeInfo, void* planes[SkYUVASizeInfo::kMaxCount]) { in getYUV8Planes()
756 virtual bool onQueryYUV8(SkYUVASizeInfo*, SkYUVColorSpace*) const { in onQueryYUV8() argument
760 virtual Result onGetYUV8Planes(const SkYUVASizeInfo&, in onGetYUV8Planes() argument
761 void*[SkYUVASizeInfo::kMaxCount] /*planes*/) { in onGetYUV8Planes()
/third_party/flutter/skia/src/codec/
DSkJpegCodec.h47 bool onQueryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override;
49 Result onGetYUV8Planes(const SkYUVASizeInfo& sizeInfo,
50 void* planes[SkYUVASizeInfo::kMaxCount]) override;
DSkCodecImageGenerator.h31 SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount], SkYUVColorSpace*) const override;
33 bool onGetYUVA8Planes(const SkYUVASizeInfo&, const SkYUVAIndex[SkYUVAIndex::kIndexCount],
DSkCodecImageGenerator.cpp69 bool SkCodecImageGenerator::onQueryYUVA8(SkYUVASizeInfo* sizeInfo, in onQueryYUVA8()
85 bool SkCodecImageGenerator::onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUVA8Planes()
DSkJpegCodec.cpp842 bool SkJpegCodec::onQueryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in onQueryYUV8()
866 SkCodec::Result SkJpegCodec::onGetYUV8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUV8Planes()
867 void* planes[SkYUVASizeInfo::kMaxCount]) { in onGetYUV8Planes()
868 SkYUVASizeInfo defaultInfo; in onGetYUV8Planes()
/third_party/flutter/skia/tools/gpu/
DYUVUtils.h35 SkYUVASizeInfo fSizeInfo;
39 SkPixmap fPlanes[SkYUVASizeInfo::kMaxCount];
DYUVUtils.cpp53 void* planes[SkYUVASizeInfo::kMaxCount]; in reset()
59 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in reset()
/third_party/flutter/skia/src/image/
DSkImage_Base.h27 struct SkYUVASizeInfo;
78 virtual sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[4],
DSkImage_Lazy.cpp365 bool onQueryYUVA8(SkYUVASizeInfo* sizeInfo, in onQueryYUVA8()
370 bool onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUVA8Planes()
399 sk_sp<SkCachedData> SkImage_Lazy::getPlanes(SkYUVASizeInfo* yuvaSizeInfo, in getPlanes()
402 const void* planes[SkYUVASizeInfo::kMaxCount]) { in getPlanes()
DSkImage_GpuYUVA.h17 struct SkYUVASizeInfo;
DSkImage_Lazy.h48 sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[4],
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp747 SkBitmap bitmaps[SkYUVASizeInfo::kMaxCount]) in YUVGenerator()
754 SkASSERT(fNumBitmaps > 0 && fNumBitmaps <= SkYUVASizeInfo::kMaxCount); in YUVGenerator()
820 bool onQueryYUVA8(SkYUVASizeInfo* size, in onQueryYUVA8()
838 for ( ; i < SkYUVASizeInfo::kMaxCount; ++i) { in onQueryYUVA8()
847 bool onGetYUVA8Planes(const SkYUVASizeInfo&, const SkYUVAIndex[SkYUVAIndex::kIndexCount], in onGetYUVA8Planes() argument
848 void* planes[SkYUVASizeInfo::kMaxCount]) override { in onGetYUVA8Planes()
860 SkBitmap fYUVBitmaps[SkYUVASizeInfo::kMaxCount];

12