/linux-4.1.27/drivers/media/usb/gspca/gl860/ |
D | gl860-mi1320.c | 194 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 …]
|
D | gl860-ov2640.c | 192 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()
|
D | gl860-ov9655.c | 162 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()
|
D | gl860-mi2020.c | 372 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()
|
D | gl860.c | 78 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()
|
D | gl860.h | 51 u16 hue; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 47 struct drm_property *hue; member 55 int hue; member 202 u32 chroma = ((sin_mul(plane->hue, plane->saturation) & 0xffff) << 16) | in nv10_set_params() 203 (cos_mul(plane->hue, plane->saturation) & 0xffff); in nv10_set_params() 238 else if (property == nv_plane->props.hue) in nv_set_property() 239 nv_plane->hue = value; in nv_set_property() 293 plane->props.hue = drm_property_create_range( in nv10_overlay_init() 302 !plane->props.hue || in nv10_overlay_init() 319 plane->hue = 0; in nv10_overlay_init() 321 plane->props.hue, plane->hue); in nv10_overlay_init()
|
D | tvnv17.h | 79 int hue; member
|
D | tvnv17.c | 686 tv_enc->hue); in nv17_tv_create_resources() 725 tv_enc->hue = val; in nv17_tv_set_property() 816 tv_enc->hue = 0; in nv17_tv_create()
|
D | tvmodesnv17.c | 518 regs->tv_enc[0x25] = tv_enc->hue * 255 / 100; in nv17_tv_update_properties()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-tpg.h | 121 s16 hue; member 279 s16 hue) in tpg_s_hue() argument 281 if (tpg->hue == hue) in tpg_s_hue() 283 tpg->hue = hue; in tpg_s_hue()
|
D | vivid-tpg.c | 109 tpg->hue = 0; in tpg_init() 698 tpg->saturation != 128 || tpg->hue) { in precalculate_color() 712 tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; in precalculate_color() 713 tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; in precalculate_color()
|
D | vivid-core.h | 199 struct v4l2_ctrl *hue; member
|
D | vivid-kthread-cap.c | 515 dev->hue->cur.val); in vivid_fillbuff()
|
D | vivid-ctrls.c | 1308 dev->hue = v4l2_ctrl_new_std(hdl_user_vid, &vivid_user_vid_ctrl_ops, in vivid_create_controls()
|
/linux-4.1.27/drivers/media/i2c/ |
D | ov7670.c | 227 struct v4l2_ctrl *hue; member 1210 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix() argument 1221 if (hue != 0) { in ov7670_calc_cmatrix() 1225 sinth = ov7670_sine(hue); in ov7670_calc_cmatrix() 1226 costh = ov7670_cosine(hue); in ov7670_calc_cmatrix() 1239 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument 1245 ov7670_calc_cmatrix(info, matrix, sat, hue); in ov7670_s_sat_hue() 1427 info->saturation->val, info->hue->val); in ov7670_s_ctrl() 1597 info->hue = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
|
D | ks0127.c | 194 int hue; member
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-medusa-video.c | 607 int medusa_set_hue(struct cx25821_dev *dev, int hue, int decoder) in medusa_set_hue() argument 613 if ((hue > VIDEO_PROCAMP_MAX) || (hue < VIDEO_PROCAMP_MIN)) { in medusa_set_hue() 617 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, hue, in medusa_set_hue()
|
D | cx25821.h | 405 extern int medusa_set_hue(struct cx25821_dev *dev, int hue, int decoder);
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | spca561.c | 42 struct v4l2_ctrl *hue; member 633 setwhite(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue), in sd_start_72a() 787 setwhite(gspca_dev, sd->hue->val, ctrl->val); in sd_s_ctrl() 841 sd->hue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a()
|
D | ov534.c | 64 struct v4l2_ctrl *hue; member 1201 sd->hue = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1354 if (sd->hue) in sd_start() 1355 sethue(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
|
D | sn9c20x.c | 76 struct v4l2_ctrl *hue; member 1295 s32 brightness, s32 contrast, s32 satur, s32 hue) in set_cmatrix() argument 1297 s32 hue_coord, hue_index = 180 + hue; in set_cmatrix() 1674 sd->contrast->val, sd->saturation->val, sd->hue->val); in sd_s_ctrl() 1727 sd->hue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2035 v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-isp.h | 88 struct v4l2_ctrl *hue; member
|
D | fimc-is-param.h | 581 s32 hue; member 799 s32 hue; member
|
D | fimc-is-param.c | 390 isp->adjust.hue = val; in __is_set_isp_adjust() 398 isp->adjust.hue = 0; in __is_set_isp_adjust()
|
D | fimc-isp.c | 726 ctrls->hue = v4l2_ctrl_new_std(handler, ops, V4L2_CID_HUE, in fimc_isp_subdev_create()
|
/linux-4.1.27/drivers/media/usb/hdpvr/ |
D | hdpvr-core.c | 152 dev->options.hue = 0xf; in device_authorization() 265 .hue = 0x80,
|
D | hdpvr.h | 61 u8 hue; member
|
D | hdpvr-control.c | 176 hdpvr_config_call(dev, CTRL_HUE, dev->options.hue); in hdpvr_set_options()
|
D | hdpvr-video.c | 918 dev->options.hue = ctrl->val; in hdpvr_s_ctrl()
|
/linux-4.1.27/drivers/media/pci/meye/ |
D | meye.h | 316 u16 hue; member
|
D | meye.c | 1078 meye.hue = ctrl->val << 10; in meye_s_ctrl()
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | s2250-board.c | 127 int hue; member 542 state->hue = 0; in s2250_probe()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw-internal.h | 368 VCREATE_DATA(hue);
|
D | pvrusb2-hdw.c | 984 VCREATE_FUNCS(hue) 1027 DEFREF(hue), 2919 PVR2_SUBDEV_SET_CONTROL(hdw, V4L2_CID_HUE, hue); in pvr2_subdev_update()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 53 }, offsetof(struct matrox_fb_info, altout.tvo_params.hue) }, 541 minfo->hw.maven.regs[0x25] = minfo->altout.tvo_params.hue; in matroxfb_g450_compute()
|
D | matroxfb_maven.c | 87 }, offsetof(struct matrox_fb_info, altout.tvo_params.hue) }, 518 data->regs[0x25] = minfo->altout.tvo_params.hue; in maven_init_TVdata()
|
D | matroxfb_base.h | 393 int brightness, contrast, saturation, hue, gamma; member
|
/linux-4.1.27/drivers/leds/ |
D | leds-blinkm.c | 71 u8 hue; /* HSB hue */ member 391 data->hue = data->next_hue; in blinkm_transfer_hw()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttvp.h | 434 int hue, contrast, bright, saturation; member
|
D | bttv-driver.c | 922 static void bt848_hue(struct bttv *btv, int hue) in bt848_hue() argument 926 btv->hue = hue; in bt848_hue() 929 value = (hue >> 8) - 128; in bt848_hue()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | psb_intel_sdvo_regs.h | 593 unsigned int hue:1; member
|
D | psb_intel_sdvo.c | 164 struct drm_property *hue; member 1776 CHECK_PROPERTY(hue, HUE) in psb_intel_sdvo_set_property() 2398 ENHANCEMENT(hue, HUE); in psb_intel_sdvo_create_enhance_property_tv()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_sdvo_regs.h | 598 unsigned int hue:1; member
|
D | intel_sdvo.c | 174 struct drm_property *hue; member 2163 CHECK_PROPERTY(hue, HUE) in intel_sdvo_set_property() 2848 ENHANCEMENT(hue, HUE); in intel_sdvo_create_enhance_property_tv()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 849 u32 *push, hue, vib; in nv50_crtc_set_color_vibrance() local 854 hue = ((nv_crtc->vibrant_hue * 2047) / 100) & 0xfff; in nv50_crtc_set_color_vibrance() 860 evo_data(push, (hue << 20) | (vib << 8)); in nv50_crtc_set_color_vibrance() 863 evo_data(push, (hue << 20) | (vib << 8)); in nv50_crtc_set_color_vibrance()
|
/linux-4.1.27/drivers/tty/vt/ |
D | vt.c | 1262 u8 hue, max = c.r; in rgb_foreground() local 1267 hue = (c.r > max/2 ? 4 : 0) in rgb_foreground() 1270 if (hue == 7 && max <= 0x55) in rgb_foreground() 1271 hue = 0, vc->vc_intensity = 2; in rgb_foreground() 1274 vc->vc_color = (vc->vc_color & 0xf0) | hue; in rgb_foreground()
|
/linux-4.1.27/drivers/media/usb/s2255/ |
D | s2255drv.c | 153 u32 hue; /* hue (NTSC only)*/ member 1243 mode.hue = ctrl->val; in s2255_s_ctrl()
|
/linux-4.1.27/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 204 static DEVICE_ATTR(hue, S_IRUGO, show_hue, NULL);
|
/linux-4.1.27/Documentation/video4linux/ |
D | vivid.txt | 23 - Working brightness, contrast, saturation and hue controls
|