summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_Define.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-09 13:24:12 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-09 13:24:12 -0700
commitbfa9a824a20f37c2dd7111012b46c929cf2ed8a0 (patch)
tree4cfbe682869d89900f33751c37f6a84865beeb0a /core/src/fxcodec/jbig2/JBig2_Define.h
parentb116136da234afcad018bb44a3ccb64b9ad2a554 (diff)
downloadpdfium-bfa9a824a20f37c2dd7111012b46c929cf2ed8a0.tar.xz
Merge to XFA: Use stdint.h types throughout PDFium.
Near-automatic merge, plus re-running scripts to update additional usage. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1172793002
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);