Multi-planar API is as a backwards-compatible extension of the V4L2 API,
which allows video buffers to consist of one or more planes. Planes are
separate memory buffers; each has its own mapping, backed by usually
separate physical memory buffers.
Many different uses for the multi-planar API are
Hello,
After 9 months since the first proposal, lots of discussion and many changes,
including an almost full redesign between versions 3 and 4, I present the
patches that add the fifth version of the multi-planar API for V4L2.
I am posting patches first for everyone to be able to take a look
Add multi-planar ioctl handling to the 32bit compatibility layer.
Signed-off-by: Pawel Osciak p.osc...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/media/video/v4l2-compat-ioctl32.c | 221 +
1 files changed, 190 insertions(+), 31
Add multi-planar API core ioctl handling and conversion functions.
Signed-off-by: Pawel Osciak p.osc...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com
---
drivers/media/video/v4l2-ioctl.c | 418
Hi,
On Friday 30 July 2010 02:08:02 Figo.zhang wrote:
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when
it encounter page fault at video_vm_ops-fault(). pls see
http://www.spinics.net/lists/linux-media/msg21243.html
a new implementation for mmap, it translate to
On Thu, 2010-07-29 at 22:42 -0400, Andy Walls wrote:
On Fri, 2010-07-30 at 05:17 +0300, Maxim Levitsky wrote:
It is prefectly possible to have ir_raw_event_work
running concurently on two cpus, thus we must protect
it from that situation.
Yup, the work is marked as not pending (and
Hi Janusz
Thanks once more for the patches, from your patches it is obvious, that
you've spent quite a bit of time on them and you have not just copy-pasted
various bits and pieces from other drivers, just filling your hardware
details, but you also actually understand a lot of what is
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote:
On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky
maximlevit...@gmail.com wrote:
note that error_adjustment module option is added.
This allows to reduce input samples by a percent.
Hi,
This is mostly same patchset.
I addressed the comments of Andy Walls.
Now IR decoding is done by a separate thread, and this fixes
the race, and unnesesary performance loss due to it.
Best regards,
Maxim Levitsky
--
To unsubscribe from this list: send the line unsubscribe
* lirc: Don't propagate reset event to userspace
* lirc: Remove strange logic from lirc that would make first sample always be
pulse
* Make TO_US macro actualy print what it should.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-core-priv.h |4 +---
Move IR drives below separate menu.
This allows to disable them.
Also correct a typo.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/Kconfig | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/media/IR/Kconfig
Some handlers (lirc for example) allocates memory on initialization,
doing so in atomic context is cumbersome.
Fixes warning about sleeping function in atomic context.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-raw-event.c | 28 ++--
1
It is prefectly possible to have ir_raw_event_work
running concurently on two cpus, thus we must protect
it from that situation.
Just switch to a thread that we wake up as soon as we have data.
This also ensures that this thread doesn't run unnessesarly.
Signed-off-by: Maxim Levitsky
Currently, jvc decoder will attempt misdetect next press as a repeat
of last keypress, therefore second keypress isn't detected.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-jvc-decoder.c | 14 +-
1 files changed, 13 insertions(+), 1 deletions(-)
Repeat space is 4 units, not 8.
Current code would never trigger a repeat.
However that isn't true for NECX, so repeat there
must be handled differently.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-nec-decoder.c |2 +-
1 files changed, 1 insertions(+), 1
Currently, ir device registration fails if keymap requested by driver is not
found.
Fix that by always compiling in the empty keymap, and using it as a failback.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-core-priv.h |3 +-
drivers/media/IR/ir-sysfs.c
This adds support for repeat detecting for NECX variant
Tested with uneversal remote
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-core-priv.h |1 +
drivers/media/IR/ir-nec-decoder.c | 16 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
Some ir input devices have small buffer, and interrupt the host
each time it is full (or half full)
Add a helper that automaticly handles timeouts, and also
automaticly merges samples of same time (space-space)
Such samples might be placed by hardware because size of
sample in the buffer is small
This way it is possible to use evtest to create keymap for unknown remote.
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-keytable.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/media/IR/ir-keytable.c
Still missing features: carrier report timeout reports.
Will need to pack these into ir_raw_event
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
drivers/media/IR/ir-core-priv.h |1 +
drivers/media/IR/ir-lirc-codec.c | 112 +++---
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com
---
MAINTAINERS |6 +
drivers/media/IR/Kconfig | 14 +
drivers/media/IR/Makefile |1 +
drivers/media/IR/ene_ir.c | 595 +
drivers/media/IR/ene_ir.h | 51 ++---
5 files
On Fri, 2010-07-30 at 11:31 +0200, Laurent Pinchart wrote:
Hi,
On Friday 30 July 2010 02:08:02 Figo.zhang wrote:
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when
it encounter page fault at video_vm_ops-fault(). pls see
On Fri, 2010-07-30 at 11:31 +0200, Laurent Pinchart wrote:
Hi,
On Friday 30 July 2010 02:08:02 Figo.zhang wrote:
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when
it encounter page fault at video_vm_ops-fault(). pls see
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote:
On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky
maximlevit...@gmail.com wrote:
note that
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote:
On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
On Thu, 2010-07-29 at 22:39
On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl jonsm...@gmail.com wrote:
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Thu,
On Fri, 2010-07-30 at 08:07 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl jonsm...@gmail.com wrote:
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 7:36 AM,
Hi Sergio,
Thanks for the patch, and sorry for the delay. Applied.
On Wednesday 14 July 2010 18:17:24 Sergio Aguirre wrote:
The idea of this file is to ignore build generated files, and also
the standard patches subfolder, used by quilt for example.
Signed-off-by: Sergio Aguirre
Hi Sergio,
On Wednesday 14 July 2010 18:17:25 Sergio Aguirre wrote:
We shouldn't require full kernel source for this.
That's right in theory, but I then get
$ make KDIR=/home/laurent/src/arm/kernel/
arm-none-linux-gnueabi-gcc -O2 -Wall -fpic -I.
-I/home/laurent/src/arm/kernel//include-c
Hi Laurent,
And thanks for the patch!
Laurent Pinchart wrote:
...
diff --git a/include/media/media-device.h b/include/media/media-device.h
index bd559b0..ac96847 100644
--- a/include/media/media-device.h
+++ b/include/media/media-device.h
@@ -23,8 +23,10 @@
#include linux/device.h
Hi Sergio,
On Friday 30 July 2010 16:10:08 Aguirre, Sergio wrote:
On Friday 30 July 2010 8:45 AM Laurent Pinchart wrote:
On Wednesday 14 July 2010 18:17:25 Sergio Aguirre wrote:
We shouldn't require full kernel source for this.
That's right in theory, but I then get
$ make
Snip
struct v4l2_format {
enum v4l2_buf_type type;
union {
struct v4l2_pix_format pix; /*
V4L2_BUF_TYPE_VIDEO_CAPTURE */
+ struct v4l2_pix_format_mplane pix_mp; /*
V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE */
struct
Hi Laurent,
-Original Message-
From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com]
Sent: Friday, July 30, 2010 9:24 AM
To: Aguirre, Sergio
Cc: linux-media@vger.kernel.org
Subject: Re: [media-ctl PATCH 2/3] Just include kernel headers
Hi Sergio,
On Friday 30 July
From: Philipp Wiesner p.wies...@phytec.de
Added this info to Kconfig and mt9m111.c, some comment cleanup,
replaced 'mt9m11x'-statements by clarifications or driver name.
Driver is fully compatible to mt9m131 which has only additional functions
compared to mt9m111. Those aren't used anyway at the
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
Hi everyone,
the following patchseries was created in a rewrite process of the
mt9m111 camera driver while it was tested for support of the very
similar silicon mt9m121. Some patches add functionality like panning or
test pattern generation or adjust rectengular positioning while others
do some
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index
If DEBUG is defined it is possible to set upper left corner
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 31 +++
1 files changed, 23 insertions(+), 8 deletions(-)
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 60 +++--
1 files changed, 28 insertions(+), 32 deletions(-)
diff --git a/drivers/media/video/mt9m111.c
reg_mask is basically the same as clearing setting registers,
but it is more convenient and faster (saves one rw cycle).
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 11 +++
1 files
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index
-soft_crop: enables the use of the sensors cropping abilities
instead of using real roi. This is needed to make use of the 'pan'
registers for smooth panning.
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
removed pixfmt helper functions and option flags
setting the configuration register directly in set_pixfmt
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 142
make use of the format.rect boundery values
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 41 +++--
1 files changed, 19 insertions(+), 22 deletions(-)
diff
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c | 63 +
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index
Signed-off-by: Philipp Wiesner p.wies...@phytec.de
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/media/video/mt9m111.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index
Hi Sergio,
On Friday 30 July 2010 16:47:22 Aguirre, Sergio wrote:
On Friday 30 July 2010 9:24 AM Laurent Pinchart wrote:
On Friday 30 July 2010 16:10:08 Aguirre, Sergio wrote:
On Friday 30 July 2010 8:45 AM Laurent Pinchart wrote:
On Wednesday 14 July 2010 18:17:25 Sergio Aguirre
Hi Laurent,
-Original Message-
From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com]
Sent: Friday, July 30, 2010 10:40 AM
To: Aguirre, Sergio
Cc: linux-media@vger.kernel.org
Subject: Re: [media-ctl PATCH 2/3] Just include kernel headers
Hi Sergio,
snip
Ideally
Em 29-07-2010 06:31, Guennadi Liakhovetski escreveu:
Hi Mauro
The following changes since commit c57fd88318988f17731e446fe1d8498f506fdd44:
V4L/DVB: uvcvideo: Add support for Manta MM-353 Plako (2010-07-05 19:47:16
-0300)
are available in the git repository at:
Friday 30 July 2010 13:07:42 Guennadi Liakhovetski napisaĆ(a):
Hi Janusz
Thanks once more for the patches, from your patches it is obvious, that
you've spent quite a bit of time on them and you have not just copy-pasted
various bits and pieces from other drivers, just filling your hardware
Em 30-07-2010 08:38, Maxim Levitsky escreveu:
Hi,
This is mostly same patchset.
I addressed the comments of Andy Walls.
Now IR decoding is done by a separate thread, and this fixes
the race, and unnesesary performance loss due to it.
Best regards,
Maxim Levitsky
Hmm... some
This message is generated daily by a cron job that builds v4l-dvb for
the kernels and architectures in the list below.
Results of the daily build of v4l-dvb:
date:Fri Jul 30 19:00:16 CEST 2010
path:http://www.linuxtv.org/hg/v4l-dvb
changeset: 14993:9652f85e688a
git master:
Em 30-07-2010 08:38, Maxim Levitsky escreveu:
Repeat space is 4 units, not 8.
Current code would never trigger a repeat.
Yes, this fixed the issue:
Jul 30 16:53:52 agua kernel: [24343.507577] ir_getkeycode: unknown key for
scancode 0x0009
Jul 30 16:53:52 agua kernel: [24343.507588]
On Fri, 2010-07-30 at 16:33 -0300, Mauro Carvalho Chehab wrote:
Em 30-07-2010 08:38, Maxim Levitsky escreveu:
Hi,
This is mostly same patchset.
I addressed the comments of Andy Walls.
Now IR decoding is done by a separate thread, and this fixes
the race, and unnesesary
On Fri, 2010-07-30 at 16:36 -0300, Mauro Carvalho Chehab wrote:
Em 30-07-2010 08:38, Maxim Levitsky escreveu:
Repeat space is 4 units, not 8.
Current code would never trigger a repeat.
Yes, this fixed the issue:
Jul 30 16:53:52 agua kernel: [24343.507577] ir_getkeycode: unknown key for
Replace direct access to the v4l2_subdev priv field with the inline
v4l2_get_subdevdata method.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/media/video/mt9m001.c| 26 +-
drivers/media/video/mt9m111.c| 20 ++--
The existing priv field stores subdev private data owned by the subdev
driver. Host (bridge) drivers might need to store per-subdev
host-specific data, such as a pointer to platform data.
Add a v4l2_subdev host_priv field to store host-specific data, and
rename the existing priv field to
Hi!
Maxim Levitsky maximlevit...@gmail.com wrote:
Still missing features: carrier report timeout reports.
Will need to pack these into ir_raw_event
Hm, this patch changes the LIRC interface but I can't see the according
patch to the documentation.
[...]
* @tx_ir: transmit IR
*
On Fri, 2010-07-30 at 23:22 +0200, Christoph Bartelmus wrote:
Hi!
Maxim Levitsky maximlevit...@gmail.com wrote:
Still missing features: carrier report timeout reports.
Will need to pack these into ir_raw_event
Hm, this patch changes the LIRC interface but I can't see the according
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
64 matches
Mail list logo