Home
last modified time | relevance | path

Searched refs:is_pal (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/media/video/cx25840/
Dcx25840-vbi.c96 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_g_sliced_fmt() local
104 if (is_pal) { in cx25840_g_sliced_fmt()
130 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_s_raw_fmt() local
131 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_raw_fmt()
146 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_s_sliced_fmt() local
147 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_sliced_fmt()
162 if (is_pal) { in cx25840_s_sliced_fmt()
195 if (is_pal) { in cx25840_s_sliced_fmt()
206 cx25840_write(client, 0x474, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
/linux-2.6.39/drivers/media/video/cx18/
Dcx18-av-vbi.c143 int is_pal = !(state->std & V4L2_STD_525_60); in cx18_av_g_sliced_fmt() local
151 if (is_pal) { in cx18_av_g_sliced_fmt()
191 int is_pal = !(state->std & V4L2_STD_525_60); in cx18_av_s_sliced_fmt() local
207 if (is_pal) { in cx18_av_s_sliced_fmt()
241 if (is_pal) { in cx18_av_s_sliced_fmt()
253 cx18_av_write(cx, 0x474, is_pal ? 38 : 26); in cx18_av_s_sliced_fmt()
Dcx18-ioctl.c61 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
63 return (is_pal && line >= 6 && in valid_service_line()
65 (!is_pal && line >= 10 && line < 22); in valid_service_line()
75 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
77 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
81 if (set == 0 || !valid_service_line(field, line, is_pal)) in select_service_from_set()
83 if (!is_pal) { in select_service_from_set()
105 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in cx18_expand_service_set() argument
113 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set()
121 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
[all …]
Dcx18-ioctl.h26 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
/linux-2.6.39/drivers/media/video/ivtv/
Divtv-ioctl.h25 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
Divtv-ioctl.c57 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
[all …]