Re: [RFC/PATCH v2 6/7] v4l: subdev: Events support

2010-07-12 Thread Laurent Pinchart
Hi Sakari, On Monday 12 July 2010 13:06:34 Sakari Ailus wrote: Mauro Carvalho Chehab wrote: Em 09-07-2010 12:31, Laurent Pinchart escreveu: [snip] diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2-subdev.c index 0ebd760..31bec67 100644 --- a/drivers/media/video

Re: [RFC/PATCH v2 7/7] v4l: subdev: Generic ioctl support

2010-07-12 Thread Laurent Pinchart
Hi Pawel, On Monday 12 July 2010 11:33:52 Pawel Osciak wrote: On Friday 9 July 2010 17:32:00 Laurent Pinchart wrote: [snip] diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2- subdev.c index 31bec67..ce47772 100644 --- a/drivers/media/video/v4l2-subdev.c +++ b

[RFC/PATCH v3 0/7] V4L2 subdev userspace API

2010-07-12 Thread Laurent Pinchart
deletions(-) create mode 100644 drivers/media/video/v4l2-subdev.c -- Regards, Laurent Pinchart -- 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

[RFC/PATCH v3 1/7] v4l: Share code between video_usercopy and video_ioctl2

2010-07-12 Thread Laurent Pinchart
-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-ioctl.c | 218 - 1 files changed, 71 insertions(+), 147 deletions(-) diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c index 0eeceae..486eaba

[RFC/PATCH v3 5/7] v4l: subdev: Uninline the v4l2_subdev_init function

2010-07-12 Thread Laurent Pinchart
The function isn't small or performance sensitive enough to be inlined. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-subdev.c | 14 ++ include/media/v4l2-subdev.h | 15 ++- 2 files changed, 16 insertions(+), 13

[RFC/PATCH v3 4/7] v4l: subdev: Add device node support

2010-07-12 Thread Laurent Pinchart
Create a device node named subdevX for every registered subdev. As the device node is registered before the subdev core::s_config function is called, return -EGAIN on open until initialization completes. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Vimarsh

[RFC/PATCH v3 7/7] v4l: subdev: Events support

2010-07-12 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt | 18 ++ drivers/media/video/v4l2-subdev.c| 75 +- include/media/v4l2-subdev.h | 10 3 files changed, 102 insertions(+), 1 deletions

[RFC/PATCH v3 3/7] v4l: subdev: Merge v4l2_i2c_new_subdev_cfg and v4l2_i2c_new_subdev

2010-07-12 Thread Laurent Pinchart
v4l2_i2c_new_subdev_cfg is called by v4l2_i2c_new_subdev only. Merge the two functions into v4l2_i2c_new_subdev. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-common.c |7 ++- include/media/v4l2-common.h | 15 +-- 2

[RFC/PATCH v3 6/7] v4l: subdev: Control ioctls support

2010-07-12 Thread Laurent Pinchart
Pass the control-related ioctls to the subdev driver through the core operations. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt | 16 drivers/media/video/v4l2-subdev.c| 24

[RFC/PATCH v3 2/7] v4l: subdev: Don't require core operations

2010-07-12 Thread Laurent Pinchart
There's no reason to require subdevices to implement the core operations. Remove the check for non-NULL core operations when initializing the subdev. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h |3 +-- 1 files changed, 1 insertions(+), 2

Re: macbook webcam no longer works on .35-rc

2010-07-12 Thread Laurent Pinchart
Hi Johannes, On Monday 12 July 2010 14:36:26 Johannes Berg wrote: On Mon, 2010-07-05 at 10:23 +0200, Laurent Pinchart wrote: Could you please test the following patch when you will have time ? That fixes it, thank you. The fix has been applied to http://git.kernel.org/?p=linux/kernel/git

Re: [PATCH 11/36] drivers/media: Remove unnecessary casts of private_data

2010-07-13 Thread Laurent Pinchart
Hi Joe, On Monday 12 July 2010 22:50:03 Joe Perches wrote: Signed-off-by: Joe Perches j...@perches.com For uvcvideo, Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

[RFC/PATCH 00/10] Media controller (core and V4L2)

