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
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
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
-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
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
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
-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
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
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
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
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
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
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
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
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
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
-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
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
-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
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
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
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
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
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
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 |
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
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
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
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
. 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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
-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
-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
-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
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
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
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
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
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
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
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
. 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
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
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
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
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
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 |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
.
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
-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
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
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
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
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
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
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
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
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
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 |
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
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
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 - 100 of 7505 matches
Mail list logo