/linux-4.4.14/drivers/media/usb/gspca/m5602/ |
D | m5602_s5k83a.c | 48 __s32 vflip, __s32 hflip); 158 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_HFLIP, in s5k83a_init_controls() 168 v4l2_ctrl_cluster(2, &sd->hflip); in s5k83a_init_controls() 177 __s32 vflip, hflip; in rotation_thread_function() local 189 hflip = sd->hflip->val; in rotation_thread_function() 194 hflip = !hflip; in rotation_thread_function() 197 vflip, hflip); in rotation_thread_function() 206 hflip = sd->hflip->val; in rotation_thread_function() 208 s5k83a_set_flip_real((struct gspca_dev *) sd, vflip, hflip); in rotation_thread_function() 308 __s32 vflip, __s32 hflip) in s5k83a_set_flip_real() argument [all …]
|
D | m5602_s5k4aa.c | 351 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_HFLIP, in s5k4aa_init_controls() 361 v4l2_ctrl_cluster(2, &sd->hflip); in s5k4aa_init_controls() 391 int hflip = sd->hflip->val; in s5k4aa_set_hvflip() local 394 PDEBUG(D_CONF, "Set hvflip %d %d", hflip, vflip); in s5k4aa_set_hvflip() 404 hflip = !hflip; in s5k4aa_set_hvflip() 408 data = (data & 0x7f) | (vflip << 7) | (hflip << 6); in s5k4aa_set_hvflip() 416 if (hflip) in s5k4aa_set_hvflip()
|
D | m5602_mt9m111.c | 152 sd->hflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_HFLIP, in mt9m111_init_controls() 163 v4l2_ctrl_cluster(2, &sd->hflip); in mt9m111_init_controls() 254 int hflip; in mt9m111_set_hvflip() local 257 PDEBUG(D_CONF, "Set hvflip to %d %d", sd->hflip->val, sd->vflip->val); in mt9m111_set_hvflip() 260 hflip = !sd->hflip->val; in mt9m111_set_hvflip() 272 (hflip << 1) | vflip; in mt9m111_set_hvflip() 276 (hflip << 1) | vflip; in mt9m111_set_hvflip()
|
D | m5602_ov7660.c | 141 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP, in ov7660_init_controls() 152 v4l2_ctrl_cluster(2, &sd->hflip); in ov7660_init_controls() 247 PDEBUG(D_CONF, "Set hvflip to %d, %d", sd->hflip->val, sd->vflip->val); in ov7660_set_hvflip() 249 i2c_data = (sd->hflip->val << 5) | (sd->vflip->val << 4); in ov7660_set_hvflip()
|
D | m5602_ov9650.c | 244 sd->hflip = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_HFLIP, in ov9650_init_controls() 257 v4l2_ctrl_cluster(2, &sd->hflip); in ov9650_init_controls() 490 int hflip = sd->hflip->val; in ov9650_set_hvflip() local 493 PDEBUG(D_CONF, "Set hvflip to %d %d", hflip, vflip); in ov9650_set_hvflip() 498 i2c_data = (hflip << 5) | (vflip << 4); in ov9650_set_hvflip()
|
D | m5602_po1030.c | 159 sd->hflip = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_HFLIP, in po1030_init_controls() 171 v4l2_ctrl_cluster(2, &sd->hflip); in po1030_init_controls() 348 PDEBUG(D_CONF, "Set hvflip %d %d", sd->hflip->val, sd->vflip->val); in po1030_set_hvflip() 353 i2c_data = (0x3f & i2c_data) | (sd->hflip->val << 7) | in po1030_set_hvflip()
|
D | m5602_bridge.h | 163 struct v4l2_ctrl *hflip; member
|
/linux-4.4.14/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 376 c->hflip = ctx->hflip; in bdisp_hw_get_op_cfg() 539 node->tty |= cfg->hflip ? BLT_TTY_HSO : 0; in bdisp_hw_build_node() 554 node->txy |= cfg->hflip ? (dst_width - dst_x_offset - 1) : in bdisp_hw_build_node() 762 request->hflip = ctx->hflip; in bdisp_hw_save_request()
|
D | bdisp-v4l2.c | 375 ctx->hflip = ctrl->val; in __bdisp_s_ctrl() 415 ctx->bdisp_ctrls.hflip = v4l2_ctrl_new_std(&ctx->ctrl_handler, in bdisp_ctrls_create()
|
D | bdisp-debug.c | 466 if (request->hflip) in bdisp_dbg_last_request()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | pac7302.c | 125 struct v4l2_ctrl *hflip; member 551 u8 data, hflip, vflip; in sethvflip() local 553 hflip = sd->hflip->val; in sethvflip() 555 hflip = !hflip; in sethvflip() 561 data = (hflip ? 0x08 : 0x00) | (vflip ? 0x04 : 0x00); in sethvflip() 683 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 698 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | pac7311.c | 80 struct v4l2_ctrl *hflip; member 349 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 354 data = (hflip ? 0x04 : 0x00) | in sethvflip() 401 sethvflip(gspca_dev, sd->hflip->val, 1); in sd_s_ctrl() 432 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 456 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), 1); in sd_start()
|
D | vc032x.c | 37 struct v4l2_ctrl *hflip; member 3286 static void sethvflip(struct gspca_dev *gspca_dev, bool hflip, bool vflip) in sethvflip() argument 3292 hflip = !hflip; in sethvflip() 3302 data[1] = 0x02 * hflip in sethvflip() 3309 data[0] |= OV7660_MVFP_MIRROR * hflip in sethvflip() 3316 data[0] = 0x80 * hflip in sethvflip() 3675 sethvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 3754 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3784 if (sd->hflip) in sd_init_controls() 3785 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | sn9c20x.c | 83 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() 1685 set_hvflip(gspca_dev, sd->hflip->val, sd->vflip->val); in sd_s_ctrl() 1741 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | ov534.c | 78 struct v4l2_ctrl *hflip; member 1014 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 1022 if (hflip) in sethvflip() 1030 if (hflip == 0) in sethvflip() 1136 sethvflip(gspca_dev, sd->hflip->val, ctrl->val); in ov534_s_ctrl() 1235 sd->hflip = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1368 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), in sd_start()
|
D | stk1135.c | 46 struct v4l2_ctrl *hflip; member 568 sethflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip)); in stk1135_dq_callback() 606 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
|
D | ov519.c | 70 struct v4l2_ctrl *hflip; member 4104 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 4111 OV7670_MVFP_MIRROR * hflip | OV7670_MVFP_VFLIP * vflip, in sethvflip() 4922 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4957 if (sd->hflip) in sd_init_controls() 4958 v4l2_ctrl_cluster(2, &sd->hflip); in sd_init_controls()
|
D | sonixj.c | 48 struct v4l2_ctrl *hflip; member 1664 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2042 if (sd->hflip->val) in sethvflip()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-tpg.h | 166 bool hflip; member 565 static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip) in tpg_s_hflip() argument 567 if (tpg->hflip == hflip) in tpg_s_hflip() 569 tpg->hflip = hflip; in tpg_s_hflip() 576 return tpg->hflip; in tpg_g_hflip()
|
D | vivid-tpg.c | 1472 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line() 1483 real_x = tpg->hflip ? tpg->src_width * 2 - real_x - 2 : real_x; in tpg_precalculate_line() 1493 gen_twopix(tpg, pix, tpg->hflip ? color2 : color1, 0); in tpg_precalculate_line() 1494 gen_twopix(tpg, pix, tpg->hflip ? color1 : color2, 1); in tpg_precalculate_line() 1582 if (hdiv == 2 && tpg->hflip) { \ 1592 } else if (tpg->hflip) { \ 1612 pos += (tpg->hflip ? -8 : 8) / hdiv; \ 1665 if (tpg->hflip) in tpg_gen_text() 1701 if (tpg->hflip) in tpg_update_mv_step()
|
D | vivid-core.h | 263 bool hflip; member
|
D | vivid-ctrls.c | 316 dev->hflip = ctrl->val; in vivid_user_vid_s_ctrl() 317 tpg_s_hflip(&dev->tpg, dev->sensor_hflip ^ dev->hflip); in vivid_user_vid_s_ctrl() 421 tpg_s_hflip(&dev->tpg, dev->sensor_hflip ^ dev->hflip); in vivid_vid_cap_s_ctrl()
|
/linux-4.4.14/drivers/media/i2c/ |
D | mt9m032.c | 154 struct v4l2_ctrl *hflip; member 595 static int update_read_mode2(struct mt9m032 *sensor, bool vflip, bool hflip) in update_read_mode2() argument 599 | (hflip << MT9M032_READ_MODE2_HFLIP_SHIFT) in update_read_mode2() 659 sensor->hflip->val); in mt9m032_set_ctrl() 777 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 798 v4l2_ctrl_cluster(2, &sensor->hflip); in mt9m032_probe()
|
D | noon010pc30.c | 147 unsigned int hflip:1; member 325 static int noon010_set_flip(struct v4l2_subdev *sd, int hflip, int vflip) in noon010_set_flip() argument 335 if (hflip) in noon010_set_flip() 342 info->hflip = hflip; in noon010_set_flip()
|
D | mt9v011.c | 56 unsigned hflip:1; member 303 if (core->hflip) in set_read_mode() 442 core->hflip = ctrl->val; in mt9v011_s_ctrl()
|
D | sr030pc30.c | 150 unsigned int hflip:1; member 368 if (info->hflip) in sr030pc30_set_flip() 732 info->hflip = 1; in sr030pc30_probe()
|
D | ov9650.c | 213 struct v4l2_ctrl *hflip; member 810 if (ov965x->ctrls.hflip->val) in ov965x_set_flip() 1028 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in ov965x_initialize_controls() 1051 v4l2_ctrl_cluster(2, &ctrls->hflip); in ov965x_initialize_controls()
|
D | s5k6aa.c | 215 struct v4l2_ctrl *hflip; member 1382 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in s5k6aa_initialize_ctrls() 1384 v4l2_ctrl_cluster(2, &ctrls->hflip); in s5k6aa_initialize_ctrls()
|
D | s5k5baf.c | 265 struct v4l2_ctrl *hflip; member 1653 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in s5k5baf_initialize_ctrls() 1655 v4l2_ctrl_cluster(2, &ctrls->hflip); in s5k5baf_initialize_ctrls()
|
/linux-4.4.14/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 43 static int hflip = -1; variable 44 module_param(hflip, int, 0444); 45 MODULE_PARM_DESC(hflip, "Horizontal image flip (mirror). Defaults to 0"); 840 dev->vsettings.hflip = !ctrl->val; in stk_s_ctrl() 842 dev->vsettings.hflip = ctrl->val; in stk_s_ctrl() 1324 if (hflip != -1) in stk_camera_probe() 1325 dev->vsettings.hflip = hflip; in stk_camera_probe() 1327 dev->vsettings.hflip = 1; in stk_camera_probe() 1329 dev->vsettings.hflip = 0; in stk_camera_probe()
|
D | stk-webcam.h | 65 int hflip; member
|
D | stk-sensor.c | 560 | (dev->vsettings.hflip?MVFP_MIRROR:0); in stk_sensor_configure()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 286 bool vflip, hflip; in mdp5_plane_atomic_check() local 312 hflip = !!(state->rotation & BIT(DRM_REFLECT_X)); in mdp5_plane_atomic_check() 315 (hflip && !(mdp5_plane->caps & MDP_PIPE_CAP_HFLIP))) { in mdp5_plane_atomic_check() 684 bool vflip, hflip; in mdp5_plane_mode_set() local 746 hflip = !!(pstate->rotation & BIT(DRM_REFLECT_X)); in mdp5_plane_mode_set() 790 (hflip ? MDP5_PIPE_SRC_OP_MODE_FLIP_LR : 0) | in mdp5_plane_mode_set()
|
/linux-4.4.14/include/video/ |
D | imx-ipu-v3.h | 338 bool hflip, bool vflip); 340 bool hflip, bool vflip);
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 542 ctx->hflip = ctrl->val; in __fimc_s_ctrl() 610 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 660 v4l2_ctrl_activate(ctrls->hflip, active); in fimc_ctrls_activate() 669 ctx->hflip = ctrls->hflip->val; in fimc_ctrls_activate() 674 ctx->hflip = 0; in fimc_ctrls_activate()
|
D | fimc-core.h | 460 struct v4l2_ctrl *hflip; member 499 unsigned int hflip:1; member
|
D | fimc-reg.c | 48 if (ctx->hflip) in fimc_hw_get_in_flip() 63 if (ctx->hflip) in fimc_hw_get_target_flip()
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-core.h | 164 struct v4l2_ctrl *hflip; member 375 unsigned int hflip:1; member
|
D | gsc-regs.c | 387 if (ctx->gsc_ctrls.hflip->val) in gsc_hw_set_rotation() 395 if (ctx->gsc_ctrls.hflip->val) in gsc_hw_set_rotation()
|
D | gsc-core.c | 712 ctx->hflip = ctrl->val; in __gsc_s_ctrl() 773 ctx->gsc_ctrls.hflip = v4l2_ctrl_new_std(&ctx->ctrl_handler, in gsc_ctrls_create()
|
/linux-4.4.14/drivers/media/i2c/smiapp/ |
D | smiapp.h | 239 struct v4l2_ctrl *hflip; member
|
D | smiapp-core.c | 358 if (sensor->hflip) { in smiapp_pixel_order() 359 if (sensor->hflip->val) in smiapp_pixel_order() 429 if (sensor->hflip->val) in smiapp_set_ctrl() 543 sensor->hflip = v4l2_ctrl_new_std( in smiapp_init_controls() 583 v4l2_ctrl_cluster(2, &sensor->hflip); in smiapp_init_controls()
|
/linux-4.4.14/include/media/ |
D | saa7146_vv.h | 138 int hflip; member
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-core.h | 233 u8 hflip; member
|
D | camif-regs.c | 356 if (vp->hflip) in camif_hw_set_flip()
|
D | camif-capture.c | 1102 vp->hflip = ctrl->val; in s3c_camif_video_s_ctrl()
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 187 bool hflip, bool vflip) in ipu_degrees_to_rot_mode() argument 210 hf ^= (u32)hflip; in ipu_degrees_to_rot_mode() 219 bool hflip, bool vflip) in ipu_rot_mode_to_degrees() argument 226 hf ^= (u32)hflip; in ipu_rot_mode_to_degrees()
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_hlp.c | 541 …calculate_h_scale_registers(dev, vv->standard->h_pixels, width, vv->hflip, &hps_ctrl, &hps_v_gain,… in saa7146_set_window()
|
D | saa7146_video.c | 567 vv->hflip = ctrl->val; in saa7146_s_ctrl()
|