aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-02-15 13:22:56 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-24 12:49:43 -0400
commit81b8cd9284945a323009482418c3d80de1d59d25 (patch)
treeb2854659a79f7b23fa2b8ae41d9638070afe4a58
parent098cbc38c27dee66e5bc7f088c30b96e5cc96510 (diff)
[media] videodev2.h: remove obsolete DV_PRESET API
This API is now obsolete and can be removed. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--include/uapi/linux/videodev2.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index b5f5cddcf1c3..9d57dba27412 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -981,52 +981,6 @@ struct v4l2_standard {
981 __u32 reserved[4]; 981 __u32 reserved[4];
982}; 982};
983 983
984/* The DV Preset API is deprecated in favor of the DV Timings API.
985 New drivers shouldn't use this anymore! */
986
987/*
988 * V I D E O T I M I N G S D V P R E S E T
989 */
990struct v4l2_dv_preset {
991 __u32 preset;
992 __u32 reserved[4];
993};
994
995/*
996 * D V P R E S E T S E N U M E R A T I O N
997 */
998struct v4l2_dv_enum_preset {
999 __u32 index;
1000 __u32 preset;
1001 __u8 name[32]; /* Name of the preset timing */
1002 __u32 width;
1003 __u32 height;
1004 __u32 reserved[4];
1005};
1006
1007/*
1008 * D V P R E S E T V A L U E S
1009 */
1010#define V4L2_DV_INVALID 0
1011#define V4L2_DV_480P59_94 1 /* BT.1362 */
1012#define V4L2_DV_576P50 2 /* BT.1362 */
1013#define V4L2_DV_720P24 3 /* SMPTE 296M */
1014#define V4L2_DV_720P25 4 /* SMPTE 296M */
1015#define V4L2_DV_720P30 5 /* SMPTE 296M */
1016#define V4L2_DV_720P50 6 /* SMPTE 296M */
1017#define V4L2_DV_720P59_94 7 /* SMPTE 274M */
1018#define V4L2_DV_720P60 8 /* SMPTE 274M/296M */
1019#define V4L2_DV_1080I29_97 9 /* BT.1120/ SMPTE 274M */
1020#define V4L2_DV_1080I30 10 /* BT.1120/ SMPTE 274M */
1021#define V4L2_DV_1080I25 11 /* BT.1120 */
1022#define V4L2_DV_1080I50 12 /* SMPTE 296M */
1023#define V4L2_DV_1080I60 13 /* SMPTE 296M */
1024#define V4L2_DV_1080P24 14 /* SMPTE 296M */
1025#define V4L2_DV_1080P25 15 /* SMPTE 296M */
1026#define V4L2_DV_1080P30 16 /* SMPTE 296M */
1027#define V4L2_DV_1080P50 17 /* BT.1120 */
1028#define V4L2_DV_1080P60 18 /* BT.1120 */
1029
1030/* 984/*
1031 * D V B T T I M I N G S 985 * D V B T T I M I N G S
1032 */ 986 */
@@ -1240,7 +1194,6 @@ struct v4l2_input {
1240#define V4L2_IN_ST_VTR 0x04000000 /* VTR time constant */ 1194#define V4L2_IN_ST_VTR 0x04000000 /* VTR time constant */
1241 1195
1242/* capabilities flags */ 1196/* capabilities flags */
1243#define V4L2_IN_CAP_PRESETS 0x00000001 /* Supports S_DV_PRESET */
1244#define V4L2_IN_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */ 1197#define V4L2_IN_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */
1245#define V4L2_IN_CAP_CUSTOM_TIMINGS V4L2_IN_CAP_DV_TIMINGS /* For compatibility */ 1198#define V4L2_IN_CAP_CUSTOM_TIMINGS V4L2_IN_CAP_DV_TIMINGS /* For compatibility */
1246#define V4L2_IN_CAP_STD 0x00000004 /* Supports S_STD */ 1199#define V4L2_IN_CAP_STD 0x00000004 /* Supports S_STD */
@@ -1264,7 +1217,6 @@ struct v4l2_output {
1264#define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY 3 1217#define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY 3
1265 1218
1266/* capabilities flags */ 1219/* capabilities flags */
1267#define V4L2_OUT_CAP_PRESETS 0x00000001 /* Supports S_DV_PRESET */
1268#define V4L2_OUT_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */ 1220#define V4L2_OUT_CAP_DV_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */
1269#define V4L2_OUT_CAP_CUSTOM_TIMINGS V4L2_OUT_CAP_DV_TIMINGS /* For compatibility */ 1221#define V4L2_OUT_CAP_CUSTOM_TIMINGS V4L2_OUT_CAP_DV_TIMINGS /* For compatibility */
1270#define V4L2_OUT_CAP_STD 0x00000004 /* Supports S_STD */ 1222#define V4L2_OUT_CAP_STD 0x00000004 /* Supports S_STD */
@@ -1981,12 +1933,6 @@ struct v4l2_create_buffers {
1981 1933
1982#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) 1934#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)
1983 1935
1984/* These four DV Preset ioctls are deprecated in favor of the DV Timings
1985 ioctls. */
1986#define VIDIOC_ENUM_DV_PRESETS _IOWR('V', 83, struct v4l2_dv_enum_preset)
1987#define VIDIOC_S_DV_PRESET _IOWR('V', 84, struct v4l2_dv_preset)
1988#define VIDIOC_G_DV_PRESET _IOWR('V', 85, struct v4l2_dv_preset)
1989#define VIDIOC_QUERY_DV_PRESET _IOR('V', 86, struct v4l2_dv_preset)
1990#define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings) 1936#define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings)
1991#define VIDIOC_G_DV_TIMINGS _IOWR('V', 88, struct v4l2_dv_timings) 1937#define VIDIOC_G_DV_TIMINGS _IOWR('V', 88, struct v4l2_dv_timings)
1992#define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event) 1938#define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event)