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

Side by Side Diff: core/fpdfapi/render/fpdf_render_image.cpp

Issue 2409283002: Rename fpdf_page_doc.cpp -> cpdf_docpagedata.h (Closed)
Patch Set: 2016 Created 4 years, 2 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/fpdfapi/render/fpdf_render.cpp ('k') | core/fpdfapi/render/fpdf_render_loadimage.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 #include "core/fpdfapi/render/render_int.h" 7 #include "core/fpdfapi/render/render_int.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/fpdfapi/page/cpdf_docpagedata.h"
13 #include "core/fpdfapi/page/cpdf_form.h" 14 #include "core/fpdfapi/page/cpdf_form.h"
14 #include "core/fpdfapi/page/cpdf_image.h" 15 #include "core/fpdfapi/page/cpdf_image.h"
15 #include "core/fpdfapi/page/cpdf_imageobject.h" 16 #include "core/fpdfapi/page/cpdf_imageobject.h"
16 #include "core/fpdfapi/page/cpdf_page.h" 17 #include "core/fpdfapi/page/cpdf_page.h"
17 #include "core/fpdfapi/page/cpdf_shadingpattern.h" 18 #include "core/fpdfapi/page/cpdf_shadingpattern.h"
18 #include "core/fpdfapi/page/cpdf_tilingpattern.h" 19 #include "core/fpdfapi/page/cpdf_tilingpattern.h"
19 #include "core/fpdfapi/page/pageint.h" 20 #include "core/fpdfapi/page/pageint.h"
20 #include "core/fpdfapi/parser/cpdf_array.h" 21 #include "core/fpdfapi/parser/cpdf_array.h"
21 #include "core/fpdfapi/parser/cpdf_dictionary.h" 22 #include "core/fpdfapi/parser/cpdf_dictionary.h"
22 #include "core/fpdfapi/parser/cpdf_document.h" 23 #include "core/fpdfapi/parser/cpdf_document.h"
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 } else if (pFunc) { 1080 } else if (pFunc) {
1080 int size = dest_pitch * height; 1081 int size = dest_pitch * height;
1081 for (int i = 0; i < size; i++) { 1082 for (int i = 0; i < size; i++) {
1082 dest_buf[i] = transfers[src_buf[i]]; 1083 dest_buf[i] = transfers[src_buf[i]];
1083 } 1084 }
1084 } else { 1085 } else {
1085 FXSYS_memcpy(dest_buf, src_buf, dest_pitch * height); 1086 FXSYS_memcpy(dest_buf, src_buf, dest_pitch * height);
1086 } 1087 }
1087 return pMask.release(); 1088 return pMask.release();
1088 } 1089 }
OLDNEW
« no previous file with comments | « core/fpdfapi/render/fpdf_render.cpp ('k') | core/fpdfapi/render/fpdf_render_loadimage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698