Re: [PATCH v6] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
Hi Hans, On 21 July 2012 11:50, Hans Verkuil hverk...@xs4all.nl wrote: On Fri July 20 2012 13:08:35 Javier Martin wrote: Coda is a range of video codecs from ChipsMedia that support H.264, H.263, MPEG4 and other video standards. Currently only support for the codadx6 included in the i.MX27

Re: [PATCH] [v3] i.MX27: Fix emma-prp clocks in mx2_camera.c

2012-07-23 Thread javier Martin
On 20 July 2012 15:43, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Fri, 20 Jul 2012, javier Martin wrote: On 20 July 2012 13:19, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier Thanks for the patch On Mon, 9 Jul 2012, javier Martin wrote: On 9 July 2012 10

Re: [PATCH v6] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
On 23 July 2012 10:20, Hans Verkuil hverk...@xs4all.nl wrote: On Mon July 23 2012 10:02:04 javier Martin wrote: Hi Hans, On 21 July 2012 11:50, Hans Verkuil hverk...@xs4all.nl wrote: On Fri July 20 2012 13:08:35 Javier Martin wrote: Coda is a range of video codecs from ChipsMedia

Fwd: [PATCH v6] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
-- Forwarded message -- From: javier Martin javier.mar...@vista-silicon.com Date: 23 July 2012 10:39 Subject: Re: [PATCH v6] media: coda: Add driver for Coda video codec. To: Hans Verkuil hverk...@xs4all.nl On 23 July 2012 10:36, Hans Verkuil hverk...@xs4all.nl wrote: On Mon

Re: [PATCH v6] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
: fail: v4l2-test-buffers.cpp(111): doioctl(node-node2, VIDIOC_REQBUFS, bufs) != EBUSY test VIDIOC_REQBUFS/CREATE_BUFS: FAIL test read/write: OK Total: 34 Succeeded: 26 Failed: 8 Warnings: 0 -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de

Re: [PATCH v6] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
On 23 July 2012 11:45, javier Martin javier.mar...@vista-silicon.com wrote: Sorry, I had a problem with my buildroot environment. This is the v4l2-compliance output with the most recent version: # v4l2-compliance -d /dev/video2 Driver Info: Driver name : coda Card type

Re: [PATCH v6] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
On 23 July 2012 12:14, Hans Verkuil hverk...@xs4all.nl wrote: On Mon July 23 2012 12:00:30 javier Martin wrote: On 23 July 2012 11:45, javier Martin javier.mar...@vista-silicon.com wrote: Sorry, I had a problem with my buildroot environment. This is the v4l2-compliance output with the most

Re: [PATCH v7] media: coda: Add driver for Coda video codec.

2012-07-23 Thread javier Martin
On 23 July 2012 13:38, Hans Verkuil hverk...@xs4all.nl wrote: On Mon July 23 2012 13:31:01 Javier Martin wrote: Coda is a range of video codecs from ChipsMedia that support H.264, H.263, MPEG4 and other video standards. Currently only support for the codadx6 included in the i.MX27 SoC

[PATCH 1/2 v3] media: Add mem2mem deinterlacing driver.

2012-07-24 Thread Javier Martin
effect in the image but this can be accepted for some low quality applications. Currently only YUV420 and YUYV formats are supported but it can be extended later. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v2: - Passes all v4l2-compliance tests. - Field

[PULL] video_visstrim for 3.6

2012-07-26 Thread Javier Martin
) Javier Martin (5): i.MX: coda: Add platform support for coda in i.MX27. media: coda: Add driver for Coda video codec. Visstrim M10: Add support for Coda. media: Add mem2mem deinterlacing driver. i.MX27

[PATCH 0/4] Fix clocks for i.MX27 in mx2_camera.c

