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

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

Issue 2615703002: Revert postscript code removal. (Closed)
Patch Set: Move files, remove extra class, remove non const refs Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxcodec/codec/ccodec_faxmodule.h ('k') | core/fxcodec/codec/fx_codec.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/ccodec_jpegmodule.h
diff --git a/core/fxcodec/codec/ccodec_jpegmodule.h b/core/fxcodec/codec/ccodec_jpegmodule.h
index b2ae731bb43ae5563c1849ecaac08dc8f82d8c9f..bad6fa6a9439665961459034180d9fef7dc8ba3a 100644
--- a/core/fxcodec/codec/ccodec_jpegmodule.h
+++ b/core/fxcodec/codec/ccodec_jpegmodule.h
@@ -58,6 +58,12 @@ class CCodec_JpegModule {
bool StartScanline(FXJPEG_Context* pContext, int down_scale);
bool ReadScanline(FXJPEG_Context* pContext, uint8_t* dest_buf);
uint32_t GetAvailInput(FXJPEG_Context* pContext, uint8_t** avail_buf_ptr);
+
+#if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_
+ static bool JpegEncode(const CFX_DIBSource* pSource,
+ uint8_t** dest_buf,
+ FX_STRSIZE* dest_size);
+#endif
};
#endif // CORE_FXCODEC_CODEC_CCODEC_JPEGMODULE_H_
« no previous file with comments | « core/fxcodec/codec/ccodec_faxmodule.h ('k') | core/fxcodec/codec/fx_codec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698