Lines Matching refs:is_pal
47 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
49 return (is_pal && line >= 6 && in valid_service_line()
51 (!is_pal && line >= 10 && line < 22); in valid_service_line()
61 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
63 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
67 if (set == 0 || !valid_service_line(field, line, is_pal)) in select_service_from_set()
69 if (!is_pal) { in select_service_from_set()
91 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in cx18_expand_service_set() argument
99 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set()
107 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
114 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set()