ioctl VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET &manvol; VIDIOC_G_DV_PRESET VIDIOC_S_DV_PRESET Query or select the DV preset of the current input or output int ioctl int fd int request struct v4l2_dv_preset *argp Arguments fd &fd; request VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET argp Description These ioctls are deprecated. New drivers and applications should use &VIDIOC-G-DV-TIMINGS; and &VIDIOC-S-DV-TIMINGS; instead. To query and select the current DV preset, applications use the VIDIOC_G_DV_PRESET and VIDIOC_S_DV_PRESET ioctls which take a pointer to a &v4l2-dv-preset; type as argument. Applications must zero the reserved array in &v4l2-dv-preset;. VIDIOC_G_DV_PRESET returns a dv preset in the field preset of &v4l2-dv-preset;. VIDIOC_S_DV_PRESET accepts a pointer to a &v4l2-dv-preset; that has the preset value to be set. Applications must zero the reserved array in &v4l2-dv-preset;. If the preset is not supported, it returns an &EINVAL; &return-value; EINVAL This ioctl is not supported, or the VIDIOC_S_DV_PRESET,VIDIOC_S_DV_PRESET parameter was unsuitable. EBUSY The device is busy and therefore can not change the preset. struct <structname>v4l2_dv_preset</structname> &cs-str; __u32 preset Preset value to represent the digital video timings __u32 reserved[4] Reserved fields for future use
&return-value;