Home
last modified time | relevance | path

Searched refs:vflip (Results 1 – 25 of 66) sorted by relevance

123

/Linux-v4.19/drivers/media/usb/gspca/m5602/
Dm5602_s5k83a.c172 __s32 vflip, __s32 hflip);
284 sd->vflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_VFLIP, in s5k83a_init_controls()
301 __s32 vflip, hflip; in rotation_thread_function() local
314 vflip = sd->vflip->val; in rotation_thread_function()
317 vflip = !vflip; in rotation_thread_function()
321 vflip, hflip); in rotation_thread_function()
331 vflip = sd->vflip->val; in rotation_thread_function()
332 s5k83a_set_flip_real((struct gspca_dev *) sd, vflip, hflip); in rotation_thread_function()
437 __s32 vflip, __s32 hflip) in s5k83a_set_flip_real() argument
450 data[0] = (vflip) ? data[0] | 0x40 : data[0]; in s5k83a_set_flip_real()
[all …]
Dm5602_ov9650.c398 sd->vflip = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_VFLIP, in ov9650_init_controls()
427 sd->vflip->val) || in ov9650_start()
429 !sd->vflip->val)) in ov9650_start()
643 int vflip = sd->vflip->val; in ov9650_set_hvflip() local
645 gspca_dbg(gspca_dev, D_CONF, "Set hvflip to %d %d\n", hflip, vflip); in ov9650_set_hvflip()
648 vflip = !vflip; in ov9650_set_hvflip()
650 i2c_data = (hflip << 5) | (vflip << 4); in ov9650_set_hvflip()
Dm5602_mt9m111.c298 sd->vflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_VFLIP, in mt9m111_init_controls()
399 int vflip; in mt9m111_set_hvflip() local
402 sd->hflip->val, sd->vflip->val); in mt9m111_set_hvflip()
406 vflip = !sd->vflip->val; in mt9m111_set_hvflip()
417 (hflip << 1) | vflip; in mt9m111_set_hvflip()
421 (hflip << 1) | vflip; in mt9m111_set_hvflip()
Dm5602_s5k4aa.c552 sd->vflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_VFLIP, in s5k4aa_init_controls()
591 int vflip = sd->vflip->val; in s5k4aa_set_hvflip() local
593 gspca_dbg(gspca_dev, D_CONF, "Set hvflip %d %d\n", hflip, vflip); in s5k4aa_set_hvflip()
604 vflip = !vflip; in s5k4aa_set_hvflip()
607 data = (data & 0x7f) | (vflip << 7) | (hflip << 6); in s5k4aa_set_hvflip()
626 if (vflip) in s5k4aa_set_hvflip()
Dm5602_ov7660.c296 sd->vflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_VFLIP, in ov7660_init_controls()
401 sd->hflip->val, sd->vflip->val); in ov7660_set_hvflip()
403 i2c_data = (sd->hflip->val << 5) | (sd->vflip->val << 4); in ov7660_set_hvflip()
Dm5602_bridge.h149 struct v4l2_ctrl *vflip; member
/Linux-v4.19/drivers/media/platform/sti/bdisp/
Dbdisp.h34 struct v4l2_ctrl *vflip; member
93 unsigned int vflip:1; member
118 unsigned int vflip:1; member
Dbdisp-hw.c29 bool vflip; /* Vertical flip */ member
672 c->vflip = ctx->vflip; in bdisp_hw_get_op_cfg()
835 node->tty |= cfg->vflip ? BLT_TTY_VSO : 0; in bdisp_hw_build_node()
847 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node()
1058 request->vflip = ctx->vflip; in bdisp_hw_save_request()
/Linux-v4.19/drivers/media/usb/gspca/
Dpac7302.c121 struct v4l2_ctrl *vflip; member
546 u8 data, hflip, vflip; in sethvflip() local
551 vflip = sd->vflip->val; in sethvflip()
553 vflip = !vflip; in sethvflip()
556 data = (hflip ? 0x08 : 0x00) | (vflip ? 0x04 : 0x00); in sethvflip()
680 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
Dvc032x.c34 struct v4l2_ctrl *vflip; member
3285 static void sethvflip(struct gspca_dev *gspca_dev, bool hflip, bool vflip) in sethvflip() argument
3293 vflip = !vflip; in sethvflip()
3302 | 0x01 * vflip; in sethvflip()
3309 | OV7660_MVFP_VFLIP * vflip; in sethvflip()
3316 | 0x40 * vflip in sethvflip()
3674 sethvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl()
3755 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
Dov534.c76 struct v4l2_ctrl *vflip; member
1012 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument
1022 if (vflip) in sethvflip()
1030 if (vflip == 0) in sethvflip()
1131 sethvflip(gspca_dev, ctrl->val, sd->vflip->val); in ov534_s_ctrl()
1235 sd->vflip = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls()
1367 v4l2_ctrl_g_ctrl(sd->vflip)); in sd_start()
Dsn9c20x.c79 struct v4l2_ctrl *vflip; member
1359 static void set_hvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in set_hvflip() argument
1367 vflip = !vflip; in set_hvflip()
1375 if (vflip) { in set_hvflip()
1390 if (vflip) { in set_hvflip()
1403 if (vflip) in set_hvflip()
1414 if (vflip) in set_hvflip()
1421 if (vflip) in set_hvflip()
1679 set_hvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl()
1737 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
[all …]
Dstk1135.c43 struct v4l2_ctrl *vflip; member
566 setvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->vflip)); in stk1135_dq_callback()
605 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.h96 struct v4l2_ctrl *vflip; member
215 u32 vflip:1; member
Dmtk_mdp_regs.c148 misc->vflip = ctx->ctrls.vflip->val; in mtk_mdp_hw_set_rotation()
Dmtk_mdp_ipi.h112 int32_t vflip; /* 1 will enable the flip */ member
/Linux-v4.19/include/media/tpg/
Dv4l2-tpg.h206 bool vflip; member
633 static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip) in tpg_s_vflip() argument
635 tpg->vflip = vflip; in tpg_s_vflip()
640 return tpg->vflip; in tpg_g_vflip()
/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_hlp.c382 if( 0 != vv->vflip ) { in calculate_clipping_registers_rect()
579 if ( 0 == vv->vflip ) { in saa7146_set_position()
604 if ( 0 != vv->vflip ) { in saa7146_set_position()
726 if( 0 != vv->vflip ) { in calculate_video_dma_grab_packed()
756 if( 0 != vv->vflip ) { in calculate_video_dma_grab_packed()
774 if( 0 != vv->vflip ) { in calc_planar_422()
803 if( 0 != vv->vflip ) { in calc_planar_420()
854 if( 0 != vv->vflip ) { in calculate_video_dma_grab_planar()
912 if( 0 != vv->vflip ) { in calculate_video_dma_grab_planar()
/Linux-v4.19/drivers/media/usb/stkwebcam/
Dstk-webcam.c45 static int vflip = -1; variable
46 module_param(vflip, int, 0444);
47 MODULE_PARM_DESC(vflip, "Vertical image flip. Defaults to 0");
845 dev->vsettings.vflip = !ctrl->val; in stk_s_ctrl()
847 dev->vsettings.vflip = ctrl->val; in stk_s_ctrl()
1328 if (vflip != -1) in stk_camera_probe()
1329 dev->vsettings.vflip = vflip; in stk_camera_probe()
1331 dev->vsettings.vflip = 1; in stk_camera_probe()
1333 dev->vsettings.vflip = 0; in stk_camera_probe()
/Linux-v4.19/drivers/media/i2c/
Dmt9m032.c150 struct v4l2_ctrl *vflip; member
590 static int update_read_mode2(struct mt9m032 *sensor, bool vflip, bool hflip) in update_read_mode2() argument
593 int reg_val = (vflip << MT9M032_READ_MODE2_VFLIP_SHIFT) in update_read_mode2()
653 return update_read_mode2(sensor, sensor->vflip->val, in mt9m032_set_ctrl()
775 sensor->vflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe()
Dnoon010pc30.c148 unsigned int vflip:1; member
325 static int noon010_set_flip(struct v4l2_subdev *sd, int hflip, int vflip) in noon010_set_flip() argument
337 if (vflip) in noon010_set_flip()
343 info->vflip = vflip; in noon010_set_flip()
Dmt9v011.c59 unsigned vflip:1; member
308 if (core->vflip) in set_read_mode()
437 core->vflip = ctrl->val; in mt9v011_s_ctrl()
/Linux-v4.19/drivers/staging/media/imx/
Dimx-ic-prpencvf.c94 bool vflip; member
1032 bool hflip, vflip; in prp_s_ctrl() local
1038 vflip = priv->vflip; in prp_s_ctrl()
1045 vflip = (ctrl->val == 1); in prp_s_ctrl()
1056 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl()
1080 priv->vflip = vflip; in prp_s_ctrl()
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_rwpf.h54 struct v4l2_ctrl *vflip; member
/Linux-v4.19/drivers/media/platform/rockchip/rga/
Drga.h66 u32 vflip; member

123