#include "qcms.h"
#include "qcms_test_util.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define PARAMETRIC_CURVE_TYPE …
static const float inverse65535 = …;
extern float clamp_float(float a);
static int get_output_gamma_table(const char *profile_path, uint16_t **table, size_t *size)
{ … }
static int get_input_gamma_table(const char *profile_path, uint16_t **table, size_t *size)
{ … }
static int qcms_test_output_trc(size_t width,
size_t height,
int iterations,
const char *in_path,
const char *out_path,
const int force_software)
{ … }
struct qcms_test_case qcms_test_output_trc_info = …;