Home
last modified time | relevance | path

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

123

/linux/drivers/media/usb/gspca/m5602/
H A Dm5602_s5k83a.c168 __s32 vflip, __s32 hflip);
280 sd->vflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_VFLIP, in s5k83a_init_controls()
297 __s32 vflip, hflip; in rotation_thread_function() local
310 vflip = sd->vflip->val; in rotation_thread_function()
313 vflip = !vflip; in rotation_thread_function()
317 vflip, hflip); in rotation_thread_function()
327 vflip = sd->vflip->val; in rotation_thread_function()
328 s5k83a_set_flip_real((struct gspca_dev *) sd, vflip, hflip); in rotation_thread_function()
428 __s32 vflip, __s32 hflip) in s5k83a_set_flip_real() argument
441 data[0] = (vflip) ? data[0] | 0x40 : data[0]; in s5k83a_set_flip_real()
[all …]
H A Dm5602_ov9650.c394 sd->vflip = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_VFLIP, in ov9650_init_controls()
423 sd->vflip->val) || in ov9650_start()
425 !sd->vflip->val)) in ov9650_start()
639 int vflip = sd->vflip->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()
644 vflip = !vflip; in ov9650_set_hvflip()
646 i2c_data = (hflip << 5) | (vflip << 4); in ov9650_set_hvflip()
H A Dm5602_s5k4aa.c548 sd->vflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_VFLIP, in s5k4aa_init_controls()
587 int vflip = sd->vflip->val; in s5k4aa_set_hvflip() local
589 gspca_dbg(gspca_dev, D_CONF, "Set hvflip %d %d\n", hflip, vflip); in s5k4aa_set_hvflip()
600 vflip = !vflip; in s5k4aa_set_hvflip()
603 data = (data & 0x7f) | (vflip << 7) | (hflip << 6); in s5k4aa_set_hvflip()
622 if (vflip) in s5k4aa_set_hvflip()
H A Dm5602_mt9m111.c296 sd->vflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_VFLIP, in mt9m111_init_controls()
397 int vflip; in mt9m111_set_hvflip() local
400 sd->hflip->val, sd->vflip->val); in mt9m111_set_hvflip()
404 vflip = !sd->vflip->val; in mt9m111_set_hvflip()
415 (hflip << 1) | vflip; in mt9m111_set_hvflip()
419 (hflip << 1) | vflip; in mt9m111_set_hvflip()
H A Dm5602_ov7660.c292 sd->vflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_VFLIP, 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()
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp.h34 struct v4l2_ctrl *vflip; member
93 unsigned int vflip:1; member
118 unsigned int vflip:1; member
H A 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/drivers/media/usb/gspca/
H A Dpac7302.c112 struct v4l2_ctrl *vflip; member
537 u8 data, hflip, vflip; in sethvflip() local
542 vflip = sd->vflip->val; in sethvflip()
544 vflip = !vflip; in sethvflip()
547 data = (hflip ? 0x08 : 0x00) | (vflip ? 0x04 : 0x00); in sethvflip()
671 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
H A Dvc032x.c25 struct v4l2_ctrl *vflip; member
3281 static void sethvflip(struct gspca_dev *gspca_dev, bool hflip, bool vflip) in sethvflip() argument
3289 vflip = !vflip; in sethvflip()
3298 | 0x01 * vflip; in sethvflip()
3305 | OV7660_MVFP_VFLIP * vflip; in sethvflip()
3312 | 0x40 * vflip in sethvflip()
3670 sethvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl()
3751 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
H A Dsn9c20x.c71 struct v4l2_ctrl *vflip; member
1365 static void set_hvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in set_hvflip() argument
1373 vflip = !vflip; in set_hvflip()
1381 if (vflip) { in set_hvflip()
1396 if (vflip) { in set_hvflip()
1409 if (vflip) in set_hvflip()
1420 if (vflip) in set_hvflip()
1427 if (vflip) in set_hvflip()
1691 set_hvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl()
1752 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
[all …]
H A Dstk1135.c34 struct v4l2_ctrl *vflip; member
557 setvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->vflip)); in stk1135_dq_callback()
596 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
/linux/drivers/media/i2c/
H A Dhi847.c2179 struct v4l2_ctrl *vflip; member
2319 int hflip, vflip; in hi847_grbg_shift() local
2344 vflip = hi847->vflip->val; in hi847_grbg_shift()
2349 FORMAT_X_SHIFT_1[vflip][hflip]); in hi847_grbg_shift()
2355 FORMAT_Y_SHIFT_1[vflip][hflip]); in hi847_grbg_shift()
2359 FORMAT_X_SHIFT_2[vflip][hflip]); in hi847_grbg_shift()
2365 FORMAT_Y_SHIFT_2[vflip][hflip]); in hi847_grbg_shift()
2538 hi847->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &hi847_ctrl_ops, in hi847_init_controls()
H A Dimx355.c110 struct v4l2_ctrl *vflip; member
1079 code = codes[imx355->vflip->val][imx355->hflip->val]; in imx355_get_format_code()
1230 imx355->vflip->val << 1); in imx355_set_ctrl()
1455 __v4l2_ctrl_grab(imx355->vflip, enable); in imx355_set_stream()
1583 imx355->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx355_ctrl_ops, in imx355_init_controls()
1585 if (imx355->vflip) in imx355_init_controls()
1586 imx355->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx355_init_controls()
H A Dimx319.c124 struct v4l2_ctrl *vflip; member
1782 code = codes[imx319->vflip->val][imx319->hflip->val]; in imx319_get_format_code()
1932 imx319->vflip->val << 1); in imx319_set_ctrl()
2186 __v4l2_ctrl_grab(imx319->vflip, enable); in imx319_set_stream()
2294 imx319->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx319_ctrl_ops, in imx319_init_controls()
2296 if (imx319->vflip) in imx319_init_controls()
2297 imx319->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx319_init_controls()
H A Dov08d10.c529 struct v4l2_ctrl *vflip; member
619 return codes[ov08d10->vflip->val][ov08d10->hflip->val]; in ov08d10_get_format_code()
896 ov08d10->vflip->val << 1); in ov08d10_set_ctrl()
992 ov08d10->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls()
994 if (ov08d10->vflip) in ov08d10_init_controls()
995 ov08d10->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in ov08d10_init_controls()
1123 __v4l2_ctrl_grab(ov08d10->vflip, enable); in ov08d10_set_stream()
/linux/include/media/tpg/
H A Dv4l2-tpg.h206 bool vflip; member
651 static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip) in tpg_s_vflip() argument
653 tpg->vflip = vflip; in tpg_s_vflip()
658 return tpg->vflip; in tpg_g_vflip()
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h86 struct v4l2_ctrl *vflip; member
205 u32 vflip:1; member
H A Dmtk_mdp_regs.c140 misc->vflip = ctx->ctrls.vflip->val; in mtk_mdp_hw_set_rotation()
H A Dmtk_mdp_ipi.h106 int32_t vflip; /* 1 will enable the flip */ member
/linux/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c432 if( 0 != vv->vflip ) { in calculate_video_dma_grab_packed()
462 if( 0 != vv->vflip ) { in calculate_video_dma_grab_packed()
481 if( 0 != vv->vflip ) { in calc_planar_422()
511 if( 0 != vv->vflip ) { in calc_planar_420()
563 if( 0 != vv->vflip ) { in calculate_video_dma_grab_planar()
621 if( 0 != vv->vflip ) { in calculate_video_dma_grab_planar()
/linux/drivers/staging/media/imx/
H A Dimx-ic-prpencvf.c88 bool vflip; member
1077 bool hflip, vflip; in prp_s_ctrl() local
1083 vflip = priv->vflip; in prp_s_ctrl()
1090 vflip = (ctrl->val == 1); in prp_s_ctrl()
1101 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl()
1125 priv->vflip = vflip; in prp_s_ctrl()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-m2m.h25 struct v4l2_ctrl *vflip; member
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.h54 struct v4l2_ctrl *vflip; member
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c754 bool hflip, bool vflip, in mdp5_hwpipe_mode_set() argument
807 (vflip ? MDP5_PIPE_SRC_OP_MODE_FLIP_UD : 0) | in mdp5_hwpipe_mode_set()
862 bool vflip, hflip; in mdp5_plane_mode_set() local
941 vflip = !!(rotation & DRM_MODE_REFLECT_Y); in mdp5_plane_mode_set()
944 config, hdecm, vdecm, hflip, vflip, in mdp5_plane_mode_set()
950 config, hdecm, vdecm, hflip, vflip, in mdp5_plane_mode_set()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-core.c521 ctx->vflip = ctrl->val; in __fimc_s_ctrl()
587 ctrls->vflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create()
636 v4l2_ctrl_activate(ctrls->vflip, active); in fimc_ctrls_activate()
645 ctx->vflip = ctrls->vflip->val; in fimc_ctrls_activate()
650 ctx->vflip = 0; in fimc_ctrls_activate()

123