2010-07-14 Thread Laurent Pinchart
them as sample code only. I wish you all a happy review, and please don't punch, kick or otherwise bite too hard. Laurent Pinchart (8): media: Media device node support media: Media device media: Entities, pads and links media: Entities, pads and links enumeration media: Links setup v4l

[RFC/PATCH 04/10] media: Entity graph traversal

2010-07-14 Thread Laurent Pinchart
not supported. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Vimarsh Zutshi vimarsh.zut...@nokia.com --- Documentation/media-framework.txt | 40 + drivers/media/media-entity.c

[RFC/PATCH 07/10] media: Links setup

2010-07-14 Thread Laurent Pinchart
can not be activated or deactivated. Activating and deactivating a link has effects on entities' use count. Those changes are automatically propagated through the graph. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off

[RFC/PATCH 08/10] v4l: Add a media_device pointer to the v4l2_device structure

2010-07-14 Thread Laurent Pinchart
ownership of the drvdata anymore. To maintain compatibility with drivers that rely on v4l2_device storing a pointer to itself in the device's drvdata, v4l2_device_register() will keep doing so if the drvdata is NULL. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation

[RFC/PATCH 10/10] v4l: Make v4l2_subdev inherit from media_entity

2010-07-14 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 22 + drivers/media/video/v4l2-device.c| 26 +--- drivers/media/video

[RFC/PATCH 06/10] media: Entities, pads and links enumeration

2010-07-14 Thread Laurent Pinchart
are returned during the enumeration process. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/media-framework.txt | 134 drivers/media/media-device.c | 153

[RFC/PATCH 09/10] v4l: Make video_device inherit from media_entity

2010-07-14 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 38 +++-- drivers/media/video/v4l2-dev.c | 35 ++- include/media/v4l2-dev.h

[RFC/PATCH 05/10] media: Reference count and power handling

2010-07-14 Thread Laurent Pinchart
are increased/decreased in media_entity_get/put to prevent module unloading when an entity is referenced. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com

[RFC/PATCH 02/10] media: Media device

2010-07-14 Thread Laurent Pinchart
The media_device structure abstracts functions common to all kind of media devices (v4l2, dvb, alsa, ...). It manages media entities and offers a userspace API to discover and configure the media device internal topology. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[SAMPLE 00/12] Further V4L2 API additions and OMAP3 ISP driver

2010-07-14 Thread Laurent Pinchart
Laurent Pinchart (8): v4l: Move the media/v4l2-mediabus.h header to include/linux v4l: Add 16 bit YUYV and SGRBG10 media bus format codes v4l-subdev: Add pads operations v4l: v4l2_subdev userspace format API v4l: Add subdev userspace API to enumerate and configure frame interval v4l

[SAMPLE 01/12] v4l: Move the media/v4l2-mediabus.h header to include/linux

2010-07-14 Thread Laurent Pinchart
The header defines the v4l2_mbus_framefmt structure which will be used by the V4L2 subdevs userspace API. Change the type of the v4l2_mbus_framefmt::code field to __u32, as enum sizes can differ between different ABIs on the same architectures. Signed-off-by: Laurent Pinchart laurent.pinch

[SAMPLE 02/12] v4l: Add 16 bit YUYV and SGRBG10 media bus format codes

2010-07-14 Thread Laurent Pinchart
for 16-bit YVYU - V4L2_MBUS_FMT_VYUY16_1X16 for 16-bit VYUY Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/linux/v4l2-mediabus.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h

[SAMPLE 10/12] omap3: Export omap3isp platform device structure

2010-07-14 Thread Laurent Pinchart
From: Stanimir Varbanov svarba...@mm-sol.com omap3isp platform device structure pointer is needed from camera board files for subdevs registration and calls. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- arch/arm/mach-omap2/devices.c |5 - arch/arm/mach-omap2/devices.h |

[SAMPLE 09/12] ARM: OMAP3: Update Camera ISP definitions for OMAP3630

2010-07-14 Thread Laurent Pinchart
From: Tuukka Toivonen tuukka.o.toivo...@nokia.com Add new/changed base address definitions and resources for OMAP3630 ISP. The OMAP3430 CSI2PHY block is same as the OMAP3630 CSIPHY2 block. But the later name is chosen as it gives more symmetry to the names. Signed-off-by: Tuukka Toivonen

