Debian Codegraph @

cvd_src/image_io/missing_png.cxx

raw symbols SCIP
1 #include "cvd/internal/io/png.h"
2
3 using namespace CVD;
4
5 class CVD::PNG::PNGPimpl
6 {
7 };
8
9 namespace
10 {
11 [[noreturn]] void error()
12 {
13 throw Exceptions::Image_IO::MissingImageType("TIFF");
14 }
15 }
16
17 CVD::PNG::Reader::Reader(std::istream&)
18 {
19 error();
20 }
21
22 CVD::PNG::Reader::~Reader()
23 {
24 }
25
26 std::string CVD::PNG::Reader::datatype()
27 {
28 error();
29 }
30
31 std::string CVD::PNG::Reader::name()
32 {
33 error();
34 }
35
36 bool CVD::PNG::Reader::top_row_first()
37 {
38 error();
39 };
40
41 ImageRef CVD::PNG::Reader::size()
42 {
43 error();
44 };
45
46 #define GEN1(X) \
47 void CVD::PNG::Reader::get_raw_pixel_line(X* d) { error(); }
48 #define GEN3(X) \
49 GEN1(X) \
50 GEN1(Rgb<X>) \
51 GEN1(Rgba<X>)
52 GEN1(bool)
53 GEN3(unsigned char)
54 GEN3(unsigned short)
55
56 class CVD::PNG::WriterPimpl
57 {
58 };
59
60 CVD::PNG::png_writer::png_writer(std::ostream&, ImageRef, const std::string&, const std::map<std::string, Parameter<>>&)
61 {
62 error();
63 }
64
65 CVD::PNG::png_writer::~png_writer()
66 {
67 }
68 #undef GEN1
69 #define GEN1(X) \
70 void CVD::PNG::png_writer::write_raw_pixel_line(const X* d) { error(); }
71 GEN1(bool);
72 GEN1(Rgb8)
73 GEN3(unsigned char)
74 GEN3(unsigned short)