diff mbox

[v2] V4L - Adding Digital Video Timings APIs

Message ID 200911182023.34005.hverkuil@xs4all.nl (mailing list archive)
State Superseded
Headers show

Commit Message

Hans Verkuil Nov. 18, 2009, 7:23 p.m. UTC
None
diff mbox

Patch

diff -r 19ac1f4cde54 v4l2-apps/test/ioctl-test.c
--- a/v4l2-apps/test/ioctl-test.c	Tue Nov 17 20:30:42 2009 -0200
+++ b/v4l2-apps/test/ioctl-test.c	Wed Nov 18 19:30:38 2009 +0100
@@ -91,6 +91,8 @@ 
 	struct v4l2_dbg_register p_v4l2_dbg_register;
 	struct v4l2_dbg_chip_ident p_v4l2_dbg_chip_ident;
 	struct v4l2_hw_freq_seek p_v4l2_hw_freq_seek;
+	struct v4l2_dv_preset p_v4l2_dv_preset;
+	struct v4l2_dv_timings p_v4l2_dv_timings;
 };
 
 #define ioc(cmd) { cmd, #cmd }
@@ -197,6 +199,12 @@ 
 	ioc(VIDIOC_DBG_G_REGISTER),	/* struct v4l2_register */
 	ioc(VIDIOC_DBG_G_CHIP_IDENT),	/* struct v4l2_dbg_chip_ident */
 	ioc(VIDIOC_S_HW_FREQ_SEEK),	/* struct v4l2_hw_freq_seek */
+	ioc(VIDIOC_ENUM_DV_PRESETS),	/* struct v4l2_dv_enum_preset */
+	ioc(VIDIOC_S_DV_PRESET),	/* struct v4l2_dv_preset */
+	ioc(VIDIOC_G_DV_PRESET),	/* struct v4l2_dv_preset */
+	ioc(VIDIOC_QUERY_DV_PRESET),	/* struct v4l2_dv_preset */
+	ioc(VIDIOC_S_DV_TIMINGS),	/* struct v4l2_dv_timings */
+	ioc(VIDIOC_G_DV_TIMINGS),	/* struct v4l2_dv_timings */
 #ifdef __OLD_VIDIOC_
 	ioc(VIDIOC_OVERLAY_OLD),	/* int */
 	ioc(VIDIOC_S_PARM_OLD),		/* struct v4l2_streamparm */