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

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

Issue 1265503005: clang-format all pdfium code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: sigh Created 5 years, 4 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
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_INCLUDE_FXCODEC_FX_CODEC_DEF_H_ 7 #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_DEF_H_
8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_DEF_H_ 8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_DEF_H_
9 9
10 enum FXCODEC_STATUS { 10 enum FXCODEC_STATUS {
11 FXCODEC_STATUS_ERROR = -1, 11 FXCODEC_STATUS_ERROR = -1,
12 FXCODEC_STATUS_FRAME_READY, 12 FXCODEC_STATUS_FRAME_READY,
13 FXCODEC_STATUS_FRAME_TOBECONTINUE, 13 FXCODEC_STATUS_FRAME_TOBECONTINUE,
14 FXCODEC_STATUS_DECODE_READY, 14 FXCODEC_STATUS_DECODE_READY,
15 FXCODEC_STATUS_DECODE_TOBECONTINUE, 15 FXCODEC_STATUS_DECODE_TOBECONTINUE,
16 FXCODEC_STATUS_DECODE_FINISH, 16 FXCODEC_STATUS_DECODE_FINISH,
17 FXCODEC_STATUS_ERR_READ, 17 FXCODEC_STATUS_ERR_READ,
18 FXCODEC_STATUS_ERR_FLUSH, 18 FXCODEC_STATUS_ERR_FLUSH,
19 FXCODEC_STATUS_ERR_FORMAT, 19 FXCODEC_STATUS_ERR_FORMAT,
20 FXCODEC_STATUS_ERR_PARAMS 20 FXCODEC_STATUS_ERR_PARAMS
21 }; 21 };
22 #define JP2_SPACE_INVALID» -1 22 #define JP2_SPACE_INVALID -1
23 #define JPX_SPACE_INVALID» -1 23 #define JPX_SPACE_INVALID -1
24 #define JP2_SPACE_bilevel1» 0 24 #define JP2_SPACE_bilevel1 0
25 #define JP2_SPACE_YCbCr1» 1 25 #define JP2_SPACE_YCbCr1 1
26 #define JP2_SPACE_YCbCr2» 3 26 #define JP2_SPACE_YCbCr2 3
27 #define JP2_SPACE_YCbCr3» 4 27 #define JP2_SPACE_YCbCr3 4
28 #define JP2_SPACE_PhotoYCC» 9 28 #define JP2_SPACE_PhotoYCC 9
29 #define JP2_SPACE_CMY» » 11 29 #define JP2_SPACE_CMY 11
30 #define JP2_SPACE_CMYK» » 12 30 #define JP2_SPACE_CMYK 12
31 #define JP2_SPACE_YCCK» » 13 31 #define JP2_SPACE_YCCK 13
32 #define JP2_SPACE_CIELab» 14 32 #define JP2_SPACE_CIELab 14
33 #define JP2_SPACE_bilevel2» 15 33 #define JP2_SPACE_bilevel2 15
34 #define JP2_SPACE_sRGB» » 16 34 #define JP2_SPACE_sRGB 16
35 #define JP2_SPACE_sLUM» » 17 35 #define JP2_SPACE_sLUM 17
36 #define JP2_SPACE_sYCC» » 18 36 #define JP2_SPACE_sYCC 18
37 #define JP2_SPACE_CIEJab» 19 37 #define JP2_SPACE_CIEJab 19
38 #define JP2_SPACE_esRGB»» 20 38 #define JP2_SPACE_esRGB 20
39 #define JP2_SPACE_ROMMRGB» 21 39 #define JP2_SPACE_ROMMRGB 21
40 #define JP2_SPACE_YPbPr60» 22 40 #define JP2_SPACE_YPbPr60 22
41 #define JP2_SPACE_YPbPr50» 23 41 #define JP2_SPACE_YPbPr50 23
42 #define JP2_SPACE_esYCC»» 24 42 #define JP2_SPACE_esYCC 24
43 #define JP2_SPACE_iccLUM» 100 43 #define JP2_SPACE_iccLUM 100
44 #define JP2_SPACE_iccRGB» 101 44 #define JP2_SPACE_iccRGB 101
45 #define Icc_INTENT_PERCEPTUAL» » » » 0 45 #define Icc_INTENT_PERCEPTUAL 0
46 #define Icc_INTENT_RELATIVE_COLORIMETRIC» 1 46 #define Icc_INTENT_RELATIVE_COLORIMETRIC 1
47 #define Icc_INTENT_SATURATION» » » » 2 47 #define Icc_INTENT_SATURATION 2
48 #define Icc_INTENT_ABSOLUTE_COLORIMETRIC» 3 48 #define Icc_INTENT_ABSOLUTE_COLORIMETRIC 3
49 #define Icc_FORMAT_DEFAULT» » » » » 0 49 #define Icc_FORMAT_DEFAULT 0
50 #define Icc_FORMAT_SWAP»» » » » » (1<<10) 50 #define Icc_FORMAT_SWAP (1 << 10)
51 #define Icc_FLAGS_DEFAULT» » » » » 0x0000 51 #define Icc_FLAGS_DEFAULT 0x0000
52 #define Icc_FLAGS_BLACKPOINTCOMPENSATION» 0x2000 52 #define Icc_FLAGS_BLACKPOINTCOMPENSATION 0x2000
53 #define Icc_FLAGS_NOWHITEONWHITEFIXUP» » 0x0004 53 #define Icc_FLAGS_NOWHITEONWHITEFIXUP 0x0004
54 #define Icc_FLAGS_HIGHRESPRECALC» » » 0x0400 54 #define Icc_FLAGS_HIGHRESPRECALC 0x0400
55 #define Icc_FLAGS_LOWRESPRECALC»» » » 0x0800 55 #define Icc_FLAGS_LOWRESPRECALC 0x0800
56 #define Icc_FLAGS_GAMUTCHECK» » » » 0x1000 56 #define Icc_FLAGS_GAMUTCHECK 0x1000
57 #define Icc_FLAGS_SOFTPROOFING» » » » 0x4000 57 #define Icc_FLAGS_SOFTPROOFING 0x4000
58 #define Icc_PARAMTYPE_NONE» » » » » 0 58 #define Icc_PARAMTYPE_NONE 0
59 #define Icc_PARAMTYPE_BUFFER» » » » 1 59 #define Icc_PARAMTYPE_BUFFER 1
60 #define Icc_PARAMTYPE_PARAM» » » » » 2 60 #define Icc_PARAMTYPE_PARAM 2
61 #define EXIFTAG_USHORT_RESUNIT» » » » 296 61 #define EXIFTAG_USHORT_RESUNIT 296
62 #define EXIFTAG_FLOAT_DPIX» » » » » 282 62 #define EXIFTAG_FLOAT_DPIX 282
63 #define EXIFTAG_FLOAT_DPIY» » » » » 283 63 #define EXIFTAG_FLOAT_DPIY 283
64 #define EXIFTAG_USHORT_ORIENTATION» » » 274 64 #define EXIFTAG_USHORT_ORIENTATION 274
65 #define EXIFTAG_STRING_MANUFACTURER» » » 271 65 #define EXIFTAG_STRING_MANUFACTURER 271
66 #define EXIFTAG_STRING_MODULE» » » » 272 66 #define EXIFTAG_STRING_MODULE 272
67 #define EXIFTAG_STRING_SOFTWARE»» » » 305 67 #define EXIFTAG_STRING_SOFTWARE 305
68 #define EXIFTAG_STRING_IAMGEDESCRIPTION»» 270 68 #define EXIFTAG_STRING_IAMGEDESCRIPTION 270
69 #define EXIFTAG_STRING_DATETIME»» » » 306 69 #define EXIFTAG_STRING_DATETIME 306
70 #define EXIFTAG_STRING_COPYRIGHT» » » 33432 70 #define EXIFTAG_STRING_COPYRIGHT 33432
71 71
72 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_DEF_H_ 72 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_DEF_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698