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
JBig2_HuffmanDecoder.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_HUFFMANDECODER_H_
8
#
define
CORE_FXCODEC_JBIG2_JBIG2_HUFFMANDECODER_H_
9
10
#
include
"core/fxcodec/jbig2/JBig2_BitStream.h"
11
#
include
"core/fxcodec/jbig2/JBig2_HuffmanTable.h"
12
#
include
"core/fxcrt/unowned_ptr.h"
13
14
class
CJBig2_HuffmanDecoder
{
15
public
:
16
explicit
CJBig2_HuffmanDecoder
(
CJBig2_BitStream
* pStream);
17
~
CJBig2_HuffmanDecoder
();
18
19
int
DecodeAValue
(
const
CJBig2_HuffmanTable
* pTable,
int
* nResult);
20
21
private
:
22
UnownedPtr
<
CJBig2_BitStream
>
const
m_pStream;
23
};
24
25
#
endif
// CORE_FXCODEC_JBIG2_JBIG2_HUFFMANDECODER_H_
kJBig2OOB
constexpr int32_t kJBig2OOB
Definition
JBig2_Define.h:25
CJBig2_BitStream
Definition
JBig2_BitStream.h:13
CJBig2_HuffmanDecoder
Definition
JBig2_HuffmanDecoder.h:14
CJBig2_HuffmanDecoder::~CJBig2_HuffmanDecoder
~CJBig2_HuffmanDecoder()
CJBig2_HuffmanDecoder::CJBig2_HuffmanDecoder
CJBig2_HuffmanDecoder(CJBig2_BitStream *pStream)
Definition
JBig2_HuffmanDecoder.cpp:12
CJBig2_HuffmanDecoder::DecodeAValue
int DecodeAValue(const CJBig2_HuffmanTable *pTable, int *nResult)
Definition
JBig2_HuffmanDecoder.cpp:17
CJBig2_HuffmanTable
Definition
JBig2_HuffmanTable.h:19
CJBig2_HuffmanTable::Size
uint32_t Size() const
Definition
JBig2_HuffmanTable.h:26
CJBig2_HuffmanTable::IsHTOOB
bool IsHTOOB() const
Definition
JBig2_HuffmanTable.h:25
fxcrt::UnownedPtr
Definition
unowned_ptr.h:75
JBig2HuffmanCode
Definition
JBig2_Define.h:20
JBig2HuffmanCode::code
int32_t code
Definition
JBig2_Define.h:22
JBig2HuffmanCode::codelen
int32_t codelen
Definition
JBig2_Define.h:21
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcodec
jbig2
JBig2_HuffmanDecoder.h
Generated on Sat Sep 21 2024 00:54:42 for Qt by
1.12.0