Lines Matching refs:p_row
207 unsigned char* p_row; in res_create_display_surface() local
225 p_row = reinterpret_cast<unsigned char*>(malloc(width * 4)); in res_create_display_surface()
227 png_read_row(png_ptr, p_row, NULL); in res_create_display_surface()
228 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width); in res_create_display_surface()
230 free(p_row); in res_create_display_surface()
250 unsigned char* p_row; in res_create_multi_display_surface() local
293 p_row = reinterpret_cast<unsigned char*>(malloc(width * 4)); in res_create_multi_display_surface()
295 png_read_row(png_ptr, p_row, NULL); in res_create_multi_display_surface()
299 transform_rgb_to_draw(p_row, out_row, channels, width); in res_create_multi_display_surface()
301 free(p_row); in res_create_multi_display_surface()
351 unsigned char* p_row; in res_create_alpha_surface() local
354 p_row = surface->data + y * surface->row_bytes; in res_create_alpha_surface()
355 png_read_row(png_ptr, p_row, NULL); in res_create_alpha_surface()