Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
bmp_progressive_decoder.h
Go to the documentation of this file.
1
// Copyright 2020 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
ifndef
CORE_FXCODEC_BMP_BMP_PROGRESSIVE_DECODER_H_
8
#
define
CORE_FXCODEC_BMP_BMP_PROGRESSIVE_DECODER_H_
9
10
#
include
"core/fxcodec/progressive_decoder_iface.h"
11
12
#
ifndef
PDF_ENABLE_XFA_BMP
13
#
error
"BMP must be enabled"
14
#
endif
15
16
namespace
fxcodec
{
17
18
class
BmpProgressiveDecoder
final
:
public
ProgressiveDecoderIface
{
19
public
:
20
static
void
InitializeGlobals
();
21
static
void
DestroyGlobals
();
22
23
static
BmpProgressiveDecoder*
GetInstance
();
24
25
// ProgressiveDecoderIface:
26
FX_FILESIZE
GetAvailInput
(
Context
* context)
const
override
;
27
bool
Input
(
Context
* context,
28
RetainPtr
<CFX_CodecMemory> codec_memory)
override
;
29
30
private
:
31
BmpProgressiveDecoder();
32
~
BmpProgressiveDecoder
()
override
;
33
};
34
35
}
// namespace fxcodec
36
37
using
BmpProgressiveDecoder
=
fxcodec
::BmpProgressiveDecoder;
38
39
#
endif
// CORE_FXCODEC_BMP_BMP_PROGRESSIVE_DECODER_H_
BmpProgressiveDecoder
fxcodec::BmpProgressiveDecoder BmpProgressiveDecoder
Definition
bmp_progressive_decoder.h:37
fxcodec::BmpDecoder
Definition
bmp_decoder.h:26
fxcodec::BmpDecoder::Input
static bool Input(ProgressiveDecoderIface::Context *pContext, RetainPtr< CFX_CodecMemory > codec_memory)
Definition
bmp_decoder.cpp:65
fxcodec::BmpDecoder::GetAvailInput
static FX_FILESIZE GetAvailInput(ProgressiveDecoderIface::Context *pContext)
Definition
bmp_decoder.cpp:59
fxcodec::BmpProgressiveDecoder::~BmpProgressiveDecoder
~BmpProgressiveDecoder() override
fxcodec::BmpProgressiveDecoder::GetAvailInput
FX_FILESIZE GetAvailInput(Context *context) const override
Definition
bmp_progressive_decoder.cpp:42
fxcodec::BmpProgressiveDecoder::DestroyGlobals
static void DestroyGlobals()
Definition
bmp_progressive_decoder.cpp:28
fxcodec::BmpProgressiveDecoder::GetInstance
static BmpProgressiveDecoder * GetInstance()
Definition
bmp_progressive_decoder.cpp:34
fxcodec::BmpProgressiveDecoder::InitializeGlobals
static void InitializeGlobals()
Definition
bmp_progressive_decoder.cpp:22
fxcodec::BmpProgressiveDecoder::Input
bool Input(Context *context, RetainPtr< CFX_CodecMemory > codec_memory) override
Definition
bmp_progressive_decoder.cpp:46
fxcodec::ProgressiveDecoderIface::Context
Definition
progressive_decoder_iface.h:23
fxcodec::ProgressiveDecoderIface
Definition
progressive_decoder_iface.h:21
fxcrt::RetainPtr
Definition
retain_ptr.h:28
FX_FILESIZE
#define FX_FILESIZE
Definition
fx_types.h:19
fxcodec
Definition
fpdf_parser_decode.h:28
CHECK
#define CHECK(cvref)
Definition
q23utility.cpp:15
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcodec
bmp
bmp_progressive_decoder.h
Generated on
for Qt by
1.18.0