diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-05-01 04:29:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 07:31:52 -0400 |
commit | 75916fd279323fd1b1636625a127838962677dfd (patch) | |
tree | a656c25d0da35921eb85e6021426bd65401001d0 /include/linux/videodev2.h | |
parent | f2b9e8acaa5555afac53f3d5490fa89506df37a2 (diff) |
[media] V4L2: Mark the DV Preset API as deprecated
The DV Preset API will be phased out in favor of the more flexible DV Timings
API. Mark the preset API accordingly in the header and documentation.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 13d84ed9d3a8..370d11106c11 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -944,6 +944,9 @@ struct v4l2_standard { | |||
944 | __u32 reserved[4]; | 944 | __u32 reserved[4]; |
945 | }; | 945 | }; |
946 | 946 | ||
947 | /* The DV Preset API is deprecated in favor of the DV Timings API. | ||
948 | New drivers shouldn't use this anymore! */ | ||
949 | |||
947 | /* | 950 | /* |
948 | * V I D E O T I M I N G S D V P R E S E T | 951 | * V I D E O T I M I N G S D V P R E S E T |
949 | */ | 952 | */ |
@@ -2608,6 +2611,9 @@ struct v4l2_create_buffers { | |||
2608 | #endif | 2611 | #endif |
2609 | 2612 | ||
2610 | #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) | 2613 | #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) |
2614 | |||
2615 | /* These four DV Preset ioctls are deprecated in favor of the DV Timings | ||
2616 | ioctls. */ | ||
2611 | #define VIDIOC_ENUM_DV_PRESETS _IOWR('V', 83, struct v4l2_dv_enum_preset) | 2617 | #define VIDIOC_ENUM_DV_PRESETS _IOWR('V', 83, struct v4l2_dv_enum_preset) |
2612 | #define VIDIOC_S_DV_PRESET _IOWR('V', 84, struct v4l2_dv_preset) | 2618 | #define VIDIOC_S_DV_PRESET _IOWR('V', 84, struct v4l2_dv_preset) |
2613 | #define VIDIOC_G_DV_PRESET _IOWR('V', 85, struct v4l2_dv_preset) | 2619 | #define VIDIOC_G_DV_PRESET _IOWR('V', 85, struct v4l2_dv_preset) |