Home
last modified time | relevance | path

Searched refs:v4l2_std_id (Results 1 – 25 of 165) sorted by relevance

1234567

/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-enumstd.rst60 * - :ref:`v4l2_std_id <v4l2-std-id>`
107 .. flat-table:: typedef v4l2_std_id
113 - ``v4l2_std_id``
122 #define V4L2_STD_PAL_B ((v4l2_std_id)0x00000001)
123 #define V4L2_STD_PAL_B1 ((v4l2_std_id)0x00000002)
124 #define V4L2_STD_PAL_G ((v4l2_std_id)0x00000004)
125 #define V4L2_STD_PAL_H ((v4l2_std_id)0x00000008)
126 #define V4L2_STD_PAL_I ((v4l2_std_id)0x00000010)
127 #define V4L2_STD_PAL_D ((v4l2_std_id)0x00000020)
128 #define V4L2_STD_PAL_D1 ((v4l2_std_id)0x00000040)
[all …]
Dvidioc-g-std.rst20 ``int ioctl(int fd, VIDIOC_G_STD, v4l2_std_id *argp)``
24 ``int ioctl(int fd, VIDIOC_S_STD, const v4l2_std_id *argp)``
28 ``int ioctl(int fd, VIDIOC_SUBDEV_G_STD, v4l2_std_id *argp)``
32 ``int ioctl(int fd, VIDIOC_SUBDEV_S_STD, const v4l2_std_id *argp)``
41 Pointer to :c:type:`v4l2_std_id`.
48 :ref:`v4l2_std_id <v4l2-std-id>` type as argument. :ref:`VIDIOC_G_STD <VIDIOC_G_STD>`
Dvidioc-querystd.rst20 ``int ioctl(int fd, VIDIOC_QUERYSTD, v4l2_std_id *argp)``
24 ``int ioctl(int fd, VIDIOC_SUBDEV_QUERYSTD, v4l2_std_id *argp)``
33 Pointer to :c:type:`v4l2_std_id`.
40 pointer to a :ref:`v4l2_std_id <v4l2-std-id>` type. The driver
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c14 v4l2_std_id id;
120 int pvr2_std_str_to_id(v4l2_std_id *idPtr,const char *bufPtr, in pvr2_std_str_to_id()
123 v4l2_std_id id = 0; in pvr2_std_str_to_id()
124 v4l2_std_id cmsk = 0; in pvr2_std_str_to_id()
125 v4l2_std_id t; in pvr2_std_str_to_id()
173 v4l2_std_id id) in pvr2_std_id_to_str()
267 static struct v4l2_standard *match_std(v4l2_std_id id) in match_std()
278 static int pvr2_std_fill(struct v4l2_standard *std,v4l2_std_id id) in pvr2_std_fill()
298 static v4l2_std_id std_mixes[] = {
306 v4l2_std_id id) in pvr2_std_create_enum()
[all …]
Dpvrusb2-std.h16 int pvr2_std_str_to_id(v4l2_std_id *idPtr,const char *bufPtr,
24 v4l2_std_id id);
30 v4l2_std_id id);
33 v4l2_std_id pvr2_std_get_usable(void);
Dpvrusb2-hdw-internal.h302 v4l2_std_id std_mask_eeprom; // Hardware supported selections
303 v4l2_std_id std_mask_avail; // Which standards we may select from
304 v4l2_std_id std_mask_cur; // Currently selected standard(s)
/linux-6.6.21/include/uapi/linux/
Dvideodev2.h1340 typedef __u64 v4l2_std_id; typedef
1347 #define V4L2_STD_PAL_B ((v4l2_std_id)0x00000001)
1348 #define V4L2_STD_PAL_B1 ((v4l2_std_id)0x00000002)
1349 #define V4L2_STD_PAL_G ((v4l2_std_id)0x00000004)
1350 #define V4L2_STD_PAL_H ((v4l2_std_id)0x00000008)
1351 #define V4L2_STD_PAL_I ((v4l2_std_id)0x00000010)
1352 #define V4L2_STD_PAL_D ((v4l2_std_id)0x00000020)
1353 #define V4L2_STD_PAL_D1 ((v4l2_std_id)0x00000040)
1354 #define V4L2_STD_PAL_K ((v4l2_std_id)0x00000080)
1356 #define V4L2_STD_PAL_M ((v4l2_std_id)0x00000100)
[all …]
Dv4l2-subdev.h275 #define VIDIOC_SUBDEV_G_STD _IOR('V', 23, v4l2_std_id)
276 #define VIDIOC_SUBDEV_S_STD _IOW('V', 24, v4l2_std_id)
280 #define VIDIOC_SUBDEV_QUERYSTD _IOR('V', 63, v4l2_std_id)
/linux-6.6.21/drivers/media/pci/ivtv/
Divtv-ioctl.h18 void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std);
19 void ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std);
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.h15 extern const v4l2_std_id vivid_standard[];
46 int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *id);
47 int vivid_vid_cap_s_std(struct file *file, void *priv, v4l2_std_id id);
/linux-6.6.21/drivers/media/i2c/adv748x/
Dadv748x-afe.c56 v4l2_std_id *std) in adv748x_afe_status()
128 static int adv748x_afe_std(v4l2_std_id std) in adv748x_afe_std()
184 static int adv748x_afe_g_std(struct v4l2_subdev *sd, v4l2_std_id *norm) in adv748x_afe_g_std()
193 static int adv748x_afe_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in adv748x_afe_s_std()
212 static int adv748x_afe_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in adv748x_afe_querystd()
248 static int adv748x_afe_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm) in adv748x_afe_g_tvnorms()
/linux-6.6.21/drivers/media/i2c/
Dbt819.c45 v4l2_std_id norm;
200 static int bt819_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in bt819_status()
205 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in bt819_status()
225 static int bt819_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in bt819_querystd()
235 static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in bt819_s_std()
Dvpx3220.c37 v4l2_std_id norm;
282 static int vpx3220_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in vpx3220_status()
285 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in vpx3220_status()
325 static int vpx3220_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in vpx3220_querystd()
337 static int vpx3220_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in vpx3220_s_std()
Dml86v7667.c88 v4l2_std_id std;
159 static int ml86v7667_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in ml86v7667_querystd()
234 static int ml86v7667_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) in ml86v7667_g_std()
243 static int ml86v7667_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in ml86v7667_s_std()
Dsaa7110.c46 v4l2_std_id norm;
177 static v4l2_std_id determine_norm(struct v4l2_subdev *sd) in determine_norm()
252 static int saa7110_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in saa7110_querystd()
258 static int saa7110_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in saa7110_s_std()
Dtvp5150.c84 v4l2_std_id norm; /* Current set standard */
85 v4l2_std_id detected_norm;
683 v4l2_std_id std = decoder->norm; in tvp5150_set_vbi()
726 v4l2_std_id std = decoder->norm; in tvp5150_get_vbi()
759 static int tvp5150_set_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_set_std()
787 static int tvp5150_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) in tvp5150_g_std()
796 static int tvp5150_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_s_std()
800 v4l2_std_id supported_stds; in tvp5150_s_std()
830 static v4l2_std_id tvp5150_read_std(struct v4l2_subdev *sd) in tvp5150_read_std()
866 static int tvp5150_querystd(struct v4l2_subdev *sd, v4l2_std_id *std_id) in tvp5150_querystd()
[all …]
Dks0127.c188 v4l2_std_id norm;
534 static int ks0127_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in ks0127_s_std()
595 static int ks0127_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in ks0127_status()
599 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in ks0127_status()
624 static int ks0127_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in ks0127_querystd()
Dtw9906.c21 v4l2_std_id norm;
85 static int tw9906_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9906_s_std()
Dtw9903.c30 v4l2_std_id norm;
114 static int tw9903_s_std(struct v4l2_subdev *sd, v4l2_std_id norm) in tw9903_s_std()
/linux-6.6.21/drivers/media/usb/usbtv/
Dusbtv.h76 v4l2_std_id norm;
112 v4l2_std_id norm;
Dusbtv-video.c63 static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_configure_for_norm()
124 static uint16_t usbtv_norm_to_16f_reg(v4l2_std_id norm) in usbtv_norm_to_16f_reg()
145 static int usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_select_norm()
243 static const v4l2_std_id ntsc_mask = in usbtv_select_norm()
245 static const v4l2_std_id pal_mask = in usbtv_select_norm()
659 static int usbtv_g_std(struct file *file, void *priv, v4l2_std_id *norm) in usbtv_g_std()
666 static int usbtv_s_std(struct file *file, void *priv, v4l2_std_id norm) in usbtv_s_std()
/linux-6.6.21/drivers/media/tuners/
Dxc2028.c78 v4l2_std_id id;
86 v4l2_std_id id;
87 v4l2_std_id std_req;
242 static v4l2_std_id parse_audio_std_option(void) in parse_audio_std_option()
346 v4l2_std_id id; in load_all_firmwares()
432 v4l2_std_id *id) in seek_firmware()
477 v4l2_std_id match_mask; in seek_firmware()
543 v4l2_std_id *id) in load_firmware()
654 v4l2_std_id *id, __u16 int_freq, int scode) in load_scode()
718 v4l2_std_id std, __u16 int_freq) in check_firmware()
[all …]
/linux-6.6.21/include/media/
Dv4l2-subdev.h487 int (*g_std)(struct v4l2_subdev *sd, v4l2_std_id *norm);
488 int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
489 int (*s_std_output)(struct v4l2_subdev *sd, v4l2_std_id std);
490 int (*g_std_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
491 int (*querystd)(struct v4l2_subdev *sd, v4l2_std_id *std);
492 int (*g_tvnorms)(struct v4l2_subdev *sd, v4l2_std_id *std);
493 int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
Dv4l2-ioctl.h443 int (*vidioc_g_std)(struct file *file, void *fh, v4l2_std_id *norm);
444 int (*vidioc_s_std)(struct file *file, void *fh, v4l2_std_id norm);
445 int (*vidioc_querystd)(struct file *file, void *fh, v4l2_std_id *a);
619 const char *v4l2_norm_to_name(v4l2_std_id id);
655 int v4l_video_std_enumstd(struct v4l2_standard *vs, v4l2_std_id id);
/linux-6.6.21/drivers/media/pci/cx88/
Dcx88-core.c619 static inline unsigned int norm_swidth(v4l2_std_id norm) in norm_swidth()
630 static inline unsigned int norm_hdelay(v4l2_std_id norm) in norm_hdelay()
641 static inline unsigned int norm_vdelay(v4l2_std_id norm) in norm_vdelay()
646 static inline unsigned int norm_fsc8(v4l2_std_id norm) in norm_fsc8()
667 static inline unsigned int norm_htotal(v4l2_std_id norm) in norm_htotal()
677 static inline unsigned int norm_vbipack(v4l2_std_id norm) in norm_vbipack()
831 v4l2_std_id norm = core->tvnorm; in set_tvaudio()
882 int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm) in cx88_set_tvnorm()

1234567