summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_GrdProc.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-27 19:44:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-27 19:44:18 +0000
commit60ef3a231ba778d6a667068bdbb17f712eb335e4 (patch)
tree77716f69b19eec0f7d2fedbb07035c68d5e65464 /core/fxcodec/jbig2/JBig2_GrdProc.h
parenta8b4400e27c1d7be05b06f71d8bd1d6314fa4adf (diff)
downloadpdfium-60ef3a231ba778d6a667068bdbb17f712eb335e4.tar.xz
Disambiguate methods in CJBig2_GRDProc.
Also remove method parameters that always refer to the same member variables. Change-Id: I9751d63895cc59e5280283795e39b50fd42eef94 Reviewed-on: https://pdfium-review.googlesource.com/31532 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_GrdProc.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_GrdProc.h67
1 files changed, 26 insertions, 41 deletions
diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.h b/core/fxcodec/jbig2/JBig2_GrdProc.h
index 623f8cf24b..30c0fa6b6b 100644
--- a/core/fxcodec/jbig2/JBig2_GrdProc.h
+++ b/core/fxcodec/jbig2/JBig2_GrdProc.h
@@ -52,69 +52,54 @@ class CJBig2_GRDProc {
bool UseTemplate1Opt3() const;
bool UseTemplate23Opt3() const;
- FXCODEC_STATUS DecodeArith(PauseIndicatorIface* pPause,
- CJBig2_ArithDecoder* pArithDecoder);
- FXCODEC_STATUS DecodeArithTemplate0Opt3(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate0Unopt(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate1Opt3(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate1Unopt(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate2Opt3(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate2Unopt(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate3Opt3(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
- FXCODEC_STATUS DecodeArithTemplate3Unopt(CJBig2_Image* pImage,
- CJBig2_ArithDecoder* pArithDecoder,
- JBig2ArithCtx* gbContext,
- PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArith(PauseIndicatorIface* pPause,
+ CJBig2_ArithDecoder* pArithDecoder);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate0Opt3(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate0Unopt(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate1Opt3(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate1Unopt(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate2Opt3(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate2Unopt(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate3Opt3(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
+ FXCODEC_STATUS ProgressiveDecodeArithTemplate3Unopt(
+ CJBig2_ArithDecoder* pArithDecoder,
+ PauseIndicatorIface* pPause);
std::unique_ptr<CJBig2_Image> DecodeArithTemplate0Opt3(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate0Unopt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate1Opt3(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate1Unopt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate2Opt3(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate2Unopt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate3Opt3(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);
-
std::unique_ptr<CJBig2_Image> DecodeArithTemplate3Unopt(
CJBig2_ArithDecoder* pArithDecoder,
JBig2ArithCtx* gbContext);