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

[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
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 v1: - Use vb2_get_contig_userptr() which provides page locking and contiguous memory check. Signed-off-by: Javier

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 02/21] [media] tuner/xc2028: Fix frequency offset for radio mode.

2011-12-30 Thread Javier S. Pedro
is AverMedia PCI Hybrid (aka 'A16D'). By Andrew's post we know Leadtek 1800 seems not to need the patch. Javier. [1] http://comments.gmane.org/gmane.linux.drivers.video-input- infrastructure/24251 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message

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

[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

[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
On 22 November 2011 20:29, Sylwester Nawrocki snj...@gmail.com wrote: Hi Javier, +struct platform_device *__init imx_alloc_mx2_emmaprp( +             const struct imx_mx2_camera_data *data) +{ +     struct resource res[] = { +             { +                     .start = data-iobaseemmaprp

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
Hi Sascha, I was just trying to fix the issues you pointed previously and I have a question for you. On 22 November 2011 21:55, Sascha Hauer s.ha...@pengutronix.de wrote: Hi Javier, + +static int emmaprp_probe(struct platform_device *pdev) +{ +     struct emmaprp_dev *pcdev; +     struct

[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

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] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-18 Thread javier Martin
Hi Sylwester, thank you for your review. On 18 November 2011 17:07, Sylwester Nawrocki snj...@gmail.com wrote: Hi Javier, Good to see non Samsung device using v4l2 mem-to-mem framework. What is your experience, have you encountered any specific problems with it ? I've found the framework

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
and the previous two lines give the following error: drivers/built-in.o: In function `uvc_video_clock_update': /home/javier/GIT/linux-uvc/drivers/media/video/uvc/uvc_video.c:656: undefined reference to `__aeabi_uldivmod' /home/javier/GIT/linux-uvc/drivers/media/video/uvc/uvc_video.c:657: undefined

[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: Using MT9P031 digital sensor

2011-11-08 Thread Javier Martinez Canillas
[SGRBG10 752x480]' ./media-ctl -f 'OMAP3 ISP CCDC:1 [SGRBG10 752x480]' ./media-ctl -f 'OMAP3 ISP preview:0 [SGRBG10 752x479]' ./media-ctl -f 'OMAP3 ISP resizer:0 [YUYV 734x471]' ./media-ctl -f 'OMAP3 ISP resizer:1 [YUYV 640x480]' Hope it helps, -- Javier Martínez Canillas (+34) 682 39 81 69

[PATCH 1/1] [media] tvp5150: Delete video standard magic numbers

2011-11-04 Thread Javier Martinez Canillas
Commit: 6497e3cb61ca555969a35ab68b477db34ee2 [media] tvp5150: Add video format registers configuration values Added constants for each video standard supported by TVP5150, so this patch get rid of the magic numbers. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com

UVC with continuous video buffers.

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

Re: UVC with continuous video buffers.

2011-11-02 Thread javier Martin
it seems some related frameworks are not ready for what we want to achieve. -- 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: Starting OMAP3 ISP as module

2011-10-25 Thread Javier Martinez Canillas
should I use? Any other hints? Hi Gary, You have to first insert the iommu2 module. This sequence works: $ modprobe iommu2 $ modprobe omap3-isp Thanks -- Hope it helps, -- Javier Martínez Canillas (+34) 682 39 81 69 Barcelona, Spain -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 0/14] staging/media/as102: new driver submission (was Re: [PATCH 1/7] Staging submission: PCTV 74e driver (as102)

2011-10-19 Thread Javier Martinez Canillas
+ * Copyright (C) 2010 Devin Heitmuellerdheitmueller@xx Hope it helps, -- Javier Martínez Canillas (+34) 682 39 81 69 Barcelona, Spain -- 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: OMAP3 ISP ghosting

2011-10-13 Thread Javier Martinez Canillas
the interlaced mode and get the two frames, then you can copy 1440 bytes (one line) from the first sub-frame (lines[0]) and then copy one line of the second sub-frame (lines[height/2-1]), and so on. Since YUV data is RAW you can manipulate this way. Best regards, -- Javier Martínez Canillas (+34) 682

Re: [RFC 0/3] omap3isp: add BT656 support

2011-10-13 Thread Javier Martinez Canillas
On Tue, Oct 11, 2011 at 5:08 PM, Enrico Butera ebut...@users.berlios.de wrote: This patch series add support for BT656 to omap3isp. It is based on patches from Deepthy Ravi and Javier Martinez Canillas. To be applied on top of omap3isp-omap3isp-yuv branch at: git.linuxtv.org/pinchartl

Re: omap3-isp status

2011-10-11 Thread Javier Martinez Canillas
On Tue, Oct 11, 2011 at 12:29 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 8:18 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Mon, Oct 10, 2011 at 7:09 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 6:53 PM, Javier Martinez Canillas

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 10:54 AM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 1:00 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Mon, Oct 10, 2011 at 12:35 AM, Enrico ebut...@users.berlios.de wrote: I made some tests and unfortunately there are some

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
the artifact on the video. Best regards, -- Javier Martínez Canillas (+34) 682 39 81 69 Barcelona, Spain -- 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

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 6:34 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 4:17 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 2:46 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 12:33 PM, Javier Martinez Canillas Perfect, thank you

Re: omap3-isp status

2011-10-10 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 7:09 PM, Enrico ebut...@users.berlios.de wrote: On Mon, Oct 10, 2011 at 6:53 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Mon, Oct 10, 2011 at 6:34 PM, Enrico ebut...@users.berlios.de wrote: Ok, i made it work. It was missing just

Re: [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 12:02 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. Hi Laurent, I'm so glad that you are providing feedback on this :) On Sunday 09 October 2011 04:37:33 Javier Martinez Canillas wrote: The ITU-R BT.656 standard data

[PATCH v2 0/2] Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
Hello folks, This is a v2 patch-set that aims to add support to the ISP CCDC driver to process video in interlaced mode. The patch-set contains the following patches: [PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data [PATCH v2 2/3] omap3isp: ccdc: Add interlaced count

[PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data

2011-10-09 Thread Javier Martinez Canillas
The fldmode field from the CCDC_SYN_MODE register configure the ISP CCDC between progresive and interlaced mode. Adding this field to the platform data, allows boards to configure accordingly. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- include/media/omap3isp.h |3

[PATCH v2 2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device

2011-10-09 Thread Javier Martinez Canillas
When configured in interlaced field mode, the ISP CCDC has to know which sub-frame of the current frame is processing. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH v2 3/3] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
This patch adds to the ISP CCDC driver the ability to deinterlace video data when configured in interlaced mode and send progressive frames to user-space V4L2 applications. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.c | 104

Re: [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 2:58 PM, Enrico ebut...@users.berlios.de wrote: On Sun, Oct 9, 2011 at 12:02 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. Laurent, apart from the specific comments on Javier code, did you have a look at Deepthy

Re: [PATCH v2 3/3] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 3:26 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: This patch adds to the ISP CCDC driver the ability to deinterlace video data when configured in interlaced mode and send progressive frames to user-space V4L2 applications. Signed-off-by: Javier Martinez

[PATCH v2 1/3] omap3isp: ccdc: Add interlaced field mode to platform data

2011-10-09 Thread Javier Martinez Canillas
The fldmode field from the CCDC_SYN_MODE register configure the ISP CCDC between progresive and interlaced mode. Adding this field to the platform data, allows boards to configure accordingly. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- include/media/omap3isp.h |3

[PATCH v2 2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device

2011-10-09 Thread Javier Martinez Canillas
When configured in interlaced field mode, the ISP CCDC has to know which sub-frame of the current frame is processing. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH v2 3/3] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
This patch adds to the ISP CCDC driver the ability to deinterlace video data when configured in interlaced mode and send progressive frames to user-space V4L2 applications. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.c | 104

Re: [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 2:58 PM, Enrico ebut...@users.berlios.de wrote: On Sun, Oct 9, 2011 at 12:02 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patch. Laurent, apart from the specific comments on Javier code, did you have a look at Deepthy

Re: [PATCH 0/2] Add support to ITU-R BT.656 video data format

2011-10-09 Thread Javier Martinez Canillas
On Sun, Oct 9, 2011 at 7:12 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Javier, Thanks for the patches. On Sunday 09 October 2011 04:37:31 Javier Martinez Canillas wrote: This patch-set aims to add support to the ISP CCDC driver to process interlaced video data in ITU-R

Re: omap3-isp status

2011-10-09 Thread Javier Martinez Canillas
On Mon, Oct 10, 2011 at 12:35 AM, Enrico ebut...@users.berlios.de wrote: On Sat, Oct 8, 2011 at 6:11 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Yes, I'll cook a patch today on top on your omap3isp-yuv and send for review. I won't be able to test neither since I don't have

Re: omap3-isp status

2011-10-08 Thread Javier Martinez Canillas
On Sat, Oct 8, 2011 at 5:51 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi, On Friday 07 October 2011 11:31:46 Javier Martinez Canillas wrote: On Fri, Oct 7, 2011 at 10:54 AM, Enrico wrote: On Thu, Oct 6, 2011 at 6:05 PM, Javier Martinez Canillas wrote: On Thu, Oct 6

[PATCH 0/2] Add support to ITU-R BT.656 video data format

2011-10-08 Thread Javier Martinez Canillas
This patch-set aims to add support to the ISP CCDC driver to process interlaced video data in ITU-R BT.656 format. The patch-set contains the following patches: [PATCH 1/2] omap3isp: video: Decouple buffer obtaining and set ISP entities format [PATCH 2/2] omap3isp: ccdc: Add support to ITU-R

[PATCH 2/2] omap3isp: ccdc: Add support to ITU-R BT.656 video data format

2011-10-08 Thread Javier Martinez Canillas
. - Decouple next buffer obtaining from last buffer releasing. - Move most of the logic to the VD1 interrupt handler since the ISP is not busy there. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispccdc.c | 195

[PATCH 1/2] omap3isp: video: Decouple buffer obtaining and set ISP entities format

2011-10-08 Thread Javier Martinez Canillas
these two actions. Signed-off-by: Javier Martinez Canillas martinez.jav...@gmail.com --- drivers/media/video/omap3isp/ispvideo.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/omap3isp/ispvideo.c b/drivers/media/video/omap3isp/ispvideo.c index cc73375

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
On Fri, Oct 7, 2011 at 10:54 AM, Enrico ebut...@users.berlios.de wrote: On Thu, Oct 6, 2011 at 6:05 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Oct 6, 2011 at 5:25 PM, Enrico ebut...@users.berlios.de wrote: - i don't see Deepthy patches, it seems to be based

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
On Fri, Oct 7, 2011 at 11:34 AM, Gary Thomas g...@mlbassoc.com wrote: On 2011-10-06 10:11, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 5:47 PM, Gary Thomasg...@mlbassoc.com  wrote: On 2011-10-06 08:50, Javier Martinez Canillas wrote: On Thu, Oct 6, 2011 at 4:29 PM, Javier

Re: omap3-isp status

2011-10-07 Thread Javier Martinez Canillas
to do it with the ISP. My guess is that the problem is the ISP driver that before this configuration (TVP5150/1 + ISP) had never been tested with an video decoder that generates interlaced data. -- Javier Martínez Canillas (+34) 682 39 81 69 Barcelona, Spain -- To unsubscribe from this list: send

<    3   4   5   6   7   8   9   >