Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SkJpegxlCodecPriv Class Reference
Inheritance diagram for SkJpegxlCodecPriv:
SkFrameHolder SkNoncopyable

Public Member Functions

 SkJpegxlCodecPriv ()
 
- Public Member Functions inherited from SkFrameHolder
 SkFrameHolder ()
 
virtual ~SkFrameHolder ()
 
int screenWidth () const
 
int screenHeight () const
 
void setAlphaAndRequiredFrame (SkFrame *)
 
const SkFramegetFrame (int i) const
 
- Public Member Functions inherited from SkNoncopyable
 SkNoncopyable ()=default
 
 SkNoncopyable (SkNoncopyable &&)=default
 
SkNoncopyableoperator= (SkNoncopyable &&)=default
 

Public Attributes

JxlDecoderPtr fDecoder
 
JxlBasicInfo fInfo
 
bool fSeenAllFrames = false
 
std::vector< Frame > fFrames
 
int fLastProcessedFrame = SkCodec::kNoFrame
 
void * fDst
 
size_t fPixelShift
 
size_t fRowBytes
 
SkColorType fDstColorType
 

Protected Member Functions

const SkFrameonGetFrame (int i) const override
 

Additional Inherited Members

- Protected Attributes inherited from SkFrameHolder
int fScreenWidth
 
int fScreenHeight
 

Detailed Description

Definition at line 58 of file SkJpegxlCodec.cpp.

Constructor & Destructor Documentation

◆ SkJpegxlCodecPriv()

SkJpegxlCodecPriv::SkJpegxlCodecPriv ( )
inline

Definition at line 60 of file SkJpegxlCodec.cpp.

60: fDecoder(JxlDecoderMake(/* memory_manager= */ nullptr)) {}
JxlDecoderPtr fDecoder

Member Function Documentation

◆ onGetFrame()

const SkFrame * SkJpegxlCodecPriv::onGetFrame ( int  i) const
inlineoverrideprotectedvirtual

Implements SkFrameHolder.

Definition at line 72 of file SkJpegxlCodec.cpp.

72 {
73 SkASSERT(i >= 0 && static_cast<size_t>(i) < fFrames.size());
74 return static_cast<const SkFrame*>(&fFrames[i]);
75 }
#define SkASSERT(cond)
Definition SkAssert.h:116
std::vector< Frame > fFrames

Member Data Documentation

◆ fDecoder

JxlDecoderPtr SkJpegxlCodecPriv::fDecoder

Definition at line 61 of file SkJpegxlCodec.cpp.

◆ fDst

void* SkJpegxlCodecPriv::fDst

Definition at line 66 of file SkJpegxlCodec.cpp.

◆ fDstColorType

SkColorType SkJpegxlCodecPriv::fDstColorType

Definition at line 69 of file SkJpegxlCodec.cpp.

◆ fFrames

std::vector<Frame> SkJpegxlCodecPriv::fFrames

Definition at line 64 of file SkJpegxlCodec.cpp.

◆ fInfo

JxlBasicInfo SkJpegxlCodecPriv::fInfo

Definition at line 62 of file SkJpegxlCodec.cpp.

◆ fLastProcessedFrame

int SkJpegxlCodecPriv::fLastProcessedFrame = SkCodec::kNoFrame

Definition at line 65 of file SkJpegxlCodec.cpp.

◆ fPixelShift

size_t SkJpegxlCodecPriv::fPixelShift

Definition at line 67 of file SkJpegxlCodec.cpp.

◆ fRowBytes

size_t SkJpegxlCodecPriv::fRowBytes

Definition at line 68 of file SkJpegxlCodec.cpp.

◆ fSeenAllFrames

bool SkJpegxlCodecPriv::fSeenAllFrames = false

Definition at line 63 of file SkJpegxlCodec.cpp.


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