Home
last modified time | relevance | path

Searched refs:max_rgb (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/platform/vsp1/
A Dvsp1_hgo.c66 } 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()
A Dvsp1_hgo.h25 struct v4l2_ctrl *max_rgb; member
29 bool max_rgb; member
/linux/drivers/media/common/v4l2-tpg/
A Dv4l2-tpg-core.c552 int max_rgb, min_rgb, diff_rgb; in color_to_hsv() local
562 max_rgb = max3(r, g, b); in color_to_hsv()
563 *v = max_rgb; in color_to_hsv()
564 if (!max_rgb) { in color_to_hsv()
572 diff_rgb = max_rgb - min_rgb; in color_to_hsv()
574 aux += max_rgb / 2; in color_to_hsv()
575 aux /= max_rgb; in color_to_hsv()
585 if (max_rgb == r) { in color_to_hsv()
588 } else if (max_rgb == g) { in color_to_hsv()

Completed in 8 milliseconds