35#include "ramCanvas.hpp"
40 std::cout <<
"mjr::ramCanvas1c8b" << std::endl;
41 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorType) " <<
sizeof(mjr::ramCanvas1c8b::colorType) << std::endl;
42 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorChanType) " <<
sizeof(mjr::ramCanvas1c8b::colorChanType) << std::endl;
43 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorMaskType) " <<
sizeof(mjr::ramCanvas1c8b::colorMaskType) << std::endl;
44 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorChanArithDType) " <<
sizeof(mjr::ramCanvas1c8b::colorChanArithDType) << std::endl;
45 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorChanArithSPType) " <<
sizeof(mjr::ramCanvas1c8b::colorChanArithSPType) << std::endl;
46 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorChanArithSDPType) " <<
sizeof(mjr::ramCanvas1c8b::colorChanArithSDPType) << std::endl;
47 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorChanArithFltType) " <<
sizeof(mjr::ramCanvas1c8b::colorChanArithFltType) << std::endl;
48 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorChanArithLogType) " <<
sizeof(mjr::ramCanvas1c8b::colorChanArithLogType) << std::endl;
49 std::cout <<
"sizeof(mjr::ramCanvas1c8b::colorPtrType) " <<
sizeof(mjr::ramCanvas1c8b::colorPtrType) << std::endl;
50 std::cout <<
"mjr::ramCanvas1c8b::colorType::bitsPerChan " << (int)mjr::ramCanvas1c8b::colorType::bitsPerChan << std::endl;
51 std::cout <<
"mjr::ramCanvas1c8b::colorType::bitsPerPixel " << (int)mjr::ramCanvas1c8b::colorType::bitsPerPixel << std::endl;
52 std::cout <<
"mjr::ramCanvas1c8b::colorType::chanIsInt " << (int)mjr::ramCanvas1c8b::colorType::chanIsInt << std::endl;
53 std::cout <<
"mjr::ramCanvas1c8b::colorType::chanIsUnsigned " << (int)mjr::ramCanvas1c8b::colorType::chanIsUnsigned << std::endl;
54 std::cout <<
"mjr::ramCanvas1c8b::colorType::chanIsByte " << (int)mjr::ramCanvas1c8b::colorType::chanIsByte << std::endl;
55 std::cout <<
"mjr::ramCanvas1c8b::colorType::chanIsDouble " << (int)mjr::ramCanvas1c8b::colorType::chanIsDouble << std::endl;
56 std::cout <<
"mjr::ramCanvas1c8b::colorType::sizeOfColor " << (int)mjr::ramCanvas1c8b::colorType::sizeOfColor << std::endl;
57 std::cout <<
"mjr::ramCanvas1c8b::colorType::ptrIsSmaller " << (int)mjr::ramCanvas1c8b::colorType::ptrIsSmaller << std::endl;
58 std::cout <<
"mjr::ramCanvas1c8b::colorType::goodMask " << (int)mjr::ramCanvas1c8b::colorType::goodMask << std::endl;
59 std::cout <<
"mjr::ramCanvas1c8b::colorType::goodArithD " << (int)mjr::ramCanvas1c8b::colorType::goodArithD << std::endl;
60 std::cout <<
"mjr::ramCanvas1c8b::colorType::goodArithSP " << (int)mjr::ramCanvas1c8b::colorType::goodArithSP << std::endl;
61 std::cout <<
"mjr::ramCanvas1c8b::colorType::goodArithSDP " << (int)mjr::ramCanvas1c8b::colorType::goodArithSDP << std::endl;
62 std::cout <<
"mjr::ramCanvas1c8b::colorType::goodArithFlt " << (int)mjr::ramCanvas1c8b::colorType::goodArithFlt << std::endl;
63 std::cout <<
"mjr::ramCanvas1c8b::colorType::goodArithLog " << (int)mjr::ramCanvas1c8b::colorType::goodArithLog << std::endl;
64 std::cout <<
"mjr::ramCanvas1c8b::colorType::maxChanVal " << (int)mjr::ramCanvas1c8b::colorType::maxChanVal << std::endl;
65 std::cout <<
"mjr::ramCanvas1c8b::colorType::minChanVal " << (int)mjr::ramCanvas1c8b::colorType::minChanVal << std::endl;
66 std::cout <<
"mjr::ramCanvas1c8b::colorType::meanChanVal " << (int)mjr::ramCanvas1c8b::colorType::meanChanVal << std::endl;
67 std::cout <<
"mjr::ramCanvas1c8b::colorType::channelCount " << (int)mjr::ramCanvas1c8b::colorType::channelCount << std::endl;
69 std::cout <<
"mjr::ramCanvas3c8b" << std::endl;
70 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorType) " <<
sizeof(mjr::ramCanvas3c8b::colorType) << std::endl;
71 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorChanType) " <<
sizeof(mjr::ramCanvas3c8b::colorChanType) << std::endl;
72 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorMaskType) " <<
sizeof(mjr::ramCanvas3c8b::colorMaskType) << std::endl;
73 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorChanArithDType) " <<
sizeof(mjr::ramCanvas3c8b::colorChanArithDType) << std::endl;
74 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorChanArithSPType) " <<
sizeof(mjr::ramCanvas3c8b::csIntType) << std::endl;
75 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorChanArithSDPType) " <<
sizeof(mjr::ramCanvas3c8b::colorChanArithSDPType) << std::endl;
76 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorChanArithFltType) " <<
sizeof(mjr::ramCanvas3c8b::colorChanArithFltType) << std::endl;
77 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorChanArithLogType) " <<
sizeof(mjr::ramCanvas3c8b::colorChanArithLogType) << std::endl;
78 std::cout <<
"sizeof(mjr::ramCanvas3c8b::colorPtrType) " <<
sizeof(mjr::ramCanvas3c8b::colorPtrType) << std::endl;
79 std::cout <<
"mjr::ramCanvas3c8b::colorType::bitsPerChan " << (int)mjr::ramCanvas3c8b::colorType::bitsPerChan << std::endl;
80 std::cout <<
"mjr::ramCanvas3c8b::colorType::bitsPerPixel " << (int)mjr::ramCanvas3c8b::colorType::bitsPerPixel << std::endl;
81 std::cout <<
"mjr::ramCanvas3c8b::colorType::chanIsInt " << (int)mjr::ramCanvas3c8b::colorType::chanIsInt << std::endl;
82 std::cout <<
"mjr::ramCanvas3c8b::colorType::chanIsUnsigned " << (int)mjr::ramCanvas3c8b::colorType::chanIsUnsigned << std::endl;
83 std::cout <<
"mjr::ramCanvas3c8b::colorType::chanIsByte " << (int)mjr::ramCanvas3c8b::colorType::chanIsByte << std::endl;
84 std::cout <<
"mjr::ramCanvas3c8b::colorType::chanIsDouble " << (int)mjr::ramCanvas3c8b::colorType::chanIsDouble << std::endl;
85 std::cout <<
"mjr::ramCanvas3c8b::colorType::sizeOfColor " << (int)mjr::ramCanvas3c8b::colorType::sizeOfColor << std::endl;
86 std::cout <<
"mjr::ramCanvas3c8b::colorType::ptrIsSmaller " << (int)mjr::ramCanvas3c8b::colorType::ptrIsSmaller << std::endl;
87 std::cout <<
"mjr::ramCanvas3c8b::colorType::goodMask " << (int)mjr::ramCanvas3c8b::colorType::goodMask << std::endl;
88 std::cout <<
"mjr::ramCanvas3c8b::colorType::goodArithD " << (int)mjr::ramCanvas3c8b::colorType::goodArithD << std::endl;
89 std::cout <<
"mjr::ramCanvas3c8b::colorType::goodArithSP " << (int)mjr::ramCanvas3c8b::colorType::goodArithSP << std::endl;
90 std::cout <<
"mjr::ramCanvas3c8b::colorType::goodArithSDP " << (int)mjr::ramCanvas3c8b::colorType::goodArithSDP << std::endl;
91 std::cout <<
"mjr::ramCanvas3c8b::colorType::goodArithFlt " << (int)mjr::ramCanvas3c8b::colorType::goodArithFlt << std::endl;
92 std::cout <<
"mjr::ramCanvas3c8b::colorType::goodArithLog " << (int)mjr::ramCanvas3c8b::colorType::goodArithLog << std::endl;
93 std::cout <<
"mjr::ramCanvas3c8b::colorType::maxChanVal " << (int)mjr::ramCanvas3c8b::colorType::maxChanVal << std::endl;
94 std::cout <<
"mjr::ramCanvas3c8b::colorType::minChanVal " << (int)mjr::ramCanvas3c8b::colorType::minChanVal << std::endl;
95 std::cout <<
"mjr::ramCanvas3c8b::colorType::meanChanVal " << (int)mjr::ramCanvas3c8b::colorType::meanChanVal << std::endl;
96 std::cout <<
"mjr::ramCanvas3c8b::colorType::channelCount " << (int)mjr::ramCanvas3c8b::colorType::channelCount << std::endl;
98 std::cout <<
"mjr::ramCanvas3c16b" << std::endl;
99 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorType) " <<
sizeof(mjr::ramCanvas3c16b::colorType) << std::endl;
100 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorChanType) " <<
sizeof(mjr::ramCanvas3c16b::colorChanType) << std::endl;
101 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorMaskType) " <<
sizeof(mjr::ramCanvas3c16b::colorMaskType) << std::endl;
102 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorChanArithDType) " <<
sizeof(mjr::ramCanvas3c16b::colorChanArithDType) << std::endl;
103 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorChanArithSPType) " <<
sizeof(mjr::ramCanvas3c16b::colorChanArithSPType) << std::endl;
104 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorChanArithSDPType) " <<
sizeof(mjr::ramCanvas3c16b::colorChanArithSDPType) << std::endl;
105 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorChanArithFltType) " <<
sizeof(mjr::ramCanvas3c16b::colorChanArithFltType) << std::endl;
106 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorChanArithLogType) " <<
sizeof(mjr::ramCanvas3c16b::colorChanArithLogType) << std::endl;
107 std::cout <<
"sizeof(mjr::ramCanvas3c16b::colorPtrType) " <<
sizeof(mjr::ramCanvas3c16b::colorPtrType) << std::endl;
108 std::cout <<
"mjr::ramCanvas3c16b::colorType::bitsPerChan " << (int)mjr::ramCanvas3c16b::colorType::bitsPerChan << std::endl;
109 std::cout <<
"mjr::ramCanvas3c16b::colorType::bitsPerPixel " << (int)mjr::ramCanvas3c16b::colorType::bitsPerPixel << std::endl;
110 std::cout <<
"mjr::ramCanvas3c16b::colorType::chanIsInt " << (int)mjr::ramCanvas3c16b::colorType::chanIsInt << std::endl;
111 std::cout <<
"mjr::ramCanvas3c16b::colorType::chanIsUnsigned " << (int)mjr::ramCanvas3c16b::colorType::chanIsUnsigned << std::endl;
112 std::cout <<
"mjr::ramCanvas3c16b::colorType::chanIsByte " << (int)mjr::ramCanvas3c16b::colorType::chanIsByte << std::endl;
113 std::cout <<
"mjr::ramCanvas3c16b::colorType::chanIsDouble " << (int)mjr::ramCanvas3c16b::colorType::chanIsDouble << std::endl;
114 std::cout <<
"mjr::ramCanvas3c16b::colorType::sizeOfColor " << (int)mjr::ramCanvas3c16b::colorType::sizeOfColor << std::endl;
115 std::cout <<
"mjr::ramCanvas3c16b::colorType::ptrIsSmaller " << (int)mjr::ramCanvas3c16b::colorType::ptrIsSmaller << std::endl;
116 std::cout <<
"mjr::ramCanvas3c16b::colorType::goodMask " << (int)mjr::ramCanvas3c16b::colorType::goodMask << std::endl;
117 std::cout <<
"mjr::ramCanvas3c16b::colorType::goodArithD " << (int)mjr::ramCanvas3c16b::colorType::goodArithD << std::endl;
118 std::cout <<
"mjr::ramCanvas3c16b::colorType::goodArithSP " << (int)mjr::ramCanvas3c16b::colorType::goodArithSP << std::endl;
119 std::cout <<
"mjr::ramCanvas3c16b::colorType::goodArithSDP " << (int)mjr::ramCanvas3c16b::colorType::goodArithSDP << std::endl;
120 std::cout <<
"mjr::ramCanvas3c16b::colorType::goodArithFlt " << (int)mjr::ramCanvas3c16b::colorType::goodArithFlt << std::endl;
121 std::cout <<
"mjr::ramCanvas3c16b::colorType::goodArithLog " << (int)mjr::ramCanvas3c16b::colorType::goodArithLog << std::endl;
122 std::cout <<
"mjr::ramCanvas3c16b::colorType::maxChanVal " << (int)mjr::ramCanvas3c16b::colorType::maxChanVal << std::endl;
123 std::cout <<
"mjr::ramCanvas3c16b::colorType::minChanVal " << (int)mjr::ramCanvas3c16b::colorType::minChanVal << std::endl;
124 std::cout <<
"mjr::ramCanvas3c16b::colorType::meanChanVal " << (int)mjr::ramCanvas3c16b::colorType::meanChanVal << std::endl;
125 std::cout <<
"mjr::ramCanvas3c16b::colorType::channelCount " << (int)mjr::ramCanvas3c16b::colorType::channelCount << std::endl;
127 std::cout <<
"mjr::ramCanvas4c32F" << std::endl;
128 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorType) " <<
sizeof(mjr::ramCanvas4c32F::colorType) << std::endl;
129 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorChanType) " <<
sizeof(mjr::ramCanvas4c32F::colorChanType) << std::endl;
130 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorMaskType) " <<
sizeof(mjr::ramCanvas4c32F::colorMaskType) << std::endl;
131 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorChanArithDType) " <<
sizeof(mjr::ramCanvas4c32F::colorChanArithDType) << std::endl;
132 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorChanArithSPType) " <<
sizeof(mjr::ramCanvas4c32F::colorChanArithSPType) << std::endl;
133 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorChanArithSDPType) " <<
sizeof(mjr::ramCanvas4c32F::colorChanArithSDPType) << std::endl;
134 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorChanArithFltType) " <<
sizeof(mjr::ramCanvas4c32F::colorChanArithFltType) << std::endl;
135 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorChanArithLogType) " <<
sizeof(mjr::ramCanvas4c32F::colorChanArithLogType) << std::endl;
136 std::cout <<
"sizeof(mjr::ramCanvas4c32F::colorPtrType) " <<
sizeof(mjr::ramCanvas4c32F::colorPtrType) << std::endl;
137 std::cout <<
"mjr::ramCanvas4c32F::colorType::bitsPerChan " << (int)mjr::ramCanvas4c32F::colorType::bitsPerChan << std::endl;
138 std::cout <<
"mjr::ramCanvas4c32F::colorType::bitsPerPixel " << (int)mjr::ramCanvas4c32F::colorType::bitsPerPixel << std::endl;
139 std::cout <<
"mjr::ramCanvas4c32F::colorType::chanIsInt " << (int)mjr::ramCanvas4c32F::colorType::chanIsInt << std::endl;
140 std::cout <<
"mjr::ramCanvas4c32F::colorType::chanIsUnsigned " << (int)mjr::ramCanvas4c32F::colorType::chanIsUnsigned << std::endl;
141 std::cout <<
"mjr::ramCanvas4c32F::colorType::chanIsByte " << (int)mjr::ramCanvas4c32F::colorType::chanIsByte << std::endl;
142 std::cout <<
"mjr::ramCanvas4c32F::colorType::chanIsDouble " << (int)mjr::ramCanvas4c32F::colorType::chanIsDouble << std::endl;
143 std::cout <<
"mjr::ramCanvas4c32F::colorType::sizeOfColor " << (int)mjr::ramCanvas4c32F::colorType::sizeOfColor << std::endl;
144 std::cout <<
"mjr::ramCanvas4c32F::colorType::ptrIsSmaller " << (int)mjr::ramCanvas4c32F::colorType::ptrIsSmaller << std::endl;
145 std::cout <<
"mjr::ramCanvas4c32F::colorType::goodMask " << (int)mjr::ramCanvas4c32F::colorType::goodMask << std::endl;
146 std::cout <<
"mjr::ramCanvas4c32F::colorType::goodArithD " << (int)mjr::ramCanvas4c32F::colorType::goodArithD << std::endl;
147 std::cout <<
"mjr::ramCanvas4c32F::colorType::goodArithSP " << (int)mjr::ramCanvas4c32F::colorType::goodArithSP << std::endl;
148 std::cout <<
"mjr::ramCanvas4c32F::colorType::goodArithSDP " << (int)mjr::ramCanvas4c32F::colorType::goodArithSDP << std::endl;
149 std::cout <<
"mjr::ramCanvas4c32F::colorType::goodArithFlt " << (int)mjr::ramCanvas4c32F::colorType::goodArithFlt << std::endl;
150 std::cout <<
"mjr::ramCanvas4c32F::colorType::goodArithLog " << (int)mjr::ramCanvas4c32F::colorType::goodArithLog << std::endl;
151 std::cout <<
"mjr::ramCanvas4c32F::colorType::maxChanVal " << (int)mjr::ramCanvas4c32F::colorType::maxChanVal << std::endl;
152 std::cout <<
"mjr::ramCanvas4c32F::colorType::minChanVal " << (int)mjr::ramCanvas4c32F::colorType::minChanVal << std::endl;
153 std::cout <<
"mjr::ramCanvas4c32F::colorType::meanChanVal " << (int)mjr::ramCanvas4c32F::colorType::meanChanVal << std::endl;
154 std::cout <<
"mjr::ramCanvas4c32F::colorType::channelCount " << (int)mjr::ramCanvas4c32F::colorType::channelCount << std::endl;
156 std::cout <<
"mjr::ramCanvas4c64F" << std::endl;
157 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorType) " <<
sizeof(mjr::ramCanvas4c64F::colorType) << std::endl;
158 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorChanType) " <<
sizeof(mjr::ramCanvas4c64F::colorChanType) << std::endl;
159 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorMaskType) " <<
sizeof(mjr::ramCanvas4c64F::colorMaskType) << std::endl;
160 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorChanArithDType) " <<
sizeof(mjr::ramCanvas4c64F::colorChanArithDType) << std::endl;
161 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorChanArithSPType) " <<
sizeof(mjr::ramCanvas4c64F::colorChanArithSPType) << std::endl;
162 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorChanArithSDPType) " <<
sizeof(mjr::ramCanvas4c64F::colorChanArithSDPType) << std::endl;
163 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorChanArithFltType) " <<
sizeof(mjr::ramCanvas4c64F::colorChanArithFltType) << std::endl;
164 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorChanArithLogType) " <<
sizeof(mjr::ramCanvas4c64F::colorChanArithLogType) << std::endl;
165 std::cout <<
"sizeof(mjr::ramCanvas4c64F::colorPtrType) " <<
sizeof(mjr::ramCanvas4c64F::colorPtrType) << std::endl;
166 std::cout <<
"mjr::ramCanvas4c64F::colorType::bitsPerChan " << (int)mjr::ramCanvas4c64F::colorType::bitsPerChan << std::endl;
167 std::cout <<
"mjr::ramCanvas4c64F::colorType::bitsPerPixel " << (int)mjr::ramCanvas4c64F::colorType::bitsPerPixel << std::endl;
168 std::cout <<
"mjr::ramCanvas4c64F::colorType::chanIsInt " << (int)mjr::ramCanvas4c64F::colorType::chanIsInt << std::endl;
169 std::cout <<
"mjr::ramCanvas4c64F::colorType::chanIsUnsigned " << (int)mjr::ramCanvas4c64F::colorType::chanIsUnsigned << std::endl;
170 std::cout <<
"mjr::ramCanvas4c64F::colorType::chanIsByte " << (int)mjr::ramCanvas4c64F::colorType::chanIsByte << std::endl;
171 std::cout <<
"mjr::ramCanvas4c64F::colorType::chanIsDouble " << (int)mjr::ramCanvas4c64F::colorType::chanIsDouble << std::endl;
172 std::cout <<
"mjr::ramCanvas4c64F::colorType::sizeOfColor " << (int)mjr::ramCanvas4c64F::colorType::sizeOfColor << std::endl;
173 std::cout <<
"mjr::ramCanvas4c64F::colorType::ptrIsSmaller " << (int)mjr::ramCanvas4c64F::colorType::ptrIsSmaller << std::endl;
174 std::cout <<
"mjr::ramCanvas4c64F::colorType::goodMask " << (int)mjr::ramCanvas4c64F::colorType::goodMask << std::endl;
175 std::cout <<
"mjr::ramCanvas4c64F::colorType::goodArithD " << (int)mjr::ramCanvas4c64F::colorType::goodArithD << std::endl;
176 std::cout <<
"mjr::ramCanvas4c64F::colorType::goodArithSP " << (int)mjr::ramCanvas4c64F::colorType::goodArithSP << std::endl;
177 std::cout <<
"mjr::ramCanvas4c64F::colorType::goodArithSDP " << (int)mjr::ramCanvas4c64F::colorType::goodArithSDP << std::endl;
178 std::cout <<
"mjr::ramCanvas4c64F::colorType::goodArithFlt " << (int)mjr::ramCanvas4c64F::colorType::goodArithFlt << std::endl;
179 std::cout <<
"mjr::ramCanvas4c64F::colorType::goodArithLog " << (int)mjr::ramCanvas4c64F::colorType::goodArithLog << std::endl;
180 std::cout <<
"mjr::ramCanvas4c64F::colorType::maxChanVal " << (int)mjr::ramCanvas4c64F::colorType::maxChanVal << std::endl;
181 std::cout <<
"mjr::ramCanvas4c64F::colorType::minChanVal " << (int)mjr::ramCanvas4c64F::colorType::minChanVal << std::endl;
182 std::cout <<
"mjr::ramCanvas4c64F::colorType::meanChanVal " << (int)mjr::ramCanvas4c64F::colorType::meanChanVal << std::endl;
183 std::cout <<
"mjr::ramCanvas4c64F::colorType::channelCount " << (int)mjr::ramCanvas4c64F::colorType::channelCount << std::endl;
int main(int argc, char *argv[])