[SAMPLE 11/12] omap34xxcam: Register the ISP platform device during omap34xxcam probe

2010-07-14 Thread Laurent Pinchart
and reloading the omap34xxcam driver. Platform device registration should be moved back to omap_init_camera when (if) the omap34xxcam and isp-mod drivers will be merged. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/mach-omap2/devices.c | 13 - 1

[SAMPLE 07/12] v4l: Add crop ioctl to V4L2 subdev API

2010-07-14 Thread Laurent Pinchart
From: Antti Koskipaa antti.koski...@nokia.com This patch adds the VIDIOC_SUBDEV_S_CROP and G_CROP ioctls to the userland API. CROPCAP is not implemented because it's redundant. Signed-off-by: Antti Koskipaa antti.koski...@nokia.com --- drivers/media/video/v4l2-subdev.c | 36

[SAMPLE 08/12] v4l: subdev: Generic ioctl support

2010-07-14 Thread Laurent Pinchart
Instead of returning an error when receiving an ioctl call with an unsupported command, forward the call to the subdev core::ioctl handler. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt |5 + drivers/media/video/v4l2

[SAMPLE 06/12] v4l: Add subdev userspace API to enumerate and configure frame interval

2010-07-14 Thread Laurent Pinchart
. The existing video::g/s_parm operations are deprecated and shouldn't be used anymore. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2-subdev.c | 16 include/linux/v4l2

[SAMPLE 05/12] v4l: v4l2_subdev userspace format API

2010-07-14 Thread Laurent Pinchart
Add a userspace API to get, set and enumerate the media format on a subdev pad. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2

[SAMPLE 04/12] v4l-subdev: Add pads operations

2010-07-14 Thread Laurent Pinchart
to the format handled by the usual get/set operations. Pad format-related operations use v4l2_mbus_framefmt instead of v4l2_format. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h | 21 + 1 files changed, 21 insertions(+), 0

[SAMPLE 03/12] v4l: Create v4l2 subdev file handle structure

2010-07-14 Thread Laurent Pinchart
From: Stanimir Varbanov svarba...@mm-sol.com Used for storing subdev information per file handle and hold V4L2 file handle. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-subdev.c | 76

Re: [RFC/PATCH 02/10] media: Media device

2010-07-16 Thread Laurent Pinchart
Hi Sergio, Thanks for the review. On Thursday 15 July 2010 16:16:44 Aguirre, Sergio wrote: On Wednesday 14 July 2010 08:30:00 Laurent Pinchart wrote: snip diff --git a/include/media/media-device.h b/include/media/media-device.h new file mode 100644 index 000..6c1fc4a --- /dev

Re: [RFC/PATCH 02/10] media: Media device

2010-07-16 Thread Laurent Pinchart
Hi Sergio, On Thursday 15 July 2010 16:22:06 Aguirre, Sergio wrote: On Wednesday 14 July 2010 08:30:00 Laurent Pinchart wrote: snip diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c new file mode 100644 index 000..a4d3db5 --- /dev/null +++ b/drivers/media

Re: [RFC/PATCH 03/10] media: Entities, pads and links

2010-07-16 Thread Laurent Pinchart
Hi Sergio, Thanks for the review. On Thursday 15 July 2010 16:35:20 Aguirre, Sergio wrote: On Wednesday 14 July 2010 08:30:00 Laurent Pinchart wrote: [snip] diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c index a4d3db5..6361367 100644 --- a/drivers/media/media

Re: Chicony Electronics 04f2:b1b4 webcam device unsupported (yet)

2010-07-17 Thread Laurent Pinchart
me the output of lsusb -v -d 04f2:b1b4 -- Regards, Laurent Pinchart -- 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: Chicony Electronics 04f2:b1b4 webcam device unsupported (yet)

