23 if (
nullptr == pixels) {
26 if (rowBytes <
info.minRowBytes()) {
31 return this->
onGetPixels(info, pixels, rowBytes, defaultOpts);
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kUnknown_SkColorType
uninitialized
bool getYUVAPlanes(const SkYUVAPixmaps &yuvaPixmaps)
SkImageGenerator(const SkImageInfo &info, uint32_t uniqueId=kNeedNewImageUniqueID)
bool queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes &supportedDataTypes, SkYUVAPixmapInfo *yuvaPixmapInfo) const
virtual bool onGetYUVAPlanes(const SkYUVAPixmaps &)
virtual bool onQueryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes &, SkYUVAPixmapInfo *) const
virtual bool onGetPixels(const SkImageInfo &, void *, size_t, const Options &)
bool getPixels(const SkImageInfo &info, void *pixels, size_t rowBytes)
bool isSupported(const SupportedDataTypes &) const