Lines Matching refs:format
20 enum Format {
53 // desired compression format. If the width and height are not an appropriate
55 int GetCompressedDataSize(Format fmt, int width, int height);
59 // associated format, then we return nullptr. The caller is responsible for
61 SkData* CompressBitmapToFormat(const SkPixmap&, Format format);
65 // be large enough to hold the compressed data according to the format.
67 int width, int height, size_t rowBytes, Format format);
69 // Decompresses the given src data from the format specified into the
73 // decompressed image colors are determined based on the passed format.
81 int width, int height, Format format);
83 // Returns true if there exists a blitter for the specified format.
84 inline bool ExistsBlitterForFormat(Format format) {
85 switch (format) {
96 // Returns the blitter for the given compression format. Note, the blitter
100 SkTBlitterAllocator *allocator, Format format);
102 // Returns the desired dimensions of the block size for the given format. These dimensions
108 void GetBlockDimensions(Format format, int* dimX, int* dimY, bool matchSpec = false);