![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Data Structures | |
struct | dt_imageio_png_t |
Typedefs | |
typedef struct dt_imageio_png_t | dt_imageio_png_t |
Functions | |
int | read_header (const char *filename, dt_imageio_png_t *png) |
int | read_image (dt_imageio_png_t *png, void *out) |
dt_imageio_retval_t | dt_imageio_open_png (dt_image_t *img, const char *filename, dt_mipmap_buffer_t *buf) |
int | dt_imageio_png_read_profile (const char *filename, uint8_t **out) |
typedef struct dt_imageio_png_t dt_imageio_png_t |
dt_imageio_retval_t dt_imageio_open_png | ( | dt_image_t * | img, |
const char * | filename, | ||
dt_mipmap_buffer_t * | buf | ||
) |
References dt_imageio_png_t::bit_depth, bpp, dt_image_t::buf_dsc, dt_iop_buffer_dsc_t::channels, dt_iop_buffer_dsc_t::cst, dt_iop_buffer_dsc_t::datatype, dt_alloc_align, dt_exif_read(), dt_free_align, DT_IMAGE_LDR, DT_IMAGEIO_CACHE_FULL, DT_IMAGEIO_FILE_CORRUPTED, DT_IMAGEIO_OK, dt_mipmap_cache_alloc(), dt_image_t::exif_inited, dt_imageio_png_t::f, dt_image_t::filename, dt_iop_buffer_dsc_t::filters, dt_image_t::flags, height, dt_image_t::height, dt_imageio_png_t::height, dt_imageio_png_t::info_ptr, IOP_CS_RGB, dt_image_t::loader, LOADER_PNG, dt_imageio_png_t::png_ptr, read_header(), read_image(), TYPE_FLOAT, void(), width, dt_image_t::width, and dt_imageio_png_t::width.
Referenced by dt_imageio_open_raster().
int dt_imageio_png_read_profile | ( | const char * | filename, |
uint8_t ** | out | ||
) |
References DT_IMAGEIO_FILE_CORRUPTED, dt_imageio_png_t::f, dt_imageio_png_t::info_ptr, name, dt_imageio_png_t::png_ptr, and read_header().
Referenced by dt_image_find_best_color_profile().
int read_header | ( | const char * | filename, |
dt_imageio_png_t * | png | ||
) |
References dt_imageio_png_t::bit_depth, dt_imageio_png_t::color_type, dt_imageio_png_t::f, dt_imageio_png_t::height, dt_imageio_png_t::info_ptr, NUM_BYTES_CHECK, dt_imageio_png_t::png_ptr, and dt_imageio_png_t::width.
Referenced by calculate_clut_haldclut(), dt_imageio_open_png(), and dt_imageio_png_read_profile().
int read_image | ( | dt_imageio_png_t * | png, |
void * | out | ||
) |
References dt_imageio_png_t::f, dt_imageio_png_t::height, dt_imageio_png_t::info_ptr, and dt_imageio_png_t::png_ptr.
Referenced by calculate_clut_haldclut(), and dt_imageio_open_png().