2010-07-17 Thread Laurent Pinchart
Hi Michael, On Saturday 17 July 2010 15:25:08 Michael Kromer wrote: Am 17.07.2010 10:57, schrieb Laurent Pinchart: On Saturday 17 July 2010 10:34:20 Michael Kromer wrote: On 07/16/2010 07:14 PM, Pete Eberlein wrote: On Fri, 2010-07-16 at 18:32 +0200, Michael Kromer wrote: I have bought

Re: Confusing mediabus formats

2010-07-18 Thread Laurent Pinchart
YUYV vs. SYUYV, I also think the first one is better. -- Regards, Laurent Pinchart -- 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: [RFC/PATCH 02/10] media: Media device

2010-07-19 Thread Laurent Pinchart
in this documentation. The last patches describe the relationship between the V4L2 and media frameworks in Documentation/video4linux/v4l2-framework.txt. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

Re: [RFC/PATCH 03/10] media: Entities, pads and links

2010-07-19 Thread Laurent Pinchart
Hi Hans, Thanks for the review. On Sunday 18 July 2010 13:53:51 Hans Verkuil wrote: On Wednesday 14 July 2010 15:30:12 Laurent Pinchart wrote: [snip] +Links have flags that describe the link capabilities and state. + + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can

Re: [RFC/PATCH 05/10] media: Reference count and power handling

2010-07-20 Thread Laurent Pinchart
set_power call ? -- Regards, Laurent Pinchart -- 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

[RFC/PATCH v2 00/10] Media controller (core and V4L2)

2010-07-21 Thread Laurent Pinchart
Hi everybody, Here's the second version of the media controller patches. All comments received on the first version have been incorporated. The rebased V4L2 API additions and OMAP3 ISP patches will follow. Once again please consider them as sample code only. Laurent Pinchart (8): media: Media

[RFC/PATCH v2 01/10] media: Media device node support

2010-07-21 Thread Laurent Pinchart
. The code is based on video/v4l2-dev.c. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/Makefile|8 +- drivers/media/media-devnode.c | 339 + include/media/media-devnode.h | 91 +++ 3 files changed, 436

[RFC/PATCH v2 04/10] media: Entity graph traversal

2010-07-21 Thread Laurent Pinchart
not supported. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Vimarsh Zutshi vimarsh.zut...@nokia.com --- Documentation/media-framework.txt | 40 + drivers/media/media-entity.c

[RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-21 Thread Laurent Pinchart
are returned during the enumeration process. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/media-framework.txt | 134 drivers/media/media-device.c | 153

[RFC/PATCH v2 07/10] media: Links setup

2010-07-21 Thread Laurent Pinchart
can not be activated or deactivated. Activating and deactivating a link has effects on entities' use count. Those changes are automatically propagated through the graph. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off

[RFC/PATCH v2 02/10] media: Media device

2010-07-21 Thread Laurent Pinchart
The media_device structure abstracts functions common to all kind of media devices (v4l2, dvb, alsa, ...). It manages media entities and offers a userspace API to discover and configure the media device internal topology. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[RFC/PATCH v2 08/10] v4l: Add a media_device pointer to the v4l2_device structure

2010-07-21 Thread Laurent Pinchart
ownership of the drvdata anymore. To maintain compatibility with drivers that rely on v4l2_device storing a pointer to itself in the device's drvdata, v4l2_device_register() will keep doing so if the drvdata is NULL. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation

[RFC/PATCH v2 09/10] v4l: Make video_device inherit from media_entity

2010-07-21 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 38 +++-- drivers/media/video/v4l2-dev.c | 35 ++- include/media/v4l2-dev.h

[RFC/PATCH v2 10/10] v4l: Make v4l2_subdev inherit from media_entity

2010-07-21 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 22 + drivers/media/video/v4l2-device.c| 26 +--- drivers/media/video

[RFC/PATCH v2 03/10] media: Entities, pads and links

2010-07-21 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/media-framework.txt | 127 drivers/media/Makefile|2 +- drivers/media/media-device.c | 53

[RFC/PATCH v2 05/10] media: Reference count and power handling

2010-07-21 Thread Laurent Pinchart
are increased/decreased in media_entity_get/put to prevent module unloading when an entity is referenced. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com

[SAMPLE v2 00/12] Further V4L2 API additions and OMAP3 ISP driver

2010-07-21 Thread Laurent Pinchart
subdev API Laurent Pinchart (8): v4l: Move the media/v4l2-mediabus.h header to include/linux v4l: Add 16 bit YUYV and SGRBG10 media bus format codes v4l-subdev: Add pads operations v4l: v4l2_subdev userspace format API v4l: Add subdev userspace API to enumerate and configure frame

[SAMPLE v2 01/12] v4l: Move the media/v4l2-mediabus.h header to include/linux

2010-07-21 Thread Laurent Pinchart
The header defines the v4l2_mbus_framefmt structure which will be used by the V4L2 subdevs userspace API. Change the type of the v4l2_mbus_framefmt::code field to __u32, as enum sizes can differ between different ABIs on the same architectures. Signed-off-by: Laurent Pinchart laurent.pinch

[SAMPLE v2 03/12] v4l: Create v4l2 subdev file handle structure

2010-07-21 Thread Laurent Pinchart
From: Stanimir Varbanov svarba...@mm-sol.com Used for storing subdev information per file handle and hold V4L2 file handle. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-subdev.c | 76

[SAMPLE v2 04/12] v4l-subdev: Add pads operations

2010-07-21 Thread Laurent Pinchart
to the format handled by the usual get/set operations. Pad format-related operations use v4l2_mbus_framefmt instead of v4l2_format. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h | 21 + 1 files changed, 21 insertions(+), 0

[SAMPLE v2 02/12] v4l: Add 16 bit YUYV and SGRBG10 media bus format codes

2010-07-21 Thread Laurent Pinchart
for 16-bit YVYU - V4L2_MBUS_FMT_VYUY16_1X16 for 16-bit VYUY Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/linux/v4l2-mediabus.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h

[SAMPLE v2 05/12] v4l: v4l2_subdev userspace format API

2010-07-21 Thread Laurent Pinchart
Add a userspace API to get, set and enumerate the media format on a subdev pad. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2

[SAMPLE v2 06/12] v4l: Add subdev userspace API to enumerate and configure frame interval

2010-07-21 Thread Laurent Pinchart
. The existing video::g/s_parm operations are deprecated and shouldn't be used anymore. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2-subdev.c | 16 include/linux/v4l2

[SAMPLE v2 07/12] v4l: Add crop ioctl to V4L2 subdev API

2010-07-21 Thread Laurent Pinchart
From: Antti Koskipaa antti.koski...@nokia.com This patch adds the VIDIOC_SUBDEV_S_CROP and G_CROP ioctls to the userland API. CROPCAP is not implemented because it's redundant. Signed-off-by: Antti Koskipaa antti.koski...@nokia.com --- drivers/media/video/v4l2-subdev.c | 36

[SAMPLE v2 08/12] v4l: subdev: Generic ioctl support

2010-07-21 Thread Laurent Pinchart
Instead of returning an error when receiving an ioctl call with an unsupported command, forward the call to the subdev core::ioctl handler. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt |5 + drivers/media/video/v4l2

[SAMPLE v2 11/12] omap34xxcam: Register the ISP platform device during omap34xxcam probe

2010-07-21 Thread Laurent Pinchart
and reloading the omap34xxcam driver. Platform device registration should be moved back to omap_init_camera when (if) the omap34xxcam and isp-mod drivers will be merged. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/mach-omap2/devices.c | 13 - 1

[SAMPLE v2 09/12] ARM: OMAP3: Update Camera ISP definitions for OMAP3630

2010-07-21 Thread Laurent Pinchart
From: Tuukka Toivonen tuukka.o.toivo...@nokia.com Add new/changed base address definitions and resources for OMAP3630 ISP. The OMAP3430 CSI2PHY block is same as the OMAP3630 CSIPHY2 block. But the later name is chosen as it gives more symmetry to the names. Signed-off-by: Tuukka Toivonen

[SAMPLE v2 10/12] omap3: Export omap3isp platform device structure

2010-07-21 Thread Laurent Pinchart
From: Stanimir Varbanov svarba...@mm-sol.com omap3isp platform device structure pointer is needed from camera board files for subdevs registration and calls. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- arch/arm/mach-omap2/devices.c |5 - arch/arm/mach-omap2/devices.h |

Re: [media-ctl] [omap3camera:devel] How to use the app?

2010-07-22 Thread Laurent Pinchart
Hi Sergio, On Wednesday 21 July 2010 18:33:54 Aguirre, Sergio wrote: Hi Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Tuesday, June 29, 2010 5:23 AM To: Aguirre, Sergio Cc: Sakari Ailus; linux-media@vger.kernel.org

Re: [RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-22 Thread Laurent Pinchart
Hi Sakari, On Thursday 22 July 2010 17:10:01 Sakari Ailus wrote: Heippa, What a nice patch! :-) Thanks :-) Laurent Pinchart wrote: ... diff --git a/Documentation/media-framework.txt b/Documentation/media-framework.txt index 3acc62b..16c0177 100644 --- a/Documentation/media

