Lines Matching refs:ifd

66     tiff_ifd_t ifd;  in tif_pixel_plot()  local
169 ifd.entries = 14; in tif_pixel_plot()
170 ifd.offset = 0; in tif_pixel_plot()
172 ifd.new_subset.tag = 0xfe; in tif_pixel_plot()
173 ifd.new_subset.type = 4; in tif_pixel_plot()
174 ifd.new_subset.count = 1; in tif_pixel_plot()
175 ifd.new_subset.offset = 0; in tif_pixel_plot()
177 ifd.image_width.tag = 0x0100; in tif_pixel_plot()
178 ifd.image_width.type = 3; // SHORT in tif_pixel_plot()
179 ifd.image_width.count = 1; in tif_pixel_plot()
180 ifd.image_width.offset = symbol->bitmap_width; in tif_pixel_plot()
182 ifd.image_length.tag = 0x0101; in tif_pixel_plot()
183 ifd.image_length.type = 3; // SHORT in tif_pixel_plot()
184 ifd.image_length.count = 1; in tif_pixel_plot()
185 ifd.image_length.offset = symbol->bitmap_height; in tif_pixel_plot()
187 ifd.bits_per_sample.tag = 0x0102; in tif_pixel_plot()
188 ifd.bits_per_sample.type = 3; // SHORT in tif_pixel_plot()
189 ifd.bits_per_sample.count = 3; in tif_pixel_plot()
190 ifd.bits_per_sample.offset = free_memory; in tif_pixel_plot()
193 ifd.compression.tag = 0x0103; in tif_pixel_plot()
194 ifd.compression.type = 3; in tif_pixel_plot()
195 ifd.compression.count = 1; in tif_pixel_plot()
196 ifd.compression.offset = 1; // Uncompressed in tif_pixel_plot()
198 ifd.photometric.tag = 0x0106; in tif_pixel_plot()
199 ifd.photometric.type = 3; // SHORT in tif_pixel_plot()
200 ifd.photometric.count = 1; in tif_pixel_plot()
201 ifd.photometric.offset = 2; // RGB Model in tif_pixel_plot()
203 ifd.strip_offsets.tag = 0x0111; in tif_pixel_plot()
204 ifd.strip_offsets.type = 4; // LONG in tif_pixel_plot()
205 ifd.strip_offsets.count = strip_count; in tif_pixel_plot()
206 ifd.strip_offsets.offset = free_memory; in tif_pixel_plot()
209 ifd.samples_per_pixel.tag = 0x0115; in tif_pixel_plot()
210 ifd.samples_per_pixel.type = 3; in tif_pixel_plot()
211 ifd.samples_per_pixel.count = 1; in tif_pixel_plot()
212 ifd.samples_per_pixel.offset = 3; in tif_pixel_plot()
214 ifd.rows_per_strip.tag = 0x0116; in tif_pixel_plot()
215 ifd.rows_per_strip.type = 4; in tif_pixel_plot()
216 ifd.rows_per_strip.count = 1; in tif_pixel_plot()
217 ifd.rows_per_strip.offset = rows_per_strip; in tif_pixel_plot()
219 ifd.strip_byte_counts.tag = 0x0117; in tif_pixel_plot()
220 ifd.strip_byte_counts.type = 4; in tif_pixel_plot()
221 ifd.strip_byte_counts.count = strip_count; in tif_pixel_plot()
222 ifd.strip_byte_counts.offset = free_memory; in tif_pixel_plot()
225 ifd.x_resolution.tag = 0x011a; in tif_pixel_plot()
226 ifd.x_resolution.type = 5; in tif_pixel_plot()
227 ifd.x_resolution.count = 1; in tif_pixel_plot()
228 ifd.x_resolution.offset = free_memory; in tif_pixel_plot()
231 ifd.y_resolution.tag = 0x011b; in tif_pixel_plot()
232 ifd.y_resolution.type = 5; in tif_pixel_plot()
233 ifd.y_resolution.count = 1; in tif_pixel_plot()
234 ifd.y_resolution.offset = free_memory; in tif_pixel_plot()
237 ifd.planar_config.tag = 0x11c; in tif_pixel_plot()
238 ifd.planar_config.type = 3; in tif_pixel_plot()
239 ifd.planar_config.count = 1; in tif_pixel_plot()
240 ifd.planar_config.offset = 1; in tif_pixel_plot()
242 ifd.resolution_unit.tag = 0x0128; in tif_pixel_plot()
243 ifd.resolution_unit.type = 3; in tif_pixel_plot()
244 ifd.resolution_unit.count = 1; in tif_pixel_plot()
245 ifd.resolution_unit.offset = 2; // Inches in tif_pixel_plot()
247 fwrite(&ifd, sizeof(tiff_ifd_t), 1, tif_file); in tif_pixel_plot()