Lines Matching defs:line
46 /* Check if VBI services are allowed on the (field, line) for the video std */
47 static int valid_service_line(int field, int line, int is_pal)
49 return (is_pal && line >= 6 &&
50 ((field == 0 && line <= 23) || (field == 1 && line <= 22))) ||
51 (!is_pal && line >= 10 && line < 22);
55 * For a (field, line, std) and inbound potential set of services for that line,
57 * line in priority order:
61 static u16 select_service_from_set(int field, int line, u16 set, int is_pal)
67 if (set == 0 || !valid_service_line(field, line, is_pal))
70 if (line == 21 && (set & V4L2_SLICED_CAPTION_525))
73 if (line == 16 && field == 0 && (set & V4L2_SLICED_VPS))
75 if (line == 23 && field == 0 && (set & V4L2_SLICED_WSS_625))
77 if (line == 23)
656 * for the standard, on a valid line for the std