2012-07-26 Thread Javier Martin
The following series follows the steps purposed by Guennadi (http://www.spinics.net/lists/arm-kernel/msg18.html) in order to fix clock handlings for i.MX27 in mx2_camera.c [PATCH 1/4] i.MX27: Fix emma-prp and csi clocks. [PATCH 2/4] media: mx2_camera: Mark i.MX25 support as BROKEN. [PATCH

[PATCH 1/4] i.MX27: Fix emma-prp and csi clocks.

2012-07-26 Thread Javier Martin
Naming of emma-prp related clocks for the i.MX27 is not correct. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- arch/arm/mach-imx/clk-imx27.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk

[PATCH 2/4] media: mx2_camera: Mark i.MX25 support as BROKEN.

2012-07-26 Thread Javier Martin
i.MX25 support is known to have been broken for almost a year. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index

[PATCH 4/4] media: mx2_camera: Fix clock handling for i.MX27.

2012-07-26 Thread Javier Martin
This driver wasn't converted to the new clock framework (e038ed50a4a767add205094c035b6943e7b30140). Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 67 ++ 1 file changed, 39 insertions(+), 28 deletions

[PATCH 3/4] Schedule removal of i.MX25 support in mx2_camera.c

2012-07-26 Thread Javier Martin
Support for i.MX25 in mx2_camera.c has been broken for a year. Furthermore, i.MX25 video capture HW doesn't have much in common with i.MX27. A separate driver would be desirable. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Documentation/feature-removal-schedule.txt |9

[PATCH] media: i.MX27: Fix mx2_emmaprp mem2mem driver clocks.

2012-07-30 Thread Javier Martin
This driver wasn't converted to the new clock framework (e038ed50a4a767add205094c035b6943e7b30140). Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- This is broken in current stable 3.5 too. So it should be applied to both stable and 3.6. --- drivers/media/video/mx2_emmaprp.c

Re: [PATCH] media: mx2_camera: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags.

2012-07-30 Thread javier Martin
Hi, thank you for yor ACKs. On 20 July 2012 13:31, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 12 Jul 2012, Javier Martin wrote: These flags are not used any longer and can be safely removed since the following patch: http://www.spinics.net/lists/linux-media/msg50165.html

Re: [PULL] video_visstrim for 3.6

2012-07-31 Thread javier Martin
On 31 July 2012 00:42, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 26-07-2012 06:36, Javier Martin escreveu: Hi Mauro, this pull request is composed of two series that provide support for two mem2mem devices: - 'm2m-deinterlace' video deinterlacer - 'coda video codec' I've included

Re: [PULL] video_visstrim for 3.6

2012-07-31 Thread javier Martin
we finally missed that deadline. 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

Re: [PULL] video_visstrim for 3.6

2012-08-01 Thread javier Martin
On 31 July 2012 15:05, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Jul 31, 2012 at 08:13:59AM +0200, javier Martin wrote: On 31 July 2012 00:42, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 26-07-2012 06:36, Javier Martin escreveu: Hi Mauro, this pull request is composed

[PATCH v2] media: mx2_camera: Fix clock handling for i.MX27.

2012-08-01 Thread Javier Martin
This driver wasn't converted to the new clock framework (e038ed50a4a767add205094c035b6943e7b30140). Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 47 +- 1 file changed, 31 insertions(+), 16 deletions

Re: [v7] media: coda: Add driver for Coda video codec.

2012-08-03 Thread javier Martin
suggestions so that adding support for different chips later is as straightforward as possible. -- 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

Vacations.

2012-08-03 Thread javier Martin
. [PATCH 2/4] media: mx2_camera: Mark i.MX25 support as BROKEN. [PATCH 3/4] Schedule removal of i.MX25 support in mx2_camera.c [PATCH v2] media: mx2_camera: Fix clock handling for i.MX27. For Sascha: [PATCH v2] Visstrim SM10: Use mo_version to decide board video mode. Regards. -- Javier Martin

Re: [v7] media: coda: Add driver for Coda video codec.

2012-08-20 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

Re: [PATCH] media: mx2_camera: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags.

2012-08-20 Thread javier Martin
Hi, On 30 July 2012 17:33, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier On Mon, 30 Jul 2012, javier Martin wrote: Hi, thank you for yor ACKs. On 20 July 2012 13:31, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Thu, 12 Jul 2012, Javier Martin wrote

[PATCH v3] media: mx2_camera: Don't modify non volatile parameters in try_fmt.

2012-08-20 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v2: - Add Signed-off-by line. --- drivers/media/video/mx2_camera.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c index

Re: [PATCH] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out

2012-08-21 Thread javier Martin
); + ret = vidioc_s_fmt(ctx, f); if (ret) ctx-colorspace = f-fmt.pix.colorspace; -- 1.7.9.5 Good catch. Acked-by: Javier Martin javier.mar...@vista-silicon.com -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander

