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

Unified Diff: core/fxcodec/codec/ccodec_faxmodule.h

Issue 2608663003: Pdfium Patch to restore PS Path (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxcodec/codec/ccodec_basicmodule.h ('k') | core/fxcodec/codec/ccodec_jpegmodule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/ccodec_faxmodule.h
diff --git a/core/fxcodec/codec/ccodec_faxmodule.h b/core/fxcodec/codec/ccodec_faxmodule.h
index ce9e97bbe92c0e5dac5282fa37c1b72e30254fe1..3b1b18ef570a59b87c2fa1e7b201f3c36729f9f2 100644
--- a/core/fxcodec/codec/ccodec_faxmodule.h
+++ b/core/fxcodec/codec/ccodec_faxmodule.h
@@ -8,7 +8,7 @@
#define CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_
#include <memory>
-
+#include "core/fxcrt/fx_memory.h"
#include "core/fxcrt/fx_system.h"
class CCodec_ScanlineDecoder;
@@ -25,6 +25,14 @@ class CCodec_FaxModule {
bool BlackIs1,
int Columns,
int Rows);
+#if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_
+ static void FaxEncode(const uint8_t* src_buf,
+ int width,
+ int height,
+ int pitch,
+ std::unique_ptr<uint8_t, FxFreeDeleter>& dest_buf,
+ uint32_t& dest_size);
+#endif
};
#endif // CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_
« no previous file with comments | « core/fxcodec/codec/ccodec_basicmodule.h ('k') | core/fxcodec/codec/ccodec_jpegmodule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698