Lines Matching refs:pSourceImage
147 etc1_byte* pSourceImage = 0; in read_PNG_File() local
202 pSourceImage = new etc1_byte[stride * height]; in read_PNG_File()
203 if (! pSourceImage) { in read_PNG_File()
209 memcpy(pSourceImage + y * stride, row_pointers[y], stride); in read_PNG_File()
214 *ppImageData = pSourceImage; in read_PNG_File()
219 delete[] pSourceImage; in read_PNG_File()
319 etc1_byte* pSourceImage = 0; in encode() local
323 if (read_PNG_File(pInput, &pSourceImage, &width, &height)) { in encode()
334 etc1_encode_image(pSourceImage, in encode()
374 const etc1_byte* pSrc = pSourceImage; in encode()
395 delete[] pSourceImage; in encode()