Re: Using UVC webcam gadget with a real v4l2 device

2012-04-24 Thread Laurent Pinchart
On Tuesday 24 April 2012 08:36:34 Peter Chen wrote: On Mon, Apr 23, 2012 at 2:24 AM, Bhupesh SHARMA wrote: Hi Laurent, I have been doing some experimentation with the UVC webcam gadget along with the UVC user-space application which you have written. I have tried UVC webcam gadget at

Re: [PATCH 3/4] omap3isp: ccdc: Add crop support on output formatter source pad

2012-04-24 Thread Laurent Pinchart
Hi Sakari, On Tuesday 24 April 2012 01:23:06 Sakari Ailus wrote: Hi Laurent, The patch looks good as such on the first glance, but I have another question: why are you not using the selections API instead? It's in Mauro's tree already. You're totally right, we need to convert the selection

[PATCH] dma-buf: mmap support

2012-04-24 Thread Daniel Vetter
Compared to Rob Clark's RFC I've ditched the prepare/finish hooks and corresponding ioctls on the dma_buf file. The major reason for that is that many people seem to be under the impression that this is also for synchronization with outstanding asynchronous processsing. I'm pretty massively

Re: [PATCH v2] tinyjpeg: Dynamic luminance quantization table for Pixart JPEG

2012-04-24 Thread Jean-Francois Moine
On Mon, 23 Apr 2012 23:34:05 +0200 Hans de Goede hdego...@redhat.com wrote: Thanks for your work on this! I've just spend almost 4 days wrestling which the Pixart JPEG decompression code to try to better understand these cams, and I have learned quite a bit and eventually came up with a

[PATCH v3] [media] s5p-g2d: Add support for FIMG2D v4.1 H/W logic

2012-04-24 Thread Sachin Kamat
From: Ajay Kumar ajaykumar...@samsung.com Modify the G2D driver(which initially supported only FIMG2D v3 style H/W) to support FIMG2D v4.1 style hardware present on Exynos4x12 and Exynos52x0 SOC. -- Set the SRC and DST type to 'memory' instead of using reset values. -- FIMG2D

[PATCH] [Trivial] staging: go7007: Framesizes features

2012-04-24 Thread volokh
Hi, Can anybody help me to recieve Video Interface Port VIP2.0 datasheet for free. Huge Thanks. -- 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

Video Interface Port VIP2.0 datasheet

2012-04-24 Thread volokh
Hi, Can anybody help me to recieve Video Interface Port VIP2.0 datasheet for free. Huge Thanks. -- 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

logitech quickcam 9000 uvcdynctrl broken since kernel 3.2

2012-04-24 Thread Karl Kiniger
Dear all, guvcview does not display the extra controls (focus, led etc) any more since kernel 3.2 an higher (Fedora 16, x86_64). after the various video modes it says: vid:046d pid:0990 driver:uvcvideo Adding control for Pan (relative) UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device

[PATCH v2] scatterlist: add sg_alloc_table_from_pages function

2012-04-24 Thread Tomasz Stanislawski
This patch adds a new constructor for an sg table. The table is constructed from an array of struct pages. All contiguous chunks of the pages are merged into a single sg nodes. A user may provide an offset and a size of a buffer if the buffer is not page-aligned. The function is dedicated for

Re: [PATCH v2] uvcvideo: Send control change events for slave ctrls when the master changes

2012-04-24 Thread Hans de Goede
Hi, Good optimization, ACK. Regards, Hans On 04/24/2012 12:48 AM, Laurent Pinchart wrote: From: Hans de Goedehdego...@redhat.com This allows v4l2 control UI-s to update the inactive state (ie grey-ing out of controls) for slave controls when the master control changes. Signed-off-by: Hans

[RFCv3 PATCH 0/6] Improved/New timings API

2012-04-24 Thread Hans Verkuil
Hi all, This is the third version of this RFC. The first can be found here: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/44285 The second was never posted. Changes since RFCv1: Incorporated comments from Mauro: - Renamed V4L2_DV_FL_NTSC_COMPATIBLE to

[RFCv3 PATCH 3/6] v4l2-dv-timings.h: definitions for CEA-861 and VESA DMT timings.

2012-04-24 Thread Hans Verkuil
This header contains the timings for the common CEA-861 and all VESA DMT formats for use with the V4L2 dv_timings API. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Mauro Carvalho Chehab mche...@redhat.com --- include/linux/Kbuild|1 +

[RFCv3 PATCH 1/6] videodev2.h: add enum/query/cap dv_timings ioctls.

2012-04-24 Thread Hans Verkuil
These new ioctls make it possible for the dv_timings API to replace the dv_preset API eventually. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Mauro Carvalho Chehab mche...@redhat.com --- include/linux/videodev2.h | 173 ++--- 1 file

[RFCv3 PATCH 2/6] v4l2 framework: add support for the new dv_timings ioctls.

2012-04-24 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/video/v4l2-compat-ioctl32.c |3 + drivers/media/video/v4l2-ioctl.c | 126 - include/media/v4l2-ioctl.h|6 ++

