Home
last modified time | relevance | path

Searched full:hue (Results 1 – 25 of 69) sorted by relevance

123

/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgt.rst24 The histogram is a matrix of 6 Hue and 32 Saturation buckets, 192 in
26 between 1 and 16 depending on the Hue areas configuration. Finding the
34 The Hue position **m** (0 - 5) of the bucket in the matrix depends on
35 how the HGT Hue areas are configured. There are 6 user configurable Hue
36 Areas which can be configured to cover overlapping Hue values:
52 <0..............................Hue Value............................255>
62 Pixels with a hue value included in the centre of an area (between nL and nU
64 with a hue value included in the overlapping region between two areas (between
69 The Hue area setup must match one of the following constrains:
H A Dmetafmt-vivid.rst18 It sets Brightness, Saturation, Contrast and Hue, each of which maps to
36 * - s16 hue;
H A Dcolorspaces-defs.rst25 On :ref:`HSV formats <hsv-formats>` the *Hue* is defined as the angle on
146 - For the Hue, each LSB is two degrees.
148 - For the Hue, the 360 degrees are mapped into 8 bits, i.e. each
H A Dhsv-formats.rst12 cylinder, where the angle is the HUE, the height is the VALUE
H A Dcontrol.rst79 Hue or color balance.
171 Enables automatic hue control by the device. The effect of setting
172 ``V4L2_CID_HUE`` while automatic hue control is enabled is
/linux/drivers/media/usb/gspca/gl860/
H A Dgl860-mi1320.c209 sd->vcur.hue = 0; in mi1320_init_settings()
221 sd->vmax.hue = 5 + 1; in mi1320_init_settings()
287 sd->vold.hue = -1; in mi1320_init_pre_alt()
372 s32 hue = sd->vcur.hue; in mi1320_camera_settings() local
466 if (hue != sd->vold.hue) { in mi1320_camera_settings()
468 if (hue < 0 || hue > sd->vmax.hue) in mi1320_camera_settings()
469 hue = 0; in mi1320_camera_settings()
470 if (hue == sd->vmax.hue) in mi1320_camera_settings()
478 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + hue * (hue < 6), 0x00f1, in mi1320_camera_settings()
497 if (hue != sd->vold.hue) { in mi1320_camera_settings()
[all …]
H A Dgl860-ov2640.c180 sd->vcur.hue = 0; in ov2640_init_settings()
191 sd->vmax.hue = 254 + 2; in ov2640_init_settings()
245 sd->vold.hue = -1; in ov2640_init_pre_alt()
345 s32 hue = sd->vcur.hue; in ov2640_camera_settings() local
413 if (hue != sd->vold.hue) { in ov2640_camera_settings()
414 sd->vold.hue = hue; in ov2640_camera_settings()
415 if (hue < 0 || hue > sd->vmax.hue) in ov2640_camera_settings()
416 hue = 0; in ov2640_camera_settings()
420 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + hue * (hue < 255), 0x007d, in ov2640_camera_settings()
422 if (hue >= 255) in ov2640_camera_settings()
H A Dgl860-ov9655.c199 sd->vcur.hue = 0; in ov9655_init_settings()
208 sd->vmax.hue = 0 + 1; in ov9655_init_settings()
239 sd->vold.hue = -1; in ov9655_init_pre_alt()
350 s32 hue = sd->vcur.hue; in ov9655_camera_settings() local
361 if (hue != sd->vold.hue) { in ov9655_camera_settings()
362 sd->vold.hue = hue; in ov9655_camera_settings()
363 sd->swapRB = (hue != 0); in ov9655_camera_settings()
H A Dgl860-mi2020.c360 sd->vcur.hue = 0; in mi2020_init_settings()
372 sd->vmax.hue = 0 + 1; /* 200, not done by hardware */ in mi2020_init_settings()
423 sd->vold.hue = -1; in mi2020_init_pre_alt()
631 s32 hue = (sd->vcur.hue > 0); in mi2020_camera_settings() local
780 if (hue != sd->vold.hue) { in mi2020_camera_settings()
781 sd->swapRB = hue; in mi2020_camera_settings()
782 sd->vold.hue = hue; in mi2020_camera_settings()
H A Dgl860.c66 sd->vcur.hue = ctrl->val; in sd_s_ctrl()
126 if (sd->vmax.hue) in sd_init_controls()
128 0, sd->vmax.hue, 1, sd->vcur.hue); in sd_init_controls()
H A Dgl860.h39 u16 hue; member
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c47 struct drm_property *hue; member
54 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()
313 plane->props.hue = drm_property_create_range( in nv10_overlay_init()
314 device, 0, "hue", 0, 359); in nv10_overlay_init()
320 !plane->props.hue || in nv10_overlay_init()
336 plane->hue = 0; in nv10_overlay_init()
[all …]
/linux/include/media/tpg/
H A Dv4l2-tpg.h158 s16 hue; member
327 s16 hue) in tpg_s_hue() argument
329 hue = clamp_t(s16, hue, -128, 128); in tpg_s_hue()
330 if (tpg->hue == hue) in tpg_s_hue()
332 tpg->hue = hue; in tpg_s_hue()
/linux/Documentation/gpu/
H A Dkms-properties.csv16 ,,“hue”,RANGE,"Min=0, Max=100",Connector,TBD
30 ,,“hue”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
50 ,,“hue”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
76 ,,“hue”,RANGE,"Min=0, Max=359",Plane,TBD
86 ,,“vibrant hue”,RANGE,"Min=0, Max=180",Connector,TBD
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.h84 /* Adjust - hue */
85 struct v4l2_ctrl *hue; member
/linux/drivers/media/usb/gspca/
H A Dspca561.c27 struct { /* hue/contrast control cluster */
29 struct v4l2_ctrl *hue; member
621 setwhite(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue), in sd_start_72a()
765 /* hue/contrast control cluster for 72a */ in sd_s_ctrl()
766 setwhite(gspca_dev, sd->hue->val, ctrl->val); in sd_s_ctrl()
769 /* just plain hue control for 12a */ in sd_s_ctrl()
820 sd->hue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a()
H A Dsunplus.c121 {0x00, 0x0001, 0x21ac}, /* sat/hue */
122 {0x00, 0x0000, 0x21ad}, /* hue */
158 {0x00, 0x0001, 0x21ac}, /* sat/hue */
159 {0x00, 0x0000, 0x21ad}, /* hue */
562 reg_w_riv(gspca_dev, 0, 0x21ad, 0x00); /* hue */ in init_ctl_reg()
563 reg_w_riv(gspca_dev, 0, 0x21ac, 0x01); /* sat/hue */ in init_ctl_reg()
H A Dspca500.c88 * hue (H byte) = 0,
89 * saturation/hue enable,
95 * hue (H byte) = 0, saturation/hue enable,
99 {0x00, 0x0000, 0x816a}, /* hue (L byte) = 0 */
/linux/drivers/media/i2c/
H A Dov7670.c142 * tweaked to adjust hue and saturation.
228 /* saturation/hue cluster */
230 struct v4l2_ctrl *hue; member
1314 * Hue also requires messing with the color matrix. It also requires
1362 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix() argument
1371 * Then, if need be, rotate the hue value. in ov7670_calc_cmatrix()
1373 if (hue != 0) { in ov7670_calc_cmatrix()
1377 sinth = ov7670_sine(hue); in ov7670_calc_cmatrix()
1378 costh = ov7670_cosine(hue); in ov7670_calc_cmatrix()
1391 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument
[all …]
H A Dalvium-csi2.h294 u64 hue:1; member
370 struct v4l2_ctrl *hue; member
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.h12 s16 hue; member
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_hsit.h3 * vsp1_hsit.h -- R-Car VSP1 Hue Saturation value (Inverse) Transform
/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c593 int medusa_set_hue(struct cx25821_dev *dev, int hue, int decoder) in medusa_set_hue() argument
599 if ((hue > VIDEO_PROCAMP_MAX) || (hue < VIDEO_PROCAMP_MIN)) { in medusa_set_hue()
603 ret_val = mapM(VIDEO_PROCAMP_MIN, VIDEO_PROCAMP_MAX, hue, in medusa_set_hue()
/linux/drivers/gpu/drm/gud/
H A Dgud_connector.c311 old_state->tv.hue != new_state->tv.hue) in gud_connector_atomic_check()
476 return &state->hue; in gud_connector_tv_state_val()
/linux/Documentation/leds/
H A Dleds-blinkm.rst28 Hue is controlled by the multi_intensity file and lightness is controlled by

123