Re: OV2640 and iMX25PDK - help needed

2012-02-02 Thread javier Martin
. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

[PATCH 1/2] media: tvp5150: Add cropping support.

2012-01-31 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/tvp5150.c | 127 +++-- 1 files changed, 122 insertions(+), 5 deletions(-) diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index c58c8d5..b1476f6

[PATCH 2/2] media: tvp5150: support g_mbus_fmt callback.

2012-01-31 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/tvp5150.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index b1476f6..e292c46 100644 --- a/drivers/media/video/tvp5150.c

Re: [PATCH v2 1/4] media i.MX27 camera: migrate driver to videobuf2

2012-01-30 Thread javier Martin
a v3 of this patch fixing what you've pointed out. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe linux-media

Re: [PATCH v2 2/4] media i.MX27 camera: add start_stream and stop_stream callbacks.

2012-01-30 Thread javier Martin
Hi, On 27 January 2012 16:53, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Jan 2012, Javier Martin wrote: Add start_stream and stop_stream callback in order to enable and disable the eMMa-PrP properly and save CPU usage avoiding IRQs when the device is not streaming

Re: [PATCH 3/4] media i.MX27 camera: improve discard buffer handling.

2012-01-30 Thread javier Martin
Hi Guennadi, On 27 January 2012 19:02, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: (removing bar...@tkos.co.il - it bounces) On Thu, 26 Jan 2012, javier Martin wrote: Hi Guennadi, On 25 January 2012 13:12, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Fri, 20 Jan 2012

Re: [PATCH v2 3/4] media i.MX27 camera: improve discard buffer handling.

2012-01-30 Thread javier Martin
On 27 January 2012 19:13, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 26 Jan 2012, Javier Martin wrote: The way discard buffer was previously handled lead to possible races that made a buffer that was not yet ready to be overwritten by new video data. This is easily detected

Re: [PATCH v2 4/4] media i.MX27 camera: handle overflows properly.

2012-01-30 Thread javier Martin
On 27 January 2012 19:16, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: (removed bar...@tkos.co.il - it bounces) On Thu, 26 Jan 2012, Javier Martin wrote: Signed-off-by: Javier Martin javier.mar...@vista-silicon.com ---  Changes since v1:  - Make ifs in irq callback mutually

[PATCH v3 1/4] media i.MX27 camera: migrate driver to videobuf2

2012-01-30 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v2: - Return ENOTTY for VIDIOC_CREATE_BUFS - Check buffer size properly. - Do not remove unfixed FIXME. - Remove mx25 queued buffers from the queue list at release. --- drivers/media/video/mx2_camera.c | 289

[PATCH v3 2/4] media i.MX27 camera: add start_stream and stop_stream callbacks.

2012-01-30 Thread Javier Martin
Add start_stream and stop_stream callback in order to enable and disable the eMMa-PrP properly and save CPU usage avoiding IRQs when the device is not streaming. This also makes the driver return 0 as the sequence number of the first frame. Signed-off-by: Javier Martin javier.mar...@vista

[PATCH v3 3/4] media i.MX27 camera: improve discard buffer handling.

2012-01-30 Thread Javier Martin
and two discard buffers have been added to make them flow trough the pipeline of queues and thus provide suitable event ordering. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v2: - Remove BUG_ON when active list is empty. - Replace empty list checks with warnings

[PATCH v3 4/4] media i.MX27 camera: handle overflows properly.

2012-01-30 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v2: - Use true and false for bool variables. --- drivers/media/video/mx2_camera.c | 38 -- 1 files changed, 16 insertions(+), 22 deletions(-) diff --git a/drivers/media/video

Re: [PATCH 4/4] media i.MX27 camera: handle overflows properly.

2012-01-26 Thread javier Martin
Hi Guennadi, On 25 January 2012 13:17, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Fri, 20 Jan 2012, Javier Martin wrote: Signed-off-by: Javier Martin javier.mar...@vista-silicon.com ---  drivers/media/video/mx2_camera.c |   23 +--  1 files changed, 9

