diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-27 17:06:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-27 17:06:58 +0000 |
commit | 3241bb3e98c0b327bbd5b0dc02621e6105cf37a9 (patch) | |
tree | d015e3cb2d52c3438dd7795ec07fe2749daddfca /core/fxcodec/jbig2/JBig2_PddProc.cpp | |
parent | 61f66c9be2abf4f2a5f8bc299ad6e1900c63dbc3 (diff) | |
download | pdfium-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_PddProc.cpp')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_PddProc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxcodec/jbig2/JBig2_PddProc.cpp b/core/fxcodec/jbig2/JBig2_PddProc.cpp index 68963dc584..18c50ef4cd 100644 --- a/core/fxcodec/jbig2/JBig2_PddProc.cpp +++ b/core/fxcodec/jbig2/JBig2_PddProc.cpp @@ -13,7 +13,7 @@ #include "core/fxcodec/jbig2/JBig2_PatternDict.h" #include "third_party/base/ptr_util.h" -std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::decode_Arith( +std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::DecodeArith( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* gbContext, PauseIndicatorIface* pPause) { @@ -39,9 +39,9 @@ std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::decode_Arith( pGRD->GBAT[7] = -2; } FXCODEC_STATUS status = - pGRD->Start_decode_Arith(&BHDC, pArithDecoder, gbContext, nullptr); + pGRD->StartDecodeArith(&BHDC, pArithDecoder, gbContext, nullptr); while (status == FXCODEC_STATUS_DECODE_TOBECONTINUE) - status = pGRD->Continue_decode(pPause, pArithDecoder); + status = pGRD->ContinueDecode(pPause, pArithDecoder); if (!BHDC) return nullptr; @@ -53,7 +53,7 @@ std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::decode_Arith( return pDict; } -std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::decode_MMR( +std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::DecodeMMR( CJBig2_BitStream* pStream) { uint32_t GRAY; std::unique_ptr<CJBig2_Image> BHDC; @@ -63,7 +63,7 @@ std::unique_ptr<CJBig2_PatternDict> CJBig2_PDDProc::decode_MMR( pGRD->MMR = HDMMR; pGRD->GBW = (GRAYMAX + 1) * HDPW; pGRD->GBH = HDPH; - pGRD->Start_decode_MMR(&BHDC, pStream); + pGRD->StartDecodeMMR(&BHDC, pStream); if (!BHDC) return nullptr; |