Home
last modified time | relevance | path

Searched refs:png_ptr (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4xxx/hwc/
Dhwc.c1588 png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in load_png_image() local
1589 if (!png_ptr) in load_png_image()
1591 png_infop info_ptr = png_create_info_struct(png_ptr); in load_png_image()
1595 if (setjmp(png_jmpbuf(png_ptr))) in load_png_image()
1598 png_init_io(png_ptr, fd); in load_png_image()
1599 png_set_sig_bytes(png_ptr, SIZE_PNG_HEADER); in load_png_image()
1600 png_set_user_limits(png_ptr, limits.max_width, limits.max_height); in load_png_image()
1601 png_read_info(png_ptr, info_ptr); in load_png_image()
1603 __u8 bit_depth = png_get_bit_depth(png_ptr, info_ptr); in load_png_image()
1604 __u32 width = png_get_image_width(png_ptr, info_ptr); in load_png_image()
[all …]
/hardware/ti/omap4-aah/hwc/
Dhwc.c2144 png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in load_png_image() local
2145 if (!png_ptr) in load_png_image()
2147 png_infop info_ptr = png_create_info_struct(png_ptr); in load_png_image()
2151 if (setjmp(png_jmpbuf(png_ptr))) in load_png_image()
2154 png_init_io(png_ptr, fd); in load_png_image()
2155 png_set_sig_bytes(png_ptr, SIZE_PNG_HEADER); in load_png_image()
2156 png_set_user_limits(png_ptr, limits.max_width, limits.max_height); in load_png_image()
2157 png_read_info(png_ptr, info_ptr); in load_png_image()
2159 __u8 bit_depth = png_get_bit_depth(png_ptr, info_ptr); in load_png_image()
2160 __u32 width = png_get_image_width(png_ptr, info_ptr); in load_png_image()
[all …]