Flutter Engine
The Flutter Engine
|
#include <SkJpegMetadataDecoderImpl.h>
Public Member Functions | |
SkJpegMetadataDecoderImpl (SkJpegMarkerList markerList) | |
SkJpegMetadataDecoderImpl (sk_sp< SkData > data) | |
bool | findGainmapImage (SkJpegSourceMgr *sourceMgr, sk_sp< SkData > &outGainmapImageData, SkGainmapInfo &outGainmapInfo) const |
sk_sp< SkData > | getExifMetadata (bool copyData) const override |
sk_sp< SkData > | getICCProfileData (bool copyData) const override |
sk_sp< SkData > | getISOGainmapMetadata (bool copyData) const override |
bool | mightHaveGainmapImage () const override |
bool | findGainmapImage (sk_sp< SkData > baseImageData, sk_sp< SkData > &outGainmapImageData, SkGainmapInfo &outGainmapInfo) override |
Public Member Functions inherited from SkJpegMetadataDecoder | |
SkJpegMetadataDecoder () | |
virtual | ~SkJpegMetadataDecoder () |
SkJpegMetadataDecoder (const SkJpegMetadataDecoder &)=delete | |
SkJpegMetadataDecoder & | operator= (const SkJpegMetadataDecoder &)=delete |
virtual sk_sp< SkData > | getExifMetadata (bool copyData) const =0 |
virtual sk_sp< SkData > | getICCProfileData (bool copyData) const =0 |
virtual sk_sp< SkData > | getISOGainmapMetadata (bool copyData) const =0 |
virtual bool | mightHaveGainmapImage () const =0 |
virtual bool | findGainmapImage (sk_sp< SkData > baseImageData, sk_sp< SkData > &outGainmapImagedata, SkGainmapInfo &outGainmapInfo)=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from SkJpegMetadataDecoder | |
static std::unique_ptr< SkJpegMetadataDecoder > | Make (std::vector< Segment > headerSegments) |
Definition at line 27 of file SkJpegMetadataDecoderImpl.h.
SkJpegMetadataDecoderImpl::SkJpegMetadataDecoderImpl | ( | SkJpegMarkerList | markerList | ) |
Definition at line 413 of file SkJpegMetadataDecoderImpl.cpp.
Definition at line 416 of file SkJpegMetadataDecoderImpl.cpp.
|
overridevirtual |
Given a JPEG encoded image |baseImageData|, return in |outGainmapImageData| the JPEG encoded gainmap image and return in |outGainmapInfo| its gainmap rendering parameters. Return true if both output variables were successfully populated, otherwise return false.
Implements SkJpegMetadataDecoder.
Definition at line 477 of file SkJpegMetadataDecoderImpl.cpp.
bool SkJpegMetadataDecoderImpl::findGainmapImage | ( | SkJpegSourceMgr * | sourceMgr, |
sk_sp< SkData > & | outGainmapImageData, | ||
SkGainmapInfo & | outGainmapInfo | ||
) | const |
Definition at line 170 of file SkJpegMetadataDecoderImpl.cpp.
Return the Exif data attached to the image (if any) and nullptr otherwise. If |copyData| is false, then the returned SkData may directly reference the data provided when this object was created.
Implements SkJpegMetadataDecoder.
Definition at line 438 of file SkJpegMetadataDecoderImpl.cpp.
Return the ICC profile of the image if any, and nullptr otherwise. If |copyData| is false, then the returned SkData may directly reference the data provided when this object was created.
Implements SkJpegMetadataDecoder.
Definition at line 448 of file SkJpegMetadataDecoderImpl.cpp.
|
overridevirtual |
Return the ISO 21496-1 metadata, if any, and nullptr otherwise. If |copyData| is false, then the returned SkData may directly reference the data provided when this object was created.
Implements SkJpegMetadataDecoder.
Definition at line 458 of file SkJpegMetadataDecoderImpl.cpp.
|
overridevirtual |
Return true if there is a possibility that this image contains a gainmap image.
Implements SkJpegMetadataDecoder.
Definition at line 468 of file SkJpegMetadataDecoderImpl.cpp.