Lines Matching refs:y
98 int x, y, i_buf = 0; in lv_test_assert_img_eq() local
99 for(y = 0; y < p.height; y++) { in lv_test_assert_img_eq()
100 png_byte * row = p.row_pointers[y]; in lv_test_assert_img_eq()
198 int y; in read_png_file() local
199 for(y = 0; y < p->height; y++) in read_png_file()
200 p->row_pointers[y] = (png_byte *) malloc(png_get_rowbytes(p->png_ptr, p->info_ptr)); in read_png_file()
266 for(uint32_t y = 0; y < height; y++) { in write_png_file() local
267 row_pointers[y] = malloc(3 * width); in write_png_file()
268 uint8_t * line = raw_img8 + y * width * 4; in write_png_file()
270 row_pointers[y][x * 3 + 0] = line[x * 4 + 2]; in write_png_file()
271 row_pointers[y][x * 3 + 1] = line[x * 4 + 1]; in write_png_file()
272 row_pointers[y][x * 3 + 2] = line[x * 4 + 0]; in write_png_file()
286 for(uint32_t y = 0; y < height; y++) free(row_pointers[y]); in write_png_file() local
298 int y; in png_release() local
299 for(y = 0; y < p->height; y++) free(p->row_pointers[y]); in png_release()