Re: [PATCH] coda: Add V4L2_CAP_VIDEO_M2M capability flag

2012-08-23 Thread javier Martin
: Javier Martin javier.mar...@vista-silicon.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/media/platform/coda.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index

Re: [PATCH] m2m-deinterlace: Add V4L2_CAP_VIDEO_M2M capability flag

2012-08-23 Thread javier Martin
: Javier Martin javier.mar...@vista-silicon.com Signed-off-by: Sylwester Nawrocki sylvester.nawro...@gmail.com --- drivers/media/platform/m2m-deinterlace.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media

Re: [git:v4l-dvb/for_v3.5] [media] media: mx2_camera: Fix mbus format handling

2012-05-23 Thread javier Martin
it be also merged 'for_v3.5' or should it wait for version 3.6? 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

Re: [git:v4l-dvb/for_v3.5] [media] media: mx2_camera: Fix mbus format handling

2012-05-23 Thread javier Martin
at a patch a that introduces a breakage and b that hopefully should fix it back. All right. Then Mauro can revert this patch and I'll get my hands on a new version whenever I have some spare time. Sorry for the inconvenience. Regards. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345

[PATCH v2][for_v3.5] media: mx2_camera: Fix mbus format handling

2012-06-01 Thread Javier Martin
Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags so that the driver can negotiate with the attached sensor whether the mbus format needs convertion from UYUV to YUYV or not. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Previous version of this patch was requested

Re: [PATCH v2][for_v3.5] media: mx2_camera: Fix mbus format handling

2012-06-01 Thread javier Martin
Sorry, forget about this patch. I've just read that there is a merge conflict too. I will send a v3 to address this also. On 1 June 2012 10:28, Javier Martin javier.mar...@vista-silicon.com wrote: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags so that the driver can negotiate

[PATCH v3][for_v3.5] media: mx2_camera: Fix mbus format handling

2012-06-01 Thread Javier Martin
Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags so that the driver can negotiate with the attached sensor whether the mbus format needs convertion from UYUV to YUYV or not. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Fix pass-through mode as requested by Guennadi

Re: [PATCH] video: mx2_camera: Fix build error due to the lack of 'pixfmt' definition

2012-06-01 Thread javier Martin
] Revert [media] media: mx2_camera: Fix mbus format handling And I've sent a new version addressing this merge issue and the problem mentioned by Guennadi: [PATCH v3][for_v3.5] media: mx2_camera: Fix mbus format handling -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de

[PATCH] media: mx2_camera: Add YUYV output format.

2012-06-05 Thread Javier Martin
While YUYV format can be handled using generic pass-through mode, in order to allow resizing the eMMa-PrP has to know exactly what format it is dealing with to process data accordingly. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c | 26

Re: [PATCH] media: mx2_camera: Add YUYV output format.

2012-06-05 Thread javier Martin
Hi, On 5 June 2012 16:09, Fabio Estevam feste...@gmail.com wrote: Hi Javier, Just curious: have you managed to get VPU driver working in mainline running on mx27? No, I'm still working on it in my spare time. Progress is rather slow. Regards. -- Javier Martin Vista Silicon S.L. CDTUC

Re: [PATCH] media: mx2_camera: Add YUYV output format.

2012-06-07 Thread javier Martin
Hi Fabio, On 5 June 2012 16:17, Fabio Estevam feste...@gmail.com wrote: On Tue, Jun 5, 2012 at 11:14 AM, javier Martin javier.mar...@vista-silicon.com wrote: No, I'm still working on it in my spare time. Progress is rather slow. Ok, great. If you want to collaborate on this task, I

Re: [PATCH] media: mx2_camera: Add YUYV output format.

2012-06-08 Thread javier Martin
Hi Fabio, On 7 June 2012 19:35, Fabio Estevam feste...@gmail.com wrote: Hi Javier, On Thu, Jun 7, 2012 at 5:30 AM, javier Martin javier.mar...@vista-silicon.com wrote: As i stated, the driver is still in an early development stage, it doesn't do anything useful yet. But this is the public

[RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2012-06-08 Thread javier Martin
Fabio, On 8 June 2012 08:51, javier Martin javier.mar...@vista-silicon.com wrote: Hi Fabio, On 7 June 2012 19:35, Fabio Estevam feste...@gmail.com wrote: Hi Javier, On Thu, Jun 7, 2012 at 5:30 AM, javier Martin javier.mar...@vista-silicon.com wrote: As i stated, the driver is still

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2012-06-08 Thread javier Martin
Hi Robert, On 8 June 2012 09:26, Robert Schwebel r.schwe...@pengutronix.de wrote: Hi Javier, On Fri, Jun 08, 2012 at 09:21:13AM +0200, javier Martin wrote: If you refer to driver in [1] I have some concerns: i.MX27 VPU should be implemented as a V4L2 mem2mem device since it gets raw pictures

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2012-06-08 Thread javier Martin
On 8 June 2012 10:48, Sascha Hauer s.ha...@pengutronix.de wrote: On Fri, Jun 08, 2012 at 09:39:15AM +0200, javier Martin wrote: Hi Robert, On 8 June 2012 09:26, Robert Schwebel r.schwe...@pengutronix.de wrote: Hi Javier, On Fri, Jun 08, 2012 at 09:21:13AM +0200, javier Martin wrote

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2012-06-08 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

Re: [RFC] Support for H.264/MPEG4 encoder (VPU) in i.MX27.

2012-06-08 Thread javier Martin
On 8 June 2012 11:23, Sascha Hauer s.ha...@pengutronix.de wrote: On Fri, Jun 08, 2012 at 11:02:31AM +0200, javier Martin wrote: Hi, I've checked this matter with a colleague and we have several reasons to doubt that the i.MX27 and the i.MX53 can share the same driver for their Video

Re: [PATCH v2 0/5] media: ov7670: driver cleanup and support for ov7674.

2012-10-25 Thread javier Martin
Hi Mauro, do you have any problems with this series? Regards. On 29 September 2012 21:20, Jonathan Corbet cor...@lwn.net wrote: On Thu, 27 Sep 2012 17:38:20 +0200 Javier Martin javier.mar...@vista-silicon.com wrote: The following series includes all the changes discussed in [1] that don't

Re: [PATCH v3 0/4] ov7670: migrate this sensor and its users to ctrl framework.

2012-10-25 Thread javier Martin
Hi Mauro, Jon, any more issues related with this series? Regards. On 29 September 2012 21:25, Jonathan Corbet cor...@lwn.net wrote: On Fri, 28 Sep 2012 13:26:39 +0200 Javier Martin javier.mar...@vista-silicon.com wrote: The following series migrate ov7670 sensor and current users to ctrl

Re: [PATCH v2 0/5] media: ov7670: driver cleanup and support for ov7674.

2012-10-26 Thread javier Martin
Hi Mauro, On 25 October 2012 18:18, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Thu, 25 Oct 2012 15:24:49 +0200 javier Martin javier.mar...@vista-silicon.com escreveu: Hi Mauro, do you have any problems with this series? It didn't apply here, maybe due to its dependency from your

Re: [PATCH v3 0/4] ov7670: migrate this sensor and its users to ctrl framework.

2012-10-26 Thread javier Martin
Hi Mauro, On 25 October 2012 17:50, Mauro Carvalho Chehab mche...@redhat.com wrote: Hi Javier, Em Thu, 25 Oct 2012 15:27:08 +0200 javier Martin javier.mar...@vista-silicon.com escreveu: Hi Mauro, Jon, any more issues related with this series? Patch doesn't apply anymore: patching file

[PATCH] media: coda: Fix H.264 header alignment.

2012-10-29 Thread javier . martin
From: Javier Martin javier.mar...@vista-silicon.com Length of H.264 headers is variable and thus it might not be aligned for the coda to append the encoded frame. This causes the first frame to overwrite part of the H.264 PPS. In order to solve that, a filler NAL must be added between

[PATCH v2] media: coda: Fix H.264 header alignment.

2012-10-29 Thread javier . martin
From: Javier Martin javier.mar...@vista-silicon.com Length of H.264 headers is variable and thus it might not be aligned for the coda to append the encoded frame. This causes the first frame to overwrite part of the H.264 PPS. In order to solve that, a filler NAL must be added between

[PULL] video_visstrim staging/ov7670_for_v3.7

2012-10-29 Thread Javier Martin
callbacks. (2012-09-28 13:18:23 +0200) Javier Martin (9): media: ov7670: add support for ov7675. media: ov7670: make try_fmt() consistent with 'min_height' and 'min_width'. media: ov7670: calculate framerate properly

[PATCH 0/4] media: mx2_camera: Remove i.mx25 and clean up.

2012-10-30 Thread Javier Martin
[PATCH 1/4] media: mx2_camera: Remove i.mx25 support. [PATCH 2/4] media: mx2_camera: Add image size HW limits. [PATCH 3/4] media: mx2_camera: Remove 'buf_cleanup' callback. [PATCH 4/4] media: mx2_camera: Remove buffer states. -- To unsubscribe from this list: send the line unsubscribe linux-media

[PATCH 1/4] media: mx2_camera: Remove i.mx25 support.

2012-10-30 Thread Javier Martin
i.MX25 support has been broken for several releases now and nobody seems to care about it. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/soc_camera/mx2_camera.c | 405 ++-- 1 file changed, 100 insertions(+), 305 deletions(-) diff

[PATCH 2/4] media: mx2_camera: Add image size HW limits.

2012-10-30 Thread Javier Martin
The CSI has some constraints regarding image with. This patch makes sure those requirements are met in try_fmt(). Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/soc_camera/mx2_camera.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH 3/4] media: mx2_camera: Remove 'buf_cleanup' callback.

2012-10-30 Thread Javier Martin
All necessary tasks to end the streaming properly are already implemented in mx2_stop_streaming() and nothing remains to be done in this callback. Furthermore, it only included debug messages so it can be removed. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media

[PATCH 4/4] media: mx2_camera: Remove buffer states.

2012-10-30 Thread Javier Martin
After removing i.mx25 support and buf_cleanup() callback, buffer states are not used in the code any longer. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/soc_camera/mx2_camera.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers

Re: [PATCH 1/4] media: mx2_camera: Remove i.mx25 support.

2012-10-30 Thread javier Martin
Hi Guennadi, Fabio, On 30 October 2012 13:29, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Tue, 30 Oct 2012, Fabio Estevam wrote: Javier, On Tue, Oct 30, 2012 at 10:16 AM, Javier Martin javier.mar...@vista-silicon.com wrote: i.MX25 support has been broken for several releases

[PATCH v2 0/4] media: mx2_camera: Remove i.mx25 and clean up.

2012-10-30 Thread Javier Martin
Changes since v1: - Remove i.MX25 support in the Kconfig file too in patch 1. [PATCH v2 1/4] media: mx2_camera: Remove i.mx25 support. [PATCH v2 2/4] media: mx2_camera: Add image size HW limits. [PATCH v2 3/4] media: mx2_camera: Remove 'buf_cleanup' callback. [PATCH v2 4/4] media: mx2_camera:

[PATCH v2 1/4] media: mx2_camera: Remove i.mx25 support.

2012-10-30 Thread Javier Martin
i.MX25 support has been broken for several releases now and nobody seems to care about it. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/soc_camera/Kconfig |7 +- drivers/media/platform/soc_camera/mx2_camera.c | 405 ++-- 2

[PATCH v2 2/4] media: mx2_camera: Add image size HW limits.

2012-10-30 Thread Javier Martin
The CSI has some constraints regarding image with. This patch makes sure those requirements are met in try_fmt(). Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/soc_camera/mx2_camera.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH v2 3/4] media: mx2_camera: Remove 'buf_cleanup' callback.

2012-10-30 Thread Javier Martin
All necessary tasks to end the streaming properly are already implemented in mx2_stop_streaming() and nothing remains to be done in this callback. Furthermore, it only included debug messages so it can be removed. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media

[PATCH v2 4/4] media: mx2_camera: Remove buffer states.

2012-10-30 Thread Javier Martin
After removing i.mx25 support and buf_cleanup() callback, buffer states are not used in the code any longer. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/soc_camera/mx2_camera.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers

[PATCH] media: m2m-deinterlace: Do not set debugging flag to true.

2012-10-30 Thread Javier Martin
Default value should be 'debugging disabled'. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/platform/m2m-deinterlace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media/platform/m2m

Re: [PATCH 1/4] media: mx2_camera: Remove i.mx25 support.