[PATCH v2 1/4] media i.MX27 camera: migrate driver to videobuf2

2012-01-26 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v1: - mx27 code doesn't use states. - number of states reduced to the ones used by mx25. - Fix incorrect if which broke mx25 support. - Minor fixes. --- drivers/media/video/mx2_camera.c | 298

[PATCH v2 2/4] media i.MX27 camera: add start_stream and stop_stream callbacks.

2012-01-26 Thread Javier Martin
Add start_stream and stop_stream callback in order to enable and disable the eMMa-PrP properly and save CPU usage avoiding IRQs when the device is not streaming. This also makes the driver return 0 as the sequence number of the first frame. Signed-off-by: Javier Martin javier.mar...@vista

[PATCH v2 3/4] media i.MX27 camera: improve discard buffer handling.

2012-01-26 Thread Javier Martin
and two discard buffers have been added to make them flow trough the pipeline of queues and thus provide suitable event ordering. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v1: - Don't allocate discard buffer on every set_fmt. --- drivers/media/video/mx2_camera.c

[PATCH v2 4/4] media i.MX27 camera: handle overflows properly.

2012-01-26 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v1: - Make ifs in irq callback mutually exclusive. - Add new argument to mx27_camera_frame_done_emma() to handle errors. --- drivers/media/video/mx2_camera.c | 38 -- 1 files

Re: [PATCH 1/4] media i.MX27 camera: migrate driver to videobuf2

2012-01-25 Thread javier Martin
) { This doesn't look right. You already have || buf-state == MX2_STATE_ACTIVE above, so, this latter condition is never entered? Yeah, I'm probably breaking m25 support here. This will be fixed in the following version of my patches. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C

Re: [PATCH 2/4] media i.MX27 camera: add start_stream and stop_stream callbacks.

2012-01-25 Thread javier Martin
Hi Guennadi, On 25 January 2012 11:26, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: As discussed before, please, merge this patch with media i.MX27 camera: properly detect frame loss. Yes. You can drop that patch already. One more cosmetic note: On Fri, 20 Jan 2012, Javier Martin

Re: [PATCH v2] media i.MX27 camera: properly detect frame loss.

2012-01-23 Thread javier Martin
both at the same time. What do you think? -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

Re: [PATCH v2] media i.MX27 camera: properly detect frame loss.

2012-01-23 Thread javier Martin
myself :-) If you, Sascha, or someone else comes up with some requests or fixes to the new series I don't mind to rebase it so you can just ignore this patch, since I would have to sent a v2 version of the series anyway. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345

DVB - attach to an open frontend device

2012-01-23 Thread Mike Martin
Not too sure if this is possible but what I want to do is this open frontend set frequency add demux filters etc record then while this is running I want to attach to the same process and add further demux filters (without retuning - same frequency) any tips? -- To unsubscribe from this list:

[PATCH 0/4] media i.MX27 camera: fix buffer handling and videobuf2 support.

2012-01-20 Thread Javier Martin
The way video buffer handling is programmed for i.MX27 leads to buffers being written when they are not ready. It can be easily checked enabling DEBUG features of the driver. This series migrate the driver to videobuf2 and provide an additional discard queue to make sure all the events are

[PATCH 1/4] media i.MX27 camera: migrate driver to videobuf2

2012-01-20 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 277 ++ 1 files changed, 128 insertions(+), 149 deletions(-) diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c index 68038e7

[PATCH 2/4] media i.MX27 camera: add start_stream and stop_stream callbacks.

2012-01-20 Thread Javier Martin
Add start_stream and stop_stream callback in order to enable and disable the eMMa-PrP properly and save CPU usage avoiding IRQs when the device is not streaming. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 107

[PATCH 3/4] media i.MX27 camera: improve discard buffer handling.

