Lines Matching refs:is_pal
57 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
59 return (is_pal && line >= 6 && (line != 23 || field == 0)) || in valid_service_line()
60 (!is_pal && line >= 10 && line < 22); in valid_service_line()
63 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
65 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
69 if (set == 0 || !valid_service_line(field, line, is_pal)) { in select_service_from_set()
72 if (!is_pal) { in select_service_from_set()
91 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in ivtv_expand_service_set() argument
99 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in ivtv_expand_service_set()
104 static void check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
110 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set()