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

Side by Side Diff: core/fxcodec/codec/ccodec_jpegmodule.h

Issue 2454263002: Fix more FX_BOOL / int noise in core/fpdfsdk (Closed)
Patch Set: nit Created 4 years, 1 month 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/fxcodec/codec/fx_codec_jpeg.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_ 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_
8 #define CORE_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_ 8 #define CORE_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_
9 9
10 #include "core/fxcrt/fx_system.h" 10 #include "core/fxcrt/fx_system.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 int* height, 46 int* height,
47 int* nComps); 47 int* nComps);
48 #else // PDF_ENABLE_XFA 48 #else // PDF_ENABLE_XFA
49 int ReadHeader(FXJPEG_Context* pContext, 49 int ReadHeader(FXJPEG_Context* pContext,
50 int* width, 50 int* width,
51 int* height, 51 int* height,
52 int* nComps, 52 int* nComps,
53 CFX_DIBAttribute* pAttribute); 53 CFX_DIBAttribute* pAttribute);
54 #endif // PDF_ENABLE_XFA 54 #endif // PDF_ENABLE_XFA
55 55
56 int StartScanline(FXJPEG_Context* pContext, int down_scale); 56 FX_BOOL StartScanline(FXJPEG_Context* pContext, int down_scale);
57 FX_BOOL ReadScanline(FXJPEG_Context* pContext, uint8_t* dest_buf); 57 FX_BOOL ReadScanline(FXJPEG_Context* pContext, uint8_t* dest_buf);
58 uint32_t GetAvailInput(FXJPEG_Context* pContext, uint8_t** avail_buf_ptr); 58 uint32_t GetAvailInput(FXJPEG_Context* pContext, uint8_t** avail_buf_ptr);
59 }; 59 };
60 60
61 #endif // CORE_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_ 61 #endif // CORE_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_
OLDNEW
« no previous file with comments | « no previous file | core/fxcodec/codec/fx_codec_jpeg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698