summaryrefslogtreecommitdiff
path: root/live.c
AgeCommit message (Collapse)Author
2012-04-16Factor event handling code out into events.cLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-01-06live: Fix video output localizationLaurent Pinchart
As V4L2 subdevice nodes use the V4L2 video device nodes major number, there is no 1:1 correspondance between video device nodes numbers and video device nodes minors. The video output device localization code will thus fail if the omap3_isp driver is loaded before the omap_vout driver. Fix this by reading the video output device major and minor numbers from sysfs and match them against the device node. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-01-06videoout: Take pixel format as a parameter to vo_init()Laurent Pinchart
Pass a struct v4l2_pix_format * instead of width and height. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-05live: Make the number of video buffers configurableLaurent Pinchart
The -b argument can be used to set the number of video display buffers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-05videoout: Add vo_cleanup() function to close the video output deviceLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-05live: Use global frame count to display the FPS counterLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-05live: Add support for periodical skipping of frames on the displayLaurent Pinchart
When the sensor delivers a frame rate higher than what the display can process, the OMAP3 ISP continuously runs out of buffers. The new --skip command line option can be used to avoid that situation by skipping display of n frames out of n+1. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-05live: Locate the video output device node automaticallyLaurent Pinchart
Iterate through the omap_vout video nodes and use the one with the lowest minor as the video output device. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-07-30omap3-isp-live: Initial commitLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>