Searched refs:encodedSize (Results 1 – 1 of 1) sorted by relevance
245 png_uint_32 encodedSize = 0; in readPKMFile() local266 encodedSize = etc1_get_encoded_data_size(width, height); in readPKMFile()268 pEncodedData = new png_byte[encodedSize]; in readPKMFile()274 if (fread(pEncodedData, encodedSize, 1, pIn) != 1) { in readPKMFile()317 etc1_uint32 encodedSize = 0; in encode() local327 encodedSize = etc1_get_encoded_data_size(width, height); in encode()328 pEncodedData = new etc1_byte[encodedSize]; in encode()353 if (fwrite(pEncodedData, encodedSize, 1, pOut) != 1) { in encode()