webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::ImageFrame Class Reference

#include <ImageFrame.h>

Public Types

enum  Caching {
  Caching::Empty, Caching::Metadata, Caching::MetadataAndImage, Caching::Empty,
  Caching::Metadata, Caching::MetadataAndImage
}
 
enum  Decoding {
  Decoding::Empty, Decoding::BeingDecoded, Decoding::Partial, Decoding::Complete,
  Decoding::Empty, Decoding::BeingDecoded, Decoding::Partial, Decoding::Complete
}
 
enum  DisposalMethod {
  DisposalMethod::Unspecified, DisposalMethod::DoNotDispose, DisposalMethod::RestoreToBackground, DisposalMethod::RestoreToPrevious,
  DisposalMethod::Unspecified, DisposalMethod::DoNotDispose, DisposalMethod::RestoreToBackground, DisposalMethod::RestoreToPrevious
}
 
enum  Caching {
  Caching::Empty, Caching::Metadata, Caching::MetadataAndImage, Caching::Empty,
  Caching::Metadata, Caching::MetadataAndImage
}
 
enum  Decoding {
  Decoding::Empty, Decoding::BeingDecoded, Decoding::Partial, Decoding::Complete,
  Decoding::Empty, Decoding::BeingDecoded, Decoding::Partial, Decoding::Complete
}
 
enum  DisposalMethod {
  DisposalMethod::Unspecified, DisposalMethod::DoNotDispose, DisposalMethod::RestoreToBackground, DisposalMethod::RestoreToPrevious,
  DisposalMethod::Unspecified, DisposalMethod::DoNotDispose, DisposalMethod::RestoreToBackground, DisposalMethod::RestoreToPrevious
}
 

Public Member Functions

 ImageFrame ()
 
 ImageFrame (const ImageFrame &other)
 
 ~ImageFrame ()
 
ImageFrameoperator= (const ImageFrame &other)
 
unsigned clearImage ()
 
unsigned clear ()
 
bool initialize (const ImageBackingStore &)
 
bool initialize (const IntSize &, bool premultiplyAlpha)
 
void setDecoding (Decoding decoding)
 
Decoding decoding () const
 
bool isEmpty () const
 
bool isBeingDecoded () const
 
bool isPartial () const
 
bool isComplete () const
 
IntSize size () const
 
IntSize sizeRespectingOrientation () const
 
unsigned frameBytes () const
 
SubsamplingLevel subsamplingLevel () const
 
void setDisposalMethod (DisposalMethod method)
 
DisposalMethod disposalMethod () const
 
NativeImagePtr nativeImage () const
 
void setOrientation (ImageOrientation orientation)
 
ImageOrientation orientation () const
 
void setDuration (float duration)
 
float duration () const
 
void setHasAlpha (bool hasAlpha)
 
bool hasAlpha () const
 
bool hasNativeImage () const
 
bool hasValidNativeImage (SubsamplingLevel subsamplingLevel) const
 
bool hasMetadata () const
 
ImageBackingStorebackingStore () const
 
bool hasBackingStore () const
 
Color singlePixelSolidColor () const
 
 ImageFrame ()
 
 ImageFrame (const ImageFrame &other)
 
 ~ImageFrame ()
 
ImageFrameoperator= (const ImageFrame &other)
 
unsigned clearImage ()
 
unsigned clear ()
 
bool initialize (const ImageBackingStore &)
 
bool initialize (const IntSize &, bool premultiplyAlpha)
 
void setDecoding (Decoding decoding)
 
Decoding decoding () const
 
bool isEmpty () const
 
bool isBeingDecoded () const
 
bool isPartial () const
 
bool isComplete () const
 
IntSize size () const
 
IntSize sizeRespectingOrientation () const
 
unsigned frameBytes () const
 
SubsamplingLevel subsamplingLevel () const
 
void setDisposalMethod (DisposalMethod method)
 
DisposalMethod disposalMethod () const
 
NativeImagePtr nativeImage () const
 
void setOrientation (ImageOrientation orientation)
 
ImageOrientation orientation () const
 
void setDuration (float duration)
 
float duration () const
 
void setHasAlpha (bool hasAlpha)
 
bool hasAlpha () const
 
bool hasNativeImage () const
 
bool hasValidNativeImage (SubsamplingLevel subsamplingLevel) const
 
bool hasMetadata () const
 
ImageBackingStorebackingStore () const
 
bool hasBackingStore () const
 
Color singlePixelSolidColor () const
 

Static Public Member Functions

static const ImageFramedefaultFrame ()
 
static const ImageFramedefaultFrame ()
 

Friends

class ImageFrameCache
 

