Name Description Size
SkAndroidCodec.cpp 19919
SkAndroidCodecAdapter.cpp 913
SkAndroidCodecAdapter.h This class wraps SkCodec to implement the functionality of SkAndroidCodec. The underlying SkCodec implements sampled decodes. SkCodec's that do not implement that are wrapped with SkSampledCodec instead. 1157
SkAvifCodec.cpp 9531
SkAvifCodec.h Returns true if an AVIF image is detected. Returns false otherwise. 3127
SkBmpBaseCodec.cpp 675
SkBmpBaseCodec.h Common base class for SkBmpStandardCodec and SkBmpMaskCodec. 1111
SkBmpCodec.cpp Defines the version and type of the second bitmap header 28042
SkBmpCodec.h This class enables code sharing between its bmp codec subclasses. The subclasses actually do the work. 5338
SkBmpMaskCodec.cpp Creates an instance of the decoder 3662
SkBmpMaskCodec.h This class implements the decoding for bmp images using bit masks 2058
SkBmpRLECodec.cpp Creates an instance of the decoder Called only by NewFromStream 22419
SkBmpRLECodec.h This class implements the decoding for bmp images that use an RLE encoding 4398
SkBmpStandardCodec.cpp Creates an instance of the decoder Called only by NewFromStream 13871
SkBmpStandardCodec.h This class implements the decoding for bmp images that use "standard" modes, which essentially means they do not contain bit masks or RLE codes. 3816
SkCodec.cpp 38736
SkCodecImageGenerator.cpp 4237
SkCodecImageGenerator.h If this data represents an encoded image that we know how to decode, return an SkCodecImageGenerator. Otherwise return nullptr. 4545
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(). 7883
SkColorPalette.cpp 644
SkColorPalette.h \class SkColorPalette SkColorPalette holds an array of SkPMColors (premultiplied 32-bit colors) used by 8-bit bitmaps, where the bitmap bytes are interpreted as indices into the colortable. SkColorPalette is thread-safe. 1381
SkEncodedInfo.cpp 898
SkExif.cpp isRoot= 6757
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
SkHeifCodec.cpp 19348
SkHeifCodec.h Returns true if one of kHEIF or kAVIF images were detected. If |format| is not nullptr, it will contain the detected format. Returns false otherwise. 4010
SkIcoCodec.cpp Checks the start of the stream to see if the image is an Ico or Cur 15523
SkIcoCodec.h This class implements the decoding for bmp images 3311
SkImageGenerator_FromEncoded.cpp 2066
SkJpegCodec.cpp Return true if the specified SkJpegMarker has marker |targetMarker| and begins with the specified signature. 54948
SkJpegCodec.h This class implements the decoding for jpeg images 5439
SkJpegConstants.h 2820
SkJpegDecoderMgr.cpp Print information, warning, and error messages 5153
SkJpegDecoderMgr.h Print a useful error message and return false 2347
SkJpegMultiPicture.cpp 13279
SkJpegMultiPicture.h Parsed Jpeg Multi-Picture Format structure as specified in CIPA DC-x007-2009. An introduction to the format can be found in Figure 1 (Basic MP File format data structure) and Figure 6 (Internal Structure of the MP Index IFD) in that document. This parsing will extract only the size and offset parameters from the images in the Index Image File Directory. 2361
SkJpegPriv.h Error handling struct 1468
SkJpegSegmentScan.cpp 8361
SkJpegSegmentScan.h A JPEG segment. 5546
SkJpegSourceMgr.cpp Class that will will rewind an SkStream, and then restore it to its original position when it goes out of scope. If the SkStream is not seekable, then the stream will not be altered at all, and will return false from canRestore. 17501
SkJpegSourceMgr.h Interface to adapt an SkStream to the jpeg_source_mgr interface. This interface has different implementations for SkStreams with different capabilities. 2892
SkJpegUtility.cpp Call longjmp to continue execution on an error 4774
SkJpegUtility.h Error handling function 1025
SkJpegxlCodec.cpp memory_manager= 17796
SkJpegxlCodec.h This class implements the decoding for jpegxl images 3469
SkJpegXmp.cpp Extract standard XMP metadata. The decoderApp1Params must outlive the returned SkData. See XMP Specification Part 3: Storage in files, Section 1.1.3: JPEG. 7693
SkJpegXmp.h 513
SkMaskSwizzler.cpp 20867
SkMaskSwizzler.h Used to swizzle images whose pixel components are extracted by bit masks Currently only used by bmp 2152
SkParseEncodedOrigin.cpp 537
SkParseEncodedOrigin.h If |data| is an EXIF tag representing an SkEncodedOrigin, return true and set |out| appropriately. Otherwise return false. 547
SkPixmapUtils.cpp 2007
SkPixmapUtilsPriv.h Decode an image and then copy into dst, applying origin. @param dst SkPixmap to write the final image, after applying the origin. @param origin SkEncodedOrigin to apply to the raw pixels. @param decode Function for decoding into a pixmap without applying the origin. 1413
SkPngCodec.cpp This class does not take ownership of stream or reader, but if codecPtr is non-NULL, and decodeBounds succeeds, it will have created a new SkCodec (pointed to by *codecPtr) which will own/ref them, as well as the png_ptr and info_ptr. 46527
SkPngCodec.h Pass available input to libpng to process it. libpng will call any relevant callbacks installed. This will continue decoding until it reaches the end of the file, or until a callback tells libpng to stop. 4275
SkPngPriv.h 592
SkRawCodec.cpp 30816
SkRawCodec.h This class implements the decoding for RAW images 1605
SkSampledCodec.cpp 14723
SkSampledCodec.h This class implements the functionality of SkAndroidCodec. Scaling will be provided by sampling if it cannot be provided by fCodec. 2149
SkSampler.cpp 2251
SkSampler.h Update the sampler to sample every sampleX'th pixel. Returns the width after sampling. 2206
SkScalingCodec.h 1582
SkStubHeifDecoderAPI.h 1988
SkSwizzler.cpp ctable 45767
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. 11098
SkTiffUtility.cpp 10325
SkTiffUtility.h Helper function for parsing a Tiff Image File Directory (IFD) structure. This structure is used by EXIF tags, multi-picture, and maker note metadata. 5095
SkWbmpCodec.cpp needsColorXform 7450
SkWbmpCodec.h Assumes IsWbmp was called and returned true Creates a wbmp codec Takes ownership of the stream 2095
SkWebpCodec.cpp 22375
SkWebpCodec.h desiredSubset 3108
SkWuffsCodec.cpp 46198
SkXmp.cpp Given a node, see if that node has only one child with the indicated name. If so, see if that child has only a single child of its own, and that child is text. If all of that is the case then return the text, otherwise return nullptr. In the following example, innerText will be returned. <node><childName>innerText</childName></node> In the following examples, nullptr will be returned (because there are multiple children with childName in the first case, and because the child has children of its own in the second). <node><childName>innerTextA</childName><childName>innerTextB</childName></node> <node><childName>innerText<otherGrandChild/></childName></node> 25697