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
jpegmodule.cpp File Reference

(a9f5740db8483991c14a6eb9ec7438ed6a990bc5)

#include "core/fxcodec/jpeg/jpegmodule.h"
#include <memory>
#include <optional>
#include <type_traits>
#include <utility>
#include "build/build_config.h"
#include "core/fxcodec/cfx_codec_memory.h"
#include "core/fxcodec/jpeg/jpeg_common.h"
#include "core/fxcodec/scanlinedecoder.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/data_vector.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/raw_span.h"
#include "core/fxge/dib/cfx_dibbase.h"
#include "core/fxge/dib/fx_dib.h"
Include dependency graph for jpegmodule.cpp:

Go to the source code of this file.

Namespaces

namespace  fxcodec

Functions

static pdfium::span< const uint8_t > JpegScanSOI (pdfium::span< const uint8_t > src_span)
static void error_fatal (j_common_ptr cinfo)
static void src_skip_data (jpeg_decompress_struct *cinfo, long num)
static bool JpegLoadInfo (pdfium::span< const uint8_t > src_span, JpegModule::ImageInfo *pInfo)

Function Documentation

◆ error_fatal()

void error_fatal ( j_common_ptr cinfo)
static

Definition at line 40 of file jpegmodule.cpp.

◆ JpegLoadInfo()

bool JpegLoadInfo ( pdfium::span< const uint8_t > src_span,
JpegModule::ImageInfo * pInfo )
static

Definition at line 63 of file jpegmodule.cpp.

References fxcodec::JpegModule::ImageInfo::bits_per_components, fxcodec::JpegModule::ImageInfo::height, JpegCommon::jmpbuf, jpeg_common_destroy_decompress(), fxcodec::JpegModule::ImageInfo::num_components, src_skip_data(), and fxcodec::JpegModule::ImageInfo::width.

Here is the call graph for this function:

◆ JpegScanSOI()

pdfium::span< const uint8_t > JpegScanSOI ( pdfium::span< const uint8_t > src_span)
static

Definition at line 27 of file jpegmodule.cpp.

◆ src_skip_data()

void src_skip_data ( jpeg_decompress_struct * cinfo,
long num )
static

Definition at line 44 of file jpegmodule.cpp.

Referenced by JpegLoadInfo().

Here is the caller graph for this function: