Home
last modified time | relevance | path

Searched refs:std_id (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_STD.c45 v4l2_std_id std_id; in do_test_VIDIOC_G_STD() local
71 memset(&std_id, 0xff, sizeof(std_id)); in do_test_VIDIOC_G_STD()
72 ret_std_get = ioctl(f, VIDIOC_G_STD, &std_id); in do_test_VIDIOC_G_STD()
77 __FILE__, __LINE__, ret_std_get, errno_std_get, std_id); in do_test_VIDIOC_G_STD()
87 CU_ASSERT(valid_v4l2_std_id(std_id)); in do_test_VIDIOC_G_STD()
98 CU_ASSERT(valid_v4l2_std_id(std_id)); in do_test_VIDIOC_G_STD()
139 v4l2_std_id std_id; in do_set_video_standard() local
141 std_id = id; in do_set_video_standard()
142 ret_std_set = ioctl(f, VIDIOC_S_STD, &std_id); in do_set_video_standard()
147 __FILE__, __LINE__, ret_std_set, errno_std_set, std_id, id); in do_set_video_standard()
[all …]
Dv4l2_validator.c27 int valid_v4l2_std_id(v4l2_std_id std_id) in valid_v4l2_std_id() argument
31 if ((std_id & ~(V4L2_STD_PAL_B | in valid_v4l2_std_id()
Dv4l2_validator.h13 int valid_v4l2_std_id(v4l2_std_id std_id);
/third_party/ffmpeg/libavdevice/
Dv4l2.c87 v4l2_std_id std_id; member
319 if (s->std_id == 0) in list_standards()
665 if (s->std_id) { in v4l2_set_parameters()
695 if (v4l2_ioctl(s->fd, VIDIOC_G_STD, &s->std_id) == 0) { in v4l2_set_parameters()
712 if (standard.id == s->std_id) { in v4l2_set_parameters()
875 s->std_id = input.std; in v4l2_read_header()