diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-12-25 16:27:45 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-12-26 00:20:52 +0100 |
commit | 4edfe1f41d386c0fa6043926d761219bdb29e7c0 (patch) | |
tree | dbc7a303c88226360788db0ee3373dcde99910da /libqpdf | |
parent | 38bdbc071973f833cee81508b68737506f138017 (diff) | |
download | qpdf-4edfe1f41d386c0fa6043926d761219bdb29e7c0.tar.zst |
Add tests for new PNG filters
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/Pl_PNGFilter.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libqpdf/Pl_PNGFilter.cc b/libqpdf/Pl_PNGFilter.cc index 5504112e..35ab03f8 100644 --- a/libqpdf/Pl_PNGFilter.cc +++ b/libqpdf/Pl_PNGFilter.cc @@ -1,4 +1,5 @@ #include <qpdf/Pl_PNGFilter.hh> +#include <qpdf/QTC.hh> #include <stdexcept> #include <string.h> #include <limits.h> @@ -134,6 +135,7 @@ Pl_PNGFilter::decodeRow() void Pl_PNGFilter::decodeSub() { + QTC::TC("libtests", "Pl_PNGFilter decodeSub"); unsigned char* buffer = this->cur_row + 1; unsigned int bpp = this->bytes_per_pixel; @@ -153,6 +155,7 @@ Pl_PNGFilter::decodeSub() void Pl_PNGFilter::decodeUp() { + QTC::TC("libtests", "Pl_PNGFilter decodeUp"); unsigned char* buffer = this->cur_row + 1; unsigned char* above_buffer = this->prev_row + 1; @@ -166,6 +169,7 @@ Pl_PNGFilter::decodeUp() void Pl_PNGFilter::decodeAverage() { + QTC::TC("libtests", "Pl_PNGFilter decodeAverage"); unsigned char* buffer = this->cur_row + 1; unsigned char* above_buffer = this->prev_row + 1; unsigned int bpp = this->bytes_per_pixel; @@ -188,6 +192,7 @@ Pl_PNGFilter::decodeAverage() void Pl_PNGFilter::decodePaeth() { + QTC::TC("libtests", "Pl_PNGFilter decodePaeth"); unsigned char* buffer = this->cur_row + 1; unsigned char* above_buffer = this->prev_row + 1; unsigned int bpp = this->bytes_per_pixel; |