Re: [RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-22 Thread Laurent Pinchart
Hi Sakari, On Thursday 22 July 2010 17:26:55 Sakari Ailus wrote: Hi, Laurent Pinchart wrote: ... diff --git a/include/linux/media.h b/include/linux/media.h new file mode 100644 index 000..746bdda --- /dev/null +++ b/include/linux/media.h @@ -0,0 +1,73 @@ [snip

Re: Chicony Electronics 04f2:b1b4 webcam device unsupported (yet)

2010-07-22 Thread Laurent Pinchart
Hi Michael, On Saturday 17 July 2010 17:18:27 Michael Kromer wrote: Am 17.07.2010 17:00, schrieb Laurent Pinchart: On Saturday 17 July 2010 15:25:08 Michael Kromer wrote: Am 17.07.2010 10:57, schrieb Laurent Pinchart: On Saturday 17 July 2010 10:34:20 Michael Kromer wrote: On 07/16/2010

Re: [PATCH] mediabus: add MIPI CSI-2 pixel format codes

2010-07-23 Thread Laurent Pinchart
standard pixel codes ? }; /** -- Regards, Laurent Pinchart -- 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

[RFC] Per-subdev, host-specific data

2010-07-23 Thread Laurent Pinchart
comments will be appreciated. -- Regards, Laurent Pinchart -- 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: [RFC] Per-subdev, host-specific data

2010-07-23 Thread Laurent Pinchart
Hi Hans, On Friday 23 July 2010 15:46:29 Hans Verkuil wrote: On Friday 23 July 2010 15:01:29 Laurent Pinchart wrote: Hi everybody, Trying to implement support for multiple sensors connected to the same OMAP3 ISP input (all but one of the sensors need to be kept in reset obviously), I

Re: Linux Plumber's Conference: Call for Working Session Submissions

2010-07-26 Thread Laurent Pinchart
presentation proposal. -- Regards, Laurent Pinchart -- 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: how to mmap in videobuf-dma-sg.c

2010-07-26 Thread Laurent Pinchart
back from vacations, and I'm still trying to handle all the backlogs on my inboxes. I haven't look at LMML posts yet. No patches submitted yet. It will probably still be weeks before we can submit something. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line

Re: [RFC/PATCH v2 01/10] media: Media device node support

2010-07-26 Thread Laurent Pinchart
Hi Hans, Thanks for the review. On Saturday 24 July 2010 13:59:11 Hans Verkuil wrote: On Wednesday 21 July 2010 16:35:26 Laurent Pinchart wrote: The media_devnode structure provides support for registering and unregistering character devices using a dynamic major number. Reference

Re: [RFC/PATCH v2 02/10] media: Media device

2010-07-26 Thread Laurent Pinchart
Hi Hans, On Saturday 24 July 2010 14:02:50 Hans Verkuil wrote: On Wednesday 21 July 2010 16:35:27 Laurent Pinchart wrote: The media_device structure abstracts functions common to all kind of media devices (v4l2, dvb, alsa, ...). It manages media entities and offers a userspace API

Re: [SAMPLE v2 04/12] v4l-subdev: Add pads operations

2010-07-26 Thread Laurent Pinchart
handles, so two applications trying formats at the same time will not interfere with each other. Active formats are stored in the device structure, so modifications done by an application are visible to other applications. Hope this helps clarifying the API. -- Regards, Laurent Pinchart

Re: [RFC/PATCH v2 01/10] media: Media device node support

2010-07-26 Thread Laurent Pinchart
Hi Hans, On Monday 26 July 2010 11:07:14 Laurent Pinchart wrote: Hi Hans, On Saturday 24 July 2010 13:59:11 Hans Verkuil wrote: On Wednesday 21 July 2010 16:35:26 Laurent Pinchart wrote: The media_devnode structure provides support for registering and unregistering character devices

Re: [RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-26 Thread Laurent Pinchart
Hi Pete, On Thursday 22 July 2010 18:36:51 Pete Eberlein wrote: On Thu, 2010-07-22 at 17:20 +0200, Laurent Pinchart wrote: Laurent Pinchart wrote: ... diff --git a/Documentation/media-framework.txt b/Documentation/media-framework.txt index 3acc62b..16c0177 100644

Re: [RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-26 Thread Laurent Pinchart
Hi Sakari, On Thursday 22 July 2010 19:30:21 Sakari Ailus wrote: Laurent Pinchart wrote: + +struct media_user_pad { + __u32 entity; /* entity ID */ + __u8 index; /* pad index */ + __u32 direction;/* pad direction */ +}; Another small comment, I

