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 Namespace Reference

Classes

class  BasicModule
 
class  BmpDecoder
 
class  BmpProgressiveDecoder
 
class  CFX_BmpContext
 
class  CFX_BmpDecompressor
 
class  CFX_GifContext
 
class  CFX_GifContextForTest
 
class  CJPX_Decoder
 
struct  DecodeData
 
class  Dummy
 
class  FaxModule
 
class  FlateModule
 
class  GifDecoder
 
class  GifProgressiveDecoder
 
class  IccTransform
 
class  Jbig2Context
 
class  Jbig2Decoder
 
class  JpegModule
 
class  JpegProgressiveDecoder
 
class  LZWDecompressor
 
class  PngDecoder
 
class  ProgressiveDecoder
 
class  ProgressiveDecoderIface
 
class  ScanlineDecoder
 
class  TiffDecoder
 

Functions

void ReverseRGB (uint8_t *pDestBuf, const uint8_t *pSrcBuf, int pixels)
 
 TEST (CFX_GifContext, SetInputBuffer)
 
 TEST (CFX_GifContext, ReadAllOrNone)
 
 TEST (CFX_GifContext, ReadGifSignature)
 
 TEST (CFX_GifContext, ReadLocalScreenDescriptor)
 
 TEST (CFX_GifContext, ReadHeader)
 
OPJ_SIZE_T opj_read_from_memory (void *p_buffer, OPJ_SIZE_T nb_bytes, void *p_user_data)
 
OPJ_OFF_T opj_skip_from_memory (OPJ_OFF_T nb_bytes, void *p_user_data)
 
OPJ_BOOL opj_seek_from_memory (OPJ_OFF_T nb_bytes, void *p_user_data)
 
 TEST (fxcodec, DecodeDataNullDecodeData)
 
 TEST (fxcodec, DecodeDataNullStream)
 
 TEST (fxcodec, DecodeDataZeroSize)
 
 TEST (fxcodec, DecodeDataReadInBounds)
 
 TEST (fxcodec, DecodeDataReadBeyondBounds)
 
 TEST (fxcodec, DecodeDataSkip)
 
 TEST (fxcodec, DecodeDataSeek)
 
 TEST (fxcodec, YUV420ToRGB)
 

Variables

static const OPJ_OFF_T kSkipError = static_cast<OPJ_OFF_T>(-1)
 
static const OPJ_SIZE_T kReadError = static_cast<OPJ_SIZE_T>(-1)
 
static const uint8_t stream_data []
 

Function Documentation

◆ opj_read_from_memory()

OPJ_SIZE_T fxcodec::opj_read_from_memory ( void * p_buffer,
OPJ_SIZE_T nb_bytes,
void * p_user_data )

◆ opj_seek_from_memory()

OPJ_BOOL fxcodec::opj_seek_from_memory ( OPJ_OFF_T nb_bytes,
void * p_user_data )

◆ opj_skip_from_memory()

OPJ_OFF_T fxcodec::opj_skip_from_memory ( OPJ_OFF_T nb_bytes,
void * p_user_data )

◆ ReverseRGB()

void fxcodec::ReverseRGB ( uint8_t * pDestBuf,
const uint8_t * pSrcBuf,
int pixels )

Definition at line 21 of file fx_codec.cpp.

References ReverseCopy3Bytes().

Referenced by CPDF_DeviceCS::TranslateImageLine().

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

◆ TEST() [1/13]

fxcodec::TEST ( CFX_GifContext ,
ReadAllOrNone  )

Definition at line 52 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContextForTest::InputBuffer(), fxcodec::CFX_GifContext::ReadAllOrNone(), and fxcodec::CFX_GifContextForTest::SetTestInputBuffer().

+ Here is the call graph for this function:

◆ TEST() [2/13]

fxcodec::TEST ( CFX_GifContext ,
ReadGifSignature  )

Definition at line 90 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContextForTest::InputBuffer(), fxcodec::GifDecoder::kError, fxcodec::GifDecoder::kSuccess, fxcodec::GifDecoder::kUnfinished, fxcodec::CFX_GifContext::ReadGifSignature(), and fxcodec::CFX_GifContextForTest::SetTestInputBuffer().

+ Here is the call graph for this function:

◆ TEST() [3/13]

◆ TEST() [4/13]

◆ TEST() [5/13]

fxcodec::TEST ( CFX_GifContext ,
SetInputBuffer  )

Definition at line 35 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContextForTest::InputBuffer(), and fxcodec::CFX_GifContextForTest::SetTestInputBuffer().

+ Here is the call graph for this function:

◆ TEST() [6/13]

fxcodec::TEST ( fxcodec ,
DecodeDataNullDecodeData  )

Definition at line 27 of file jpx_unittest.cpp.

◆ TEST() [7/13]

fxcodec::TEST ( fxcodec ,
DecodeDataNullStream  )

Definition at line 37 of file jpx_unittest.cpp.

◆ TEST() [8/13]

fxcodec::TEST ( fxcodec ,
DecodeDataReadBeyondBounds  )

Definition at line 142 of file jpx_unittest.cpp.

◆ TEST() [9/13]

fxcodec::TEST ( fxcodec ,
DecodeDataReadInBounds  )

Definition at line 91 of file jpx_unittest.cpp.

◆ TEST() [10/13]

fxcodec::TEST ( fxcodec ,
DecodeDataSeek  )

Definition at line 325 of file jpx_unittest.cpp.

◆ TEST() [11/13]

fxcodec::TEST ( fxcodec ,
DecodeDataSkip  )

Definition at line 208 of file jpx_unittest.cpp.

◆ TEST() [12/13]

fxcodec::TEST ( fxcodec ,
DecodeDataZeroSize  )

Definition at line 64 of file jpx_unittest.cpp.

◆ TEST() [13/13]

fxcodec::TEST ( fxcodec ,
YUV420ToRGB  )

Definition at line 384 of file jpx_unittest.cpp.

Variable Documentation

◆ kReadError

static const OPJ_SIZE_T fxcodec::kReadError = static_cast<OPJ_SIZE_T>(-1)
static

Definition at line 20 of file jpx_unittest.cpp.

◆ kSkipError

static const OPJ_OFF_T fxcodec::kSkipError = static_cast<OPJ_OFF_T>(-1)
static

Definition at line 19 of file jpx_unittest.cpp.

◆ stream_data

static const uint8_t fxcodec::stream_data
static
Initial value:
= {
0x00, 0x01, 0x02, 0x03,
0x84, 0x85, 0x86, 0x87,
}

Definition at line 22 of file jpx_unittest.cpp.