Lines Matching refs:rowPointer
288 static inline void FreePngBytep(png_bytep** rowPointer, uint16_t size)
290 png_bytep* tmpRowPointer = *rowPointer;
295 UIFree(*rowPointer);
296 *rowPointer = nullptr;
301 png_bytep* rowPointer = static_cast<png_bytep*>(UIMalloc(sizeof(png_bytep) * height));
302 if (rowPointer == nullptr) {
306 rowPointer[y] = static_cast<png_byte*>(UIMalloc(rowBytes));
307 if (rowPointer[y] == nullptr) {
308 FreePngBytep(&rowPointer, y);
312 return rowPointer;
318 png_bytep* rowPointer = nullptr;
365 rowPointer = MallocPngBytep(height, png_get_rowbytes(png, info));
366 if (rowPointer == nullptr) {
372 png_read_image(png, rowPointer);
378 FreePngBytep(&rowPointer, height);
383 FreePngBytep(&rowPointer, height);
389 png_bytep row = rowPointer[y];
397 FreePngBytep(&rowPointer, height);