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