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

Side by Side Diff: core/include/fxcodec/fx_codec_def.h

Issue 1142713005: Remove FX_Alloc() null checks now that it can't return NULL. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix missing FX_Alloc2D, check overflow on add, remove unused enum. Created 5 years, 7 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 | « no previous file | core/include/fxge/fx_ge.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 _FX_CODEC_DEF_H_ 7 #ifndef _FX_CODEC_DEF_H_
8 #define _FX_CODEC_DEF_H_ 8 #define _FX_CODEC_DEF_H_
9 enum FXCODEC_STATUS { 9 enum FXCODEC_STATUS {
10 FXCODEC_STATUS_ERROR = -1, 10 FXCODEC_STATUS_ERROR = -1,
11 FXCODEC_STATUS_FRAME_READY, 11 FXCODEC_STATUS_FRAME_READY,
12 FXCODEC_STATUS_FRAME_TOBECONTINUE, 12 FXCODEC_STATUS_FRAME_TOBECONTINUE,
13 FXCODEC_STATUS_DECODE_READY, 13 FXCODEC_STATUS_DECODE_READY,
14 FXCODEC_STATUS_DECODE_TOBECONTINUE, 14 FXCODEC_STATUS_DECODE_TOBECONTINUE,
15 FXCODEC_STATUS_DECODE_FINISH, 15 FXCODEC_STATUS_DECODE_FINISH,
16 FXCODEC_STATUS_ERR_MEMORY,
17 FXCODEC_STATUS_ERR_READ, 16 FXCODEC_STATUS_ERR_READ,
18 FXCODEC_STATUS_ERR_FLUSH, 17 FXCODEC_STATUS_ERR_FLUSH,
19 FXCODEC_STATUS_ERR_FORMAT, 18 FXCODEC_STATUS_ERR_FORMAT,
20 FXCODEC_STATUS_ERR_PARAMS 19 FXCODEC_STATUS_ERR_PARAMS
21 }; 20 };
22 #define JP2_SPACE_INVALID -1 21 #define JP2_SPACE_INVALID -1
23 #define JPX_SPACE_INVALID -1 22 #define JPX_SPACE_INVALID -1
24 #define JP2_SPACE_bilevel1 0 23 #define JP2_SPACE_bilevel1 0
25 #define JP2_SPACE_YCbCr1 1 24 #define JP2_SPACE_YCbCr1 1
26 #define JP2_SPACE_YCbCr2 3 25 #define JP2_SPACE_YCbCr2 3
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #define EXIFTAG_FLOAT_DPIX 282 61 #define EXIFTAG_FLOAT_DPIX 282
63 #define EXIFTAG_FLOAT_DPIY 283 62 #define EXIFTAG_FLOAT_DPIY 283
64 #define EXIFTAG_USHORT_ORIENTATION 274 63 #define EXIFTAG_USHORT_ORIENTATION 274
65 #define EXIFTAG_STRING_MANUFACTURER 271 64 #define EXIFTAG_STRING_MANUFACTURER 271
66 #define EXIFTAG_STRING_MODULE 272 65 #define EXIFTAG_STRING_MODULE 272
67 #define EXIFTAG_STRING_SOFTWARE 305 66 #define EXIFTAG_STRING_SOFTWARE 305
68 #define EXIFTAG_STRING_IAMGEDESCRIPTION 270 67 #define EXIFTAG_STRING_IAMGEDESCRIPTION 270
69 #define EXIFTAG_STRING_DATETIME 306 68 #define EXIFTAG_STRING_DATETIME 306
70 #define EXIFTAG_STRING_COPYRIGHT 33432 69 #define EXIFTAG_STRING_COPYRIGHT 33432
71 #endif 70 #endif
OLDNEW
« no previous file with comments | « no previous file | core/include/fxge/fx_ge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698