Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dimage_enc.c375 uint8_t tiff_header[TIFF_HEADER_SIZE] = { in WebPWriteTIFF() local
411 PutLE32(tiff_header + 10 + 8, width); in WebPWriteTIFF()
412 PutLE32(tiff_header + 22 + 8, height); in WebPWriteTIFF()
413 PutLE32(tiff_header + 106 + 8, height); in WebPWriteTIFF()
414 PutLE32(tiff_header + 118 + 8, width * bytes_per_px * height); in WebPWriteTIFF()
415 if (!has_alpha) PutLE32(tiff_header + 178, 0); // IFD terminator in WebPWriteTIFF()
418 if (fwrite(tiff_header, sizeof(tiff_header), 1, fout) != 1) { in WebPWriteTIFF()

Completed in 4 milliseconds