Lines Matching +full:scaled +full:- +full:sync

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 bttv - Bt848 frame grabber driver
6 bttv's *private* header file -- nobody other than bttv itself
9 (c) 2000-2002 Gerd Knorr <kraxel@bytesex.org>
19 #include <linux/i2c-algo-bit.h>
26 #include <media/v4l2-common.h>
27 #include <media/v4l2-ctrls.h>
28 #include <media/v4l2-fh.h>
29 #include <media/videobuf2-dma-sg.h>
31 #include <media/rc-core.h>
32 #include <media/i2c/ir-kbd-i2c.h>
33 #include <media/drv-intf/tea575x.h>
37 #include "btcx-risc.h"
60 #define UNSET (-1U)
65 #define MAX_HDELAY (0x3FF & -2)
66 /* Limits scaled width, which must be a multiple of 4. */
67 #define MAX_HACTIVE (0x3FF & -4)
74 /* ---------------------------------------------------------- */
80 u16 swidth, sheight; /* scaled standard width, height */
89 /* ITU-R frame line number of the first VBI line we can
94 edge of the horizontal sync pulse, vertically ITU-R frame line
135 /* ---------------------------------------------------------- */
144 /* common v4l buffer stuff -- must be first */
174 /* bttv-vbi.c */
183 /* Scaled image size limits with this crop rect. Divide
186 bttv_crop_adjust() in bttv-driver.c. */
193 /* ---------------------------------------------------------- */
194 /* bttv-risc.c */
196 /* risc code generators - capture */
217 /* ---------------------------------------------------------- */
218 /* bttv-vbi.c */
222 * stores 1024 + tvnorm->vbipack * 4 samples per line in the buffer. Note
223 * tvnorm->vbipack is <= 0xFF (limit of VBIPACK_LO + HI is 0x1FF DWORDs) and
234 /* ---------------------------------------------------------- */
235 /* bttv-gpio.c */
241 /* ---------------------------------------------------------- */
242 /* bttv-input.c */
246 /* ---------------------------------------------------------- */
247 /* bttv-i2c.c */
251 /* ---------------------------------------------------------- */
252 /* bttv-driver.c */
290 /* for gpio-connected remote control */
407 /* switch status for multi-controller cards */
411 - must acquire s_lock before changing these
412 - only the irq handler is supported to touch top + bottom + vcurr */
452 /* used to make dvb-bt8xx autoloadable */
484 return (bttv_tvcards[btv->c.type].muxsel >> (input * 2)) & 3; in bttv_muxsel()
491 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr))
492 #define btread(adr) readl(btv->bt848_mmio+(adr))