Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cjpx_decoder.h>
Classes | |
struct | JpxImageInfo |
Public Types | |
enum | ColorSpaceOption { kNoColorSpace , kNormalColorSpace , kIndexedColorSpace } |
Public Member Functions | |
~CJPX_Decoder () | |
JpxImageInfo | GetInfo () const |
bool | StartDecode () |
bool | Decode (pdfium::span< uint8_t > dest_buf, uint32_t pitch, bool swap_rgb, uint32_t component_count) |
Static Public Member Functions | |
static std::unique_ptr< CJPX_Decoder > | Create (pdfium::span< const uint8_t > src_span, CJPX_Decoder::ColorSpaceOption option, uint8_t resolution_levels_to_skip) |
static void | Sycc420ToRgbForTesting (opj_image_t *img) |
Static Public Attributes | |
static constexpr uint8_t | kMaxResolutionsToSkip = 32 |
Definition at line 27 of file cjpx_decoder.h.
Enumerator | |
---|---|
kNoColorSpace | |
kNormalColorSpace | |
kIndexedColorSpace |
Definition at line 33 of file cjpx_decoder.h.
fxcodec::CJPX_Decoder::~CJPX_Decoder | ( | ) |
Definition at line 411 of file cjpx_decoder.cpp.
|
static |
Definition at line 392 of file cjpx_decoder.cpp.
bool fxcodec::CJPX_Decoder::Decode | ( | pdfium::span< uint8_t > | dest_buf, |
uint32_t | pitch, | ||
bool | swap_rgb, | ||
uint32_t | component_count ) |
Definition at line 515 of file cjpx_decoder.cpp.
CJPX_Decoder::JpxImageInfo fxcodec::CJPX_Decoder::GetInfo | ( | ) | const |
Definition at line 510 of file cjpx_decoder.cpp.
bool fxcodec::CJPX_Decoder::StartDecode | ( | ) |
Definition at line 466 of file cjpx_decoder.cpp.
|
static |
Definition at line 404 of file cjpx_decoder.cpp.
|
staticconstexpr |
Definition at line 31 of file cjpx_decoder.h.