Lines Matching +full:flip +full:- +full:horizontal

1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
12 * P/N 861075-0040: Sensor HDCS1000 ASIC
13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
37 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in vv6410_s_ctrl()
38 int err = -EINVAL; in vv6410_s_ctrl()
40 switch (ctrl->id) { in vv6410_s_ctrl()
42 if (!gspca_dev->streaming) in vv6410_s_ctrl()
44 err = vv6410_set_hflip(gspca_dev, ctrl->val); in vv6410_s_ctrl()
47 if (!gspca_dev->streaming) in vv6410_s_ctrl()
49 err = vv6410_set_vflip(gspca_dev, ctrl->val); in vv6410_s_ctrl()
52 err = vv6410_set_analog_gain(gspca_dev, ctrl->val); in vv6410_s_ctrl()
55 err = vv6410_set_exposure(gspca_dev, ctrl->val); in vv6410_s_ctrl()
72 return -ENODEV; in vv6410_probe()
75 return -ENODEV; in vv6410_probe()
79 sd->gspca_dev.cam.cam_mode = vv6410_mode; in vv6410_probe()
80 sd->gspca_dev.cam.nmodes = ARRAY_SIZE(vv6410_mode); in vv6410_probe()
86 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in vv6410_init_controls()
100 return hdl->error; in vv6410_init_controls()
119 struct cam *cam = &sd->gspca_dev.cam; in vv6410_start()
120 u32 priv = cam->cam_mode[sd->gspca_dev.curr_mode].priv; in vv6410_start()
197 gspca_dbg(gspca_dev, D_CONF, "Set horizontal flip to %d\n", val); in vv6410_set_hflip()
218 gspca_dbg(gspca_dev, D_CONF, "Set vertical flip to %d\n", val); in vv6410_set_vflip()