Member Enumeration Documentation

◆ Caching [1/2]

Enumerator
Empty 
Metadata 
MetadataAndImage 
Empty 
Metadata 
MetadataAndImage 

◆ Caching [2/2]

Enumerator
Empty 
Metadata 
MetadataAndImage 
Empty 
Metadata 
MetadataAndImage 

◆ Decoding [1/2]

Enumerator
Empty 
BeingDecoded 
Partial 
Complete 
Empty 
BeingDecoded 
Partial 
Complete 

◆ Decoding [2/2]

Enumerator
Empty 
BeingDecoded 
Partial 
Complete 
Empty 
BeingDecoded 
Partial 
Complete 

◆ DisposalMethod [1/2]

Enumerator
Unspecified 
DoNotDispose 
RestoreToBackground 
RestoreToPrevious 
Unspecified 
DoNotDispose 
RestoreToBackground 
RestoreToPrevious 

◆ DisposalMethod [2/2]

Enumerator
Unspecified 
DoNotDispose 
RestoreToBackground 
RestoreToPrevious 
Unspecified 
DoNotDispose 
RestoreToBackground 
RestoreToPrevious 

Constructor & Destructor Documentation

◆ ImageFrame() [1/4]

WebCore::ImageFrame::ImageFrame ( )

◆ ImageFrame() [2/4]

WebCore::ImageFrame::ImageFrame ( const ImageFrame other)
inline

◆ ~ImageFrame() [1/2]

WebCore::ImageFrame::~ImageFrame ( )

◆ ImageFrame() [3/4]

WebCore::ImageFrame::ImageFrame ( )

◆ ImageFrame() [4/4]

WebCore::ImageFrame::ImageFrame ( const ImageFrame other)
inline

◆ ~ImageFrame() [2/2]

WebCore::ImageFrame::~ImageFrame ( )

Member Function Documentation

◆ backingStore() [1/2]

ImageBackingStore* WebCore::ImageFrame::backingStore ( ) const
inline

◆ backingStore() [2/2]

ImageBackingStore* WebCore::ImageFrame::backingStore ( ) const
inline

◆ clear() [1/2]

unsigned WebCore::ImageFrame::clear ( )

◆ clear() [2/2]

unsigned WebCore::ImageFrame::clear ( )

◆ clearImage() [1/2]

unsigned WebCore::ImageFrame::clearImage ( )

◆ clearImage() [2/2]

unsigned WebCore::ImageFrame::clearImage ( )

◆ decoding() [1/2]

Decoding WebCore::ImageFrame::decoding ( ) const
inline

◆ decoding() [2/2]

Decoding WebCore::ImageFrame::decoding ( ) const
inline

◆ defaultFrame() [1/2]

static const ImageFrame& WebCore::ImageFrame::defaultFrame ( )
static

◆ defaultFrame() [2/2]

const ImageFrame & WebCore::ImageFrame::defaultFrame ( )
static

◆ disposalMethod() [1/2]

DisposalMethod WebCore::ImageFrame::disposalMethod ( ) const
inline

◆ disposalMethod() [2/2]

DisposalMethod WebCore::ImageFrame::disposalMethod ( ) const
inline

◆ duration() [1/2]

float WebCore::ImageFrame::duration ( ) const
inline

◆ duration() [2/2]

float WebCore::ImageFrame::duration ( ) const
inline

◆ frameBytes() [1/2]

unsigned WebCore::ImageFrame::frameBytes ( ) const
inline

◆ frameBytes() [2/2]

unsigned WebCore::ImageFrame::frameBytes ( ) const
inline

◆ hasAlpha() [1/2]

bool WebCore::ImageFrame::hasAlpha ( ) const
inline

◆ hasAlpha() [2/2]

bool WebCore::ImageFrame::hasAlpha ( ) const
inline

◆ hasBackingStore() [1/2]

bool WebCore::ImageFrame::hasBackingStore ( ) const
inline

◆ hasBackingStore() [2/2]

bool WebCore::ImageFrame::hasBackingStore ( ) const
inline

◆ hasMetadata() [1/2]

bool WebCore::ImageFrame::hasMetadata ( ) const
inline

◆ hasMetadata() [2/2]

bool WebCore::ImageFrame::hasMetadata ( ) const
inline

◆ hasNativeImage() [1/2]

bool WebCore::ImageFrame::hasNativeImage ( ) const
inline

◆ hasNativeImage() [2/2]

bool WebCore::ImageFrame::hasNativeImage ( ) const
inline

◆ hasValidNativeImage() [1/2]

bool WebCore::ImageFrame::hasValidNativeImage ( SubsamplingLevel  subsamplingLevel) const
inline

