Lines Matching refs:add_entry
109 static void add_entry(TiffEncoderContext * s,
136 add_entry(s, tag, type, 1, type == TIFF_SHORT ? (void *)&w : (void *)&dw);
391 add_entry(s, TIFF_BPP, TIFF_SHORT, s->bpp_tab_size, bpp_tab);
395 add_entry(s, TIFF_STRIP_OFFS, TIFF_LONG, strips, strip_offsets);
401 add_entry(s, TIFF_STRIP_SIZE, TIFF_LONG, strips, strip_sizes);
402 add_entry(s, TIFF_XRES, TIFF_RATIONAL, 1, res);
403 add_entry(s, TIFF_YRES, TIFF_RATIONAL, 1, res);
407 add_entry(s, TIFF_SOFTWARE_NAME, TIFF_STRING,
418 add_entry(s, TIFF_PAL, TIFF_SHORT, 256 * 3, pal);
423 add_entry(s, TIFF_YCBCR_SUBSAMPLING, TIFF_SHORT, 2, s->subsampling);
424 add_entry(s, TIFF_REFERENCE_BW, TIFF_RATIONAL, 6, refbw);