dvbscan output Channel Number into final stdout?

2011-09-29 Thread Roger
Can we get dvbscan to output the Channel Number into the final stdout somehow? A likely format would be something such as the following. Current output: KATN-DT:497028615:8VSB:49:52:3 KWFA-DT:497028615:8VSB:65:68:4 ... Suggested output: 2.1:497028615:8VSB:49:52:3 2.2:497028615:8VSB:65:68:4 ...

[PATCH v2] stb0899: Fix slow and not locking DVB-S transponder(s)

2011-09-29 Thread Lutz Sammer
Another version of http://patchwork.linuxtv.org/patch/6307 http://patchwork.linuxtv.org/patch/6510 which was superseded or rejected, but I don't know why. In stb0899_status stb0899_check_data the first read of STB0899_VSTATUS could read old (from previous search) status bits and the search fails o

[PATCH] stb0899: Fix slow and not locking DVB-S transponder(s)

2011-09-29 Thread Lutz Sammer
Another version of http://patchwork.linuxtv.org/patch/6307 http://patchwork.linuxtv.org/patch/6510 which was superseded or rejected, but it don't know why. In stb0899_status stb0899_check_data the first read of STB0899_VSTATUS could read old (from previous search) status bits and the search fails

Re: YCbCr 422 on s3c2440

2011-09-29 Thread Guennadi Liakhovetski
Forwarding to the suitable list, although, I don't think s3c24xx SoCs are currently supported by V4L. Thanks Guennadi On Thu, 29 Sep 2011, GIGIN JOSE wrote: > Hi, > > I am working on s3c2440 ARM linux platform. I am connecting > an image sensor device to the camera controller of the s3c2440

cron job: media_tree daily build: WARNINGS

