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

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

Issue 2612243005: Add postscript path (Closed)
Patch Set: Small fixes, add comments 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 | « no previous file | core/fxcodec/codec/fx_codec.cpp » ('j') | core/fxcodec/codec/fx_codec.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/ccodec_basicmodule.h
diff --git a/core/fxcodec/codec/ccodec_basicmodule.h b/core/fxcodec/codec/ccodec_basicmodule.h
index 015f41a4a4e2d75321619b4078d7bf8dcc047d24..d717a64042678b7426d809dbd37af46f2f7afae0 100644
--- a/core/fxcodec/codec/ccodec_basicmodule.h
+++ b/core/fxcodec/codec/ccodec_basicmodule.h
@@ -15,6 +15,16 @@ class CCodec_ScanlineDecoder;
class CCodec_BasicModule {
public:
+ bool RunLengthEncode(const uint8_t* src_buf,
Tom Sepez 2017/01/09 20:18:19 Can we add unit_tests and/or fuzzers for these?
rbpotter 2017/01/10 20:28:23 I added some unit tests. Will look into fuzzers.
+ uint32_t src_size,
+ uint8_t*& dest_buf,
+ uint32_t& dest_size);
+
+ bool A85Encode(const uint8_t* src_buf,
+ uint32_t src_size,
+ uint8_t*& dest_buf,
+ uint32_t& dest_size);
+
std::unique_ptr<CCodec_ScanlineDecoder> CreateRunLengthDecoder(
const uint8_t* src_buf,
uint32_t src_size,
« no previous file with comments | « no previous file | core/fxcodec/codec/fx_codec.cpp » ('j') | core/fxcodec/codec/fx_codec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698