Lines Matching +full:v +full:- +full:blanking
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Derived from ivtv-driver.h
24 #include <linux/i2c-algo-bit.h>
33 #include <media/v4l2-common.h>
34 #include <media/v4l2-ioctl.h>
35 #include <media/v4l2-device.h>
36 #include <media/v4l2-fh.h>
38 #include <media/i2c/ir-kbd-i2c.h>
39 #include "cx18-mailbox.h"
40 #include "cx18-av-core.h"
52 #include <media/videobuf2-vmalloc.h>
71 #define CX18_CARD_TOSHIBA_QOSMIO_DVBT 5 /* Toshiba Qosmio Interal DVB-T/Analog*/
157 gcc-2.95, otherwise it won't compile. */
161 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \
175 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \
187 #define CX18_ERR(fmt, args...) v4l2_err(&cx->v4l2_dev, fmt , ## args)
188 #define CX18_WARN(fmt, args...) v4l2_warn(&cx->v4l2_dev, fmt , ## args)
189 #define CX18_INFO(fmt, args...) v4l2_info(&cx->v4l2_dev, fmt , ## args)
249 /* per-mdl bit flags */
252 /* per-stream, s_flags */
260 /* per-cx18, i_flags */
275 /* Common video buffer sub-system struct */
293 u32 id; /* index into cx->scb->cpu_mdl[] of 1st cx18_mdl_ent */
378 /* MDL sizes - all stream MDLs are the same size */
383 struct cx18_queue q_free; /* free - in rotation, not committed */
384 struct cx18_queue q_busy; /* busy - in use by firmware */
385 struct cx18_queue q_full; /* full - data for user apps */
386 struct cx18_queue q_idle; /* idle - not in rotation */
417 return fh2id(file->private_data);
420 /* forward declaration of struct defined in cx18-cards.h */
428 * horizontal blanking region of the VBI lines, in "raw" mode as far as
430 * to provide sliced VBI. (AV Core: sliced mode - Encoder: raw mode)
433 * to the user application directly or build up MPEG-2 private stream 1
434 * packets to splice into (only!) MPEG-2 PS streams for the user app.
451 * Sliced VBI data is sent as ancillary data during horizontal blanking
452 * Raw VBI is sent as active video samples during vertcal blanking
458 * NTSC-M, PAL-M, PAL-60, and other 60 Hz/525 line systems, we have:
464 * PAL-B/G/H, PAL-I, SECAM-L and other 50 Hz/625 line systems, we have:
469 #define VBI_ACTIVE_SAMPLES 1444 /* 4 byte SAV + 720 Y + 720 U/V */
494 * Used in cx18-vbi.c only for collecting sliced data, and as a source
502 * A ring buffer of driver-generated MPEG-2 PS
507 * 16 byte MPEG-2 PS Program Pack Header
508 * 16 byte MPEG-2 Private Stream 1 PES Header
519 * which is the payload size a PVR-350 (CX23415) MPEG decoder will
535 * Only used in cx18-fileops.c, but its state needs to persist at times.
554 struct v4l2_subdev *sd_av; /* A/V decoder/digitizer sub-device */
555 struct v4l2_subdev *sd_extmux; /* External multiplexer sub-dev */
599 uninitialized value in the stream->id. */
622 char in_workq_name[39]; /* "cx18-NN-in" */
648 /* Used for cx18-alsa module loading */
665 /* Return non-zero if a signal is pending */
672 /* First-open initialization: load firmware, etc. */
678 return cx->vbi.in.type == V4L2_BUF_TYPE_VBI_CAPTURE;
684 v4l2_device_mask_call_all(&(cx)->v4l2_dev, hw, o, f, ##args)
690 * other than 0 or -ENOIOCTLCMD, then return with that error code. */
692 v4l2_device_mask_call_until_err(&(cx)->v4l2_dev, hw, o, f, ##args)