Lines Matching refs:is_pal
43 static int valid_service_line(int field, int line, int is_pal)
45 return (is_pal && line >= 6 && (line != 23 || field == 0)) ||
46 (!is_pal && line >= 10 && line < 22);
49 static u16 select_service_from_set(int field, int line, u16 set, int is_pal)
51 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525);
55 if (set == 0 || !valid_service_line(field, line, is_pal)) {
58 if (!is_pal) {
77 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal)
85 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal);
90 static void check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal)
96 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal);