const char *const func2_names[] = {"weight_Y", "weight_U", "weight_V", NULL };
double (*func2[])(void *, double, double) = { weight_Y, weight_U, weight_V, p[plane], NULL };
const char *const func2_names[] = {"weight_Y", "weight_U", "weight_V", NULL };
double (*func2[])(void *, double, double) = { weight_Y, weight_U, weight_V, p[plane], NULL };