2012-10-30 Thread javier Martin
On 30 October 2012 15:57, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Tue, 30 Oct 2012, javier Martin wrote: Hi Guennadi, Fabio, On 30 October 2012 13:29, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Tue, 30 Oct 2012, Fabio Estevam wrote: Javier, On Tue, Oct 30

[PATCH] media: ov7670: Allow 32x maximum gain for yuv422.

2012-10-30 Thread Javier Martin
4x gain ceiling is not enough to capture a decent image in conditions of total darkness and only a LED light source. Allow a maximum gain of 32x instead. This doesn't have any drawback since the image quality in 'normal' light conditions is the same. Signed-off-by: Javier Martin javier.mar

[PATCH 1/2] ARM: i.MX27: Add platform support for IRAM.

2012-11-05 Thread Javier Martin
Add support for IRAM to i.MX27 non-DT platforms using iram_init() function. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- arch/arm/mach-imx/mm-imx27.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c index

[PATCH 2/2] media: coda: Use iram_alloc() for codadx6 too.

2012-11-05 Thread Javier Martin
Use this helper function instead of hardcoding the physical address of the IRAM in the i.MX27. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/Kconfig |2 +- drivers/media/video/coda.c | 18 ++ 2 files changed, 11 insertions(+), 9

Re: [PATCH 1/2] ARM: i.MX27: Add platform support for IRAM.

2012-11-22 Thread javier Martin
On 16 November 2012 13:48, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Nov 05, 2012 at 04:59:44PM +0100, Javier Martin wrote: Add support for IRAM to i.MX27 non-DT platforms using iram_init() function. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- arch/arm/mach

Re: [PATCH 1/4] media: mx2_camera: Remove i.mx25 support.

2013-01-02 Thread javier Martin
imx25-camera.0: MX2 Camera (CSI) driver probed, clock frequency: 2216 Could we please keep the mx25 support? That's great. Did you need to change anything in the mx2 camera driver for mx25 to work? Have you already submitted the patches? Regards. -- Javier Martin Vista Silicon S.L. CDTUC

Re: [PATCH 1/4] media: mx2_camera: Remove i.mx25 support.

2013-01-02 Thread javier Martin
Hi Fabio, On 2 January 2013 13:25, Fabio Estevam feste...@gmail.com wrote: Hi Javier, On Wed, Jan 2, 2013 at 10:18 AM, javier Martin javier.mar...@vista-silicon.com wrote: That's great. Did you need to change anything in the mx2 camera driver for mx25 to work? Have you already submitted

[Q] Querying Y/Gb Average Level in a sensor.

2013-01-21 Thread javier Martin
it to define a new v4l2-ctrl for this or should I use a private ctrl instead? Regards. [1] http://calise.sourceforge.net/wordpress/ -- 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

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

2011-11-16 Thread Javier Martin
accepts YUV420 as input. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- arch/arm/mach-imx/devices-imx27.h |2 + arch/arm/plat-mxc/devices/platform-mx2-camera.c | 33 + arch/arm/plat-mxc/include/mach/devices-common.h |2 + drivers/media/video/Kconfig

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

2011-11-17 Thread javier Martin
is it in a 'working' state? -- 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: UVC with continuous video buffers.

2011-11-17 Thread javier Martin
On 4 November 2011 11:41, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, On Wednesday 02 November 2011 17:33:16 javier Martin wrote: On 2 November 2011 17:12, Devin Heitmueller wrote: I've actually got a very similar issue and have been looking into it (an em28xx

Re: [PATCH 4/4] uvcvideo: Add UVC timestamps support

2011-11-17 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

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

2011-11-18 Thread javier Martin
a second version with all the fixes you've pointed out which seem quite reasonable to me. 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

Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2011-11-22 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 v2 1/2] MX2: Add platform definitions for eMMa-PrP device.

2011-11-22 Thread Javier Martin
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...@vista-silicon.com --- arch/arm/mach-imx/devices-imx27.h |2 + arch/arm/plat-mxc/devices/platform-mx2-camera.c | 33

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

2011-11-22 Thread Javier Martin
Changes since v1: - Embed queue data in ctx structure to allow multi instance. - Remove redundant job_ready callback. - Adjust format against device capabilities. - Register/unregister video device at the right time. - Other minor coding fixes. Signed-off-by: Javier Martin javier.mar...@vista

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: [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

[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

[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

[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] 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

<    1   2   3   4   5   >