![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <math.h>#include <stdio.h>#include <stdlib.h>#include <assert.h>#include <string.h>#include <glib/gstdio.h>
Include dependency graph for noiseprofile.c:Macros | |
| #define | ELEM_SWAP(a, b) { elem_type t=(a);(a)=(b);(b)=t; } |
| #define | median(a, n) kth_smallest(a,n,(((n)&1)?((n)/2):(((n)/2)-1))) |
| #define | N 300 |
Typedefs | |
| typedef float | dt_aligned_pixel_t[4] |
| typedef float | elem_type |
Functions | |
| static elem_type | kth_smallest (elem_type a[], int n, int k) |
| static float * | read_pfm (const char *filename, int *wd, int *ht) |
| static float * | read_histogram (const char *filename, int *bins) |
| static void | invert_histogram (const float *const hist, float *const inv_hist, const int bins) |
| static float | clamp (float f, float m, float M) |
| int | compare_llhh (const void *a, const void *b) |
| int | main (int argc, char *arg[]) |
| #define N 300 |
| typedef float dt_aligned_pixel_t[4] |
| typedef float elem_type |
|
inlinestatic |
Referenced by compare_llhh(), lerp_lookup_unbounded(), lookup(), lookup_unbounded(), and main().
|
static |
| int main | ( | int | argc, |
| char * | arg[] | ||
| ) |
References clamp(), compare_llhh(), d, f, i, invert_histogram(), k, max, median, N, out, read_histogram(), read_pfm(), write_pfm(), and x.
|
static |