/drivers/media/usb/gspca/m5602/ |
D | m5602_s5k83a.c | 168 __s32 vflip, __s32 hflip); 278 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_HFLIP, in s5k83a_init_controls() 288 v4l2_ctrl_cluster(2, &sd->hflip); in s5k83a_init_controls() 297 __s32 vflip, hflip; in rotation_thread_function() local 309 hflip = sd->hflip->val; in rotation_thread_function() 314 hflip = !hflip; in rotation_thread_function() 317 vflip, hflip); in rotation_thread_function() 326 hflip = sd->hflip->val; in rotation_thread_function() 328 s5k83a_set_flip_real((struct gspca_dev *) sd, vflip, hflip); in rotation_thread_function() 433 __s32 vflip, __s32 hflip) in s5k83a_set_flip_real() argument [all …]
|
D | m5602_s5k4aa.c | 546 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_HFLIP, in s5k4aa_init_controls() 556 v4l2_ctrl_cluster(2, &sd->hflip); in s5k4aa_init_controls() 586 int hflip = sd->hflip->val; in s5k4aa_set_hvflip() local 589 gspca_dbg(gspca_dev, D_CONF, "Set hvflip %d %d\n", hflip, vflip); in s5k4aa_set_hvflip() 599 hflip = !hflip; in s5k4aa_set_hvflip() 603 data = (data & 0x7f) | (vflip << 7) | (hflip << 6); in s5k4aa_set_hvflip() 611 if (hflip) in s5k4aa_set_hvflip()
|
D | m5602_mt9m111.c | 294 sd->hflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_HFLIP, in mt9m111_init_controls() 305 v4l2_ctrl_cluster(2, &sd->hflip); in mt9m111_init_controls() 396 int hflip; in mt9m111_set_hvflip() local 400 sd->hflip->val, sd->vflip->val); in mt9m111_set_hvflip() 403 hflip = !sd->hflip->val; in mt9m111_set_hvflip() 415 (hflip << 1) | vflip; in mt9m111_set_hvflip() 419 (hflip << 1) | vflip; in mt9m111_set_hvflip()
|
D | m5602_ov9650.c | 392 sd->hflip = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_HFLIP, in ov9650_init_controls() 405 v4l2_ctrl_cluster(2, &sd->hflip); in ov9650_init_controls() 638 int hflip = sd->hflip->val; in ov9650_set_hvflip() local 641 gspca_dbg(gspca_dev, D_CONF, "Set hvflip to %d %d\n", hflip, vflip); in ov9650_set_hvflip() 646 i2c_data = (hflip << 5) | (vflip << 4); in ov9650_set_hvflip()
|
D | m5602_ov7660.c | 290 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP, in ov7660_init_controls() 301 v4l2_ctrl_cluster(2, &sd->hflip); in ov7660_init_controls() 397 sd->hflip->val, sd->vflip->val); in ov7660_set_hvflip() 399 i2c_data = (sd->hflip->val << 5) | (sd->vflip->val << 4); in ov7660_set_hvflip()
|
D | m5602_po1030.c | 263 sd->hflip = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_HFLIP, in po1030_init_controls() 275 v4l2_ctrl_cluster(2, &sd->hflip); in po1030_init_controls() 453 sd->hflip->val, sd->vflip->val); in po1030_set_hvflip() 458 i2c_data = (0x3f & i2c_data) | (sd->hflip->val << 7) | in po1030_set_hvflip()
|
/drivers/media/platform/sti/bdisp/ |
D | bdisp.h | 33 struct v4l2_ctrl *hflip; member 92 unsigned int hflip:1; member 117 unsigned int hflip:1; member
|
D | bdisp-hw.c | 28 bool hflip; /* Horizontal flip */ member 671 c->hflip = ctx->hflip; in bdisp_hw_get_op_cfg() 834 node->tty |= cfg->hflip ? BLT_TTY_HSO : 0; in bdisp_hw_build_node() 849 node->txy |= cfg->hflip ? (dst_width - dst_x_offset - 1) : in bdisp_hw_build_node() 1057 request->hflip = ctx->hflip; in bdisp_hw_save_request()
|
/drivers/media/usb/gspca/ |
D | pac7302.c | 111 struct v4l2_ctrl *hflip; member 537 u8 data, hflip, vflip; in sethvflip() local 539 hflip = sd->hflip->val; in sethvflip() 541 hflip = !hflip; in sethvflip() 547 data = (hflip ? 0x08 : 0x00) | (vflip ? 0x04 : 0x00); in sethvflip() 669 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 684 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | vc032x.c | 24 struct v4l2_ctrl *hflip; member 3281 static void sethvflip(struct gspca_dev *gspca_dev, bool hflip, bool vflip) in sethvflip() argument 3287 hflip = !hflip; in sethvflip() 3297 data[1] = 0x02 * hflip in sethvflip() 3304 data[0] |= OV7660_MVFP_MIRROR * hflip in sethvflip() 3311 data[0] = 0x80 * hflip in sethvflip() 3670 sethvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 3749 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3779 if (sd->hflip) in sd_init_controls() 3780 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | pac7311.c | 67 struct v4l2_ctrl *hflip; member 336 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 341 data = (hflip ? 0x04 : 0x00) | in sethvflip() 388 sethvflip(gspca_dev, sd->hflip->val, 1); in sd_s_ctrl() 419 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 443 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), 1); in sd_start()
|
D | sn9c20x.c | 69 struct v4l2_ctrl *hflip; member 1362 static void set_hvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in set_hvflip() argument 1369 hflip = !hflip; in set_hvflip() 1376 if (hflip) in set_hvflip() 1391 if (hflip) in set_hvflip() 1404 if (hflip) in set_hvflip() 1415 if (hflip) in set_hvflip() 1426 if (hflip) in set_hvflip() 1682 set_hvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 1738 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | ov534.c | 66 struct v4l2_ctrl *hflip; member 1068 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 1076 if (hflip) in sethvflip() 1084 if (hflip == 0) in sethvflip() 1190 sethvflip(gspca_dev, sd->hflip->val, ctrl->val); in ov534_s_ctrl() 1289 sd->hflip = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1430 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), in sd_start()
|
/drivers/media/i2c/ |
D | mt9m032.c | 141 struct v4l2_ctrl *hflip; member 582 static int update_read_mode2(struct mt9m032 *sensor, bool vflip, bool hflip) in update_read_mode2() argument 586 | (hflip << MT9M032_READ_MODE2_HFLIP_SHIFT) in update_read_mode2() 646 sensor->hflip->val); in mt9m032_set_ctrl() 764 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 785 v4l2_ctrl_cluster(2, &sensor->hflip); in mt9m032_probe()
|
D | imx219.c | 462 struct v4l2_ctrl *hflip; member 571 (imx219->hflip->val ? 1 : 0); in imx219_get_format_code() 669 imx219->hflip->val | in imx219_set_ctrl() 1014 __v4l2_ctrl_grab(imx219->hflip, true); in imx219_start_streaming() 1035 __v4l2_ctrl_grab(imx219->hflip, false); in imx219_stop_streaming() 1274 imx219->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx219_ctrl_ops, in imx219_init_controls() 1276 if (imx219->hflip) in imx219_init_controls() 1277 imx219->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx219_init_controls()
|
D | noon010pc30.c | 143 unsigned int hflip:1; member 321 static int noon010_set_flip(struct v4l2_subdev *sd, int hflip, int vflip) in noon010_set_flip() argument 331 if (hflip) in noon010_set_flip() 338 info->hflip = hflip; in noon010_set_flip()
|
D | ov2680.c | 90 struct v4l2_ctrl *hflip; member 325 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val) in ov2680_set_bayer_order() 801 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in ov2680_v4l2_register() 819 ctrls->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in ov2680_v4l2_register()
|
D | imx319.c | 126 struct v4l2_ctrl *hflip; member 1781 code = codes[imx319->vflip->val][imx319->hflip->val]; in imx319_get_format_code() 1930 imx319->hflip->val | in imx319_set_ctrl() 2166 __v4l2_ctrl_grab(imx319->hflip, enable); in imx319_set_stream() 2322 imx319->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx319_ctrl_ops, in imx319_init_controls()
|
D | imx355.c | 112 struct v4l2_ctrl *hflip; member 1081 code = codes[imx355->vflip->val][imx355->hflip->val]; in imx355_get_format_code() 1231 imx355->hflip->val | in imx355_set_ctrl() 1467 __v4l2_ctrl_grab(imx355->hflip, enable); in imx355_set_stream() 1622 imx355->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx355_ctrl_ops, in imx355_init_controls()
|
/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_core.h | 85 struct v4l2_ctrl *hflip; member 204 u32 hflip:1; member
|
D | mtk_mdp_regs.c | 139 misc->hflip = ctx->ctrls.hflip->val; in mtk_mdp_hw_set_rotation()
|
/drivers/staging/media/imx/ |
D | imx-media-csc-scaler.c | 63 bool hflip; member 623 bool hflip, vflip; in ipu_csc_scaler_s_ctrl() local 627 hflip = ctx->hflip; in ipu_csc_scaler_s_ctrl() 632 hflip = ctrl->val; in ipu_csc_scaler_s_ctrl() 644 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl() 698 ctx->hflip = hflip; in ipu_csc_scaler_s_ctrl()
|
D | imx-ic-prpencvf.c | 87 bool hflip; member 1081 bool hflip, vflip; in prp_s_ctrl() local 1086 hflip = priv->hflip; in prp_s_ctrl() 1091 hflip = (ctrl->val == 1); in prp_s_ctrl() 1105 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl() 1128 priv->hflip = hflip; in prp_s_ctrl()
|
/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 32 static int hflip = -1; variable 33 module_param(hflip, int, 0444); 34 MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 0"); 836 dev->vsettings.hflip = !ctrl->val; in stk_s_ctrl() 838 dev->vsettings.hflip = ctrl->val; in stk_s_ctrl() 1316 if (hflip != -1) in stk_camera_probe() 1317 dev->vsettings.hflip = hflip; in stk_camera_probe() 1319 dev->vsettings.hflip = 1; in stk_camera_probe() 1321 dev->vsettings.hflip = 0; in stk_camera_probe()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 518 ctx->hflip = ctrl->val; in __fimc_s_ctrl() 586 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 636 v4l2_ctrl_activate(ctrls->hflip, active); in fimc_ctrls_activate() 645 ctx->hflip = ctrls->hflip->val; in fimc_ctrls_activate() 650 ctx->hflip = 0; in fimc_ctrls_activate()
|