2012-01-20 Thread Javier Martin
and two discard buffers have been added to make them flow trough the pipeline of queues and thus provide suitable event ordering. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 215 +- 1 files changed, 117

[PATCH 4/4] media i.MX27 camera: handle overflows properly.

2012-01-20 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 23 +-- 1 files changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c index e0c5dd4..cdc614f 100644

[GIT PATCHES FOR 3.3] mx2 emma-prp mem2mem driver

2012-01-13 Thread Javier Martin
Hi Mauro, The following changes since commit 240ab508aa9fb7a294b0ecb563b19ead000b2463: Mauro Carvalho Chehab (1): [media] [PATCH] don't reset the delivery system on DTV_CLEAR are available in the git repository at: git://github.com/jmartinc/video_visstrim.git for_v3.3 Javier Martin

Re: [PATCH 2/2] uvcvideo: Allow userptr IO mode.

2012-01-12 Thread javier Martin
Hi Laurent, FYI Marek has already merged 1/2 into his vb2-fixes branch. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] media i.MX27 camera: properly detect frame loss.

2012-01-11 Thread javier Martin
Hi Guennadi, thank you for your review. On 10 January 2012 12:00, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier On Mon, 2 Jan 2012, Javier Martin wrote: As V4L2 specification states, frame_count must also regard lost frames so that the user can handle that case properly

Re: [DVB Digital Devices Cine CT V6] status support

2012-01-10 Thread Martin Herrman
2012/1/9 Thomas Kaiser linux-...@kaiser-linux.li: Hello Martin I use the DD Cine CT V6 with DVB-C. It works without problems. I got the driver before Oliver integrated it in his tree. Therefor I did not compile Olivers tree, yet. At the moment I run the card on Ubuntu 11.10 with kernel

Re: [DVB Digital Devices Cine CT V6] status support

2012-01-09 Thread Martin Herrman
) : http://linuxtv.org/hg/~endriss/ngene-octopus-test/ Hi Sébastien, thanks for your quick and positive reply. Anyone here that tested it with DVB-C? Are there any plans to merge this in the mainstream kernel? Regards, Martin -- To unsubscribe from this list: send the line unsubscribe linux-media

Re: [PATCH 1/2 v4] media: vb2: support userptr for PFN mappings.

2012-01-09 Thread javier Martin
Hi Marek, On 9 January 2012 11:14, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, January 04, 2012 5:19 PM Javier Martin wrote: Some video devices need to use contiguous memory which is not backed by pages as it happens with vmalloc. This patch provides userptr

Re: [PATCH] media i.MX27 camera: properly detect frame loss.

2012-01-09 Thread javier Martin
Hi Guennadi, this is the patch I mentioned that fixes sequence count so that it complies with v4l2 API. Will you please merge? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista

[DVB Digital Devices Cine CT V6] status support

2012-01-08 Thread Martin Herrman
to indicate that drivers for Cine CT v6 should be working at this time: http://www.mail-archive.com/linux-media@vger.kernel.org/msg37183.html Can you give me an update on the status of a possibly existing driver for Cine CT v6? Much thanks in advance, Martin -- To unsubscribe from this list: send

[PATCH v2] media: tvp5150: Add mbus_fmt callbacks.

2012-01-05 Thread Javier Martin
These callbacks allow a host video driver to poll video formats supported by tvp5150. --- Changes since v1: Fix standard handling in tvp5150_mbus_fmt() --- drivers/media/video/tvp5150.c | 67 + 1 files changed, 67 insertions(+), 0 deletions(-) diff

[PATCH 1/2 v3] media: vb2: support userptr for PFN mappings.

2012-01-04 Thread Javier Martin
Some video devices need to use contiguous memory which is not backed by pages as it happens with vmalloc. This patch provides userptr handling for those devices. --- Changes since v2: - Do not grab mm-mmap_sem. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2012-01-04 Thread javier Martin
Hi Guennadi. Thanks for your help. On 3 January 2012 16:05, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier On Tue, 3 Jan 2012, javier Martin wrote: Guennadi, probably you could answer me some question: as we agreed I'm trying to implement ENUM_INPUT support to soc-camera

