Home
last modified time | relevance | path

Searched refs:hue (Results 1 – 25 of 50) sorted by relevance

12

/drivers/media/usb/gspca/gl860/
Dgl860-mi1320.c194 sd->vcur.hue = 0; in mi1320_init_settings()
206 sd->vmax.hue = 5 + 1; in mi1320_init_settings()
272 sd->vold.hue = -1; in mi1320_init_pre_alt()
357 s32 hue = sd->vcur.hue; in mi1320_camera_settings() local
451 if (hue != sd->vold.hue) { in mi1320_camera_settings()
453 if (hue < 0 || hue > sd->vmax.hue) in mi1320_camera_settings()
454 hue = 0; in mi1320_camera_settings()
455 if (hue == sd->vmax.hue) in mi1320_camera_settings()
463 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + hue * (hue < 6), 0x00f1, in mi1320_camera_settings()
482 if (hue != sd->vold.hue) { in mi1320_camera_settings()
[all …]
Dgl860-ov2640.c192 sd->vcur.hue = 0; in ov2640_init_settings()
203 sd->vmax.hue = 254 + 2; in ov2640_init_settings()
257 sd->vold.hue = -1; in ov2640_init_pre_alt()
357 s32 hue = sd->vcur.hue; in ov2640_camera_settings() local
425 if (hue != sd->vold.hue) { in ov2640_camera_settings()
426 sd->vold.hue = hue; in ov2640_camera_settings()
427 if (hue < 0 || hue > sd->vmax.hue) in ov2640_camera_settings()
428 hue = 0; in ov2640_camera_settings()
432 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + hue * (hue < 255), 0x007d, in ov2640_camera_settings()
434 if (hue >= 255) in ov2640_camera_settings()
Dgl860-ov9655.c162 sd->vcur.hue = 0; in ov9655_init_settings()
171 sd->vmax.hue = 0 + 1; in ov9655_init_settings()
202 sd->vold.hue = -1; in ov9655_init_pre_alt()
313 s32 hue = sd->vcur.hue; in ov9655_camera_settings() local
324 if (hue != sd->vold.hue) { in ov9655_camera_settings()
325 sd->vold.hue = hue; in ov9655_camera_settings()
326 sd->swapRB = (hue != 0); in ov9655_camera_settings()
Dgl860-mi2020.c372 sd->vcur.hue = 0; in mi2020_init_settings()
384 sd->vmax.hue = 0 + 1; /* 200, not done by hardware */ in mi2020_init_settings()
435 sd->vold.hue = -1; in mi2020_init_pre_alt()
643 s32 hue = (sd->vcur.hue > 0); in mi2020_camera_settings() local
792 if (hue != sd->vold.hue) { in mi2020_camera_settings()
793 sd->swapRB = hue; in mi2020_camera_settings()
794 sd->vold.hue = hue; in mi2020_camera_settings()
Dgl860.c78 sd->vcur.hue = ctrl->val; in sd_s_ctrl()
138 if (sd->vmax.hue) in sd_init_controls()
140 0, sd->vmax.hue, 1, sd->vcur.hue); in sd_init_controls()
Dgl860.h51 u16 hue; member
/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c47 struct drm_property *hue; member
55 int hue; member
221 u32 chroma = ((sin_mul(plane->hue, plane->saturation) & 0xffff) << 16) | in nv10_set_params()
222 (cos_mul(plane->hue, plane->saturation) & 0xffff); in nv10_set_params()
257 else if (property == nv_plane->props.hue) in nv_set_property()
258 nv_plane->hue = value; in nv_set_property()
312 plane->props.hue = drm_property_create_range( in nv10_overlay_init()
321 !plane->props.hue || in nv10_overlay_init()
338 plane->hue = 0; in nv10_overlay_init()
340 plane->props.hue, plane->hue); in nv10_overlay_init()
Dtvnv17.h79 int hue; member
Dtvnv17.c678 tv_enc->hue); in nv17_tv_create_resources()
717 tv_enc->hue = val; in nv17_tv_set_property()
803 tv_enc->hue = 0; in nv17_tv_create()
/drivers/media/i2c/
Dov7670.c230 struct v4l2_ctrl *hue; member
1242 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix() argument
1253 if (hue != 0) { in ov7670_calc_cmatrix()
1257 sinth = ov7670_sine(hue); in ov7670_calc_cmatrix()
1258 costh = ov7670_cosine(hue); in ov7670_calc_cmatrix()
1271 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument
1277 ov7670_calc_cmatrix(info, matrix, sat, hue); in ov7670_s_sat_hue()
1459 info->saturation->val, info->hue->val); in ov7670_s_ctrl()
1668 info->hue = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
/drivers/media/usb/gspca/
Dspca561.c38 struct v4l2_ctrl *hue; member
629 setwhite(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue), in sd_start_72a()
783 setwhite(gspca_dev, sd->hue->val, ctrl->val); in sd_s_ctrl()
837 sd->hue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a()
Dov534.c61 struct v4l2_ctrl *hue; member
1203 sd->hue = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls()
1356 if (sd->hue) in sd_start()
1357 sethue(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
Dsn9c20x.c71 struct v4l2_ctrl *hue; member
1301 s32 brightness, s32 contrast, s32 satur, s32 hue) in set_cmatrix() argument
1303 s32 hue_coord, hue_index = 180 + hue; in set_cmatrix()
1680 sd->contrast->val, sd->saturation->val, sd->hue->val); in sd_s_ctrl()
1733 sd->hue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
2040 v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c603 int medusa_set_hue(struct cx25821_dev *dev, int hue, int decoder) in medusa_set_hue() argument
609 if ((hue > VIDEO_PROCAMP_MAX) || (hue < VIDEO_PROCAMP_MIN)) { in medusa_set_hue()
613 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, hue, in medusa_set_hue()
/drivers/media/platform/exynos4-is/
Dfimc-isp.h88 struct v4l2_ctrl *hue; member
Dfimc-is-param.h581 s32 hue; member
799 s32 hue; member
/drivers/media/usb/hdpvr/
Dhdpvr-core.c151 dev->options.hue = 0xf; in device_authorization()
263 .hue = 0x80,
Dhdpvr.h61 u8 hue; member
Dhdpvr-control.c176 hdpvr_config_call(dev, CTRL_HUE, dev->options.hue); in hdpvr_set_options()
/drivers/media/pci/meye/
Dmeye.h312 u16 hue; member
/drivers/media/usb/go7007/
Ds2250-board.c127 int hue; member
554 state->hue = 0; in s2250_probe()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h363 VCREATE_DATA(hue);
/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c53 }, offsetof(struct matrox_fb_info, altout.tvo_params.hue) },
541 minfo->hw.maven.regs[0x25] = minfo->altout.tvo_params.hue; in matroxfb_g450_compute()
/drivers/gpu/drm/i915/
Dintel_sdvo.c161 struct drm_property *hue; member
1237 if (intel_sdvo_conn->hue) in intel_sdvo_update_props()
1238 UPDATE_PROPERTY(conn_state->tv.hue, HUE); in intel_sdvo_update_props()
2129 else if (property == intel_sdvo_connector->hue) in intel_sdvo_connector_atomic_get_property()
2130 *val = state->tv.hue; in intel_sdvo_connector_atomic_get_property()
2187 else if (property == intel_sdvo_connector->hue) in intel_sdvo_connector_atomic_set_property()
2188 state->tv.hue = val; in intel_sdvo_connector_atomic_set_property()
2906 ENHANCEMENT(&conn_state->tv, hue, HUE); in intel_sdvo_create_enhance_property_tv()
/drivers/leds/
Dleds-blinkm.c64 u8 hue; /* HSB hue */ member
384 data->hue = data->next_hue; in blinkm_transfer_hw()

12