Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: core/fxcodec/jbig2/JBig2_BitStream.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp ('k') | core/fxcodec/jbig2/JBig2_Define.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_BITSTREAM_H_ 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_BITSTREAM_H_
8 #define CORE_FXCODEC_JBIG2_JBIG2_BITSTREAM_H_ 8 #define CORE_FXCODEC_JBIG2_JBIG2_BITSTREAM_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/fx_basic.h"
11 11
12 class CPDF_StreamAcc; 12 class CPDF_StreamAcc;
13 13
14 class CJBig2_BitStream { 14 class CJBig2_BitStream {
15 public: 15 public:
16 explicit CJBig2_BitStream(CPDF_StreamAcc* pSrcStream); 16 explicit CJBig2_BitStream(CPDF_StreamAcc* pSrcStream);
17 ~CJBig2_BitStream(); 17 ~CJBig2_BitStream();
18 18
19 // TODO(thestig): readFoo() should return bool. 19 // TODO(thestig): readFoo() should return bool.
20 int32_t readNBits(uint32_t nBits, uint32_t* dwResult); 20 int32_t readNBits(uint32_t nBits, uint32_t* dwResult);
(...skipping 28 matching lines...) Expand all
49 uint32_t m_dwLength; 49 uint32_t m_dwLength;
50 uint32_t m_dwByteIdx; 50 uint32_t m_dwByteIdx;
51 uint32_t m_dwBitIdx; 51 uint32_t m_dwBitIdx;
52 const uint32_t m_dwObjNum; 52 const uint32_t m_dwObjNum;
53 53
54 CJBig2_BitStream(const CJBig2_BitStream&) = delete; 54 CJBig2_BitStream(const CJBig2_BitStream&) = delete;
55 void operator=(const CJBig2_BitStream&) = delete; 55 void operator=(const CJBig2_BitStream&) = delete;
56 }; 56 };
57 57
58 #endif // CORE_FXCODEC_JBIG2_JBIG2_BITSTREAM_H_ 58 #endif // CORE_FXCODEC_JBIG2_JBIG2_BITSTREAM_H_
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp ('k') | core/fxcodec/jbig2/JBig2_Define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698