![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <stdint.h>
#include <array>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include "core/fxcodec/data_and_bytes_consumed.h"
#include "core/fxcrt/data_vector.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/span.h"
Go to the source code of this file.
Classes | |
struct | PDFDataDecodeResult |
Namespaces | |
namespace | fxcodec |
Typedefs | |
using | DecoderArray |
Variables | |
const std::array< uint16_t, 256 > | kPDFDocEncoding |
using DecoderArray |
Definition at line 74 of file fpdf_parser_decode.h.
DataAndBytesConsumed A85Decode | ( | pdfium::span< const uint8_t > | src_span | ) |
Definition at line 117 of file fpdf_parser_decode.cpp.
References PDFCharIsLineEnding().
std::unique_ptr< ScanlineDecoder > CreateFaxDecoder | ( | pdfium::span< const uint8_t > | src_span, |
int | width, | ||
int | height, | ||
const CPDF_Dictionary * | pParams ) |
Definition at line 307 of file fpdf_parser_decode.cpp.
References CPDF_Dictionary::GetIntegerFor(), and CPDF_Dictionary::GetIntegerFor().
std::unique_ptr< ScanlineDecoder > CreateFlateDecoder | ( | pdfium::span< const uint8_t > | src_span, |
int | width, | ||
int | height, | ||
int | nComps, | ||
int | bpc, | ||
const CPDF_Dictionary * | pParams ) |
Definition at line 332 of file fpdf_parser_decode.cpp.
References CPDF_Dictionary::GetIntegerFor(), and CPDF_Dictionary::GetIntegerFor().
DataAndBytesConsumed FlateOrLZWDecode | ( | bool | use_lzw, |
pdfium::span< const uint8_t > | src_span, | ||
const CPDF_Dictionary * | pParams, | ||
uint32_t | estimated_size ) |
Definition at line 356 of file fpdf_parser_decode.cpp.
References CPDF_Dictionary::GetIntegerFor(), and CPDF_Dictionary::GetIntegerFor().
std::optional< DecoderArray > GetDecoderArray | ( | RetainPtr< const CPDF_Dictionary > | pDict | ) |
Definition at line 379 of file fpdf_parser_decode.cpp.
References ValidateDecoderPipeline().
DataAndBytesConsumed HexDecode | ( | pdfium::span< const uint8_t > | src_span | ) |
Definition at line 204 of file fpdf_parser_decode.cpp.
References FXSYS_HexCharToInt(), and PDFCharIsLineEnding().
std::optional< PDFDataDecodeResult > PDF_DataDecode | ( | pdfium::span< const uint8_t > | src_span, |
uint32_t | estimated_size, | ||
bool | bImageAcc, | ||
const DecoderArray & | decoder_array ) |
Definition at line 429 of file fpdf_parser_decode.cpp.
References fxcodec::DataAndBytesConsumed::bytes_consumed, fxcrt::ByteString::operator=(), and fxcrt::ByteString::operator==().
WideString PDF_DecodeText | ( | pdfium::span< const uint8_t > | span | ) |
Definition at line 520 of file fpdf_parser_decode.cpp.
References fxcrt::WideString::FromUTF8().
ByteString PDF_EncodeString | ( | ByteStringView | src | ) |
Definition at line 592 of file fpdf_parser_decode.cpp.
References fxcrt::ByteString::operator+=(), and fxcrt::ByteString::operator+=().
ByteString PDF_EncodeText | ( | WideStringView | str | ) |
Definition at line 547 of file fpdf_parser_decode.cpp.
References kPDFDocEncoding.
ByteString PDF_HexEncodeString | ( | ByteStringView | src | ) |
Definition at line 614 of file fpdf_parser_decode.cpp.
References fxcrt::ByteString::operator+=().
DataAndBytesConsumed RunLengthDecode | ( | pdfium::span< const uint8_t > | src_span | ) |
Definition at line 249 of file fpdf_parser_decode.cpp.
bool ValidateDecoderPipeline | ( | const CPDF_Array * | pDecoders | ) |
Definition at line 91 of file fpdf_parser_decode.cpp.
Referenced by GetDecoderArray().
|
extern |
Definition at line 60 of file fpdf_parser_decode.cpp.
Referenced by PDF_EncodeText(), and UnicodesForPredefinedCharSet().