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

Side by Side Diff: core/src/fxcodec/codec/fx_codec_tiff.cpp

Issue 1413253003: XFA: Actually fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 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 | « core/src/fxcodec/codec/fx_codec_png.cpp ('k') | xfa/include/fxbarcode/BC_BarCode.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 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 "../../../include/fxcodec/fx_codec.h" 7 #include "../../../include/fxcodec/fx_codec.h"
8 #include "../../../include/fxge/fx_dib.h" 8 #include "../../../include/fxge/fx_dib.h"
9 #include "codec_int.h" 9 #include "codec_int.h"
10
10 extern "C" { 11 extern "C" {
11 #include "../../../../third_party/tiff_v403/tiffiop.h" 12 #include "third_party/tiff_v403/tiffiop.h"
12 } 13 }
14
13 void* IccLib_CreateTransform_sRGB(const unsigned char* pProfileData, 15 void* IccLib_CreateTransform_sRGB(const unsigned char* pProfileData,
14 unsigned int dwProfileSize, 16 unsigned int dwProfileSize,
15 int nComponents, 17 int nComponents,
16 int intent, 18 int intent,
17 FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT); 19 FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT);
18 void IccLib_TranslateImage(void* pTransform, 20 void IccLib_TranslateImage(void* pTransform,
19 unsigned char* pDest, 21 unsigned char* pDest,
20 const unsigned char* pSrc, 22 const unsigned char* pSrc,
21 int pixels); 23 int pixels);
22 void IccLib_DestroyTransform(void* pTransform); 24 void IccLib_DestroyTransform(void* pTransform);
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 return pDecoder->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute); 547 return pDecoder->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute);
546 } 548 }
547 FX_BOOL CCodec_TiffModule::Decode(void* ctx, class CFX_DIBitmap* pDIBitmap) { 549 FX_BOOL CCodec_TiffModule::Decode(void* ctx, class CFX_DIBitmap* pDIBitmap) {
548 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx; 550 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx;
549 return pDecoder->Decode(pDIBitmap); 551 return pDecoder->Decode(pDIBitmap);
550 } 552 }
551 void CCodec_TiffModule::DestroyDecoder(void* ctx) { 553 void CCodec_TiffModule::DestroyDecoder(void* ctx) {
552 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx; 554 CCodec_TiffContext* pDecoder = (CCodec_TiffContext*)ctx;
553 delete pDecoder; 555 delete pDecoder;
554 } 556 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/codec/fx_codec_png.cpp ('k') | xfa/include/fxbarcode/BC_BarCode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698