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 * list_entry_is_past_end - check if a previous loop cursor is off list end
284 (&pos->member == (head))
287 /* Common video buffer sub-system struct */
305 u32 id; /* index into cx->scb->cpu_mdl[] of 1st cx18_mdl_ent */
390 /* MDL sizes - all stream MDLs are the same size */
395 struct cx18_queue q_free; /* free - in rotation, not committed */
396 struct cx18_queue q_busy; /* busy - in use by firmware */
397 struct cx18_queue q_full; /* full - data for user apps */
398 struct cx18_queue q_idle; /* idle - not in rotation */
429 return fh2id(file->private_data); in file2id()
432 /* forward declaration of struct defined in cx18-cards.h */
440 * horizontal blanking region of the VBI lines, in "raw" mode as far as
442 * to provide sliced VBI. (AV Core: sliced mode - Encoder: raw mode)
445 * to the user application directly or build up MPEG-2 private stream 1
446 * packets to splice into (only!) MPEG-2 PS streams for the user app.
463 * Sliced VBI data is sent as ancillary data during horizontal blanking
464 * Raw VBI is sent as active video samples during vertcal blanking
470 * NTSC-M, PAL-M, PAL-60, and other 60 Hz/525 line systems, we have:
476 * PAL-B/G/H, PAL-I, SECAM-L and other 50 Hz/625 line systems, we have:
481 #define VBI_ACTIVE_SAMPLES 1444 /* 4 byte SAV + 720 Y + 720 U/V */
506 * Used in cx18-vbi.c only for collecting sliced data, and as a source
514 * A ring buffer of driver-generated MPEG-2 PS
519 * 16 byte MPEG-2 PS Program Pack Header
520 * 16 byte MPEG-2 Private Stream 1 PES Header
531 * which is the payload size a PVR-350 (CX23415) MPEG decoder will
547 * Only used in cx18-fileops.c, but its state needs to persist at times.
566 struct v4l2_subdev *sd_av; /* A/V decoder/digitizer sub-device */
567 struct v4l2_subdev *sd_extmux; /* External multiplexer sub-dev */
611 uninitialized value in the stream->id. */
634 char in_workq_name[39]; /* "cx18-NN-in" */
660 /* Used for cx18-alsa module loading */
677 /* Return non-zero if a signal is pending */
684 /* First-open initialization: load firmware, etc. */
690 return cx->vbi.in.type == V4L2_BUF_TYPE_VBI_CAPTURE; in cx18_raw_vbi()
696 v4l2_device_mask_call_all(&(cx)->v4l2_dev, hw, o, f, ##args)
702 * other than 0 or -ENOIOCTLCMD, then return with that error code. */
704 v4l2_device_mask_call_until_err(&(cx)->v4l2_dev, hw, o, f, ##args)