Lines Matching refs:pixels
31 * SkImage is an abstraction for drawing a rectagle of pixels, though the
49 static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes,
51 static SkImage* NewRasterData(const Info&, SkData* pixels, size_t rowBytes);
53 typedef void (*RasterReleaseProc)(const void* pixels, ReleaseContext);
56 * Return a new Image referencing the specified pixels. These must remain valid and unchanged
58 * to the pixels.
62 static SkImage* NewFromRaster(const Info&, const void* pixels, size_t rowBytes,
127 * Create a new image by copying the pixels from the specified descriptor. No reference is
136 * Create a new image by copying the pixels from the specified y, u, v textures. The data
169 * If the image has direct access to its pixels (i.e. they are in local
170 * RAM) return the (const) address of those pixels, and if not null, return
180 * If the image has direct access to its pixels (i.e. they are in local
181 * RAM) return the (const) address of those pixels, and if not null, return
228 * Copy the pixels from the image into the specified buffer (pixels + rowBytes),
229 * converting them into the requested format (dstInfo). The image pixels are read
237 * then we have two sets of pixels (of equal size). Replace the dst pixels with the
238 * corresponding src pixels, performing any colortype/alphatype transformations needed
252 * Copy the pixels from this image into the dst pixmap, converting as needed into dst's
261 * Encode the image's pixels and return the result as a new SkData, which
267 * Note: this will attempt to encode the image's pixels in the specified format,
303 * share the pixels, or it may make a copy.
325 * Attempt to create a bitmap with the same pixels as the image. The result will always be
337 * (and caches) its pixels / texture on-demand.