Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fxcodec::CFX_GifContextForTest Class Referencefinal
+ Inheritance diagram for fxcodec::CFX_GifContextForTest:
+ Collaboration diagram for fxcodec::CFX_GifContextForTest:

Public Member Functions

 CFX_GifContextForTest ()
 
 ~CFX_GifContextForTest () override=default
 
CFX_CodecMemoryInputBuffer () const
 
void SetTestInputBuffer (pdfium::span< const uint8_t > input)
 
 CFX_GifContextForTest ()
 
 ~CFX_GifContextForTest () override=default
 
CFX_CodecMemoryInputBuffer () const
 
void SetTestInputBuffer (pdfium::span< const uint8_t > input)
 
bool ReadAllOrNone (uint8_t *dest, uint32_t size)
 
GifDecoder::Status ReadGifSignature ()
 
GifDecoder::Status ReadLogicalScreenDescriptor ()
 
- Public Member Functions inherited from fxcodec::CFX_GifContext
 CFX_GifContext (GifDecoder::Delegate *delegate)
 
 ~CFX_GifContext () override
 
void ReadScanline (int32_t row_num, pdfium::span< uint8_t > row_buf)
 
bool GetRecordPosition (uint32_t cur_pos, int32_t left, int32_t top, int32_t width, int32_t height, int32_t pal_num, CFX_GifPalette *pal, int32_t trans_index, bool interlace)
 
GifDecoder::Status ReadHeader ()
 
GifDecoder::Status GetFrame ()
 
GifDecoder::Status LoadFrame (size_t frame_num)
 
void SetInputBuffer (RetainPtr< CFX_CodecMemory > codec_memory)
 
uint32_t GetAvailInput () const
 
size_t GetFrameNum () const
 
- Public Member Functions inherited from fxcodec::ProgressiveDecoderIface::Context
virtual ~Context ()=default
 

Additional Inherited Members

- Public Attributes inherited from fxcodec::CFX_GifContext
UnownedPtr< GifDecoder::Delegate > const delegate_
 
std::vector< CFX_GifPaletteglobal_palette_
 
uint8_t global_palette_exp_ = 0
 
uint32_t img_row_offset_ = 0
 
uint32_t img_row_avail_size_ = 0
 
int32_t decode_status_ = GIF_D_STATUS_SIG
 
std::unique_ptr< CFX_GifGraphicControlExtensiongraphic_control_extension_
 
std::vector< std::unique_ptr< CFX_GifImage > > images_
 
std::unique_ptr< LZWDecompressorlzw_decompressor_
 
int width_ = 0
 
int height_ = 0
 
uint8_t bc_index_ = 0
 
uint8_t global_sort_flag_ = 0
 
uint8_t global_color_resolution_ = 0
 
uint8_t img_pass_num_ = 0
 
- Protected Member Functions inherited from fxcodec::CFX_GifContext
bool ReadAllOrNone (uint8_t *dest, uint32_t size)
 
GifDecoder::Status ReadGifSignature ()
 
GifDecoder::Status ReadLogicalScreenDescriptor ()
 
- Protected Attributes inherited from fxcodec::CFX_GifContext
RetainPtr< CFX_CodecMemoryinput_buffer_
 

Detailed Description

Definition at line 18 of file cfx_gifcontext_unittest.cpp.

Constructor & Destructor Documentation

◆ CFX_GifContextForTest() [1/2]

fxcodec::CFX_GifContextForTest::CFX_GifContextForTest ( )
inline

Definition at line 20 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContext::CFX_GifContext().

+ Here is the call graph for this function:

◆ ~CFX_GifContextForTest() [1/2]

fxcodec::CFX_GifContextForTest::~CFX_GifContextForTest ( )
overridedefault

◆ CFX_GifContextForTest() [2/2]

fxcodec::CFX_GifContextForTest::CFX_GifContextForTest ( )
inline

Definition at line 20 of file cfx_gifcontext_unittest.cpp.

◆ ~CFX_GifContextForTest() [2/2]

fxcodec::CFX_GifContextForTest::~CFX_GifContextForTest ( )
overridedefault

Member Function Documentation

◆ InputBuffer() [1/2]

CFX_CodecMemory * fxcodec::CFX_GifContextForTest::InputBuffer ( ) const
inline

Definition at line 27 of file cfx_gifcontext_unittest.cpp.

Referenced by fxcodec::TEST(), fxcodec::TEST(), fxcodec::TEST(), fxcodec::TEST(), and fxcodec::TEST().

+ Here is the caller graph for this function:

◆ InputBuffer() [2/2]

CFX_CodecMemory * fxcodec::CFX_GifContextForTest::InputBuffer ( ) const
inline

Definition at line 27 of file cfx_gifcontext_unittest.cpp.

◆ ReadAllOrNone()

bool fxcodec::CFX_GifContext::ReadAllOrNone ( uint8_t * dest,
uint32_t size )

Definition at line 63 of file cfx_gifcontext.cpp.

◆ ReadGifSignature()

GifDecoder::Status fxcodec::CFX_GifContext::ReadGifSignature ( )

Definition at line 64 of file cfx_gifcontext.cpp.

◆ ReadLogicalScreenDescriptor()

GifDecoder::Status fxcodec::CFX_GifContext::ReadLogicalScreenDescriptor ( )

Definition at line 65 of file cfx_gifcontext.cpp.

◆ SetTestInputBuffer() [1/2]

void fxcodec::CFX_GifContextForTest::SetTestInputBuffer ( pdfium::span< const uint8_t > input)
inline

Definition at line 28 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContext::SetInputBuffer().

Referenced by fxcodec::TEST(), fxcodec::TEST(), fxcodec::TEST(), fxcodec::TEST(), and fxcodec::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTestInputBuffer() [2/2]

void fxcodec::CFX_GifContextForTest::SetTestInputBuffer ( pdfium::span< const uint8_t > input)
inline

Definition at line 28 of file cfx_gifcontext_unittest.cpp.


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