summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-17snapshot: Support capturing multiple frames per snapshotLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-17snapshot: Update to the multiple snapshot capture APILaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-17omap3isp: Support capture of multiple snapshotsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16events: Make the event loop reusableLaurent Pinchart
Set the done flag to false before starting the loop in order to make it possible for the caller to restart the loop. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Make number of snapshots configurableLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Make viewfinder optionalLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16omap3isp: Make viewfinder optionalLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Add -s/--size argument to specify snapshot sizeLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Add -c/--crop argument to specify crop rectangleLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Update to the libomap3isp crop APILaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16omap3isp: Support cropping for snapshot captureLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Add option to save snapshots to diskLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16controls: Add support for sensor gainLaurent Pinchart
Support setting the global sensor gain. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16controls: Make sure subdev is open before setting CCDC black levelLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16controls: Add preview engine digital gain and white balance supportLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16omap3isp: Store ccdc, preview and sensor entities in sub-structuresLaurent Pinchart
This will allow adding entity-specific fields such as controls to the omap3_isp_device structure. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16tools: Add div_round_up() macroLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16tools: Add min_t, max_t, clamp and clamp_t macrosLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16subdev: Avoid double-close in v4l2_subdev_close()Laurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16Add support for exception eventsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16omap3isp: Add exception fd watch typeLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16Factor event handling code out into events.cLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16snapshot: Replace -y argument with -f to freely select the snapshot formatLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-16omap3isp: Support the CCDC lane shifterLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-01-06omap3isp: Make number of buffers mandatory in pipeline pool definitionLaurent 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>
2012-01-06videoout: Remove unneeded crop settingsLaurent Pinchart
Setting the crop rectangle on the video output device isn't needed (especially as the code forgot to set crop->type to V4L2_BUF_TYPE_VIDEO_OUTPUT anyway). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-15omap3isp: Activate the pipeline when setting the scalerLaurent Pinchart
Commit e0c7399fc26ebb0df66e114a71702d5e6c387e44 ("Add omap3_isp_pipeline_try_format()") wrongfully removed pipeline configuration from omap3_isp_viewfinder_set_scaler(). Add it back. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-15omap3isp: Handle scaler properly in omap3_isp_pipeline_activate()Laurent Pinchart
Instead of retrieving the sensor default format and propagating through the pipeline, configure the sensor with the previously selected format (resulting from the scaler choice) and propagate it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-15omap3isp: Setup running and queued fields in omap3_isp_video_*()Laurent Pinchart
Instead of setting the struct omap3_isp_video running and queued fields manually before or after calling omap3_isp_video_start() and omap3_isp_video_stop(), handle those fields in the functions directly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Close subdevs when destroying pipelinesLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Reorder viewfinder functions to avoid forward declarationsLaurent Pinchart
This will avoid forward declarations when introducing viewfinder timeout recovery. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Add omap3_isp_video_queue/dequeue_buffer() functionsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Add omap3_isp_video_start/stop() functionsLaurent Pinchart
Those functions currently just encapsulate v4l2_stream_on() and v4l2_stream_off(). They will later handle timeout timers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Add isp device field to struct omap3_isp_videoLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Don't mess up with omap3_isp_video::dequeued in poolsLaurent Pinchart
The dequeued field is used to track buffers that have been dequeued from the viewfinder and owned by the display. Those buffers will be handed back by the display, so they must not be requeued on the spot when the viewfinder is paused and resumed. Pools don't suffer from that problem, so don't use the dequeued field. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Add support for 12-bit Bayer formatsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: Retrieve media device information in media_open()Laurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-10-14omap3isp: CCDC black level compensation controlLaurent Pinchart
Add a function to modify the black level DC offset for the OMAP3 ISP CCDC. 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-09-04controls: Add sensor exposure time and gains controlsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-09-04omap3isp: Use ":SENSOR" to refer to the sensor when building pipelinesLaurent Pinchart
This removes dependencies on the specific sensor. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-09-04list.h: Fix list_first_entry() and list_last_entry() macrosLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-09-04list.h: Add list_insert_before and list_insert_after macrosLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2011-09-04list.h: Add list_empty macroLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>