Home
last modified time | relevance | path

Searched refs:hue (Results 1 - 25 of 116) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/media/usb/gspca/gl860/
H A Dgl860-mi1320.c182 sd->vcur.hue = 0; in mi1320_init_settings()
194 sd->vmax.hue = 5 + 1; in mi1320_init_settings()
260 sd->vold.hue = -1; in mi1320_init_pre_alt()
345 s32 hue = sd->vcur.hue; in mi1320_camera_settings() local
439 if (hue != sd->vold.hue) { in mi1320_camera_settings()
441 if (hue < 0 || hue > sd->vmax.hue) in mi1320_camera_settings()
[all...]
H A Dgl860-ov9655.c150 sd->vcur.hue = 0; in ov9655_init_settings()
159 sd->vmax.hue = 0 + 1; in ov9655_init_settings()
190 sd->vold.hue = -1; in ov9655_init_pre_alt()
301 s32 hue = sd->vcur.hue; in ov9655_camera_settings() local
312 if (hue != sd->vold.hue) { in ov9655_camera_settings()
313 sd->vold.hue = hue; in ov9655_camera_settings()
314 sd->swapRB = (hue ! in ov9655_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 < in ov2640_camera_settings()
[all...]
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
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()
[all...]
/kernel/linux/linux-6.6/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()
[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 < in ov2640_camera_settings()
[all...]
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 ! in ov9655_camera_settings()
[all...]
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
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()
[all...]
/kernel/linux/linux-5.10/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()
312 plane->props.hue = drm_property_create_range( in nv10_overlay_init()
313 device, 0, "hue", 0, 359); in nv10_overlay_init()
319 !plane->props.hue || in nv10_overlay_init()
335 plane->hue in nv10_overlay_init()
[all...]
/kernel/linux/linux-6.6/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 in nv10_overlay_init()
[all...]
/kernel/linux/linux-5.10/include/media/tpg/
H A Dv4l2-tpg.h158 s16 hue; member
326 s16 hue) in tpg_s_hue()
328 hue = clamp_t(s16, hue, -128, 128); in tpg_s_hue()
329 if (tpg->hue == hue) in tpg_s_hue()
331 tpg->hue = hue; in tpg_s_hue()
325 tpg_s_hue(struct tpg_data *tpg, s16 hue) tpg_s_hue() argument
/kernel/linux/linux-6.6/include/media/tpg/
H A Dv4l2-tpg.h158 s16 hue; member
327 s16 hue) in tpg_s_hue()
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()
326 tpg_s_hue(struct tpg_data *tpg, s16 hue) tpg_s_hue() argument
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c170 v4l2_ctrl_s_ctrl(dev->hue, meta->hue); in vivid_meta_out_process()
172 dprintk(dev, 2, " %s brightness %u contrast %u saturation %u hue %d\n", in vivid_meta_out_process()
174 meta->saturation, meta->hue); in vivid_meta_out_process()
H A Dvivid-meta-out.h12 s16 hue; member
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c170 v4l2_ctrl_s_ctrl(dev->hue, meta->hue); in vivid_meta_out_process()
172 dprintk(dev, 2, " %s brightness %u contrast %u saturation %u hue %d\n", in vivid_meta_out_process()
174 meta->saturation, meta->hue); in vivid_meta_out_process()
H A Dvivid-meta-out.h12 s16 hue; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_atomic_state_helper.c553 state->tv.hue = val; in drm_atomic_helper_connector_tv_reset()
601 old_conn_state->tv.hue != new_conn_state->tv.hue) in drm_atomic_helper_connector_tv_check()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov7670.c143 * tweaked to adjust hue and saturation.
236 /* saturation/hue cluster */
238 struct v4l2_ctrl *hue; member
1351 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix()
1360 * Then, if need be, rotate the hue value. in ov7670_calc_cmatrix()
1362 if (hue != 0) { in ov7670_calc_cmatrix()
1366 sinth = ov7670_sine(hue); in ov7670_calc_cmatrix()
1367 costh = ov7670_cosine(hue); in ov7670_calc_cmatrix()
1380 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument
1386 ov7670_calc_cmatrix(info, matrix, sat, hue); in ov7670_s_sat_hue()
1350 ov7670_calc_cmatrix(struct ov7670_info *info, int matrix[CMATRIX_LEN], int sat, int hue) ov7670_calc_cmatrix() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov7670.c142 * tweaked to adjust hue and saturation.
235 /* saturation/hue cluster */
237 struct v4l2_ctrl *hue; member
1366 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix()
1375 * Then, if need be, rotate the hue value. in ov7670_calc_cmatrix()
1377 if (hue != 0) { in ov7670_calc_cmatrix()
1381 sinth = ov7670_sine(hue); in ov7670_calc_cmatrix()
1382 costh = ov7670_cosine(hue); in ov7670_calc_cmatrix()
1395 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument
1400 ov7670_calc_cmatrix(info, matrix, sat, hue); in ov7670_s_sat_hue()
1365 ov7670_calc_cmatrix(struct ov7670_info *info, int matrix[CMATRIX_LEN], int sat, int hue) ov7670_calc_cmatrix() argument
[all...]

Completed in 22 milliseconds

12345