23 int main(
int argc,
char *argv[])
27 -0.1, -0.018053968510807, -0.01, -0.00449, 0.0, 0.00316227760, 0.005,
28 0.009, 0.015, 0.1, 1.0, 52.37, 125.098765, 1999.11123, 6945.443,
29 15123.4567, 19845.88923, 98678.4231, 99999.899998
36 double result =
func(test_data[j]);
37 printf(
"AVColorTransferCharacteristic=%d calling func(%f) expected=%f\n",
38 i, test_data[j], result);
double(* avpriv_trc_function)(double)
static const uint8_t test_data[]
avpriv_trc_function avpriv_get_trc_function_from_trc(enum AVColorTransferCharacteristic trc)
Determine the function needed to apply the given AVColorTransferCharacteristic to linear input...
#define FF_ARRAY_ELEMS(a)
int main(int argc, char *argv[])
int(* func)(AVBPrint *dst, const char *in, const char *arg)