Lines Matching +full:0 +full:xf0
18 * 4 byte EAV code: 0xff 0x00 0x00 0xRP
20 * 3 byte Anc data preamble: 0x00 0xff 0xff
24 * 2 byte Internal DID: VBI-line-# 0x80
31 * 0xb0 (Task 0 VerticalBlank HorizontalBlank 0 0 0 0)
32 * 0xf0 (Task EvenField VerticalBlank HorizontalBlank 0 0 0 0)
36 * 0x90 (Task 0 0 HorizontalBlank 0 0 0 0)
37 * 0xd0 (Task EvenField 0 HorizontalBlank 0 0 0 0)
40 * 0x91 (1 0 010 0 !ActiveLine AncDataPresent)
41 * 0x55 (0 1 010 2ndField !ActiveLine AncDataPresent)
44 static const u8 sliced_vbi_did[2] = { 0x91, 0x55 };
71 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
72 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
73 0xd2, 0x5a, 0x52, 0xd2, 0x96, 0x1e, 0x16, 0x96, in decode_vps()
74 0x92, 0x1a, 0x12, 0x92, 0xd2, 0x5a, 0x52, 0xd2, in decode_vps()
75 0xd0, 0x58, 0x50, 0xd0, 0x94, 0x1c, 0x14, 0x94, in decode_vps()
76 0x90, 0x18, 0x10, 0x90, 0xd0, 0x58, 0x50, 0xd0, in decode_vps()
77 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
78 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
79 0xe1, 0x69, 0x61, 0xe1, 0xa5, 0x2d, 0x25, 0xa5, in decode_vps()
80 0xa1, 0x29, 0x21, 0xa1, 0xe1, 0x69, 0x61, 0xe1, in decode_vps()
81 0xc3, 0x4b, 0x43, 0xc3, 0x87, 0x0f, 0x07, 0x87, in decode_vps()
82 0x83, 0x0b, 0x03, 0x83, 0xc3, 0x4b, 0x43, 0xc3, in decode_vps()
83 0xc1, 0x49, 0x41, 0xc1, 0x85, 0x0d, 0x05, 0x85, in decode_vps()
84 0x81, 0x09, 0x01, 0x81, 0xc1, 0x49, 0x41, 0xc1, in decode_vps()
85 0xe1, 0x69, 0x61, 0xe1, 0xa5, 0x2d, 0x25, 0xa5, in decode_vps()
86 0xa1, 0x29, 0x21, 0xa1, 0xe1, 0x69, 0x61, 0xe1, in decode_vps()
87 0xe0, 0x68, 0x60, 0xe0, 0xa4, 0x2c, 0x24, 0xa4, in decode_vps()
88 0xa0, 0x28, 0x20, 0xa0, 0xe0, 0x68, 0x60, 0xe0, in decode_vps()
89 0xc2, 0x4a, 0x42, 0xc2, 0x86, 0x0e, 0x06, 0x86, in decode_vps()
90 0x82, 0x0a, 0x02, 0x82, 0xc2, 0x4a, 0x42, 0xc2, in decode_vps()
91 0xc0, 0x48, 0x40, 0xc0, 0x84, 0x0c, 0x04, 0x84, in decode_vps()
92 0x80, 0x08, 0x00, 0x80, 0xc0, 0x48, 0x40, 0xc0, in decode_vps()
93 0xe0, 0x68, 0x60, 0xe0, 0xa4, 0x2c, 0x24, 0xa4, in decode_vps()
94 0xa0, 0x28, 0x20, 0xa0, 0xe0, 0x68, 0x60, 0xe0, in decode_vps()
95 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
96 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
97 0xd2, 0x5a, 0x52, 0xd2, 0x96, 0x1e, 0x16, 0x96, in decode_vps()
98 0x92, 0x1a, 0x12, 0x92, 0xd2, 0x5a, 0x52, 0xd2, in decode_vps()
99 0xd0, 0x58, 0x50, 0xd0, 0x94, 0x1c, 0x14, 0x94, in decode_vps()
100 0x90, 0x18, 0x10, 0x90, 0xd0, 0x58, 0x50, 0xd0, in decode_vps()
101 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
102 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
105 u8 c, err = 0; in decode_vps()
108 for (i = 0; i < 2 * 13; i += 2) { in decode_vps()
110 c = (biphase_tbl[p[i + 1]] & 0xf) | in decode_vps()
111 ((biphase_tbl[p[i]] & 0xf) << 4); in decode_vps()
115 return err & 0xf0; in decode_vps()
123 0, V4L2_SLICED_TELETEXT_B, 0, /* 1 */ in cx18_av_g_sliced_fmt()
124 0, V4L2_SLICED_WSS_625, 0, /* 4 */ in cx18_av_g_sliced_fmt()
126 0, 0, V4L2_SLICED_VPS, 0, 0, /* 9 */ in cx18_av_g_sliced_fmt()
127 0, 0, 0, 0 in cx18_av_g_sliced_fmt()
132 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in cx18_av_g_sliced_fmt()
133 svbi->service_set = 0; in cx18_av_g_sliced_fmt()
136 if ((cx18_av_read(cx, 0x404) & 0x10) == 0) in cx18_av_g_sliced_fmt()
137 return 0; in cx18_av_g_sliced_fmt()
141 u8 v = cx18_av_read(cx, 0x424 + i - 7); in cx18_av_g_sliced_fmt()
143 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
144 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
145 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
150 u8 v = cx18_av_read(cx, 0x424 + i - 10); in cx18_av_g_sliced_fmt()
152 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
153 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
154 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
158 return 0; in cx18_av_g_sliced_fmt()
170 cx18_av_write(cx, 0x47f, state->slicer_line_delay); in cx18_av_s_raw_fmt()
171 cx18_av_write(cx, 0x404, 0x2e); in cx18_av_s_raw_fmt()
172 return 0; in cx18_av_s_raw_fmt()
183 for (x = 0; x <= 23; x++) in cx18_av_s_sliced_fmt()
184 lcr[x] = 0x00; in cx18_av_s_sliced_fmt()
190 cx18_av_write(cx, 0x404, 0x32); /* Ancillary data */ in cx18_av_s_sliced_fmt()
191 cx18_av_write(cx, 0x406, 0x13); in cx18_av_s_sliced_fmt()
192 cx18_av_write(cx, 0x47f, state->slicer_line_delay); in cx18_av_s_sliced_fmt()
194 /* Force impossible lines to 0 */ in cx18_av_s_sliced_fmt()
196 for (i = 0; i <= 6; i++) in cx18_av_s_sliced_fmt()
197 svbi->service_lines[0][i] = in cx18_av_s_sliced_fmt()
198 svbi->service_lines[1][i] = 0; in cx18_av_s_sliced_fmt()
200 for (i = 0; i <= 9; i++) in cx18_av_s_sliced_fmt()
201 svbi->service_lines[0][i] = in cx18_av_s_sliced_fmt()
202 svbi->service_lines[1][i] = 0; in cx18_av_s_sliced_fmt()
205 svbi->service_lines[0][i] = in cx18_av_s_sliced_fmt()
206 svbi->service_lines[1][i] = 0; in cx18_av_s_sliced_fmt()
211 for (x = 0; x <= 1; x++) { in cx18_av_s_sliced_fmt()
230 for (x = 1, i = 0x424; i <= 0x434; i++, x++) in cx18_av_s_sliced_fmt()
233 for (x = 1, i = 0x424; i <= 0x430; i++, x++) in cx18_av_s_sliced_fmt()
235 for (i = 0x431; i <= 0x434; i++) in cx18_av_s_sliced_fmt()
236 cx18_av_write(cx, i, 0); in cx18_av_s_sliced_fmt()
239 cx18_av_write(cx, 0x43c, 0x16); in cx18_av_s_sliced_fmt()
241 cx18_av_write(cx, 0x474, is_pal ? 38 : 26); in cx18_av_s_sliced_fmt()
242 return 0; in cx18_av_s_sliced_fmt()
252 int did, sdid, l, err = 0; in cx18_av_decode_vbi_line()
257 if (anc->preamble[0] || in cx18_av_decode_vbi_line()
258 anc->preamble[1] != 0xff || anc->preamble[2] != 0xff || in cx18_av_decode_vbi_line()
259 (anc->did != sliced_vbi_did[0] && in cx18_av_decode_vbi_line()
261 vbi->line = vbi->type = 0; in cx18_av_decode_vbi_line()
262 return 0; in cx18_av_decode_vbi_line()
266 sdid = anc->sdid & 0xf; in cx18_av_decode_vbi_line()
267 l = anc->idid[0] & 0x3f; in cx18_av_decode_vbi_line()
281 err = !odd_parity(p[0]) || !odd_parity(p[1]); in cx18_av_decode_vbi_line()
285 if (decode_vps(p, p) != 0) in cx18_av_decode_vbi_line()
289 sdid = 0; in cx18_av_decode_vbi_line()
294 vbi->type = err ? 0 : sdid; in cx18_av_decode_vbi_line()
295 vbi->line = err ? 0 : l; in cx18_av_decode_vbi_line()
296 vbi->is_second_field = err ? 0 : (did == sliced_vbi_did[1]); in cx18_av_decode_vbi_line()
298 return 0; in cx18_av_decode_vbi_line()