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

1 .. SPDX-License-Identifier: GPL-2.0
6 Non-compressed file format
7 --------------------------
14 The format is YUV 4:2:0 which uses 1 Y byte per pixel and 1 U and V byte per
21 and from top to bottom. Each block is transmitted in turn, line-by-line.
23 So the first 16 bytes are the first line of the top-left block, the
24 second 16 bytes are the second line of the top-left block, etc. After
29 to right, top to bottom. Each block is transmitted in turn, line-by-line.
31 So the first 16 bytes are the first line of the top-left block and
33 second line of 8 UV pairs of the top-left block, etc. After transmitting
50 .. code-block:: c
56 static unsigned char frame[576*720*3/2];
57 static unsigned char framey[576*720];
58 static unsigned char frameu[576*720 / 4];
59 static unsigned char framev[576*720 / 4];
68 // Each block in transmitted in turn, line-by-line.
69 for (y = 0; y < h; y += 16) {
70 for (x = 0; x < w; x += 16) {
71 for (i = 0; i < 16; i++) {
87 // Each block in transmitted in turn, line-by-line.
88 for (y = 0; y < h; y += 16) {
89 for (x = 0; x < w; x += 8) {
90 for (i = 0; i < 16; i++) {
93 dstu[idx+0] = src[0]; dstv[idx+0] = src[1];
118 exit(-1);
121 de_macro_y(framey, frame, 720, 720, 576);
122 de_macro_uv(frameu, framev, frame + 720 * 576, 720 / 2, 720 / 2, 576 / 2);
128 return 0;
133 ---------------------------------------------------------
139 embedded in an MPEG-2 program stream. This format is in part dictated by some
147 The stream ID of the VBI data is 0xBD. The maximum size of the embedded data is
156 'itv0': After this magic number two unsigned longs follow. Bits 0-17 of the first
157 unsigned long denote which lines of the first field are captured. Bits 18-31 of
158 the first unsigned long and bits 0-3 of the second unsigned long are used for the
162 implies that the bitmasks are 0xffffffff and 0xf.
173 .. code-block:: c
175 #define IVTV_SLICED_TYPE_TELETEXT 0x1 // Teletext (uses lines 6-22 for PAL)
176 #define IVTV_SLICED_TYPE_CC 0x4 // Closed Captions (line 21 NTSC)
177 #define IVTV_SLICED_TYPE_WSS 0x5 // Wide Screen Signal (line 23 PAL)
178 #define IVTV_SLICED_TYPE_VPS 0x7 // Video Programming System (PAL) (line 16)