[PATCH v2 1/2] V4L: Add memory-to-memory device helper framework for V4L2.

2009-12-23 Thread Pawel Osciak
A mem-to-mem device is a device that uses memory buffers passed by userspace applications for both source and destination data. This is different from existing drivers, which use memory buffers for only one of those at once. In terms of V4L2 such a device would be both of OUTPUT and CAPTURE type.

[PATCH v2 2/2] V4L: Add a mem-to-mem V4L2 framework test device.

2009-12-23 Thread Pawel Osciak
This is a virtual device driver for testing the mem-to-mem V4L2 framework. It simulates a device that uses memory buffers for both source and destination, processes the data and issues an IRQ (simulated by a timer). The device is capable of multi-instance, multi-buffer-per-transaction operation

[PATCH 1/2] [ARM] samsung-rotator: Add rotator device platform definitions.

2009-12-23 Thread Pawel Osciak
Add S3C/S5P rotator platform device. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s3c6400/include/mach/map.h

[PATCH/RFC v2 0/2] Mem-to-mem device framework

2009-12-23 Thread Pawel Osciak
Hello, this is the second version of the proposed implementation for mem-to-mem memory device framework. Your comments are very welcome. Changes since v1: - v4l2_m2m_buf_queue() now requires m2m_ctx as its argument - video_queue private data stores driver private data - a new submenu in kconfig

[EXAMPLE v2] Mem-to-mem userspace test application.

2009-12-23 Thread Pawel Osciak
This is an example application for testing mem-to-mem framework using mem2mem-testdev device. It is intended to be executed multiple times in parallel to test multi-instance operation and scheduling. Each process can be configured differently using command-line arguments. The application opens

[PATCH 0/2] [ARM] Add Samsung S3C/S5P image rotator driver

2009-12-23 Thread Pawel Osciak
Hello, this is a driver for Samsung S3C/S5P series image rotator device driver. This driver utilizes the proposed memory-to-memory V4L2 framework, just posted by me in the previous patch series. An example application for testing the device is also included. This series contains: [PATCH 1/2]

[PATCH 2/2] [ARM] samsung-rotator: Add Samsung S3C/S5P rotator driver

2009-12-23 Thread Pawel Osciak
The rotator device present on Samsung S3C and S5P series SoCs allows image rotation and flipping. It requires contiguous memory buffers to operate, as it does not have scatter-gather support. It is also an example of a memory-to-memory device, and so uses the mem-2-mem device V4L2 framework.

[PATCH/RFC v2.1 0/2] Mem-to-mem device framework

2009-12-23 Thread Pawel Osciak
Hello, this is the second version of the proposed implementation for mem-to-mem memory device framework. Your comments are very welcome. In v2.1: I am very sorry for the resend, but somehow an orphaned endif found its way to Kconfig during the rebase. Changes since v1: - v4l2_m2m_buf_queue()

[PATCH v2.1 2/2] V4L: Add a mem-to-mem V4L2 framework test device.

2009-12-23 Thread Pawel Osciak
This is a virtual device driver for testing the mem-to-mem V4L2 framework. It simulates a device that uses memory buffers for both source and destination, processes the data and issues an IRQ (simulated by a timer). The device is capable of multi-instance, multi-buffer-per-transaction operation

[PATCH v2.1 1/2] V4L: Add memory-to-memory device helper framework for V4L2.

2009-12-23 Thread Pawel Osciak
A mem-to-mem device is a device that uses memory buffers passed by userspace applications for both source and destination data. This is different from existing drivers, which use memory buffers for only one of those at once. In terms of V4L2 such a device would be both of OUTPUT and CAPTURE type.

[EXAMPLE v2] Mem-to-mem userspace test application.

2009-12-23 Thread Pawel Osciak
This is an example application for testing mem-to-mem framework using mem2mem-testdev device. It is intended to be executed multiple times in parallel to test multi-instance operation and scheduling. Each process can be configured differently using command-line arguments. The application opens

Re: [PATCH/RFC v2.1 0/2] Mem-to-mem device framework

2009-12-23 Thread Hans Verkuil
On Wednesday 23 December 2009 14:17:32 Pawel Osciak wrote: Hello, this is the second version of the proposed implementation for mem-to-mem memory device framework. Your comments are very welcome. Hi Pawel, Thank you for working on this! It's much appreciated. Now I've noticed that patches

Re: [PATCH 2/2] [ARM] samsung-rotator: Add Samsung S3C/S5P rotator driver

2009-12-23 Thread Alexey Klimov
Hello, On Wed, Dec 23, 2009 at 1:08 PM, Pawel Osciak p.osc...@samsung.com wrote: The rotator device present on Samsung S3C and S5P series SoCs allows image rotation and flipping. It requires contiguous memory buffers to operate, as it does not have scatter-gather support. It is also an example

Pull request (delayed) for bjdooks' next-samsung

2009-12-23 Thread Ben Dooks
Sorry for this rather belated pull request for the last of the samsung updates, but some of these ended up requiring to be based on stuff that got merged via other trees and whilst this was happening I was ill and thus have only just had the chance to put this together. So, please pull these

Re: [PATCH v2.1 1/2] V4L: Add memory-to-memory device helper framework for V4L2.

2009-12-23 Thread Andy Walls
On Wed, 2009-12-23 at 14:17 +0100, Pawel Osciak wrote: A mem-to-mem device is a device that uses memory buffers passed by userspace applications for both source and destination data. This is different from existing drivers, which use memory buffers for only one of those at once. In terms of