Name Description Size
SkCodec.cpp 35451
SkCodecImageGenerator.cpp 3856
SkCodecImageGenerator.h If this data represents an encoded image that we know how to decode, return an SkCodecImageGenerator. Otherwise return nullptr. 4529
SkCodecPriv.h returns a scaled dimension based on the original dimension and the sampleSize NOTE: we round down here for scaled dimension to match the behavior of SkImageDecoder FIXME: I think we should call this get_sampled_dimension(). 7893
SkColorTable.cpp 634
SkColorTable.h \class SkColorTable SkColorTable holds an array SkPMColors (premultiplied 32-bit colors) used by 8-bit bitmaps, where the bitmap bytes are interpreted as indices into the colortable. SkColorTable is thread-safe. 1360
SkEncodedInfo.cpp 898
SkFrameHolder.h Base class for a single frame of an animated image. Separate from SkCodec::FrameInfo, which is a pared down interface that only contains the info the client needs. 5499
SkMasks.cpp Used to convert 1-7 bit color components into 8-bit color components 4698
SkMasks.h 1478
SkMaskSwizzler.cpp 20700
SkMaskSwizzler.h Used to swizzle images whose pixel components are extracted by bit masks Currently only used by bmp 2152
SkParseEncodedOrigin.cpp 2937
SkParseEncodedOrigin.h If |data| is an EXIF tag representing an SkEncodedOrigin, return true and set |out| appropriately. Otherwise return false. 531
SkPixmapUtils.cpp 1970
SkPixmapUtils.h Copy the pixels in this pixmap into dst, applying the orientation transformations specified by the flags. If the inputs are invalid, this returns false and no copy is made. 1822
SkSampler.cpp 2249
SkSampler.h Update the sampler to sample every sampleX'th pixel. Returns the width after sampling. 2206
SkSwizzler.cpp ctable 45702
SkSwizzler.h Create a new SkSwizzler. @param encodedInfo Description of the format of the encoded data. @param ctable Unowned pointer to an array of up to 256 colors for an index source. @param dstInfo Describes the destination. @param options Contains partial scanline information and whether the dst is zero- initialized. @param frame Is non-NULL if the source pixels are part of an image frame that is a subset of the full image. Note that a deeper discussion of partial scanline subsets and image frame subsets is below. Currently, we do not support both simultaneously. If options->fSubset is non-NULL, frame must be NULL. @return A new SkSwizzler or nullptr on failure. 11097