Lines Matching +full:4 +full:- +full:line

1 .. SPDX-License-Identifier: GPL-2.0
6 Non-compressed file format
7 --------------------------
12 The format is YUV 4:2:0 which uses 1 Y byte per pixel and 1 U and V byte per
19 and from top to bottom. Each block is transmitted in turn, line-by-line.
21 So the first 16 bytes are the first line of the top-left block, the
22 second 16 bytes are the second line of the top-left block, etc. After
23 transmitting this block the first line of the block on the right to the
27 to right, top to bottom. Each block is transmitted in turn, line-by-line.
29 So the first 16 bytes are the first line of the top-left block and
31 second line of 8 UV pairs of the top-left block, etc. After transmitting
32 this block the first line of the block on the right to the first block is
48 .. code-block:: c
56 static unsigned char frameu[576*720 / 4];
57 static unsigned char framev[576*720 / 4];
66 // Each block in transmitted in turn, line-by-line.
85 // Each block in transmitted in turn, line-by-line.
93 dstu[idx+2] = src[4]; dstv[idx+2] = src[5];
95 dstu[idx+4] = src[8]; dstv[idx+4] = src[9];
116 exit(-1);
131 ---------------------------------------------------------
137 embedded in an MPEG-2 program stream. This format is in part dictated by some
146 4 + 43 * 36, which is 4 bytes for a header and 2 * 18 VBI lines with a 1 byte
149 for a bitmask determining which lines are captured and 4 bytes for a magic cookie,
154 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
155 unsigned long denote which lines of the first field are captured. Bits 18-31 of
156 the first unsigned long and bits 0-3 of the second unsigned long are used for the
165 For each line the least significant 4 bits of the first byte contain the data type.
171 .. code-block:: c
173 #define IVTV_SLICED_TYPE_TELETEXT 0x1 // Teletext (uses lines 6-22 for PAL)
174 #define IVTV_SLICED_TYPE_CC 0x4 // Closed Captions (line 21 NTSC)
175 #define IVTV_SLICED_TYPE_WSS 0x5 // Wide Screen Signal (line 23 PAL)
176 #define IVTV_SLICED_TYPE_VPS 0x7 // Video Programming System (PAL) (line 16)