diff options
author | Jay Berkenbilt <ejb@ql.org> | 2024-02-03 17:21:35 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2024-02-03 17:21:35 +0100 |
commit | b1ec5ba88333f173888a4dbdaa65e30fe9f557df (patch) | |
tree | aa8aa980ab4b60b7ba353493c1c4de5251fbfea2 /libqpdf/qpdf/Pl_TIFFPredictor.hh | |
parent | 3279c21e13a84c9607b5bda38925b520507234a5 (diff) | |
parent | d946ad6c3076073b9950df2ee25304c2d2a999ad (diff) | |
download | qpdf-b1ec5ba88333f173888a4dbdaa65e30fe9f557df.tar.zst |
Merge branch 'fz' of github.com:m-holger/qpdf into fz
Diffstat (limited to 'libqpdf/qpdf/Pl_TIFFPredictor.hh')
-rw-r--r-- | libqpdf/qpdf/Pl_TIFFPredictor.hh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libqpdf/qpdf/Pl_TIFFPredictor.hh b/libqpdf/qpdf/Pl_TIFFPredictor.hh index 21757593..276ed54d 100644 --- a/libqpdf/qpdf/Pl_TIFFPredictor.hh +++ b/libqpdf/qpdf/Pl_TIFFPredictor.hh @@ -6,6 +6,8 @@ #include <qpdf/Pipeline.hh> +#include<vector> + class Pl_TIFFPredictor: public Pipeline { public: @@ -31,8 +33,10 @@ class Pl_TIFFPredictor: public Pipeline unsigned int bytes_per_row; unsigned int samples_per_pixel; unsigned int bits_per_sample; - std::shared_ptr<unsigned char> cur_row; - size_t pos; + std::vector<unsigned char> cur_row; + std::vector<long long> previous; + std::vector<unsigned char> out; + Pipeline* p_next; }; #endif // PL_TIFFPREDICTOR_HH |