--
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
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
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
>
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 dev_priv.
Replace direct access to the v4l2_subdev priv field with the inline
v4l2_get_subdevdata method.
Signed-off-by: Laurent Pinchart
---
drivers/media/video/mt9m001.c| 26 +-
drivers/media/video/mt9m111.c| 20 ++--
drivers/media/video/mt9t031.c|
Hi everybody,
Following up on the per-subdev, host-specific data RFC, here are two patches
that implement the feature.
The first patch fixes various subdev drivers not to access the v4l2_subdev::priv
field directly but use v4l2_get_subdevdata instead. As the function is a static
inline that just
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 un
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
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] ir_nec_de
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:
> 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
>
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 hardwar
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:
> git://linuxt
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,
>
> Ideal
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 A
Hi Michael
Thanks for the patches, and for taking care about my holiday - now I will
definitely not have to be bored, while lying around on tropical beaches of
Denmark;)
Ok, I will review them, and I hope you realise, this has practically 0
chance to get into 2.6.36, unless Linus decides to re
Moved mt9m111_init after the chip version detection passage: I
don't like the idea of writing on a device we haven't identified
yet.
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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 5f0c55e..2080615 100644
--- a/drivers/media/video/mt9m
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 63 +
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index f327177..799a735
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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 aeb2241..5f0c55e 100644
--- a/drivers/media/video/mt9m
make use of the format.rect boundery values
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 41 +++--
1 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/driver
removed unused rect and fmt structs from mt9m111 struct
set default values for mf.colorspace and mf.code to the common raw
format V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE.
rewrote following functions to make use the new format structure:
* restore_state,
* g_fmt,
* s_fmt,
* g_crop,
* s_crop,
* setup_re
removed pixfmt helper functions and option flags
setting the configuration register directly in set_pixfmt
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 142 -
1 files changed, 56 insertions(+), 86 de
-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
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 106 +++
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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 11a68b6..6da9f48 100644
--- a/drivers/media/video/mt9m11
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
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
dif
If DEBUG is defined it is possible to set upper left corner
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 31 +++
1 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/d
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c | 60 +++--
1 files changed, 28 insertions(+), 32 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index f472ca1..ec758a
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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 2758a97..4dbaf31 100644
--- a/drivers/media/video/mt9m1
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index cc0f996..2758a97 100644
--- a/drivers/media/video/
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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 f024cc5..3b19274 100644
--- a/drivers/media/video/mt9
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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 2080615..f024cc5 100644
--- a/drivers/media/video/mt9m11
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index 3b19274..e8d8e9b 100644
--- a/drivers/media/video/mt9m
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
drivers/media/video/mt9m111.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index c72c4b0..aeb2241 100644
--- a/drivers/media/video/mt
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 re
Signed-off-by: Philipp Wiesner
Signed-off-by: Michael Grzeschik
---
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
index 39dff7c..c72c4b0 100644
--- a/drivers/medi
From: Philipp Wiesner
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 moment.
Signed-off-
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
>
> 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 v4l2
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
> >
> > $
Hi Laurent,
> -Original Message-
> From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com]
> Sent: Friday, July 30, 2010 8:45 AM
> To: Aguirre, Sergio
> Cc: linux-media@vger.kernel.org
> Subject: Re: [media-ctl PATCH 2/3] Just include kernel headers
>
> Hi Sergio,
>
> On Wednes
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
> #include
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 Sergio,
Thanks for the patch, and sorry for the delay. Applied.
On Wednesday 14 July 2010 18:17:26 Sergio Aguirre wrote:
> This allows the gcc compilation to build with extra parameters.
>
> For example, if we want to build with -static, we just do:
>
> make CFLAGS=-static
>
> Signed-off-by
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
> ---
On Fri, 2010-07-30 at 08:07 -0400, Jon Smirl wrote:
> On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl wrote:
> > On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky
> > wrote:
> >> On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
> >>> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky
> >>> wrote:
>
On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl wrote:
> On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky
> wrote:
>> On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
>>> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky
>>> wrote:
>>> > On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
>>> >> O
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky wrote:
> On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
>> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky
>> 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
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky
> 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
> >> > wrote:
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky 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
>> > wrote:
>> > > note that error_adjustment module option is added.
>> > > T
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
> > http://www.spinics.net/lists/linu
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
> > http://www.spinics.net/lists/linu
Signed-off-by: Maxim Levitsky
---
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 changed, 265 insertions(+),
Still missing features: carrier report & timeout reports.
Will need to pack these into ir_raw_event
Signed-off-by: Maxim Levitsky
---
drivers/media/IR/ir-core-priv.h |1 +
drivers/media/IR/ir-lirc-codec.c | 112 +++---
include/media/ir-core.h | 1
This way it is possible to use evtest to create keymap for unknown remote.
Signed-off-by: Maxim Levitsky
---
drivers/media/IR/ir-keytable.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c
index 34b9c0
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 adds support for repeat detecting for NECX variant
Tested with uneversal remote
Signed-off-by: Maxim Levitsky
---
drivers/media/IR/ir-core-priv.h |1 +
drivers/media/IR/ir-nec-decoder.c | 16 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/me
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
---
drivers/media/IR/ir-core-priv.h |3 +-
drivers/media/IR/ir-sysfs.c |2 +
driver
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
---
drivers/media/IR/ir-nec-decoder.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a
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
---
driver
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
---
drivers/media/IR/ir-jvc-decoder.c | 14 +-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/drivers/medi
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
---
drivers/media/IR/ir-raw-event.c | 28 ++--
1 files changed, 14 inser
Move IR drives below separate menu.
This allows to disable them.
Also correct a typo.
Signed-off-by: Maxim Levitsky
---
drivers/media/IR/Kconfig | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig
index e557ae0..fc
* 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
---
drivers/media/IR/ir-core-priv.h |4 +---
drivers/media/IR/ir-lirc-codec.c
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 linux-m
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
> > wrote:
> > > note that error_adjustment module option is added.
> > > This allows to reduce input samples by a percent.
> > > This ma
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 actually
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 (
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
Add multi-planar API core ioctl handling and conversion functions.
Signed-off-by: Pawel Osciak
Signed-off-by: Kyungmin Park
Reviewed-by: Marek Szyprowski
---
drivers/media/video/v4l2-ioctl.c | 418 ++
include/media/v4l2-ioctl.h | 16 ++
2 files chan
Add multi-planar ioctl handling to the 32bit compatibility layer.
Signed-off-by: Pawel Osciak
Signed-off-by: Kyungmin Park
---
drivers/media/video/v4l2-compat-ioctl32.c | 221 +
1 files changed, 190 insertions(+), 31 deletions(-)
diff --git a/drivers/media/video/v4
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 ea
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 p
73 matches
Mail list logo