Lines Matching defs:SkYUVAPixmaps
171 class SK_API SkYUVAPixmaps {
178 /** Allocate space for pixmaps' pixels in the SkYUVAPixmaps. */
179 static SkYUVAPixmaps Allocate(const SkYUVAPixmapInfo& yuvaPixmapInfo);
183 * SkYUVAPixmaps.
185 static SkYUVAPixmaps FromData(const SkYUVAPixmapInfo&, sk_sp<SkData>);
188 * Makes a deep copy of the src SkYUVAPixmaps. The returned SkYUVAPixmaps owns its planes'
191 static SkYUVAPixmaps MakeCopy(const SkYUVAPixmaps& src);
198 static SkYUVAPixmaps FromExternalMemory(const SkYUVAPixmapInfo&, void* memory);
201 * Wraps existing SkPixmaps. The SkYUVAPixmaps will have no ownership of the SkPixmaps' pixel
202 * memory so the caller must ensure it remains valid. Will return an invalid SkYUVAPixmaps if
206 static SkYUVAPixmaps FromExternalPixmaps(const SkYUVAInfo&, const SkPixmap[kMaxPlanes]);
208 /** Default SkYUVAPixmaps is invalid. */
209 SkYUVAPixmaps() = default;
210 ~SkYUVAPixmaps() = default;
212 SkYUVAPixmaps(SkYUVAPixmaps&& that) = default;
213 SkYUVAPixmaps& operator=(SkYUVAPixmaps&& that) = default;
214 SkYUVAPixmaps(const SkYUVAPixmaps&) = default;
215 SkYUVAPixmaps& operator=(const SkYUVAPixmaps& that) = default;
226 /** Number of pixmap planes or 0 if this SkYUVAPixmaps is invalid. */
231 * SkYUVAPixmaps.
237 * SkYUVAPixmaps is invalid.
251 SkYUVAPixmaps(const SkYUVAPixmapInfo&, sk_sp<SkData>);
252 SkYUVAPixmaps(const SkYUVAInfo&, DataType, const SkPixmap[kMaxPlanes]);