summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_GrrdProc.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-27 17:06:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-27 17:06:58 +0000
commit3241bb3e98c0b327bbd5b0dc02621e6105cf37a9 (patch)
treed015e3cb2d52c3438dd7795ec07fe2749daddfca /core/fxcodec/jbig2/JBig2_GrrdProc.h
parent61f66c9be2abf4f2a5f8bc299ad6e1900c63dbc3 (diff)
downloadpdfium-3241bb3e98c0b327bbd5b0dc02621e6105cf37a9.tar.xz
Fix style for many jbig2 methods.chromium/3412
Change-Id: Ie700e132f13f2cb4851ea59b68c891e3c42af243 Reviewed-on: https://pdfium-review.googlesource.com/31531 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_GrrdProc.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_GrrdProc.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/core/fxcodec/jbig2/JBig2_GrrdProc.h b/core/fxcodec/jbig2/JBig2_GrrdProc.h
index a9a14398fe..6ec3dd0b05 100644
--- a/core/fxcodec/jbig2/JBig2_GrrdProc.h
+++ b/core/fxcodec/jbig2/JBig2_GrrdProc.h
@@ -17,7 +17,7 @@ struct JBig2ArithCtx;
class CJBig2_GRRDProc {
public:
- std::unique_ptr<CJBig2_Image> decode(CJBig2_ArithDecoder* pArithDecoder,
+ std::unique_ptr<CJBig2_Image> Decode(CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* grContext);
uint32_t GRW;
@@ -30,28 +30,28 @@ class CJBig2_GRRDProc {
int8_t GRAT[4];
private:
- std::unique_ptr<CJBig2_Image> decode_Template0_unopt(
+ std::unique_ptr<CJBig2_Image> DecodeTemplate0Unopt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* grContext);
- uint32_t decode_Template0_unopt_CalculateContext(const CJBig2_Image& GRREG,
- const uint32_t* lines,
- uint32_t w,
- uint32_t h) const;
- void decode_Template0_unopt_SetPixel(CJBig2_Image* GRREG,
- uint32_t* lines,
- uint32_t w,
- uint32_t h,
- int bVal);
-
- std::unique_ptr<CJBig2_Image> decode_Template0_opt(
+ uint32_t DecodeTemplate0UnoptCalculateContext(const CJBig2_Image& GRREG,
+ const uint32_t* lines,
+ uint32_t w,
+ uint32_t h) const;
+ void DecodeTemplate0UnoptSetPixel(CJBig2_Image* GRREG,
+ uint32_t* lines,
+ uint32_t w,
+ uint32_t h,
+ int bVal);
+
+ std::unique_ptr<CJBig2_Image> DecodeTemplate0Opt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* grContext);
- std::unique_ptr<CJBig2_Image> decode_Template1_unopt(
+ std::unique_ptr<CJBig2_Image> DecodeTemplate1Unopt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* grContext);
- std::unique_ptr<CJBig2_Image> decode_Template1_opt(
+ std::unique_ptr<CJBig2_Image> DecodeTemplate1Opt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* grContext);
};