Re: [RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-26 Thread Laurent Pinchart
Hi Hans, On Saturday 24 July 2010 14:45:39 Hans Verkuil wrote: On Wednesday 21 July 2010 16:35:31 Laurent Pinchart wrote: Create the following two ioctls and implement them at the media device level to enumerate entities, pads and links. - MEDIA_IOC_ENUM_ENTITIES: Enumerate entities

Re: [RFC/PATCH v2 03/10] media: Entities, pads and links

2010-07-26 Thread Laurent Pinchart
Hi Hans, On Saturday 24 July 2010 14:18:11 Hans Verkuil wrote: On Wednesday 21 July 2010 16:35:28 Laurent Pinchart wrote: snip diff --git a/include/media/media-entity.h b/include/media/media-entity.h new file mode 100644 index 000..fd44647 --- /dev/null +++ b/include/media

Re: [SAMPLE v2 04/12] v4l-subdev: Add pads operations

2010-07-26 Thread Laurent Pinchart
Hi Hans, On Monday 26 July 2010 21:42:49 Hans Verkuil wrote: On Monday 26 July 2010 18:12:55 Laurent Pinchart wrote: On Friday 23 July 2010 17:56:02 Karicheri, Muralidharan wrote: Laurent, Could you explain the probe and active usage using an example such as below

Re: [RFC/PATCH v2 06/10] media: Entities, pads and links enumeration

2010-07-27 Thread Laurent Pinchart
Hi Hans, On Monday 26 July 2010 21:48:28 Hans Verkuil wrote: On Monday 26 July 2010 18:34:42 Laurent Pinchart wrote: On Saturday 24 July 2010 14:45:39 Hans Verkuil wrote: On Wednesday 21 July 2010 16:35:31 Laurent Pinchart wrote: Create the following two ioctls and implement them

Re: [PATCH]videobuf_dma_sg: a new implementation for mmap

2010-07-28 Thread Laurent Pinchart
-vb_lock); + vmf-page = page; return 0; -- Regards, Laurent Pinchart -- 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

[RFC/PATCH v3 00/10] Media controller (core and V4L2)

2010-07-29 Thread Laurent Pinchart
create mode 100644 include/media/media-entity.h -- Regards, Laurent Pinchart -- 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

[RFC/PATCH v3 01/10] media: Media device node support

2010-07-29 Thread Laurent Pinchart
. The code is based on video/v4l2-dev.c. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/Makefile|8 +- drivers/media/media-devnode.c | 326 + include/media/media-devnode.h | 84 +++ 3 files changed, 416

[RFC/PATCH v3 03/10] media: Entities, pads and links

2010-07-29 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/media-framework.txt | 130 + drivers/media/Makefile|2 +- drivers/media/media-device.c | 53

[RFC/PATCH v3 04/10] media: Entity graph traversal