2011-09-29 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Thu Sep 29 19:00:15 CEST 2011 git hash:446b792c6bd87de4565ba200b75a708b4c575a06 gcc version: i686-linux-gcc (GC

Re: [PATCH v2 3/5] omap3evm: Add Camera board init/hookup file

2011-09-29 Thread Tony Lindgren
Hi, Few comments below. * Deepthy Ravi [110927 06:07]: > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include You can leave out mach/gpio.h as you already have linux/gpio.h included. > +static int __init omap3evm_cam_init(void) > +{ > + int ret; > +

[PATCH 7/9] V4L: soc-camera: add a Media Controller wrapper

2011-09-29 Thread Guennadi Liakhovetski
This wrapper adds a Media Controller implementation to soc-camera drivers. To really benefit from it individual host drivers should implement support for values of enum soc_camera_target other than SOCAM_TARGET_PIPELINE in their .set_fmt() and .try_fmt() methods. Signed-off-by: Guennadi Liakhovets

[PATCH 8/9] V4L: mt9t112: add pad level operations

2011-09-29 Thread Guennadi Liakhovetski
On Media Controller enabled systems this patch allows the user to communicate with the driver directly over /dev/v4l-subdev* device nodes using VIDIOC_SUBDEV_* ioctl()s. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/mt9t112.c | 97 ++--- 1 fil

[PATCH 9/9] V4L: imx074: add pad level operations

2011-09-29 Thread Guennadi Liakhovetski
On Media Controller enabled systems this patch allows the user to communicate with the driver directly over /dev/v4l-subdev* device nodes using VIDIOC_SUBDEV_* ioctl()s. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/imx074.c | 85 +- 1 fil

[PATCH 6/9] V4L: soc-camera: prepare hooks for Media Controller wrapper

2011-09-29 Thread Guennadi Liakhovetski
Extend soc-camera host operations with a target parameter to specify, whether the operation should be propagated to subdevices or only applied to the host itself. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/atmel-isi.c| 10 +++- drivers/media/video/mx1_camera.c

[PATCH 3/9] V4L: soc-camera: remove redundant parameter from the .set_bus_param() method

2011-09-29 Thread Guennadi Liakhovetski
The "pixfmt" parameter of the struct soc_camera_host_ops::set_bus_param() method is redundant, because at the time, when this method is called, pixfmt is guaranteed to be equal to icd->current_fmt->host_fmt->fourcc. Remove this parameter and update all drivers accordingly. Signed-off-by: Guennadi

[PATCH 1/9] V4L: soc-camera: add a function to lookup xlate by mediabus code

2011-09-29 Thread Guennadi Liakhovetski
In addition to a helper function, performing a format translation table lookup by a fourcc value, a similar function is now needed to lookup translation table entries by mediabus codes. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/soc_camera.c | 25 - in

[PATCH 5/9] V4L: soc-camera: move bus parameter configuration to .vidioc_streamon()

2011-09-29 Thread Guennadi Liakhovetski
With the Media Controller API various pipeline entities can be configured independently and in unpredictable order. The only location, where we know for sure, that the pipeline should be ready, is .vidioc_streamon(). This makes it the only suitable location for the bus parameter configuration. Sig

[PATCH 4/9] V4L: add convenience macros to the subdevice / Media Controller API

2011-09-29 Thread Guennadi Liakhovetski
Drivers, that can be built and work with and without CONFIG_VIDEO_V4L2_SUBDEV_API, need the v4l2_subdev_get_try_format() and v4l2_subdev_get_try_crop() functions, even though their return value should never be dereferenced. Also add convenience macros to init and clean up subdevice internal media e

[PATCH 0/9] Media Controller for soc-camera

2011-09-29 Thread Guennadi Liakhovetski
This is the first attempt at extending soc-camera with Media Controller / pad-level APIs. Yes, I know, that Laurent wasn't quite happy with "V4L: add convenience macros to the subdevice / Media Controller API," maybe we'll remove it eventually, but so far my patches use it, so, I kept it for no

[PATCH 2/9] sh_mobile_ceu_camera: simplify scaling and cropping algorithms

2011-09-29 Thread Guennadi Liakhovetski
With the pad-level API scaling and cropping will be configured on each entity separately. To prepare for the conversion remove all attempts to optimise scaling and cropping on the host and clients, as has previously been done by the sh_mobile_ceu_camera driver. Signed-off-by: Guennadi Liakhovetski

[PULL] soc-camera, v4l for 3.2

2011-09-29 Thread Guennadi Liakhovetski
Hi Mauro I'm finally ready to push my soc-camera and generic v4l collection for 3.2. The absolute highlight is, of course, the addition of the two new IOCTLs, which, I think, are now in a good shape to go. A huge pile of soc-camera patches, largely releasing subdevice drivers into the wild for

[PATCH 3/5] doc: v4l: add documentation for selection API

2011-09-29 Thread Tomasz Stanislawski
This patch adds a documentation for VIDIOC_{G/S}_SELECTION ioctl. Moreover, the patch adds the description of modeling of composing, cropping and scaling features in V4L2. Finally, some examples are presented. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- Documentation/Doc

[PATCH 4/5] v4l: emulate old crop API using extended crop/compose API

2011-09-29 Thread Tomasz Stanislawski
This patch allows new video drivers to work correctly with applications that use the old-style crop API. The old crop ioctl is emulated by using selection callbacks. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-ioctl.c | 86

[PATCH 5/5] v4l: s5p-tv: mixer: add support for selection API

2011-09-29 Thread Tomasz Stanislawski
This patch add support for V4L2 selection API to s5p-tv driver. Moreover it removes old API for cropping. Old applications would still work because the crop ioctls are emulated using the selection API. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p

[PATCH 1/5] v4l: add support for selection api

2011-09-29 Thread Tomasz Stanislawski
This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-compat-ioctl32.c |2 + drivers

[PATCH v5 0/5] v4l: extended crop/compose api

2011-09-29 Thread Tomasz Stanislawski
Hello Everyone, This is the fifth version of extended crop/compose RFC. The patch-set introduces new ioctls to V4L2 API for the configuration of the selection rectangles like crop and compose areas. Please refer to the link below for more details about the API development. http://thread.gmane.or

Re: [PATCH 1/4] v4l: add support for selection api

2011-09-29 Thread Tomasz Stanislawski
Hi Hans, On 09/27/2011 10:28 AM, Hans Verkuil wrote: Here is my 'better late than never' review :-) On Wednesday, August 31, 2011 14:28:20 Tomasz Stanislawski wrote: This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VID

RE: [PATCH v4 5/5] OMAP_VOUT: Increase MAX_DISPLAYS to a larger value

2011-09-29 Thread Hiremath, Vaibhav
> -Original Message- > From: Taneja, Archit > Sent: Wednesday, September 28, 2011 8:19 PM > To: Hiremath, Vaibhav > Cc: Valkeinen, Tomi; linux-o...@vger.kernel.org; Semwal, Sumit; linux- > me...@vger.kernel.org; Taneja, Archit > Subject: [PATCH v4 5/5] OMAP_VOUT: Increase MAX_DISPLAYS to a

RE: [PATCH v4 4/5] OMAP_VOUT: Add support for DSI panels

2011-09-29 Thread Hiremath, Vaibhav
> -Original Message- > From: Taneja, Archit > Sent: Wednesday, September 28, 2011 8:19 PM > To: Hiremath, Vaibhav > Cc: Valkeinen, Tomi; linux-o...@vger.kernel.org; Semwal, Sumit; linux- > me...@vger.kernel.org; Taneja, Archit > Subject: [PATCH v4 4/5] OMAP_VOUT: Add support for DSI panels

RE: [PATCH v4 3/5] OMAP_VOUT: Fix VSYNC IRQ handling in omap_vout_isr

2011-09-29 Thread Hiremath, Vaibhav
> -Original Message- > From: Taneja, Archit > Sent: Wednesday, September 28, 2011 8:19 PM > To: Hiremath, Vaibhav > Cc: Valkeinen, Tomi; linux-o...@vger.kernel.org; Semwal, Sumit; linux- > me...@vger.kernel.org; Taneja, Archit > Subject: [PATCH v4 3/5] OMAP_VOUT: Fix VSYNC IRQ handling in

RE: [PATCH v4 2/5] OMAP_VOUT: CLEANUP: Remove redundant code from omap_vout_isr

2011-09-29 Thread Hiremath, Vaibhav
> -Original Message- > From: Taneja, Archit > Sent: Wednesday, September 28, 2011 8:19 PM > To: Hiremath, Vaibhav > Cc: Valkeinen, Tomi; linux-o...@vger.kernel.org; Semwal, Sumit; linux- > me...@vger.kernel.org; Taneja, Archit > Subject: [PATCH v4 2/5] OMAP_VOUT: CLEANUP: Remove redundant

Re: [PATCH] V4L: add convenience macros to the subdevice / Media Controller API

2011-09-29 Thread Laurent Pinchart
Hi Guennadi, On Thursday 29 September 2011 10:44:14 Guennadi Liakhovetski wrote: > On Thu, 29 Sep 2011, Laurent Pinchart wrote: > > On Thursday 29 September 2011 10:18:31 Guennadi Liakhovetski wrote: > > > Drivers, that can be built and work with and without > > > CONFIG_VIDEO_V4L2_SUBDEV_API, nee

[RFC PATCH] Introduce a strict tuner type check for VIDIOC_S_FREQUENCY

2011-09-29 Thread Hans Verkuil
As per feature-removal-schedule. If there are no comments, then I'll make a pull request in a few days. Regards, Hans For tuners the tuner type as passed by VIDIOC_S_FREQUENCY must match the type of the device node. So setting the radio frequency through a video node instead of the rad

[PATCH] V4L: omap3isp: remove redundant operation

2011-09-29 Thread Guennadi Liakhovetski
Trivial arithmetics clean up. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/omap3isp/ispccdc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/omap3isp/ispccdc.c b/drivers/media/video/omap3isp/ispccdc.c index 40b141c..65ae267 100644 -

Re: [PATCH] V4L: add convenience macros to the subdevice / Media Controller API

2011-09-29 Thread Guennadi Liakhovetski
On Thu, 29 Sep 2011, Laurent Pinchart wrote: > Hi Guennadi, > > Thanks for the patch. > > On Thursday 29 September 2011 10:18:31 Guennadi Liakhovetski wrote: > > Drivers, that can be built and work with and without > > CONFIG_VIDEO_V4L2_SUBDEV_API, need the v4l2_subdev_get_try_format() and > > v

Re: [PATCH] V4L: add convenience macros to the subdevice / Media Controller API

2011-09-29 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Thursday 29 September 2011 10:18:31 Guennadi Liakhovetski wrote: > Drivers, that can be built and work with and without > CONFIG_VIDEO_V4L2_SUBDEV_API, need the v4l2_subdev_get_try_format() and > v4l2_subdev_get_try_crop() functions, even though their return

[PATCH] V4L: add convenience macros to the subdevice / Media Controller API

2011-09-29 Thread Guennadi Liakhovetski
Drivers, that can be built and work with and without CONFIG_VIDEO_V4L2_SUBDEV_API, need the v4l2_subdev_get_try_format() and v4l2_subdev_get_try_crop() functions, even though their return value should never be dereferenced. Also add convenience macros to init and clean up subdevice internal media e

Re: [PATCH 2/9 v10] V4L: add two new ioctl()s for multi-size videobuffer management

2011-09-29 Thread Guennadi Liakhovetski
On Thu, 29 Sep 2011, Sakari Ailus wrote: > Guennadi Liakhovetski wrote: > > On Wed, 28 Sep 2011, Sakari Ailus wrote: > > > > > Hi Guennadi, > > > > > > On Wed, Sep 28, 2011 at 04:56:11PM +0200, Guennadi Liakhovetski wrote: > > > > @@ -2099,6 +2103,15 @@ struct v4l2_dbg_chip_ident { > > > >

[RFCv4 PATCH 1/6] poll: add poll_requested_events() function

2011-09-29 Thread Hans Verkuil
In some cases the poll() implementation in a driver has to do different things depending on the events the caller wants to poll for. An example is when a driver needs to start a DMA engine if the caller polls for POLLIN, but doesn't want to do that if POLLIN is not requested but instead only POLLOU

[RFCv4 PATCH 6/6] vivi: let vb2_poll handle events.

2011-09-29 Thread Hans Verkuil
From: Hans Verkuil The vb2_poll function now tests for events and sets POLLPRI accordingly. So there it is no longer necessary to test for it in the vivi driver. Signed-off-by: Hans Verkuil --- drivers/media/video/vivi.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff

[RFCv4 PATCH 4/6] videobuf: only start streaming in poll() if so requested by the poll mask.

2011-09-29 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/videobuf-core.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index de4fa4e..ffdf59c 100644 --- a/drivers/media/video/vi

[RFCv4 PATCH 5/6] videobuf2-core: also test for pending events.

2011-09-29 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/videobuf2-core.c | 41 +++-- 1 files changed, 28 insertions(+), 13 deletions(-) diff --git a/drivers/media/video/videobuf2-core.c b/drivers/media/video/videobuf2-core.c index a921638..7674220

[RFCv4 PATCH 2/6] ivtv: only start streaming in poll() if polling for input.

2011-09-29 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/ivtv/ivtv-fileops.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c index 38f0522..a931ecf 100644 --- a/drivers

[RFCv4 PATCH 0/6]: add poll_requested_events() function

2011-09-29 Thread Hans Verkuil
This is the fourth version of this patch series, incorporating the comments from Andrew Morton: I've split up the multiple-assignment line and added a comment explaining the purpose of the new function in poll.h. It's also rebased to the current staging/for_v3.2 branch of the linux-media tree. Th

[RFCv4 PATCH 3/6] videobuf2: only start streaming in poll() if so requested by the poll mask.

2011-09-29 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/video/videobuf2-core.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/videobuf2-core.c b/drivers/media/video/videobuf2-core.c index 6687ac3..a921638 100644 --- a/drivers/media/v

Re: [PATCH 2/9 v10] V4L: add two new ioctl()s for multi-size videobuffer management

2011-09-29 Thread Sakari Ailus
Guennadi Liakhovetski wrote: On Wed, 28 Sep 2011, Sakari Ailus wrote: Hi Guennadi, On Wed, Sep 28, 2011 at 04:56:11PM +0200, Guennadi Liakhovetski wrote: @@ -2099,6 +2103,15 @@ struct v4l2_dbg_chip_ident { __u32 revision;/* chip revision, chip specific */ } __attribute__ ((packe