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

Side by Side Diff: samples/image_diff_png.h

Issue 1707893004: Fixup incorrect include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 10 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 | « fpdfsdk/include/fpdfxfa/fpdfxfa_page.h ('k') | testing/test_support.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium 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 #ifndef TOOLS_IMAGEDIFF_IMAGE_DIFF_PNG_H_ 5 #ifndef SAMPLES_IMAGE_DIFF_PNG_H_
6 #define TOOLS_IMAGEDIFF_IMAGE_DIFF_PNG_H_ 6 #define SAMPLES_IMAGE_DIFF_PNG_H_
7 7
8 #include <stdlib.h> // for size_t. 8 #include <stdlib.h> // for size_t.
9 9
10 #include <vector> 10 #include <vector>
11 11
12 namespace image_diff_png { 12 namespace image_diff_png {
13 13
14 // Decode a PNG into an RGBA pixel array. 14 // Decode a PNG into an RGBA pixel array.
15 bool DecodePNG(const unsigned char* input, 15 bool DecodePNG(const unsigned char* input,
16 size_t input_size, 16 size_t input_size,
(...skipping 11 matching lines...) Expand all
28 // Encode an BGRA pixel array into a PNG. 28 // Encode an BGRA pixel array into a PNG.
29 bool EncodeBGRAPNG(const unsigned char* input, 29 bool EncodeBGRAPNG(const unsigned char* input,
30 int width, 30 int width,
31 int height, 31 int height,
32 int row_byte_width, 32 int row_byte_width,
33 bool discard_transparency, 33 bool discard_transparency,
34 std::vector<unsigned char>* output); 34 std::vector<unsigned char>* output);
35 35
36 } // namespace image_diff_png 36 } // namespace image_diff_png
37 37
38 #endif // TOOLS_IMAGEDIFF_IMAGE_DIFF_PNG_H_ 38 #endif // SAMPLES_IMAGE_DIFF_PNG_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_page.h ('k') | testing/test_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698