mirror of
https://github.com/torvalds/linux.git
synced 2026-07-15 01:42:17 +02:00
This adds the above APIs to the v4l2 core. This is based on version v1.2
of the RFC titled "V4L - Support for video timings at the input/output interface"
Following new ioctls are added:-
- VIDIOC_ENUM_DV_PRESETS
- VIDIOC_S_DV_PRESET
- VIDIOC_G_DV_PRESET
- VIDIOC_QUERY_DV_PRESET
- VIDIOC_S_DV_TIMINGS
- VIDIOC_G_DV_TIMINGS
Please refer to the RFC for the details. This code was tested using vpfe
capture driver on TI's DM365. Following is the test configuration used :-
Blu-Ray HD DVD source -> TVP7002 -> DM365 (VPFE) ->DDR
A draft version of the TVP7002 driver (currently being reviewed in the mailing
list) was used that supports V4L2_DV_1080I60 & V4L2_DV_720P60 presets.
A loopback video capture application was used for testing these APIs. This calls
following IOCTLS :-
- verify the new v4l2_input capabilities flag added
- Enumerate available presets using VIDIOC_ENUM_DV_PRESETS
- Set one of the supported preset using VIDIOC_S_DV_PRESET
- Get current preset using VIDIOC_G_DV_PRESET
- Detect current preset using VIDIOC_QUERY_DV_PRESET
- Using stub functions in tvp7002, verify VIDIOC_S_DV_TIMINGS
and VIDIOC_G_DV_TIMINGS ioctls are received at the sub device.
- Tested on 64bit platform by Hans Verkuil
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
||
|---|---|---|
| .. | ||
| davinci | ||
| adv7343.h | ||
| bt819.h | ||
| cs53l32a.h | ||
| cs5345.h | ||
| cx2341x.h | ||
| cx25840.h | ||
| i2c-addr.h | ||
| ir-common.h | ||
| ir-kbd-i2c.h | ||
| m52790.h | ||
| msp3400.h | ||
| ov772x.h | ||
| ovcamchip.h | ||
| pwc-ioctl.h | ||
| radio-si4713.h | ||
| rds.h | ||
| saa6752hs.h | ||
| saa7115.h | ||
| saa7127.h | ||
| saa7146_vv.h | ||
| saa7146.h | ||
| sh_mobile_ceu.h | ||
| si4713.h | ||
| soc_camera_platform.h | ||
| soc_camera.h | ||
| tuner-types.h | ||
| tuner.h | ||
| tvaudio.h | ||
| tveeprom.h | ||
| tvp514x.h | ||
| tvp5150.h | ||
| tw9910.h | ||
| upd64031a.h | ||
| upd64083.h | ||
| v4l2-chip-ident.h | ||
| v4l2-common.h | ||
| v4l2-dev.h | ||
| v4l2-device.h | ||
| v4l2-i2c-drv.h | ||
| v4l2-int-device.h | ||
| v4l2-ioctl.h | ||
| v4l2-subdev.h | ||
| videobuf-core.h | ||
| videobuf-dma-contig.h | ||
| videobuf-dma-sg.h | ||
| videobuf-dvb.h | ||
| videobuf-vmalloc.h | ||
| wm8775.h | ||