◆ hasValidNativeImage() [2/2]

bool WebCore::ImageFrame::hasValidNativeImage ( SubsamplingLevel  subsamplingLevel) const
inline

◆ initialize() [1/4]

bool WebCore::ImageFrame::initialize ( const ImageBackingStore )

◆ initialize() [2/4]

bool WebCore::ImageFrame::initialize ( const ImageBackingStore backingStore)

◆ initialize() [3/4]

bool WebCore::ImageFrame::initialize ( const IntSize ,
bool  premultiplyAlpha 
)

◆ initialize() [4/4]

bool WebCore::ImageFrame::initialize ( const IntSize size,
bool  premultiplyAlpha 
)

◆ isBeingDecoded() [1/2]

bool WebCore::ImageFrame::isBeingDecoded ( ) const
inline

◆ isBeingDecoded() [2/2]

bool WebCore::ImageFrame::isBeingDecoded ( ) const
inline

◆ isComplete() [1/2]

bool WebCore::ImageFrame::isComplete ( ) const
inline

◆ isComplete() [2/2]

bool WebCore::ImageFrame::isComplete ( ) const
inline

◆ isEmpty() [1/2]

bool WebCore::ImageFrame::isEmpty ( void  ) const
inline

◆ isEmpty() [2/2]

bool WebCore::ImageFrame::isEmpty ( void  ) const
inline

◆ isPartial() [1/2]

bool WebCore::ImageFrame::isPartial ( ) const
inline

◆ isPartial() [2/2]

bool WebCore::ImageFrame::isPartial ( ) const
inline

◆ nativeImage() [1/2]

NativeImagePtr WebCore::ImageFrame::nativeImage ( ) const
inline

◆ nativeImage() [2/2]

NativeImagePtr WebCore::ImageFrame::nativeImage ( ) const
inline

◆ operator=() [1/2]

ImageFrame & WebCore::ImageFrame::operator= ( const ImageFrame other)

◆ operator=() [2/2]

ImageFrame& WebCore::ImageFrame::operator= ( const ImageFrame other)

◆ orientation() [1/2]

ImageOrientation WebCore::ImageFrame::orientation ( ) const
inline

◆ orientation() [2/2]

ImageOrientation WebCore::ImageFrame::orientation ( ) const
inline

◆ setDecoding() [1/2]

void WebCore::ImageFrame::setDecoding ( Decoding  decoding)
inline

◆ setDecoding() [2/2]

void WebCore::ImageFrame::setDecoding ( Decoding  decoding)
inline

◆ setDisposalMethod() [1/2]

void WebCore::ImageFrame::setDisposalMethod ( DisposalMethod  method)
inline

◆ setDisposalMethod() [2/2]

void WebCore::ImageFrame::setDisposalMethod ( DisposalMethod  method)
inline

◆ setDuration() [1/2]

void WebCore::ImageFrame::setDuration ( float  duration)
inline

◆ setDuration() [2/2]

void WebCore::ImageFrame::setDuration ( float  duration)
inline

◆ setHasAlpha() [1/2]

void WebCore::ImageFrame::setHasAlpha ( bool  hasAlpha)
inline

◆ setHasAlpha() [2/2]

void WebCore::ImageFrame::setHasAlpha ( bool  hasAlpha)
inline

◆ setOrientation() [1/2]

void WebCore::ImageFrame::setOrientation ( ImageOrientation  orientation)
inline

◆ setOrientation() [2/2]

void WebCore::ImageFrame::setOrientation ( ImageOrientation  orientation)
inline

◆ singlePixelSolidColor() [1/2]

Color WebCore::ImageFrame::singlePixelSolidColor ( ) const

◆ singlePixelSolidColor() [2/2]

Color WebCore::ImageFrame::singlePixelSolidColor ( ) const

◆ size() [1/2]

IntSize WebCore::ImageFrame::size ( ) const

◆ size() [2/2]

IntSize WebCore::ImageFrame::size ( ) const

◆ sizeRespectingOrientation() [1/2]

IntSize WebCore::ImageFrame::sizeRespectingOrientation ( ) const
inline

◆ sizeRespectingOrientation() [2/2]

IntSize WebCore::ImageFrame::sizeRespectingOrientation ( ) const
inline

◆ subsamplingLevel() [1/2]

SubsamplingLevel WebCore::ImageFrame::subsamplingLevel ( ) const
inline

◆ subsamplingLevel() [2/2]

SubsamplingLevel WebCore::ImageFrame::subsamplingLevel ( ) const
inline

Friends And Related Function Documentation

◆ ImageFrameCache


The documentation for this class was generated from the following files: