/linux/drivers/media/usb/gspca/m5602/ |
H A 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() 428 __s32 vflip, __s32 hflip) in s5k83a_set_flip_real() argument [all …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp.h | 33 struct v4l2_ctrl *hflip; member 92 unsigned int hflip:1; member 117 unsigned int hflip:1; member
|
H A 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()
|
/linux/drivers/media/usb/gspca/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | sn9c20x.c | 70 struct v4l2_ctrl *hflip; member 1365 static void set_hvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in set_hvflip() argument 1372 hflip = !hflip; in set_hvflip() 1379 if (hflip) in set_hvflip() 1394 if (hflip) in set_hvflip() 1407 if (hflip) in set_hvflip() 1418 if (hflip) in set_hvflip() 1429 if (hflip) in set_hvflip() 1691 set_hvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 1750 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
/linux/include/media/tpg/ |
H A D | v4l2-tpg.h | 205 bool hflip; member 637 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip) in tpg_s_hflip() argument 639 if (tpg->hflip == hflip) in tpg_s_hflip() 641 tpg->hflip = hflip; in tpg_s_hflip() 648 return tpg->hflip; in tpg_g_hflip()
|
/linux/drivers/media/i2c/ |
H A D | hi847.c | 2180 struct v4l2_ctrl *hflip; member 2319 int hflip, vflip; in hi847_grbg_shift() local 2343 hflip = hi847->hflip->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() 2536 hi847->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &hi847_ctrl_ops, in hi847_init_controls()
|
H A D | imx355.c | 111 struct v4l2_ctrl *hflip; member 1079 code = codes[imx355->vflip->val][imx355->hflip->val]; in imx355_get_format_code() 1229 imx355->hflip->val | in imx355_set_ctrl() 1456 __v4l2_ctrl_grab(imx355->hflip, enable); in imx355_set_stream() 1579 imx355->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx355_ctrl_ops, in imx355_init_controls() 1581 if (imx355->hflip) in imx355_init_controls() 1582 imx355->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx355_init_controls()
|
H A D | imx319.c | 125 struct v4l2_ctrl *hflip; member 1782 code = codes[imx319->vflip->val][imx319->hflip->val]; in imx319_get_format_code() 1931 imx319->hflip->val | in imx319_set_ctrl() 2187 __v4l2_ctrl_grab(imx319->hflip, enable); in imx319_set_stream() 2290 imx319->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx319_ctrl_ops, in imx319_init_controls() 2292 if (imx319->hflip) in imx319_init_controls() 2293 imx319->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx319_init_controls()
|
H A D | ov08d10.c | 530 struct v4l2_ctrl *hflip; member 619 return codes[ov08d10->vflip->val][ov08d10->hflip->val]; in ov08d10_get_format_code() 895 ov08d10->hflip->val | in ov08d10_set_ctrl() 988 ov08d10->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls() 990 if (ov08d10->hflip) in ov08d10_init_controls() 991 ov08d10->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in ov08d10_init_controls() 1124 __v4l2_ctrl_grab(ov08d10->hflip, enable); in ov08d10_set_stream()
|
/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_core.h | 85 struct v4l2_ctrl *hflip; member 204 u32 hflip:1; member
|
H A D | mtk_mdp_regs.c | 139 misc->hflip = ctx->ctrls.hflip->val; in mtk_mdp_hw_set_rotation()
|
H A D | mtk_mdp_ipi.h | 105 int32_t hflip; /* 1 will enable the flip */ member
|
/linux/drivers/staging/media/imx/ |
H A D | imx-ic-prpencvf.c | 87 bool hflip; member 1077 bool hflip, vflip; in prp_s_ctrl() local 1082 hflip = priv->hflip; in prp_s_ctrl() 1087 hflip = (ctrl->val == 1); in prp_s_ctrl() 1101 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl() 1124 priv->hflip = hflip; in prp_s_ctrl()
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-m2m.h | 24 struct v4l2_ctrl *hflip; member
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.h | 55 struct v4l2_ctrl *hflip; member
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 754 bool hflip, bool vflip, in mdp5_hwpipe_mode_set() argument 806 (hflip ? MDP5_PIPE_SRC_OP_MODE_FLIP_LR : 0) | in mdp5_hwpipe_mode_set() 862 bool vflip, hflip; in mdp5_plane_mode_set() local 940 hflip = !!(rotation & DRM_MODE_REFLECT_X); 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 D | fimc-core.c | 517 ctx->hflip = ctrl->val; in __fimc_s_ctrl() 585 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 635 v4l2_ctrl_activate(ctrls->hflip, active); in fimc_ctrls_activate() 644 ctx->hflip = ctrls->hflip->val; in fimc_ctrls_activate() 649 ctx->hflip = 0; in fimc_ctrls_activate()
|