Searched refs:hflip (Results 1 - 25 of 43) sorted by relevance

12

/drivers/media/usb/gspca/m5602/
H A Dm5602_s5k83a.c48 __s32 vflip, __s32 hflip);
158 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_HFLIP,
168 v4l2_ctrl_cluster(2, &sd->hflip);
177 __s32 vflip, hflip; local
189 hflip = sd->hflip->val;
194 hflip = !hflip;
197 vflip, hflip);
206 hflip
307 s5k83a_set_flip_real(struct gspca_dev *gspca_dev, __s32 vflip, __s32 hflip) argument
343 int hflip = sd->hflip->val; local
[all...]
H A Dm5602_s5k4aa.c351 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_HFLIP,
361 v4l2_ctrl_cluster(2, &sd->hflip);
391 int hflip = sd->hflip->val; local
394 PDEBUG(D_CONF, "Set hvflip %d %d", hflip, vflip);
404 hflip = !hflip;
408 data = (data & 0x7f) | (vflip << 7) | (hflip << 6);
416 if (hflip)
H A Dm5602_mt9m111.c152 sd->hflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_HFLIP,
163 v4l2_ctrl_cluster(2, &sd->hflip);
254 int hflip; local
257 PDEBUG(D_CONF, "Set hvflip to %d %d", sd->hflip->val, sd->vflip->val);
260 hflip = !sd->hflip->val;
272 (hflip << 1) | vflip;
276 (hflip << 1) | vflip;
H A Dm5602_ov7660.c141 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP,
152 v4l2_ctrl_cluster(2, &sd->hflip);
247 PDEBUG(D_CONF, "Set hvflip to %d, %d", sd->hflip->val, sd->vflip->val);
249 i2c_data = (sd->hflip->val << 5) | (sd->vflip->val << 4);
H A Dm5602_ov9650.c244 sd->hflip = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_HFLIP,
257 v4l2_ctrl_cluster(2, &sd->hflip);
490 int hflip = sd->hflip->val; local
493 PDEBUG(D_CONF, "Set hvflip to %d %d", hflip, vflip);
498 i2c_data = (hflip << 5) | (vflip << 4);
H A Dm5602_po1030.c159 sd->hflip = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_HFLIP,
171 v4l2_ctrl_cluster(2, &sd->hflip);
348 PDEBUG(D_CONF, "Set hvflip %d %d", sd->hflip->val, sd->vflip->val);
353 i2c_data = (0x3f & i2c_data) | (sd->hflip->val << 7) |
H A Dm5602_bridge.h162 struct { /* hflip/vflip cluster */
163 struct v4l2_ctrl *hflip; member in struct:sd::__anon2434
/drivers/media/platform/vivid/
H A Dvivid-tpg.h136 bool hflip; member in struct:tpg_data
408 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip) argument
410 if (tpg->hflip == hflip)
412 tpg->hflip = hflip;
419 return tpg->hflip;
H A Dvivid-tpg.c904 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x;
915 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x;
925 gen_twopix(tpg, pix, tpg->hflip ? color2 : color1, 0);
926 gen_twopix(tpg, pix, tpg->hflip ? color1 : color2, 1);
1001 if (tpg->hflip)
1028 if (tpg->hflip) { \
1048 pos += tpg->hflip ? -8 : 8; \
1070 if (tpg->hflip)
/drivers/media/usb/gspca/
H A Dpac7311.c52 * 0x21 Bitfield: 0-1 unused, 2-3 vflip/hflip, 4-5 unknown, 6-7 unused
80 struct v4l2_ctrl *hflip; member in struct:sd
349 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) argument
354 data = (hflip ? 0x04 : 0x00) |
401 sethvflip(gspca_dev, sd->hflip->val, 1);
432 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
456 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), 1);
H A Dpac7302.c70 * 0x21 Bitfield: 0-1 unused, 2-3 vflip/hflip, 4-5 unknown, 6-7 unused
125 struct v4l2_ctrl *hflip; member in struct:sd::__anon2442
551 u8 data, hflip, vflip; local
553 hflip = sd->hflip->val;
555 hflip = !hflip;
561 data = (hflip ? 0x08 : 0x00) | (vflip ? 0x04 : 0x00);
683 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
698 v4l2_ctrl_cluster(2, &sd->hflip);
[all...]
H A Dsn9c20x.c83 struct v4l2_ctrl *hflip; member in struct:sd::__anon2447
1365 static void set_hvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) argument
1372 hflip = !hflip;
1379 if (hflip)
1394 if (hflip)
1407 if (hflip)
1418 if (hflip)
1429 if (hflip)
1685 set_hvflip(gspca_dev, sd->hflip
[all...]
H A Dstk1135.c46 struct v4l2_ctrl *hflip; member in struct:sd
568 sethflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip));
606 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
H A Dov534.c76 struct v4l2_ctrl *hflip; member in struct:sd
1013 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) argument
1021 if (hflip)
1029 if (hflip == 0)
1135 sethvflip(gspca_dev, sd->hflip->val, ctrl->val);
1234 sd->hflip = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops,
1367 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip),
/drivers/media/usb/stkwebcam/
H A Dstk-webcam.h65 int hflip; member in struct:stk_video
H A Dstk-webcam.c43 static int hflip = -1; variable
44 module_param(hflip, int, 0444);
45 MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 0");
77 * they mounted the webcam-module the wrong way up. So the hflip and vflip
842 dev->vsettings.hflip = !ctrl->val;
844 dev->vsettings.hflip = ctrl->val;
1327 if (hflip != -1)
1328 dev->vsettings.hflip = hflip;
1330 dev->vsettings.hflip
[all...]
/drivers/media/i2c/smiapp/
H A Dsmiapp.h238 struct v4l2_ctrl *hflip; member in struct:smiapp_sensor
/drivers/media/i2c/
H A Dmt9m032.c154 struct v4l2_ctrl *hflip; member in struct:mt9m032::__anon2177
589 static int update_read_mode2(struct mt9m032 *sensor, bool vflip, bool hflip) argument
593 | (hflip << MT9M032_READ_MODE2_HFLIP_SHIFT)
653 sensor->hflip->val);
771 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls,
792 v4l2_ctrl_cluster(2, &sensor->hflip);
H A Dnoon010pc30.c147 unsigned int hflip:1; member in struct:noon010_info
325 static int noon010_set_flip(struct v4l2_subdev *sd, int hflip, int vflip) argument
335 if (hflip)
342 info->hflip = hflip;
H A Dmt9v011.c56 unsigned hflip:1; member in struct:mt9v011
303 if (core->hflip)
444 core->hflip = ctrl->val;
/drivers/media/platform/exynos4-is/
H A Dfimc-core.c542 ctx->hflip = ctrl->val;
610 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops,
660 v4l2_ctrl_activate(ctrls->hflip, active);
669 ctx->hflip = ctrls->hflip->val;
674 ctx->hflip = 0;
H A Dfimc-core.h448 * @hflip: horizontal flip control
460 struct v4l2_ctrl *hflip; member in struct:fimc_ctrls
479 * @hflip: indicates image horizontal flip if set
499 unsigned int hflip:1; member in struct:fimc_ctx
/drivers/media/platform/exynos-gsc/
H A Dgsc-core.h158 * @hflip: horizontal flip
164 struct v4l2_ctrl *hflip; member in struct:gsc_ctrls
375 unsigned int hflip:1; member in struct:gsc_ctx
H A Dgsc-regs.c387 if (ctx->gsc_ctrls.hflip->val)
395 if (ctx->gsc_ctrls.hflip->val)
/drivers/media/platform/s3c-camif/
H A Dcamif-core.h207 * @hflip: apply horizontal flip if set
233 u8 hflip; member in struct:camif_vp

Completed in 203 milliseconds

12