Home
last modified time | relevance | path

Searched refs:tiffentry (Results 1 – 1 of 1) sorted by relevance

/external/tesseract/image/
Dimgtiff.cpp195 TIFFENTRY tiffentry; //tag table entry in open_tif_image() local
235 if (read (fd, (char *) &tiffentry, sizeof tiffentry) != in open_tif_image()
236 sizeof tiffentry) { in open_tif_image()
241 tiffentry.type = reverse16 (tiffentry.type); in open_tif_image()
242 tiffentry.tag = reverse16 (tiffentry.tag); in open_tif_image()
243 tiffentry.length = reverse32 (tiffentry.length); in open_tif_image()
245 if (tiffentry.type != 3) { //Full 32bit value in open_tif_image()
247 tiffentry.value = reverse32 (tiffentry.value); in open_tif_image()
253 tiffentry.value = tiffentry.value >> 16; in open_tif_image()
255 tiffentry.value = reverse32 (tiffentry.value); in open_tif_image()
[all …]