aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/SF_DCTDecode.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-02 23:14:10 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-04 14:10:40 +0200
commit12f1eb15ca3fed6310402847559a7c99d3c77847 (patch)
tree8935675b623c6f3b4914b8b44f7fa5f2816a9241 /libqpdf/qpdf/SF_DCTDecode.hh
parentf20fa61eb4c323eb1642c69c236b3d9a1f8b2cdb (diff)
downloadqpdf-12f1eb15ca3fed6310402847559a7c99d3c77847.tar.zst
Programmatically apply new formatting to code
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done
Diffstat (limited to 'libqpdf/qpdf/SF_DCTDecode.hh')
-rw-r--r--libqpdf/qpdf/SF_DCTDecode.hh16
1 files changed, 10 insertions, 6 deletions
diff --git a/libqpdf/qpdf/SF_DCTDecode.hh b/libqpdf/qpdf/SF_DCTDecode.hh
index 28aa42c1..f9b1af3a 100644
--- a/libqpdf/qpdf/SF_DCTDecode.hh
+++ b/libqpdf/qpdf/SF_DCTDecode.hh
@@ -1,9 +1,9 @@
-#include <qpdf/QPDFStreamFilter.hh>
#include <qpdf/Pl_DCT.hh>
+#include <qpdf/QPDFStreamFilter.hh>
#include <memory>
#ifndef SF_DCTDECODE_HH
-#define SF_DCTDECODE_HH
+# define SF_DCTDECODE_HH
class SF_DCTDecode: public QPDFStreamFilter
{
@@ -11,23 +11,27 @@ class SF_DCTDecode: public QPDFStreamFilter
SF_DCTDecode() = default;
virtual ~SF_DCTDecode() = default;
- virtual Pipeline* getDecodePipeline(Pipeline* next) override
+ virtual Pipeline*
+ getDecodePipeline(Pipeline* next) override
{
this->pipeline = std::make_shared<Pl_DCT>("DCT decode", next);
return this->pipeline.get();
}
- static std::shared_ptr<QPDFStreamFilter> factory()
+ static std::shared_ptr<QPDFStreamFilter>
+ factory()
{
return std::make_shared<SF_DCTDecode>();
}
- virtual bool isSpecializedCompression() override
+ virtual bool
+ isSpecializedCompression() override
{
return true;
}
- virtual bool isLossyCompression() override
+ virtual bool
+ isLossyCompression() override
{
return true;
}