Lines Matching refs:is_pal
174 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
176 return (is_pal && line >= 6 && in valid_service_line()
178 (!is_pal && line >= 10 && line < 22); in valid_service_line()
188 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
190 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
194 if (set == 0 || !valid_service_line(field, line, is_pal)) in select_service_from_set()
196 if (!is_pal) { in select_service_from_set()
218 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in cx18_expand_service_set() argument
226 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set()
234 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
241 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set()