summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-02stats: Don't mess up Bayer pattern when setting the AEWB rectangleLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01iq: Add manual saturation settingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01snapshot: Add JPEG compression supportLaurent Pinchart
Specifying the -j flag results in captured images being saved in JPEG format instead of raw YUYV. JPEG compression implies YUYV capture, software demosaicing isn't supported. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01iq: Add ae-delay and ae-interval parametersLaurent Pinchart
The ae-delay parameter selects the number of frames to skip at stream startup before running the auto exposure algorithm. The ae-interval selects the number of frames between AE runs. This can be used to delay AE when the sensor needs one or more frames to apply exposure and/or gain values. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01iq: Add statistics window size and position parametersLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01iq: Make the IQ parameters configurableLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01omap3isp: Enable statistics for snapshot captureLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01snapshot: Use AEWB algorithmLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01live: Use AEWB algorithmLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01Add naive AEWB algorithmLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-05-01stats: Add support for the AEWB statistics engineLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-20omap3isp: Add ISP crop supportLaurent Pinchart
If the sensor doesn't support cropping, crop the image on the first ISP entity that supports cropping on its source pad. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-19omap3isp: Add support for greyscale sensorsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-19snapshot: YUV formats use *8_1X16 media bus codesLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-17omap3isp: Unsupported subdev ioctls returned -EINVAL on older kernelsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-17events: Stop dispatching events immediately when requested to stopLaurent Pinchart
Otherwise events received but not yet dispatched are dispatched and can call hangs in ioctls as the pipeline has likely been stopped. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-04-17snapshot: Allow the skip parameter to be 0Laurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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>