Home
last modified time | relevance | path

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

/development/tools/etc1tool/
Detc1tool.cpp155 static const size_t PNG_HEADER_SIZE = 8; in read_PNG_File() local
156 png_byte pngHeader[PNG_HEADER_SIZE]; in read_PNG_File()
157 if (fread(pngHeader, 1, PNG_HEADER_SIZE, pIn) != PNG_HEADER_SIZE) { in read_PNG_File()
163 if (png_sig_cmp(pngHeader, 0, PNG_HEADER_SIZE)) { in read_PNG_File()
188 png_set_sig_bytes(png_ptr, PNG_HEADER_SIZE); in read_PNG_File()