aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/Pl_TIFFPredictor.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2024-02-03 17:21:35 +0100
committerJay Berkenbilt <ejb@ql.org>2024-02-03 17:21:35 +0100
commitb1ec5ba88333f173888a4dbdaa65e30fe9f557df (patch)
treeaa8aa980ab4b60b7ba353493c1c4de5251fbfea2 /libqpdf/qpdf/Pl_TIFFPredictor.hh
parent3279c21e13a84c9607b5bda38925b520507234a5 (diff)
parentd946ad6c3076073b9950df2ee25304c2d2a999ad (diff)
downloadqpdf-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.hh8
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