summaryrefslogtreecommitdiffstats
path: root/lib/test_module.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2014-03-13 08:44:09 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 14:32:58 -0300
commit2ef114f6821b013c42d2ef1e31600d957a47542b (patch)
treedac425e318755a4a0b3fef7359062dbfe31bebea /lib/test_module.c
parent928bf2ba2f0e65a971a60e940c69af0b02ae4a57 (diff)
downloadtalos-obmc-linux-2ef114f6821b013c42d2ef1e31600d957a47542b.tar.gz
talos-obmc-linux-2ef114f6821b013c42d2ef1e31600d957a47542b.zip
[media] v4l: ti-vpe: Add selection API in VPE driver
Add selection ioctl ops. For VPE, cropping makes sense only for the input to VPE(or V4L2_BUF_TYPE_VIDEO_OUTPUT/MPLANE buffers) and composing makes sense only for the output of VPE(or V4L2_BUF_TYPE_VIDEO_CAPTURE/MPLANE buffers). For the CAPTURE type, V4L2_SEL_TGT_COMPOSE results in VPE writing the output in a rectangle within the capture buffer. For the OUTPUT type, V4L2_SEL_TGT_CROP results in selecting a rectangle region within the source buffer. Setting the crop/compose rectangles should successfully result in re-configuration of registers which are affected when either source or destination dimensions change, set_srcdst_params() is called for this purpose. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud