diff options
author | Nicolas Pena <npm@chromium.org> | 2018-07-27 19:52:46 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-27 19:52:46 +0000 |
commit | 6146214d30ab16825908fe6ef96cb6d597cc3ca9 (patch) | |
tree | 52aa8525835709471d51546ec08ed568835a43d7 /core/fxcodec/jbig2/JBig2_GrdProc.h | |
parent | d72fd5888686f217fe90cb506eb26bd87de649a0 (diff) | |
download | pdfium-chromium/3505.tar.xz |
Merge several methods into JBig2GrdProc::DecodeArithTemplateUnoptchromium/3505
This CL merges DecodeArithTemplateXUnopt for X=0,1,2. This is similar to
how three methods were merged into DecodeArithOpt3.
Change-Id: Ib0d4f14de6a8c924517d82eaec7577961503a325
Reviewed-on: https://pdfium-review.googlesource.com/38935
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_GrdProc.h')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_GrdProc.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.h b/core/fxcodec/jbig2/JBig2_GrdProc.h index fddb424415..0ee52512d9 100644 --- a/core/fxcodec/jbig2/JBig2_GrdProc.h +++ b/core/fxcodec/jbig2/JBig2_GrdProc.h @@ -77,15 +77,10 @@ class CJBig2_GRDProc { CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* gbContext, int OPT); - std::unique_ptr<CJBig2_Image> DecodeArithTemplate0Unopt( + std::unique_ptr<CJBig2_Image> DecodeArithTemplateUnopt( CJBig2_ArithDecoder* pArithDecoder, - JBig2ArithCtx* gbContext); - std::unique_ptr<CJBig2_Image> DecodeArithTemplate1Unopt( - CJBig2_ArithDecoder* pArithDecoder, - JBig2ArithCtx* gbContext); - std::unique_ptr<CJBig2_Image> DecodeArithTemplate2Unopt( - CJBig2_ArithDecoder* pArithDecoder, - JBig2ArithCtx* gbContext); + JBig2ArithCtx* gbContext, + int UNOPT); std::unique_ptr<CJBig2_Image> DecodeArithTemplate3Opt3( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* gbContext); |