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
JBig2_ArithIntDecoder.h
Go to the documentation of this file.
1
// Copyright 2014 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_JBIG2_JBIG2_ARITHINTDECODER_H_
8
#
define
CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_
9
10
#
include
<
stdint
.
h
>
11
12
#
include
<
vector
>
13
14
#
include
"core/fxcodec/jbig2/JBig2_ArithDecoder.h"
15
16
class
CJBig2_ArithIntDecoder
{
17
public
:
18
CJBig2_ArithIntDecoder
();
19
~
CJBig2_ArithIntDecoder
();
20
21
// Returns true on success, and false when an OOB condition occurs. Many
22
// callers can tolerate OOB and do not check the return value.
23
bool
Decode
(
CJBig2_ArithDecoder
* pArithDecoder,
int
* nResult);
24
25
private
:
26
std::vector<JBig2ArithCtx> m_IAx;
27
};
28
29
class
CJBig2_ArithIaidDecoder
{
30
public
:
31
explicit
CJBig2_ArithIaidDecoder
(
unsigned
char
SBSYMCODELENA);
32
~
CJBig2_ArithIaidDecoder
();
33
34
void
Decode
(
CJBig2_ArithDecoder
* pArithDecoder, uint32_t* nResult);
35
36
private
:
37
std::vector<JBig2ArithCtx> m_IAID;
38
39
const
unsigned
char
SBSYMCODELEN;
40
};
41
42
#
endif
// CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_
CJBig2_ArithDecoder
Definition
JBig2_ArithDecoder.h:41
CJBig2_ArithDecoder::Decode
int Decode(JBig2ArithCtx *pCX)
Definition
JBig2_ArithDecoder.cpp:70
CJBig2_ArithIaidDecoder
Definition
JBig2_ArithIntDecoder.h:29
CJBig2_ArithIaidDecoder::Decode
void Decode(CJBig2_ArithDecoder *pArithDecoder, uint32_t *nResult)
Definition
JBig2_ArithIntDecoder.cpp:103
CJBig2_ArithIaidDecoder::CJBig2_ArithIaidDecoder
CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA)
Definition
JBig2_ArithIntDecoder.cpp:96
CJBig2_ArithIaidDecoder::~CJBig2_ArithIaidDecoder
~CJBig2_ArithIaidDecoder()
CJBig2_ArithIntDecoder
Definition
JBig2_ArithIntDecoder.h:16
CJBig2_ArithIntDecoder::Decode
bool Decode(CJBig2_ArithDecoder *pArithDecoder, int *nResult)
Definition
JBig2_ArithIntDecoder.cpp:59
CJBig2_ArithIntDecoder::CJBig2_ArithIntDecoder
CJBig2_ArithIntDecoder()
Definition
JBig2_ArithIntDecoder.cpp:53
CJBig2_ArithIntDecoder::~CJBig2_ArithIntDecoder
~CJBig2_ArithIntDecoder()
JBig2ArithCtx
Definition
JBig2_ArithDecoder.h:18
FX_SAFE_INT32
pdfium::CheckedNumeric< int32_t > FX_SAFE_INT32
Definition
fx_safe_types.h:15
fxcrt
Definition
stl_util.h:17
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcodec
jbig2
JBig2_ArithIntDecoder.h
Generated on
for Qt by
1.18.0