![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "system/macros.h"#include "system/mem_alloc.h"#include "caches/pixelpipe_cache_alloc.h"#include <glib.h>#include <glib/gstdio.h>#include <inttypes.h>#include <stdio.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
Functions | |
| float * | read_pfm (const char *filename, int *wd, int *ht) |
| void | write_pfm (const char *filename, int width, int height, float *data) |
| float * read_pfm | ( | const char * | filename, |
| int * | wd, | ||
| int * | ht ) |
Definition at line 36 of file apps/ansel-chart/pfm.c.
References dt_free, dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, f, height, i, IS_NULL_PTR, memcpy(), v, and width.
Referenced by open_image().
| void write_pfm | ( | const char * | filename, |
| int | width, | ||
| int | height, | ||
| float * | data ) |
Definition at line 138 of file apps/ansel-chart/pfm.c.
References data, dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, error(), f, height, i, in, IS_NULL_PTR, memcpy(), out, void(), and width.
Referenced by main().