#include #include #include #ifndef SF_DCTDECODE_HH #define SF_DCTDECODE_HH class SF_DCTDecode: public QPDFStreamFilter { public: SF_DCTDecode() = default; virtual ~SF_DCTDecode() = default; virtual Pipeline* getDecodePipeline(Pipeline* next) override { this->pipeline = std::make_shared("DCT decode", next); return this->pipeline.get(); } static std::shared_ptr factory() { return std::make_shared(); } virtual bool isSpecializedCompression() override { return true; } virtual bool isLossyCompression() override { return true; } private: std::shared_ptr pipeline; }; #endif // SF_DCTDECODE_HH