summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-12Add support for static compilationHEADmasterLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2015-11-12videoout: Add rotation supportLaurent Pinchart
2015-11-12isp: stats: Fix signed vs. unsigned comparison warningLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2015-11-12isp: v4l2: Fix capabilities parsingLaurent Pinchart
When adding support for device_caps the kernel changed the userspace API and started reporting both output and capture through the capabilities field. Use the device_caps field instead to get the per-device-node capabilities. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-07isp: Support format conversion in scalerLaurent Pinchart
Include the preview engine in the scaler pipeline if the requested input format is not a YUV format. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-07isp: Support allocating an output buffers pool for the viewfinderLaurent Pinchart
The viewfinder is usually used with a display device that allocates buffers. This led to the viewfinder API requiring the application to set the output buffers pool. For applications that don't have a buffers pool to give to the viewfinder support allocating a dedicated pool and exporting it to the application. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-02-11isp: Add crop support for the viewfinderLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-02-11isp: Support raw viewfinder formatsLaurent Pinchart
Capture at the CCDC output if the requested viewfinder format is not a YUV format, and at the resizer output otherwise. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-02-10videoout: Return a negative error code in vo_queue_buffer()Laurent Pinchart
Most functions return 0 on success and a negative error code otherwise, make vo_queue_buffer() conform with that. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-02-10videoout: Use the output overlay buffer typeLaurent Pinchart
The omap_vout driver implements the output overlay API, use the corresponding buffer type. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-11-15media: Fix valgrind warningsLaurent Pinchart
valgrind has no way to know that the kernel will fill links and pads arrays passed to an ioctl through __user pointers. Allocate the arrays with calloc() to make sure they get initialized. This also fixes the potential integer overflow. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-11-15events: Safeguard against event deletion in event callbacksLaurent Pinchart
Events callback can call events_unwatch_fd(), resulting in the event being deleted from the events list. Use list_for_each_entry_safe() to walk the list properly, and make sure the event isn't accessed after it's callback function returns. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-24isp: Use the requested input format for M2M pipelinesLaurent Pinchart
Don't try to force the sensor format or the output format at the pipeline input when using memory-to-memory pipelines. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20omap3isp: Scale instead of cropping when scaling on the sensorLaurent Pinchart
When using sensor scaling the sensor was incorrectly configured to crop the image to a lower size instead of scaling it. Cropping is applied before scaling in the sensor, so the crop rectangle needs to be set to the pipeline input size, not the sensor output size. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20live: Add snapshot and scaler supportLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Add scaler APILaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Protect against starting viewfinder and snapshot at the same timeLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20live, snapshot: Split the viewfinder and snapshot APILaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Split the viewfinder and snapshot APILaurent Pinchart
Don't suspend and resume the viewfinder implicitly when taking a snapshot, but let the application stop the viewfinder before taking the snapshot, and restart it afterwards. Applications are now responsible for keeping track of the viewfinder output buffers state and pass of bitmask of output buffers indices to be queued when starting the viewfinder. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Add support for memory-to-memory pipelinesLaurent Pinchart
Make building and trying format possible on a pipeline that starts with a video node. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Remove scaler argument to omap3_isp_pipeline_try_format()Laurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20live: Add digital zoom supportLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20live, snapshot: Add option to disable AEWBLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Add live zoom supportLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20v4l2: Print the device name in error messagesLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20v4l2-pool: Initialize buffer indexes when creating the poolLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-20isp: Emulate global gain for sensors that only expose color gainsLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-19live: Support 16bpp and 24bpp RGB frame buffer formatsEnric Balletbo i Serra
Paint the frame buffer correctly and set the corresponding color key value for 16bpp and 24bpp RGB formats. Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com> [Extract the bpp value through the fbdev API, add support for 24bpp] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-10-05README: Document kernel headers installation processLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-06-21sensor: Fix omap3_isp_sensor_get_exposure()Laurent Pinchart
The function tried to set the control instead of getting it. Fix this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-06-21sensor: Support setting gains selectivelyLaurent Pinchart
Setting a gain value to OMAP3_ISP_SENSOR_GAIN_KEEP will prevent that gain from being set. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-06-21videout: Add support for disabling chroma keyingLaurent Pinchart
And make vo_enable_colorkey() return 0 on success and a negative error code otherwise. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2012-06-21videoout: Fix coding styleLaurent Pinchart
Function calls should have no space before the opening bracket. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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>