[RFCv3 PATCH 5/6] tvp7002: add support for the new dv timings API.

2012-04-24 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/video/tvp7002.c | 102 +++-- 1 file changed, 89 insertions(+), 13 deletions(-) diff --git a/drivers/media/video/tvp7002.c

[RFCv3 PATCH 4/6] V4L2 spec: document the new V4L2 DV timings ioctls.

2012-04-24 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Mauro Carvalho Chehab mche...@redhat.com --- Documentation/DocBook/media/v4l/v4l2.xml |3 + .../DocBook/media/v4l/vidioc-g-dv-timings.xml | 121 ++-- 2 files changed, 116 insertions(+), 8

Re: [PATCH v2] scatterlist: add sg_alloc_table_from_pages function

2012-04-24 Thread Daniel Vetter
On Tue, Apr 24, 2012 at 02:58:56PM +0200, Tomasz Stanislawski wrote: This patch adds a new constructor for an sg table. The table is constructed from an array of struct pages. All contiguous chunks of the pages are merged into a single sg nodes. A user may provide an offset and a size of a

Re: [PATCH 3/4] omap3isp: ccdc: Add crop support on output formatter source pad

2012-04-24 Thread Sakari Ailus
Hi Laurent, On Tue, Apr 24, 2012 at 11:08:12AM +0200, Laurent Pinchart wrote: Hi Sakari, On Tuesday 24 April 2012 01:23:06 Sakari Ailus wrote: Hi Laurent, The patch looks good as such on the first glance, but I have another question: why are you not using the selections API instead?

Re: [PATCH] dma-buf: mmap support