2010-07-29 Thread Laurent Pinchart
not supported. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Vimarsh Zutshi vimarsh.zut...@nokia.com --- Documentation/media-framework.txt | 40 + drivers/media/media-entity.c

[RFC/PATCH v3 05/10] media: Reference count and power handling

2010-07-29 Thread Laurent Pinchart
are increased/decreased in media_entity_get/put to prevent module unloading when an entity is referenced. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com

[RFC/PATCH v3 06/10] media: Entities, pads and links enumeration

2010-07-29 Thread Laurent Pinchart
are returned during the enumeration process. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/media-framework.txt | 131 +++ drivers/media/media-device.c | 152

[SAMPLE v3 00/12] V4L2 API additions and OMAP3 ISP driver

2010-07-29 Thread Laurent Pinchart
Laurent Pinchart (8): v4l: Move the media/v4l2-mediabus.h header to include/linux v4l: Add 16 bit YUYV and SGRBG10 media bus format codes v4l-subdev: Add pads operations v4l: v4l2_subdev userspace format API v4l: Add subdev userspace API to enumerate and configure frame interval v4l

[SAMPLE v3 01/12] v4l: Move the media/v4l2-mediabus.h header to include/linux

2010-07-29 Thread Laurent Pinchart
The header defines the v4l2_mbus_framefmt structure which will be used by the V4L2 subdevs userspace API. Change the type of the v4l2_mbus_framefmt::code field to __u32, as enum sizes can differ between different ABIs on the same architectures. Signed-off-by: Laurent Pinchart laurent.pinch

[SAMPLE v3 02/12] v4l: Add 16 bit YUYV and SGRBG10 media bus format codes

2010-07-29 Thread Laurent Pinchart
for 16-bit YVYU - V4L2_MBUS_FMT_VYUY16_1X16 for 16-bit VYUY Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/linux/v4l2-mediabus.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h

[SAMPLE v3 03/12] v4l: Create v4l2 subdev file handle structure

2010-07-29 Thread Laurent Pinchart
From: Stanimir Varbanov svarba...@mm-sol.com Used for storing subdev information per file handle and hold V4L2 file handle. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-subdev.c | 76

[SAMPLE v3 09/12] ARM: OMAP3: Update Camera ISP definitions for OMAP3630

2010-07-29 Thread Laurent Pinchart
From: Tuukka Toivonen tuukka.o.toivo...@nokia.com Add new/changed base address definitions and resources for OMAP3630 ISP. The OMAP3430 CSI2PHY block is same as the OMAP3630 CSIPHY2 block. But the later name is chosen as it gives more symmetry to the names. Signed-off-by: Tuukka Toivonen

[SAMPLE v3 10/12] omap3: Export omap3isp platform device structure

2010-07-29 Thread Laurent Pinchart
From: Stanimir Varbanov svarba...@mm-sol.com omap3isp platform device structure pointer is needed from camera board files for subdevs registration and calls. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- arch/arm/mach-omap2/devices.c |5 - arch/arm/mach-omap2/devices.h |

[SAMPLE v3 11/12] omap34xxcam: Register the ISP platform device during omap34xxcam probe

2010-07-29 Thread Laurent Pinchart
and reloading the omap34xxcam driver. Platform device registration should be moved back to omap_init_camera when (if) the omap34xxcam and isp-mod drivers will be merged. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/mach-omap2/devices.c | 13 - 1

[SAMPLE v3 08/12] v4l: subdev: Generic ioctl support

2010-07-29 Thread Laurent Pinchart
Instead of returning an error when receiving an ioctl call with an unsupported command, forward the call to the subdev core::ioctl handler. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt |5 + drivers/media/video/v4l2

[SAMPLE v3 07/12] v4l: Add crop ioctl to V4L2 subdev API

2010-07-29 Thread Laurent Pinchart
From: Antti Koskipaa antti.koski...@nokia.com This patch adds the VIDIOC_SUBDEV_S_CROP and G_CROP ioctls to the userland API. CROPCAP is not implemented because it's redundant. Signed-off-by: Antti Koskipaa antti.koski...@nokia.com --- drivers/media/video/v4l2-subdev.c | 36

  1   2   3   4   5   6   7   8   9   10   >