[PATCH 1/2 v4] media: vb2: support userptr for PFN mappings.

2012-01-04 Thread Javier Martin
Some video devices need to use contiguous memory which is not backed by pages as it happens with vmalloc. This patch provides userptr handling for those devices. --- Changes since v3: - Remove vma_res variable. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media

Re: [PATCH v4 0/2] Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2012-01-03 Thread javier Martin
Added Mauro to CC. On 3 January 2012 08:43, javier Martin javier.mar...@vista-silicon.com wrote: On 2 January 2012 22:12, Sylwester Nawrocki snj...@gmail.com wrote: Hi Javier, On 01/02/2012 10:31 AM, javier Martin wrote: Hi, do you have any more concerns or comments on this patch? I can't

[PATCH 1/2 v2] media: vb2: support userptr for PFN mappings.

2012-01-03 Thread Javier Martin
Martin javier.mar...@vista-silicon.com --- drivers/media/video/videobuf2-vmalloc.c | 74 +-- 1 files changed, 51 insertions(+), 23 deletions(-) diff --git a/drivers/media/video/videobuf2-vmalloc.c b/drivers/media/video/videobuf2-vmalloc.c index 03aa62f..8248e56

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2012-01-03 Thread javier Martin
+v3.1.6/drivers/media/video/soc_camera.c#L1006 How am I suppose to pass that information to the tvp5150 then? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

Re: [PULL] soc-camera for 3.3

2012-01-02 Thread javier Martin
Controller conversion, so, that will have to wait at least until 3.4. Interestingly, Javier Martin has fixed field_count handling in mx2_camera, but, apparently, it also has to be fixed in other soc-camera drivers. So, a patch for that might follow later in the 3.3 cycle. The following changes since

[PATCH] media i.MX27 camera: properly detect frame loss.

2012-01-02 Thread Javier Martin
As V4L2 specification states, frame_count must also regard lost frames so that the user can handle that case properly. This patch adds a mechanism to increment the frame counter even when a video buffer is not available and a discard buffer is used. Signed-off-by: Javier Martin javier.mar

Re: [PATCH v4 0/2] Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2012-01-02 Thread javier Martin
Hi, do you have any more concerns or comments on this patch? I can't find it in media_tree. Has it been merged somewhere else? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista

Re: MEM2MEM devices: how to handle sequence number?

2012-01-02 Thread javier Martin
source. Is that OK? -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

Re: [PATCH] media: vb2: vmalloc-based allocator user pointer handling

2012-01-02 Thread javier Martin
Hi, what is the status of this patch? Did you finally merge it in any tree? I am willing to extend it so that it can support pfn mappings as soon as it's ready. Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria

Re: [PATCH] media: tvp5150: Add mbus_fmt callbacks.

2012-01-02 Thread javier Martin
Hi Mauro, any more comments on this? Will you please merge the last version which includes the fixes you requested? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

Re: MEM2MEM devices: how to handle sequence number?

2012-01-02 Thread javier Martin
. But this would break your rule that sequence number introduced at the output queue has to be ignored by the driver. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from

[PATCH 1/2] media: vb2: support userptr for PFN mappings.

2012-01-02 Thread Javier Martin
Some video devices need to use contiguous memory which is not backed by pages as it happens with vmalloc. This patch provides userptr handling for those devices. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/videobuf2-vmalloc.c | 66

[PATCH 2/2] uvcvideo: Allow userptr IO mode.

2012-01-02 Thread Javier Martin
Userptr can be very useful if a UVC camera is requested to use video buffers allocated by another processing device. So that buffers don't need to be copied. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/uvc/uvc_queue.c |2 +- 1 files changed, 1

