Searched refs:ihdr (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/usr.sbin/btxld/ |
H A D | btxld.c | 203 struct hdr ihdr, ohdr; local 215 gethdr(fdi[i], &ihdr); 216 if (ihdr.fmt != F_BIN) 218 fmtlist[ihdr.fmt], fmtlist[F_BIN]); 219 ldr_size = ihdr.size; 225 gethdr(fdi[i], &ihdr); 226 if (ihdr.org && ihdr.org != BTX_PGSIZE) 229 ihdr.org, BTX_PGSIZE); 235 ohdr.data = btx.btx_textsz + ihdr [all...] |
/freebsd-13-stable/contrib/pnglite/ |
H A D | pnglite.c | 102 uint8_t ihdr[13+4]; /* length should be 13, make room for type (IHDR) */ local 110 if (file_read(png, ihdr, 1, 13+4) != 13+4) 117 calc_crc = crc32(calc_crc, ihdr, 13+4); 123 png->width = get_ul(ihdr+4); 124 png->height = get_ul(ihdr+8); 125 png->depth = ihdr[12]; 126 png->color_type = ihdr[13]; 127 png->compression_method = ihdr[14]; 128 png->filter_method = ihdr[15]; 129 png->interlace_method = ihdr[1 [all...] |
Completed in 111 milliseconds