H A D | vsrc_gradients.c | 46 int nb_colors; member 76 {"nb_colors", "set the number of colors", OFFSET(nb_colors), AV_OPT_TYPE_INT, {.i64=2}, 2, 8, FLAGS }, 77 {"n", "set the number of colors", OFFSET(nb_colors), AV_OPT_TYPE_INT, {.i64=2}, 2, 8, FLAGS }, 120 static uint32_t lerp_colors(uint8_t arr[3][4], int nb_colors, int nb_wrap_colors, float step) in lerp_colors() argument 125 if (nb_colors == 1 || step <= 0.0) { in lerp_colors() 128 i = nb_colors - 1; in lerp_colors() 135 if (i >= nb_colors - 1) { in lerp_colors() 136 i = nb_colors - 1; in lerp_colors() 143 static uint64_t lerp_colors16(uint8_t arr[3][4], int nb_colors, in argument 166 lerp_colors32(float arr[3][4], int nb_colors, int nb_wrap_colors, float step, float *r, float *g, float *b, float *a) lerp_colors32() argument [all...] |