Re: [PATCH v4 0/2] Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2012-01-02 Thread javier Martin
On 2 January 2012 22:12, Sylwester Nawrocki snj...@gmail.com wrote: Hi Javier, On 01/02/2012 10:31 AM, javier Martin wrote: Hi, do you have any more concerns or comments on this patch? I can't find it in media_tree. Has it been merged somewhere else? If you think your driver is good enough

Re: [PATCH 1/2] media: vb2: support userptr for PFN mappings.

2012-01-02 Thread javier Martin
Hi Laurent, thank you for your review. On 2 January 2012 20:00, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. On Monday 02 January 2012 15:12:22 Javier Martin wrote: Some video devices need to use contiguous memory which is not backed by pages

Re: [PATCH v2] media i.MX27 camera: Fix field_count handling.

2011-12-23 Thread javier Martin
On 23 December 2011 10:07, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Fri, 23 Dec 2011, javier Martin wrote: Hi Guennadi, thank you for your comments. On 23 December 2011 00:17, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 22 Dec 2011, Javier Martin wrote

Re: [PATCH] media i.MX27 camera: add support for YUV420 format.

2011-12-22 Thread javier Martin
Hi, are there any comments on this? May I suppose you agree and it will be applied? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list

MEM2MEM devices: how to handle sequence number?

2011-12-22 Thread javier Martin
. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

[PATCH] media i.MX27 camera: Fix field_count handling.

2011-12-22 Thread Javier Martin
To properly detect frame loss the driver must keep track of a frame_count. Furthermore, field_count use was erroneous because in progressive format this must be incremented twice. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c |5

Re: [PATCH] media i.MX27 camera: Fix field_count handling.

2011-12-22 Thread javier Martin
Argh, sorry, there is a file here that souldn't be included. I'll resend it again. On 22 December 2011 16:05, Javier Martin javier.mar...@vista-silicon.com wrote: To properly detect frame loss the driver must keep track of a frame_count. Furthermore, field_count use was erroneous because

[PATCH v2] media i.MX27 camera: Fix field_count handling.

2011-12-22 Thread Javier Martin
To properly detect frame loss the driver must keep track of a frame_count. Furthermore, field_count use was erroneous because in progressive format this must be incremented twice. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c |5 - 1

Re: [PATCH v2] media i.MX27 camera: Fix field_count handling.

2011-12-22 Thread javier Martin
Hi Guennadi, thank you for your comments. On 23 December 2011 00:17, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 22 Dec 2011, Javier Martin wrote: To properly detect frame loss the driver must keep track of a frame_count. Furthermore, field_count use was erroneous because

Re: [PATCH v4] v4l: Add driver for Micron MT9M032 camera sensor

2011-12-20 Thread martin
On Wed, Dec 21, 2011 at 02:06:20AM +0100, Laurent Pinchart wrote: Hi Martin, Thanks for the patch. On Saturday 17 December 2011 11:10:55 Martin Hostettler wrote: The MT9M032 is a parallel 1.6MP sensor from Micron controlled through I2C. The driver creates a V4L2 subdevice

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-19 Thread javier Martin
independent of the pad-level API. I agree, I cannot contribute to implement pad-level API stuff since I can't test it with tvp5150. Would you accept a patch implementing only S_INPUT? -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander

Re: Trying to figure out reasons for lost pictures in UVC driver.

2011-12-19 Thread javier Martin
On 19 December 2011 01:19, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, On Thursday 15 December 2011 17:02:47 javier Martin wrote: Hi, we are testing a logitech Webcam M/N: V-U0012 in the UVC tree (commit ef7728797039bb6a20f22cc2d96ef72d9338cba0). It is configured

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-19 Thread javier Martin
On 19 December 2011 11:58, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 19 Dec 2011, javier Martin wrote: On 19 December 2011 11:41, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 19 Dec 2011, Laurent Pinchart wrote: Hi Guennadi, On Monday 19 December 2011

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-19 Thread javier Martin
enough. Javier, could you give it a try? All right, as soon as I have some time I'll go for that approach. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-18 Thread javier Martin
). 2.- Board specific code must tell the subdevice which inputs are really connected and how through platform data. Is that OK? -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

