Lines Matching +full:0 +full:xb0

19  *	4 byte EAV code:          0xff 0x00 0x00 0xRP
21 * 3 byte Anc data preamble: 0x00 0xff 0xff
25 * 2 byte Internal DID: VBI-line-# 0x80
32 * 0xb0 (Task 0 VerticalBlank HorizontalBlank 0 0 0 0)
33 * 0xf0 (Task EvenField VerticalBlank HorizontalBlank 0 0 0 0)
37 * 0x90 (Task 0 0 HorizontalBlank 0 0 0 0)
38 * 0xd0 (Task EvenField 0 HorizontalBlank 0 0 0 0)
41 * 0x91 (1 0 010 0 !ActiveLine AncDataPresent)
42 * 0x55 (0 1 010 2ndField !ActiveLine AncDataPresent)
45 static const u8 sliced_vbi_did[2] = { 0x91, 0x55 };
63 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4,
64 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0,
65 0xd2, 0x5a, 0x52, 0xd2, 0x96, 0x1e, 0x16, 0x96,
66 0x92, 0x1a, 0x12, 0x92, 0xd2, 0x5a, 0x52, 0xd2,
67 0xd0, 0x58, 0x50, 0xd0, 0x94, 0x1c, 0x14, 0x94,
68 0x90, 0x18, 0x10, 0x90, 0xd0, 0x58, 0x50, 0xd0,
69 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4,
70 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0,
71 0xe1, 0x69, 0x61, 0xe1, 0xa5, 0x2d, 0x25, 0xa5,
72 0xa1, 0x29, 0x21, 0xa1, 0xe1, 0x69, 0x61, 0xe1,
73 0xc3, 0x4b, 0x43, 0xc3, 0x87, 0x0f, 0x07, 0x87,
74 0x83, 0x0b, 0x03, 0x83, 0xc3, 0x4b, 0x43, 0xc3,
75 0xc1, 0x49, 0x41, 0xc1, 0x85, 0x0d, 0x05, 0x85,
76 0x81, 0x09, 0x01, 0x81, 0xc1, 0x49, 0x41, 0xc1,
77 0xe1, 0x69, 0x61, 0xe1, 0xa5, 0x2d, 0x25, 0xa5,
78 0xa1, 0x29, 0x21, 0xa1, 0xe1, 0x69, 0x61, 0xe1,
79 0xe0, 0x68, 0x60, 0xe0, 0xa4, 0x2c, 0x24, 0xa4,
80 0xa0, 0x28, 0x20, 0xa0, 0xe0, 0x68, 0x60, 0xe0,
81 0xc2, 0x4a, 0x42, 0xc2, 0x86, 0x0e, 0x06, 0x86,
82 0x82, 0x0a, 0x02, 0x82, 0xc2, 0x4a, 0x42, 0xc2,
83 0xc0, 0x48, 0x40, 0xc0, 0x84, 0x0c, 0x04, 0x84,
84 0x80, 0x08, 0x00, 0x80, 0xc0, 0x48, 0x40, 0xc0,
85 0xe0, 0x68, 0x60, 0xe0, 0xa4, 0x2c, 0x24, 0xa4,
86 0xa0, 0x28, 0x20, 0xa0, 0xe0, 0x68, 0x60, 0xe0,
87 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4,
88 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0,
89 0xd2, 0x5a, 0x52, 0xd2, 0x96, 0x1e, 0x16, 0x96,
90 0x92, 0x1a, 0x12, 0x92, 0xd2, 0x5a, 0x52, 0xd2,
91 0xd0, 0x58, 0x50, 0xd0, 0x94, 0x1c, 0x14, 0x94,
92 0x90, 0x18, 0x10, 0x90, 0xd0, 0x58, 0x50, 0xd0,
93 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4,
94 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0,
97 u8 c, err = 0;
100 for (i = 0; i < 2 * 13; i += 2) {
102 c = (biphase_tbl[p[i + 1]] & 0xf) |
103 ((biphase_tbl[p[i]] & 0xf) << 4);
107 return err & 0xf0;
115 0, V4L2_SLICED_TELETEXT_B, 0, /* 1 */
116 0, V4L2_SLICED_WSS_625, 0, /* 4 */
118 0, 0, V4L2_SLICED_VPS, 0, 0, /* 9 */
119 0, 0, 0, 0
124 memset(svbi->service_lines, 0, sizeof(svbi->service_lines));
125 svbi->service_set = 0;
128 if ((cx18_av_read(cx, 0x404) & 0x10) == 0)
129 return 0;
133 u8 v = cx18_av_read(cx, 0x424 + i - 7);
135 svbi->service_lines[0][i] = lcr2vbi[v >> 4];
136 svbi->service_lines[1][i] = lcr2vbi[v & 0xf];
137 svbi->service_set |= svbi->service_lines[0][i] |
142 u8 v = cx18_av_read(cx, 0x424 + i - 10);
144 svbi->service_lines[0][i] = lcr2vbi[v >> 4];
145 svbi->service_lines[1][i] = lcr2vbi[v & 0xf];
146 svbi->service_set |= svbi->service_lines[0][i] |
150 return 0;
162 cx18_av_write(cx, 0x47f, state->slicer_line_delay);
163 cx18_av_write(cx, 0x404, 0x2e);
164 return 0;
175 for (x = 0; x <= 23; x++)
176 lcr[x] = 0x00;
182 cx18_av_write(cx, 0x404, 0x32); /* Ancillary data */
183 cx18_av_write(cx, 0x406, 0x13);
184 cx18_av_write(cx, 0x47f, state->slicer_line_delay);
186 /* Force impossible lines to 0 */
188 for (i = 0; i <= 6; i++)
189 svbi->service_lines[0][i] =
190 svbi->service_lines[1][i] = 0;
192 for (i = 0; i <= 9; i++)
193 svbi->service_lines[0][i] =
194 svbi->service_lines[1][i] = 0;
197 svbi->service_lines[0][i] =
198 svbi->service_lines[1][i] = 0;
203 for (x = 0; x <= 1; x++) {
222 for (x = 1, i = 0x424; i <= 0x434; i++, x++)
225 for (x = 1, i = 0x424; i <= 0x430; i++, x++)
227 for (i = 0x431; i <= 0x434; i++)
228 cx18_av_write(cx, i, 0);
231 cx18_av_write(cx, 0x43c, 0x16);
233 cx18_av_write(cx, 0x474, is_pal ? 38 : 26);
234 return 0;
244 int did, sdid, l, err = 0;
249 if (anc->preamble[0] ||
250 anc->preamble[1] != 0xff || anc->preamble[2] != 0xff ||
251 (anc->did != sliced_vbi_did[0] &&
253 vbi->line = vbi->type = 0;
254 return 0;
258 sdid = anc->sdid & 0xf;
259 l = anc->idid[0] & 0x3f;
273 err = !parity8(p[0]) || !parity8(p[1]);
277 if (decode_vps(p, p) != 0)
281 sdid = 0;
286 vbi->type = err ? 0 : sdid;
287 vbi->line = err ? 0 : l;
288 vbi->is_second_field = err ? 0 : (did == sliced_vbi_did[1]);
290 return 0;