Lines Matching +full:0 +full:- +full:576

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
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
48 .. code-block:: c
54 static unsigned char frame[576*720*3/2];
55 static unsigned char framey[576*720];
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.
67 for (y = 0; y < h; y += 16) {
68 for (x = 0; x < w; x += 16) {
69 for (i = 0; i < 16; i++) {
85 // Each block in transmitted in turn, line-by-line.
86 for (y = 0; y < h; y += 16) {
87 for (x = 0; x < w; x += 8) {
88 for (i = 0; i < 16; i++) {
91 dstu[idx+0] = src[0]; dstv[idx+0] = src[1];
116 exit(-1);
119 de_macro_y(framey, frame, 720, 720, 576);
120 de_macro_uv(frameu, framev, frame + 720 * 576, 720 / 2, 720 / 2, 576 / 2);
126 return 0;
131 ---------------------------------------------------------
137 embedded in an MPEG-2 program stream. This format is in part dictated by some
145 The stream ID of the VBI data is 0xBD. The maximum size of the embedded data is
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
160 implies that the bitmasks are 0xffffffff and 0xf.
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)