Searched refs:max_rgb (Results 1 – 3 of 3) sorted by relevance
66 } else if (hgo->max_rgb) { in vsp1_hgo_frame_end()159 hgo->max_rgb = hgo->ctrls.max_rgb->cur.val; in hgo_configure_stream()168 (hgo->max_rgb ? VI6_HGO_MODE_MAXRGB : 0) | in hgo_configure_stream()200 hgo->ctrls.max_rgb = v4l2_ctrl_new_custom(&hgo->ctrls.handler, in vsp1_hgo_create()207 hgo->max_rgb = false; in vsp1_hgo_create()
25 struct v4l2_ctrl *max_rgb; member29 bool max_rgb; member
556 int max_rgb, min_rgb, diff_rgb; in color_to_hsv() local566 max_rgb = max3(r, g, b); in color_to_hsv()567 *v = max_rgb; in color_to_hsv()568 if (!max_rgb) { in color_to_hsv()576 diff_rgb = max_rgb - min_rgb; in color_to_hsv()578 aux += max_rgb / 2; in color_to_hsv()579 aux /= max_rgb; in color_to_hsv()589 if (max_rgb == r) { in color_to_hsv()592 } else if (max_rgb == g) { in color_to_hsv()