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  DataAndBytesConsumed
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 (pdfium::span< uint8_t > pDestBuf, pdfium::span< 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 kStreamData []

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 )

Definition at line 23 of file jpx_decode_utils.cpp.

References FXSYS_memcpy(), fxcodec::DecodeData::offset, fxcodec::DecodeData::src_data, and fxcodec::DecodeData::src_size.

Here is the call graph for this function:

◆ 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 ( pdfium::span< uint8_t > pDestBuf,
pdfium::span< const uint8_t > pSrcBuf,
int pixels )

Definition at line 23 of file fx_codec.cpp.

Referenced by CPDF_DeviceCS::TranslateImageLine().

Here is the caller graph for this function:

◆ TEST() [1/13]

fxcodec::TEST ( CFX_GifContext ,
ReadAllOrNone  )

Definition at line 53 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContextForTest::InputBuffer().

Here is the call graph for this function:

◆ TEST() [2/13]

fxcodec::TEST ( CFX_GifContext ,
ReadGifSignature  )

Definition at line 82 of file cfx_gifcontext_unittest.cpp.

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

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 36 of file cfx_gifcontext_unittest.cpp.

References fxcodec::CFX_GifContextForTest::InputBuffer().

Here is the call graph for this function:

◆ TEST() [6/13]

fxcodec::TEST ( fxcodec ,
DecodeDataNullDecodeData  )

Definition at line 29 of file jpx_unittest.cpp.

◆ TEST() [7/13]

fxcodec::TEST ( fxcodec ,
DecodeDataNullStream  )

Definition at line 39 of file jpx_unittest.cpp.

◆ TEST() [8/13]

fxcodec::TEST ( fxcodec ,
DecodeDataReadBeyondBounds  )

Definition at line 144 of file jpx_unittest.cpp.

◆ TEST() [9/13]

fxcodec::TEST ( fxcodec ,
DecodeDataReadInBounds  )

Definition at line 93 of file jpx_unittest.cpp.

◆ TEST() [10/13]

fxcodec::TEST ( fxcodec ,
DecodeDataSeek  )

Definition at line 327 of file jpx_unittest.cpp.

◆ TEST() [11/13]

fxcodec::TEST ( fxcodec ,
DecodeDataSkip  )

Definition at line 210 of file jpx_unittest.cpp.

◆ TEST() [12/13]

fxcodec::TEST ( fxcodec ,
DecodeDataZeroSize  )

Definition at line 66 of file jpx_unittest.cpp.

◆ TEST() [13/13]

fxcodec::TEST ( fxcodec ,
YUV420ToRGB  )

Definition at line 386 of file jpx_unittest.cpp.

Variable Documentation

◆ kReadError

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

Definition at line 22 of file jpx_unittest.cpp.

◆ kSkipError

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

Definition at line 21 of file jpx_unittest.cpp.

◆ kStreamData

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

Definition at line 24 of file jpx_unittest.cpp.