2012-04-24 Thread InKi Dae
Hi, +static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) +{ +       struct dma_buf *dmabuf; + +       if (!is_dma_buf_file(file)) +               return -EINVAL; + +       dmabuf = file-private_data; + +       /* check for overflowing the buffer's size */

Re: [PATCH] dma-buf: mmap support

2012-04-24 Thread Daniel Vetter
On Wed, Apr 25, 2012 at 01:37:51AM +0900, InKi Dae wrote: Hi, +static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) +{ +       struct dma_buf *dmabuf; + +       if (!is_dma_buf_file(file)) +               return -EINVAL; + +       dmabuf =

udev rules for persistent symlinks for adapter?/frontend0 devices

2012-04-24 Thread Brian J. Murrell
Hi, I have two DVB devices in my machine that I want to be able to identify persistently[1]. They are typically on /dev/dvb/adapter{0,1}/frontend0 but their order is arbitrary and can change from one boot to another. So using udevadm info I tried to find attributes for them that I could rely on

cron job: media_tree daily build: WARNINGS

2012-04-24 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:Tue Apr 24 19:00:16 CEST 2012 git hash:aa6d5f29534a6d1459f9768c591a7a72aadc5941 gcc version: i686-linux-gcc

New version of Anysee E7 T2C?

2012-04-24 Thread Magnus Ekhall
Hi, I just got a new Anysee E7 T2C DVB-USB device. When I load the module dvb-usb-anysee.ko Driver Anysee E30 DVB-C DVB-T USB2.0 version 3.2.0-23-generic I get: [8.353474] DVB: registering new adapter (Anysee DVB USB2.0) [8.356162] anysee: firmware version:1.0 hardware id:20 [

Re: New version of Anysee E7 T2C?

2012-04-24 Thread Honza Petrouš
Hi Magnus. Dne 24. dubna 2012 21:19 Magnus Ekhall k...@lysator.liu.se napsal(a): Hi, I just got a new Anysee E7 T2C DVB-USB device. When I load the module dvb-usb-anysee.ko Driver Anysee E30 DVB-C DVB-T USB2.0 version 3.2.0-23-generic I get: [    8.353474] DVB: registering new adapter

Re: [PATCH 3/4] omap3isp: ccdc: Add crop support on output formatter source pad

2012-04-24 Thread Laurent Pinchart
Hi Sakari, On Tuesday 24 April 2012 18:14:20 Sakari Ailus wrote: On Tue, Apr 24, 2012 at 11:08:12AM +0200, Laurent Pinchart wrote: On Tuesday 24 April 2012 01:23:06 Sakari Ailus wrote: Hi Laurent, The patch looks good as such on the first glance, but I have another question: why

Re: [PATCH 10/15] V4L: Add camera 3A lock control

2012-04-24 Thread Sylwester Nawrocki
Moikka Sakari, On 04/23/2012 07:47 AM, Sakari Ailus wrote: Sylwester Nawrocki wrote: On 04/17/2012 06:09 PM, Sakari Ailus wrote: On Tue, Apr 17, 2012 at 12:09:51PM +0200, Sylwester Nawrocki wrote: The V4L2_CID_3A_LOCK bitmask control allows applications to pause or resume the automatic

Re: [PATCH 3/4] omap3isp: ccdc: Add crop support on output formatter source pad

2012-04-24 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, On Tuesday 24 April 2012 18:14:20 Sakari Ailus wrote: On Tue, Apr 24, 2012 at 11:08:12AM +0200, Laurent Pinchart wrote: On Tuesday 24 April 2012 01:23:06 Sakari Ailus wrote: Hi Laurent, The patch looks good as such on the first glance, but I have another

Re: [PATCH 10/15] V4L: Add camera 3A lock control

2012-04-24 Thread Sakari Ailus
Dzien dobry Sylwester, (I hope it's not too wrong time of the day for that! ;)) Sylwester Nawrocki wrote: Moikka Sakari, On 04/23/2012 07:47 AM, Sakari Ailus wrote: Sylwester Nawrocki wrote: On 04/17/2012 06:09 PM, Sakari Ailus wrote: On Tue, Apr 17, 2012 at 12:09:51PM +0200, Sylwester

composite video/wireless cam recommendation

2012-04-24 Thread Carl Karsten
I need to capture composite video. Well, what I really need is a wireless video feed from a power wheels car. So the car side should be cheap (I am expecting it to get broken) small, somewhat rugged (so it doesn't get broken sooner.) don't care much at all about quality - I am thinking of this:

Re: [PATCH 1/8] soc_camera: Use soc_camera_device::sizeimage to compute buffer sizes

2012-04-24 Thread Guennadi Liakhovetski
Hi Laurent Sorry for a slightly delayed reply;-) On Thu, 26 Jan 2012, Laurent Pinchart wrote: [snip] diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index c51decf..f4eb9e1 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c

Re: HVR-1600 QAM recordings with slight glitches in them

2012-04-24 Thread Andy Walls
On Sun, 2012-04-22 at 23:30 -0400, Brian J. Murrell wrote: Hi, I have an HVR-1600 on a 3GHz dual-core P4 running linux 3.2.0. Whenever I record from clearqam using this card I frequently get small glitches in playback. Playing these same files with mplayer yields things like:

Re: [PATCH 4/4] omap3isp: Mark probe and cleanup functions with __devinit and __devexit

2012-04-24 Thread Sakari Ailus
On Mon, Apr 23, 2012 at 01:29:55PM +0200, Laurent Pinchart wrote: Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/omap3isp/isp.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Acked-by: Sakari Ailus sakari.ai...@iki.fi -- Sakari

[PATCH] media: videobuf2-dma-contig: include header for exported symbols

2012-04-24 Thread H Hartley Sweeten
Include the header to pickup the definitions of the exported symbols. Quiets the following sparse warnings: warning: symbol 'vb2_dma_contig_memops' was not declared. Should it be static? warning: symbol 'vb2_dma_contig_init_ctx' was not declared. Should it be static? warning: symbol

Re: DVB-S2 multistream support

2012-04-24 Thread Bob W
Hi all, in playing with these patches, I am noticing the bbframes are only partially being delivered by the hardware. I am only getting the first 188 bytes of the frame. I think it is related to the programming of the saa716xx. In this function: saa716x_dma_start the params stuct is

[PATCH] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NULL pointer

2012-04-24 Thread H Hartley Sweeten
The function vb2_dma_contig_vaddr returns a void * not an integer. Quiets the sparse noise: warning: Using plain integer as NULL pointer Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Pawel Osciak pa...@osciak.com Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Kyungmin

Re: [PATCH 2/4] omap3isp: preview: Add support for greyscale input

2012-04-24 Thread Sakari Ailus
Hi Laurent, Thanks for the patch! On Mon, Apr 23, 2012 at 01:29:53PM +0200, Laurent Pinchart wrote: Configure CFA interpolation automatically based on the input format. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/omap3isp/isppreview.c | 52

Re: udev rules for persistent symlinks for adapter?/frontend0 devices

2012-04-24 Thread Andy Walls
On Tue, 2012-04-24 at 13:14 -0400, Brian J. Murrell wrote: Hi, I have two DVB devices in my machine that I want to be able to identify persistently[1]. They are typically on /dev/dvb/adapter{0,1}/frontend0 but their order is arbitrary and can change from one boot to another. So using

Re: [PATCH] dma-buf: mmap support

2012-04-24 Thread InKi Dae
2012/4/25, Daniel Vetter dan...@ffwll.ch: On Wed, Apr 25, 2012 at 01:37:51AM +0900, InKi Dae wrote: Hi, +static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) +{ + struct dma_buf *dmabuf; + + if (!is_dma_buf_file(file)) +

Re: udev rules for persistent symlinks for adapter?/frontend0 devices

2012-04-24 Thread Brian J. Murrell
On 12-04-24 07:26 PM, Andy Walls wrote: Maybe by using matches on DEVPATH and/or DEVNAME along with the other attributes you already check? ... KERNEL[1335308536.258048] add /devices/pci:00/:00:14.4/:03:00.0/dvb/dvb0.frontend0 (dvb) UDEV_LOG=3 ACTION=add

Re: HVR-1600 QAM recordings with slight glitches in them

2012-04-24 Thread Brian J. Murrell
On 12-04-24 06:42 PM, Andy Walls wrote: Signal level varaition coupled with the HVR-1600's, at times, mediocre digital tuning side: Ahh. Pity. Run 'femon' on the cx18's dvb frontend when you have a live QAM capture ongoing. OK. Ran it all evening during the evening capture window.