Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DGrYUVProvider.cpp24 sk_sp<SkCachedData> GrYUVProvider::getPlanes(SkYUVASizeInfo* size, in getPlanes()
27 const void* constPlanes[SkYUVASizeInfo::kMaxCount]) { in getPlanes()
32 void* planes[SkYUVASizeInfo::kMaxCount]; in getPlanes()
37 for (int i = 1; i < SkYUVASizeInfo::kMaxCount; ++i) { in getPlanes()
56 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; i++) { in getPlanes()
67 for (int i = 1; i < SkYUVASizeInfo::kMaxCount; ++i) { in getPlanes()
109 SkYUVASizeInfo yuvSizeInfo; in refAsTextureProxy()
112 const void* planes[SkYUVASizeInfo::kMaxCount]; in refAsTextureProxy()
120 sk_sp<GrTextureProxy> yuvTextureProxies[SkYUVASizeInfo::kMaxCount]; in refAsTextureProxy()
121 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in refAsTextureProxy()
DGrYUVProvider.h50 sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount],
51 SkYUVColorSpace*, const void* planes[SkYUVASizeInfo::kMaxCount]);
67 virtual bool onQueryYUVA8(SkYUVASizeInfo* sizeInfo,
82 virtual bool onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo,
/external/skqp/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;
/external/skqp/tools/
DDDLPromiseImageHelper.h157 SkASSERT(index >= 0 && index < SkYUVASizeInfo::kMaxCount); in yuvPixmap()
166 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in setCallbackContext()
170 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in callbackContext()
174 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in refCallbackContext()
179 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVASizeInfo::kMaxCount : 1)); in promiseTexture()
194 SkASSERT(index >= 0 && index < SkYUVASizeInfo::kMaxCount); in addYUVPlane()
211 SkPixmap fYUVPlanes[SkYUVASizeInfo::kMaxCount];
214 sk_sp<PromiseImageCallbackContext> fCallbackContexts[SkYUVASizeInfo::kMaxCount];
DDDLPromiseImageHelper.cpp221 GrBackendFormat backendFormats[SkYUVASizeInfo::kMaxCount]; in PromiseImageCreator()
222 void* contexts[SkYUVASizeInfo::kMaxCount] = { nullptr, nullptr, nullptr, nullptr }; in PromiseImageCreator()
223 SkISize sizes[SkYUVASizeInfo::kMaxCount]; in PromiseImageCreator()
234 for (int i = textureCount; i < SkYUVASizeInfo::kMaxCount; ++i) { in PromiseImageCreator()
304 SkYUVASizeInfo yuvaSizeInfo; in addImage()
307 const void* planes[SkYUVASizeInfo::kMaxCount]; in addImage()
314 SkColorType colorTypes[SkYUVASizeInfo::kMaxCount] = { in addImage()
331 for (int i = 0; i < SkYUVASizeInfo::kMaxCount; ++i) { in addImage()
/external/skqp/include/core/
DSkImageGenerator.h95 bool queryYUVA8(SkYUVASizeInfo* sizeInfo,
111 bool getYUVA8Planes(const SkYUVASizeInfo& sizeInfo,
174 virtual bool onQueryYUVA8(SkYUVASizeInfo*, SkYUVAIndex[SkYUVAIndex::kIndexCount], in onQueryYUVA8() argument
176 … 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;
/external/skqp/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()
/external/skqp/include/codec/
DSkCodec.h360 bool queryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8()
388 Result getYUV8Planes(const SkYUVASizeInfo& sizeInfo, void* planes[SkYUVASizeInfo::kMaxCount]) { in getYUV8Planes()
727 virtual bool onQueryYUV8(SkYUVASizeInfo*, SkYUVColorSpace*) const { in onQueryYUV8() argument
731 virtual Result onGetYUV8Planes(const SkYUVASizeInfo&, in onGetYUV8Planes() argument
732 void*[SkYUVASizeInfo::kMaxCount] /*planes*/) { in onGetYUV8Planes()
/external/skqp/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()
/external/skqp/src/image/
DSkImage_Base.h26 struct SkYUVASizeInfo;
77 virtual sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[4],
DSkImage_Lazy.cpp307 bool onQueryYUVA8(SkYUVASizeInfo* sizeInfo, in onQueryYUVA8()
312 bool onGetYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUVA8Planes()
341 sk_sp<SkCachedData> SkImage_Lazy::getPlanes(SkYUVASizeInfo* yuvaSizeInfo, in getPlanes()
344 const void* planes[SkYUVASizeInfo::kMaxCount]) { in getPlanes()
DSkImage_Lazy.h52 sk_sp<SkCachedData> getPlanes(SkYUVASizeInfo*, SkYUVAIndex[4],
DSkImage_GpuYUVA.h17 struct SkYUVASizeInfo;
DSkImage_GpuYUVA.cpp307 for (int i = numTextures; i < SkYUVASizeInfo::kMaxCount; ++i) { in MakePromiseYUVATexture()
DSkImage.cpp223 sk_sp<SkCachedData> SkImage_Base::getPlanes(SkYUVASizeInfo*, SkYUVAIndex[4], in getPlanes() argument
/external/skqp/gm/
Dwacky_yuv_formats.cpp507 SkBitmap bitmaps[SkYUVASizeInfo::kMaxCount]) in YUVGenerator()
513 SkASSERT(fNumBitmaps > 0 && fNumBitmaps <= SkYUVASizeInfo::kMaxCount); in YUVGenerator()
572 bool onQueryYUVA8(SkYUVASizeInfo* size, in onQueryYUVA8()
585 for ( ; i < SkYUVASizeInfo::kMaxCount; ++i) { in onQueryYUVA8()
594 bool onGetYUVA8Planes(const SkYUVASizeInfo&, const SkYUVAIndex[SkYUVAIndex::kIndexCount], in onGetYUVA8Planes() argument
595 void* planes[SkYUVASizeInfo::kMaxCount]) override { in onGetYUVA8Planes()
606 SkBitmap fYUVBitmaps[SkYUVASizeInfo::kMaxCount];

12