Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <JBig2_BitStream.h>
Public Member Functions | |
CJBig2_BitStream (pdfium::span< const uint8_t > pSrcStream, uint64_t key) | |
CJBig2_BitStream (const CJBig2_BitStream &)=delete | |
CJBig2_BitStream & | operator= (const CJBig2_BitStream &)=delete |
~CJBig2_BitStream () | |
int32_t | readNBits (uint32_t dwBits, uint32_t *dwResult) |
int32_t | readNBits (uint32_t dwBits, int32_t *nResult) |
int32_t | read1Bit (uint32_t *dwResult) |
int32_t | read1Bit (bool *bResult) |
int32_t | read1Byte (uint8_t *cResult) |
int32_t | readInteger (uint32_t *dwResult) |
int32_t | readShortInteger (uint16_t *wResult) |
void | alignByte () |
uint8_t | getCurByte () const |
void | incByteIdx () |
uint8_t | getCurByte_arith () const |
uint8_t | getNextByte_arith () const |
uint32_t | getOffset () const |
void | setOffset (uint32_t dwOffset) |
uint32_t | getBitPos () const |
void | setBitPos (uint32_t dwBitPos) |
const uint8_t * | getBuf () const |
uint32_t | getLength () const |
const uint8_t * | getPointer () const |
void | offset (uint32_t dwOffset) |
uint32_t | getByteLeft () const |
uint64_t | getKey () const |
bool | IsInBounds () const |
Definition at line 13 of file JBig2_BitStream.h.
CJBig2_BitStream::CJBig2_BitStream | ( | pdfium::span< const uint8_t > | pSrcStream, |
uint64_t | key ) |
Definition at line 23 of file JBig2_BitStream.cpp.
References CJBig2_BitStream().
Referenced by CJBig2_BitStream().
|
delete |
|
default |
void CJBig2_BitStream::alignByte | ( | ) |
Definition at line 119 of file JBig2_BitStream.cpp.
Referenced by CJBig2_SDDProc::DecodeHuffman(), CJBig2_TRDProc::DecodeHuffman(), and CJBig2_HTRDProc::DecodeMMR().
uint32_t CJBig2_BitStream::getBitPos | ( | ) | const |
Definition at line 151 of file JBig2_BitStream.cpp.
Referenced by readNBits(), readNBits(), and CJBig2_GRDProc::StartDecodeMMR().
const uint8_t * CJBig2_BitStream::getBuf | ( | ) | const |
Definition at line 160 of file JBig2_BitStream.cpp.
Referenced by CJBig2_GRDProc::StartDecodeMMR().
uint32_t CJBig2_BitStream::getByteLeft | ( | ) | const |
Definition at line 176 of file JBig2_BitStream.cpp.
References getLength().
Referenced by CJBig2_SDDProc::DecodeHuffman().
uint8_t CJBig2_BitStream::getCurByte | ( | ) | const |
Definition at line 126 of file JBig2_BitStream.cpp.
uint8_t CJBig2_BitStream::getCurByte_arith | ( | ) | const |
Definition at line 135 of file JBig2_BitStream.cpp.
|
inline |
Definition at line 42 of file JBig2_BitStream.h.
uint32_t CJBig2_BitStream::getLength | ( | ) | const |
Definition at line 164 of file JBig2_BitStream.cpp.
Referenced by getByteLeft(), IsInBounds(), setOffset(), and CJBig2_GRDProc::StartDecodeMMR().
uint8_t CJBig2_BitStream::getNextByte_arith | ( | ) | const |
Definition at line 139 of file JBig2_BitStream.cpp.
uint32_t CJBig2_BitStream::getOffset | ( | ) | const |
Definition at line 143 of file JBig2_BitStream.cpp.
Referenced by CJBig2_SDDProc::DecodeHuffman(), and CJBig2_TRDProc::DecodeHuffman().
const uint8_t * CJBig2_BitStream::getPointer | ( | ) | const |
Definition at line 168 of file JBig2_BitStream.cpp.
Referenced by CJBig2_SDDProc::DecodeHuffman().
void CJBig2_BitStream::incByteIdx | ( | ) |
Definition at line 130 of file JBig2_BitStream.cpp.
References IsInBounds().
bool CJBig2_BitStream::IsInBounds | ( | ) | const |
Definition at line 189 of file JBig2_BitStream.cpp.
References getLength().
Referenced by incByteIdx(), read1Bit(), read1Bit(), read1Byte(), readNBits(), and readNBits().
void CJBig2_BitStream::offset | ( | uint32_t | dwOffset | ) |
Definition at line 172 of file JBig2_BitStream.cpp.
Referenced by CJBig2_SDDProc::DecodeHuffman(), CJBig2_TRDProc::DecodeHuffman(), CJBig2_HTRDProc::DecodeMMR(), testing.tools.fixup_pdf_template.TemplateProcessor::insert_xref_entry(), and testing.tools.fixup_pdf_template.TemplateProcessor::process_line().
|
delete |
int32_t CJBig2_BitStream::read1Bit | ( | bool * | bResult | ) |
Definition at line 82 of file JBig2_BitStream.cpp.
References IsInBounds().
Referenced by CJBig2_TRDProc::DecodeHuffman().
int32_t CJBig2_BitStream::read1Bit | ( | uint32_t * | dwResult | ) |
Definition at line 73 of file JBig2_BitStream.cpp.
References IsInBounds().
Referenced by CJBig2_SDDProc::DecodeHuffman(), and CJBig2_TRDProc::DecodeHuffman().
int32_t CJBig2_BitStream::read1Byte | ( | uint8_t * | cResult | ) |
Definition at line 91 of file JBig2_BitStream.cpp.
References IsInBounds().
int32_t CJBig2_BitStream::readInteger | ( | uint32_t * | dwResult | ) |
Definition at line 100 of file JBig2_BitStream.cpp.
int32_t CJBig2_BitStream::readNBits | ( | uint32_t | dwBits, |
int32_t * | nResult ) |
Definition at line 51 of file JBig2_BitStream.cpp.
References getBitPos(), and IsInBounds().
Referenced by CJBig2_TRDProc::DecodeHuffman(), TEST(), TEST(), and TEST().
int32_t CJBig2_BitStream::readNBits | ( | uint32_t | dwBits, |
uint32_t * | dwResult ) |
Definition at line 29 of file JBig2_BitStream.cpp.
References getBitPos(), and IsInBounds().
Referenced by TEST(), TEST(), TEST(), TEST(), and TEST().
int32_t CJBig2_BitStream::readShortInteger | ( | uint16_t * | wResult | ) |
Definition at line 110 of file JBig2_BitStream.cpp.
void CJBig2_BitStream::setBitPos | ( | uint32_t | dwBitPos | ) |
Definition at line 155 of file JBig2_BitStream.cpp.
Referenced by CJBig2_GRDProc::StartDecodeMMR().
void CJBig2_BitStream::setOffset | ( | uint32_t | dwOffset | ) |
Definition at line 147 of file JBig2_BitStream.cpp.
References getLength().