Lines Matching refs:height
38 int width, height; member
52 static int write_png_file(void * raw_img, uint32_t width, uint32_t height, char * file_name);
99 for(y = 0; y < p.height; y++) { in lv_test_assert_img_eq()
184 p->height = png_get_image_height(p->png_ptr, p->info_ptr); in read_png_file()
196 p->row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * p->height); in read_png_file()
199 for(y = 0; y < p->height; y++) in read_png_file()
209 static int write_png_file(void * raw_img, uint32_t width, uint32_t height, char * file_name) in write_png_file() argument
251 png_set_IHDR(png_ptr, info_ptr, width, height, in write_png_file()
265 png_bytep * row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * height); in write_png_file()
266 for(uint32_t y = 0; y < height; y++) { in write_png_file()
286 for(uint32_t y = 0; y < height; y++) free(row_pointers[y]); in write_png_file()
299 for(y = 0; y < p->height; y++) free(p->row_pointers[y]); in png_release()