Re: [PATCH v3] v4l: Add driver for Micron MT9M032 camera sensor

2011-12-17 Thread martin
On Thu, Dec 15, 2011 at 12:11:13AM +0200, Sakari Ailus wrote: Hi Martin, On Wed, Dec 14, 2011 at 07:58:45PM +0100, mar...@neutronstar.dyndns.org wrote: ... +static int mt9m032_setup_pll(struct mt9m032 *sensor) +{ + struct mt9m032_platform_data* pdata = sensor-pdata

[PATCH v4] arm: omap3evm: Add support for an MT9M032 based camera board.

2011-12-17 Thread Martin Hostettler
Adds board support for an MT9M032 based camera to omap3evm. Signed-off-by: Martin Hostettler mar...@neutronstar.dyndns.org --- arch/arm/mach-omap2/Makefile|3 +- arch/arm/mach-omap2/board-omap3evm-camera.c | 159 +++ arch/arm/mach-omap2/board

[PATCH v4] v4l: Add driver for Micron MT9M032 camera sensor

2011-12-17 Thread Martin Hostettler
The MT9M032 is a parallel 1.6MP sensor from Micron controlled through I2C. The driver creates a V4L2 subdevice. It currently supports cropping, gain, exposure and v/h flipping controls in monochrome mode with an external pixel clock. Signed-off-by: Martin Hostettler mar...@neutronstar.dyndns.org

[PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread Javier Martin
Some v4l-subdevs such as tvp5150 have multiple inputs. This patch allows the user of a soc-camera device to select between them. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/soc_camera.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread javier Martin
On 16 December 2011 09:34, Scott Jiang scott.jiang.li...@gmail.com wrote: 2011/12/16 Javier Martin javier.mar...@vista-silicon.com: Some v4l-subdevs such as tvp5150 have multiple inputs. This patch allows the user of a soc-camera device to select between them. Signed-off-by: Javier Martin

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread javier Martin
On 16 December 2011 09:47, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier On Fri, 16 Dec 2011, Javier Martin wrote: Some v4l-subdevs such as tvp5150 have multiple inputs. This patch allows the user of a soc-camera device to select between them. Sure, we can support

Re: [PATCH] V4L: soc-camera: provide support for S_INPUT.

2011-12-16 Thread javier Martin
info structures). But AFAIK, soc-camera does not support passing such kind of information. Neither any of the host camera drivers currently available expect that kind of data. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria

[PATCH 1/2] media: tvp5150 Fix default input selection.

2011-12-15 Thread Javier Martin
In page 23 of the datasheet of this chip (SLES098A) it is stated that de default input for this chip is Composite AIP1A which is the same as COMPOSITE0 in the driver. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/tvp5150.c |2 +- 1 files changed, 1

[PATCH 2/2] media: tvp5150: Add mbus_fmt callbacks.

2011-12-15 Thread Javier Martin
These callbacks allow a host video driver to poll video supported video formats of tvp5150. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/tvp5150.c | 72 + 1 files changed, 72 insertions(+), 0 deletions(-) diff

Re: [PATCH 2/2] media: tvp5150: Add mbus_fmt callbacks.

2011-12-15 Thread javier Martin
Hi Mauro, thank you for your review, I will prepare a new version with those fixes. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line

Re: [PATCH 1/2] media: tvp5150 Fix default input selection.

2011-12-15 Thread javier Martin
totally open. But still, changing default value of the selected input in tvp5150 probe function is a bit dirty IMHO. Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

Re: [PATCH 1/2] media: tvp5150 Fix default input selection.

2011-12-15 Thread javier Martin
The mx2_camera needs some code to forward calls to S_INPUT/S_ROUTING to tvp5150, in order to set the pipelines there. This sounds like a sensible solution I will work on that soon. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005

Re: [PATCH 1/2] media: tvp5150 Fix default input selection.

2011-12-15 Thread javier Martin
On 15 December 2011 13:01, javier Martin javier.mar...@vista-silicon.com wrote: The mx2_camera needs some code to forward calls to S_INPUT/S_ROUTING to tvp5150, in order to set the pipelines there. This sounds like a sensible solution I will work on that soon. Hi Mauro, regarding

[PATCH] media: tvp5150: Add mbus_fmt callbacks.

2011-12-15 Thread Javier Martin
These callbacks allow a host video driver to poll video formats supported by tvp5150. --- Changes since v1: Fix standard handling in tvp5150_mbus_fmt() Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/tvp5150.c | 67

Trying to figure out reasons for lost pictures in UVC driver.

2011-12-15 Thread javier Martin
(i.e. one sequence number has been skipped). Is this behavior expected? What could we do to avoid frame loss? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

[PATCH] media i.MX27 camera: add support for YUV420 format.

2011-12-14 Thread Javier Martin
This patch uses channel 2 of the eMMa-PrP to convert format provided by the sensor to YUV420. This format is very useful since it is used by the internal H.264 encoder. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 291

Re: [PATCH v3] arm: omap3evm: Add support for an MT9M032 based camera board.

2011-12-14 Thread martin
On Wed, Dec 14, 2011 at 11:31:35AM +0200, Igor Grinberg wrote: Hi Martin, On 12/14/11 03:25, Martin Hostettler wrote: Adds board support for an MT9M032 based camera to omap3evm. Signed-off-by: Martin Hostettler mar...@neutronstar.dyndns.org --- arch/arm/mach-omap2/Makefile

Re: [PATCH v3] arm: omap3evm: Add support for an MT9M032 based camera board.

2011-12-14 Thread martin
On Wed, Dec 14, 2011 at 02:15:22PM +0100, Laurent Pinchart wrote: Hi Igor, On Wednesday 14 December 2011 10:31:35 Igor Grinberg wrote: On 12/14/11 03:25, Martin Hostettler wrote: Adds board support for an MT9M032 based camera to omap3evm. Signed-off-by: Martin Hostettler mar

Re: [PATCH v3] v4l: Add driver for Micron MT9M032 camera sensor

2011-12-14 Thread martin
On Wed, Dec 14, 2011 at 02:49:05PM +0100, Laurent Pinchart wrote: Hi Martin, On Wednesday 14 December 2011 08:14:01 mar...@neutronstar.dyndns.org wrote: On Wed, Dec 14, 2011 at 02:55:31AM +0100, Marek Vasut wrote: The MT9M032 is a parallel 1.6MP sensor from Micron controlled through

[PATCH v3] v4l: Add driver for Micron MT9M032 camera sensor

2011-12-13 Thread Martin Hostettler
The MT9M032 is a parallel 1.6MP sensor from Micron controlled through I2C. The driver creates a V4L2 subdevice. It currently supports cropping, gain, exposure and v/h flipping controls in monochrome mode with an external pixel clock. Signed-off-by: Martin Hostettler mar...@neutronstar.dyndns.org

[PATCH v3] arm: omap3evm: Add support for an MT9M032 based camera board.

2011-12-13 Thread Martin Hostettler
Adds board support for an MT9M032 based camera to omap3evm. Signed-off-by: Martin Hostettler mar...@neutronstar.dyndns.org --- arch/arm/mach-omap2/Makefile|3 +- arch/arm/mach-omap2/board-omap3evm-camera.c | 155 +++ arch/arm/mach-omap2/board

Re: [PATCH v3] v4l: Add driver for Micron MT9M032 camera sensor

2011-12-13 Thread martin
On Wed, Dec 14, 2011 at 02:55:31AM +0100, Marek Vasut wrote: Dear Martin Hostettler, The MT9M032 is a parallel 1.6MP sensor from Micron controlled through I2C. The driver creates a V4L2 subdevice. It currently supports cropping, gain, exposure and v/h flipping controls in monochrome

[PATCH v4 0/2] Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2011-12-12 Thread Javier Martin
Changes since v3: Patch order inverted as requested by Mauro. Now adjusting of the image dimensions is made using v4l_bound_align_image(). Some coding style fixes. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

[PATCH v4 2/2] MX2: Add platform definitions for eMMa-PrP device.

2011-12-12 Thread Javier Martin
eMMa-PrP device included in Freescale i.MX2 chips can also be used separately to process memory buffers. This patch provides arch glue code for the driver which provides this functionality. Acked-by: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Javier Martin javier.mar...@vista-silicon.com

[PATCH v4 1/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-12-12 Thread Javier Martin
accepts YUV420 as input. Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/Kconfig | 10 + drivers/media/video/Makefile |2 + drivers/media/video/mx2_emmaprp.c | 1008

Re: [PATCH v2 1/2] MX2: Add platform definitions for eMMa-PrP device.

2011-11-23 Thread javier Martin
; + +     return pdev; +err: +     platform_device_put(pdev); +     return ERR_PTR(-ENODEV); I guess you intended to have +       return ERR_PTR(ret); Sure, thanks for the tip. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread javier Martin
Hi Sascha and Sylwester, you comments are very appreciated. I will send an v3 version solving all the issues you mentioned. Regards -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista

Re: [PATCH v2 1/2] MX2: Add platform definitions for eMMa-PrP device.

2011-11-23 Thread javier Martin
Hi Sascha, On 22 November 2011 22:06, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Nov 22, 2011 at 01:01:55PM +0100, Javier Martin wrote: eMMa-PrP device included in Freescale i.MX2 chips can also be used separately to process memory buffers. Signed-off-by: Javier Martin javier.mar

Re: [RFC PATCH 4/4] ivtv: implement new decoder command ioctls.

2011-11-23 Thread Martin Dauskardt
better if the ivtv driver would continue to support the old ioctl for the few years we still have any PVR350 user. Greets, Martin -- 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

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread javier Martin
, slcdc, slcdc_clk) _REGISTER_CLOCK(imx27-fec.0, NULL, fec_clk) _REGISTER_CLOCK(NULL, emi, emi_clk) If I do that, mx2_camera.c will stop working. Furthermore it does not work for this driver either (I get an error on clk_get() ). -- Javier Martin Vista Silicon S.L. CDTUC - FASE C

[PATCH v3 0/2] Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2011-11-23 Thread Javier Martin
i.MX2x SoCs have a PrP which is capable of resizing and format conversion of video frames. This driver provides support for resizing and format conversion from YUYV to YUV420. This operation is of the utmost importance since some of these SoCs like i.MX27 include an H.264 video codec which only

[PATCH v3 1/2] MX2: Add platform definitions for eMMa-PrP device.

2011-11-23 Thread Javier Martin
eMMa-PrP device included in Freescale i.MX2 chips can also be used separately to process memory buffers. Changes since v2: - Define imx_add_mx2_emmaprp function which also registers device, not only alloc. - Change definition of emma_clk. - Minor fixes. Signed-off-by: Javier Martin javier.mar

[PATCH v3 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread Javier Martin
Changes since v2: - Use devres to simplify error handling. - Remove unused structures. - Fix clock handling. - Other minor problems. Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/Kconfig | 10

Re: [PATCH v3 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread javier Martin
Hi Fabio, On 23 November 2011 16:19, Fabio Estevam feste...@gmail.com wrote: Javier, On Wed, Nov 23, 2011 at 1:13 PM, Javier Martin javier.mar...@vista-silicon.com wrote: Changes since v2: - Use devres to simplify error handling. - Remove unused structures. - Fix clock handling. - Other

<    1   2   3   4   5   6   7   8   9   >