diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-30 22:23:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-30 22:23:37 +0000 |
commit | 3b83e83fbfd24e521f7ecd7ce7f1019769bcaec7 (patch) | |
tree | c8aa119940a263837b589035f0f09111577d8926 /core/fxcodec/codec/ccodec_basicmodule.h | |
parent | 07388cae6fb525ccecc20f66ce530ac52d30d754 (diff) | |
download | pdfium-3b83e83fbfd24e521f7ecd7ce7f1019769bcaec7.tar.xz |
Use pdfium::span<> arg in A85 and RLE encoder methods
Change-Id: Iff900bc3e1cd9c9dd6b023230c1feba78759581c
Reviewed-on: https://pdfium-review.googlesource.com/41710
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_basicmodule.h')
-rw-r--r-- | core/fxcodec/codec/ccodec_basicmodule.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxcodec/codec/ccodec_basicmodule.h b/core/fxcodec/codec/ccodec_basicmodule.h index b07efd884f..2ad374037f 100644 --- a/core/fxcodec/codec/ccodec_basicmodule.h +++ b/core/fxcodec/codec/ccodec_basicmodule.h @@ -22,12 +22,12 @@ class CCodec_BasicModule { int height, int nComps, int bpc); - bool RunLengthEncode(const uint8_t* src_buf, - uint32_t src_size, + + bool RunLengthEncode(pdfium::span<const uint8_t> src_buf, uint8_t** dest_buf, uint32_t* dest_size); - bool A85Encode(const uint8_t* src_buf, - uint32_t src_size, + + bool A85Encode(pdfium::span<const uint8_t> src_buf, uint8_t** dest_buf, uint32_t* dest_size); }; |