/linux-6.6.21/drivers/media/usb/gspca/m5602/ |
D | m5602_s5k83a.c | 168 __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 …]
|
D | m5602_ov9650.c | 394 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()
|
D | m5602_s5k4aa.c | 548 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()
|
D | m5602_mt9m111.c | 296 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()
|
/linux-6.6.21/drivers/media/platform/st/sti/bdisp/ |
D | bdisp.h | 34 struct v4l2_ctrl *vflip; member 93 unsigned int vflip:1; member 118 unsigned int vflip:1; member
|
D | bdisp-hw.c | 29 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-6.6.21/drivers/media/usb/gspca/ |
D | pac7302.c | 112 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()
|
D | vc032x.c | 25 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()
|
D | ov534.c | 67 struct v4l2_ctrl *vflip; member 1068 static void sethvflip(struct gspca_dev *gspca_dev, s32 hflip, s32 vflip) in sethvflip() argument 1078 if (vflip) in sethvflip() 1086 if (vflip == 0) in sethvflip() 1187 sethvflip(gspca_dev, ctrl->val, sd->vflip->val); in ov534_s_ctrl() 1291 sd->vflip = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1431 v4l2_ctrl_g_ctrl(sd->vflip)); in sd_start()
|
D | sn9c20x.c | 71 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 …]
|
/linux-6.6.21/drivers/media/i2c/ |
D | hi847.c | 2179 struct v4l2_ctrl *vflip; member 2322 int hflip, vflip; in hi847_grbg_shift() local 2347 vflip = hi847->vflip->val; in hi847_grbg_shift() 2352 FORMAT_X_SHIFT_1[vflip][hflip]); in hi847_grbg_shift() 2358 FORMAT_Y_SHIFT_1[vflip][hflip]); in hi847_grbg_shift() 2362 FORMAT_X_SHIFT_2[vflip][hflip]); in hi847_grbg_shift() 2368 FORMAT_Y_SHIFT_2[vflip][hflip]); in hi847_grbg_shift() 2541 hi847->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &hi847_ctrl_ops, in hi847_init_controls()
|
D | imx208.c | 280 struct v4l2_ctrl *vflip; member 321 return codes[imx208->vflip->val][imx208->hflip->val]; in imx208_get_format_code() 473 imx208->vflip->val << 1); in imx208_set_ctrl() 743 v4l2_ctrl_grab(imx208->vflip, enable); in imx208_set_stream() 942 imx208->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops, in imx208_init_controls() 944 if (imx208->vflip) in imx208_init_controls() 945 imx208->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx208_init_controls()
|
D | imx319.c | 125 struct v4l2_ctrl *vflip; member 1783 code = codes[imx319->vflip->val][imx319->hflip->val]; in imx319_get_format_code() 1933 imx319->vflip->val << 1); in imx319_set_ctrl() 2194 __v4l2_ctrl_grab(imx319->vflip, enable); in imx319_set_stream() 2333 imx319->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx319_ctrl_ops, in imx319_init_controls() 2335 if (imx319->vflip) in imx319_init_controls() 2336 imx319->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx319_init_controls()
|
D | imx355.c | 111 struct v4l2_ctrl *vflip; member 1081 code = codes[imx355->vflip->val][imx355->hflip->val]; in imx355_get_format_code() 1232 imx355->vflip->val << 1); in imx355_set_ctrl() 1464 __v4l2_ctrl_grab(imx355->vflip, enable); in imx355_set_stream() 1622 imx355->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx355_ctrl_ops, in imx355_init_controls() 1624 if (imx355->vflip) in imx355_init_controls() 1625 imx355->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx355_init_controls()
|
D | imx219.c | 460 struct v4l2_ctrl *vflip; member 492 i = (i & ~3) | (imx219->vflip->val ? 2 : 0) | in imx219_get_format_code() 545 imx219->hflip->val | imx219->vflip->val << 1, &ret); in imx219_set_ctrl() 857 __v4l2_ctrl_grab(imx219->vflip, true); in imx219_start_streaming() 878 __v4l2_ctrl_grab(imx219->vflip, false); in imx219_stop_streaming() 1125 imx219->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &imx219_ctrl_ops, in imx219_init_controls() 1127 if (imx219->vflip) in imx219_init_controls() 1128 imx219->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in imx219_init_controls()
|
D | ov08d10.c | 529 struct v4l2_ctrl *vflip; member 622 return codes[ov08d10->vflip->val][ov08d10->hflip->val]; in ov08d10_get_format_code() 899 ov08d10->vflip->val << 1); in ov08d10_set_ctrl() 995 ov08d10->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov08d10_ctrl_ops, in ov08d10_init_controls() 997 if (ov08d10->vflip) in ov08d10_init_controls() 998 ov08d10->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT; in ov08d10_init_controls() 1131 __v4l2_ctrl_grab(ov08d10->vflip, enable); in ov08d10_set_stream()
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_core.h | 86 struct v4l2_ctrl *vflip; member 205 u32 vflip:1; member
|
D | mtk_mdp_regs.c | 140 misc->vflip = ctx->ctrls.vflip->val; in mtk_mdp_hw_set_rotation()
|
/linux-6.6.21/include/media/tpg/ |
D | v4l2-tpg.h | 206 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-6.6.21/drivers/staging/media/imx/ |
D | imx-media-csc-scaler.c | 64 bool vflip; member 623 bool hflip, vflip; in ipu_csc_scaler_s_ctrl() local 628 vflip = ctx->vflip; in ipu_csc_scaler_s_ctrl() 635 vflip = ctrl->val; in ipu_csc_scaler_s_ctrl() 644 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl() 699 ctx->vflip = vflip; in ipu_csc_scaler_s_ctrl()
|
D | imx-ic-prpencvf.c | 88 bool vflip; member 1079 bool hflip, vflip; in prp_s_ctrl() local 1085 vflip = priv->vflip; in prp_s_ctrl() 1092 vflip = (ctrl->val == 1); in prp_s_ctrl() 1103 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl() 1127 priv->vflip = vflip; in prp_s_ctrl()
|
/linux-6.6.21/drivers/media/common/saa7146/ |
D | saa7146_hlp.c | 432 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-6.6.21/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-m2m.h | 25 struct v4l2_ctrl *vflip; member
|
/linux-6.6.21/drivers/media/platform/renesas/vsp1/ |
D | vsp1_rwpf.h | 54 struct v4l2_ctrl *vflip; member
|
/linux-6.6.21/drivers/media/platform/amlogic/meson-ge2d/ |
D | ge2d.c | 81 u32 vflip; member 271 (ctx->vflip ? GE2D_SRC1_X_REV : 0) | in ge2d_hw_start() 751 ctx->vflip = ctrl->val; in ge2d_s_ctrl() 760 ctx->vflip = 1; in ge2d_s_ctrl() 764 ctx->vflip = 1; in ge2d_s_ctrl() 768 ctx->vflip = 0; in ge2d_s_ctrl() 772 ctx->vflip = 0; in ge2d_s_ctrl()
|