summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_Define.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-09 11:30:25 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-09 11:30:25 -0700
commitbb17868d736f698d5217c30d52c5bbfed62c5936 (patch)
tree9d4d3e2538a81e6241d4992570bc3f3c1af71d28 /core/src/fxcodec/jbig2/JBig2_Define.h
parentbf6c2a4873f8cc12ad910fb904218a78087a3735 (diff)
downloadpdfium-bb17868d736f698d5217c30d52c5bbfed62c5936.tar.xz
Use stdint.h types throughout PDFium.
It's redundant nowadays to provide our own equivalents, now that this is done for us by the system header. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1177483002
Diffstat (limited to 'core/src/fxcodec/jbig2/JBig2_Define.h')
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Define.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/fxcodec/jbig2/JBig2_Define.h b/core/src/fxcodec/jbig2/JBig2_Define.h
index ccf15d07ba..46c6e2b532 100644
--- a/core/src/fxcodec/jbig2/JBig2_Define.h
+++ b/core/src/fxcodec/jbig2/JBig2_Define.h
@@ -13,15 +13,15 @@
#include "JBig2_Object.h"
#define JBIG2_OOB 1
typedef struct {
- FX_INT32 width,
+ int32_t width,
height;
- FX_INT32 x,
+ int32_t x,
y;
- FX_BYTE flags;
+ uint8_t flags;
} JBig2RegionInfo;
typedef struct {
- FX_INT32 codelen;
- FX_INT32 code;
+ int32_t codelen;
+ int32_t code;
} JBig2HuffmanCode;
extern "C" {
void _FaxG4Decode(void *pModule, FX_LPCBYTE src_buf, FX_DWORD src_size, int* pbitpos, FX_LPBYTE dest_buf, int width, int height, int pitch = 0);