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

Side by Side Diff: core/src/fxcodec/lbmp/fx_bmp.h

Issue 1730553002: Fixing whitespace lint errors. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review fixes Created 4 years, 9 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/src/fxcodec/codec/fx_codec_progress.cpp ('k') | core/src/fxcodec/lbmp/fx_bmp.cpp » ('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_SRC_FXCODEC_LBMP_FX_BMP_H_ 7 #ifndef CORE_SRC_FXCODEC_LBMP_FX_BMP_H_
8 #define CORE_SRC_FXCODEC_LBMP_FX_BMP_H_ 8 #define CORE_SRC_FXCODEC_LBMP_FX_BMP_H_
9 9
10 #include <setjmp.h> 10 #include <setjmp.h>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 int32_t row_num; 96 int32_t row_num;
97 int32_t col_num; 97 int32_t col_num;
98 int32_t dpi_x; 98 int32_t dpi_x;
99 int32_t dpi_y; 99 int32_t dpi_y;
100 #ifdef BMP_SUPPORT_BITFIELD 100 #ifdef BMP_SUPPORT_BITFIELD
101 FX_DWORD mask_red; 101 FX_DWORD mask_red;
102 FX_DWORD mask_green; 102 FX_DWORD mask_green;
103 FX_DWORD mask_blue; 103 FX_DWORD mask_blue;
104 #endif 104 #endif
105 105
106 FX_BOOL» » » (*_bmp_get_data_position_fn)(bmp_decompress_stru ct_p bmp_ptr, FX_DWORD cur_pos); 106 FX_BOOL (*_bmp_get_data_position_fn)(bmp_decompress_struct_p bmp_ptr,
107 FX_DWORD cur_pos);
107 void (*_bmp_get_row_fn)(bmp_decompress_struct_p bmp_ptr, 108 void (*_bmp_get_row_fn)(bmp_decompress_struct_p bmp_ptr,
108 int32_t row_num, 109 int32_t row_num,
109 uint8_t* row_buf); 110 uint8_t* row_buf);
110 uint8_t* next_in; 111 uint8_t* next_in;
111 FX_DWORD avail_in; 112 FX_DWORD avail_in;
112 FX_DWORD skip_size; 113 FX_DWORD skip_size;
113 int32_t decode_status; 114 int32_t decode_status;
114 }; 115 };
115 void _bmp_error(bmp_decompress_struct_p bmp_ptr, const FX_CHAR* err_msg); 116 void _bmp_error(bmp_decompress_struct_p bmp_ptr, const FX_CHAR* err_msg);
116 bmp_decompress_struct_p _bmp_create_decompress(); 117 bmp_decompress_struct_p _bmp_create_decompress();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 #endif 149 #endif
149 }; 150 };
150 151
151 bmp_compress_struct_p _bmp_create_compress(); 152 bmp_compress_struct_p _bmp_create_compress();
152 void _bmp_destroy_compress(bmp_compress_struct_p bmp_ptr); 153 void _bmp_destroy_compress(bmp_compress_struct_p bmp_ptr);
153 FX_BOOL _bmp_encode_image(bmp_compress_struct_p bmp_ptr, 154 FX_BOOL _bmp_encode_image(bmp_compress_struct_p bmp_ptr,
154 uint8_t*& dst_buf, 155 uint8_t*& dst_buf,
155 FX_DWORD& dst_size); 156 FX_DWORD& dst_size);
156 157
157 #endif // CORE_SRC_FXCODEC_LBMP_FX_BMP_H_ 158 #endif // CORE_SRC_FXCODEC_LBMP_FX_BMP_H_
OLDNEW
« no previous file with comments | « core/src/fxcodec/codec/fx_codec_progress.cpp ('k') | core/src/fxcodec/lbmp/fx_bmp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698