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

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

Issue 1876023003: Remove ICodec_* Interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FXCODEC_CODEC_CCODEC_TIFFMODULE_H_
8 #define CORE_FXCODEC_CODEC_CCODEC_TIFFMODULE_H_
9
10 #include "core/fxcrt/include/fx_system.h"
11
12 class CFX_DIBAttribute;
13 class CFX_DIBitmap;
14 class IFX_FileRead;
15
16 class CCodec_TiffModule {
17 public:
18 ~CCodec_TiffModule() {}
19
20 void* CreateDecoder(IFX_FileRead* file_ptr);
21
22 void GetFrames(void* ctx, int32_t& frames);
Tom Sepez 2016/04/11 17:16:21 srsly, what's a ctx really in this context?
dsinclair 2016/04/11 20:40:40 Done.
23 FX_BOOL LoadFrameInfo(void* ctx,
24 int32_t frame,
25 uint32_t& width,
26 uint32_t& height,
27 uint32_t& comps,
28 uint32_t& bpc,
29 CFX_DIBAttribute* pAttribute);
30 FX_BOOL Decode(void* ctx, class CFX_DIBitmap* pDIBitmap);
31 void DestroyDecoder(void* ctx);
32 };
33
34 #endif // CORE_FXCODEC_CODEC_CCODEC_TIFFMODULE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698