Re: [PATCH] uvcvideo: Fix uvc_fixup_video_ctrl() format search

2012-08-07 Thread Stephan Lachowsky
Hi Laurent, On 19/02/11 12:35, Laurent Pinchart wrote: Hi Stephan, On Friday 28 January 2011 03:04:33 Stephan Lachowsky wrote: The scheme used to index format in uvc_fixup_video_ctrl() is not robust: format index is based on descriptor ordering, which does not necessarily match bFormatIndex

[PATCH] [media] uvcvideo: Fix control mapping for devices with multiple chains

2011-05-31 Thread Stephan Lachowsky
will always be found first Fix this by only searching the current chain when performing a control mapping. This is analogous to the search used by uvc_find_control(), and is the correct behaviour. Signed-off-by: Stephan Lachowsky --- drivers/media/video/uvc/uvc_ctrl.c |4 ++-- 1 files

Re: [PATCH] uvcvideo: Fix uvc_fixup_video_ctrl() format search

2011-02-19 Thread Stephan Lachowsky
On Feb 19, 2011, at 4:35 AM, Laurent Pinchart wrote: > > Thanks for the patch. It's missing your Signed-off-by line, can I add it ? You may. Signed-off-by: Stephan Lachowsky -- Stephan -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body o

Re: [PATCH RFC] uvcvideo: Add support for MPEG-2 TS payload

2011-02-18 Thread Stephan Lachowsky
Hi Laurent, On Feb 18, 2011, at 2:56 AM, Laurent Pinchart wrote: > Hi Stephan, > > On Thursday 17 February 2011 18:18:38 Stephan Lachowsky wrote: >> On Thu, 2011-02-17 at 08:03 -0800, Laurent Pinchart wrote: >>> On Friday 28 January 2011 20:35:05 Stephan Lachowsky wrote

Re: [PATCH RFC] uvcvideo: Add a mapping for H.264 payloads

2011-02-17 Thread Stephan Lachowsky
Hi, On Thu, 2011-02-17 at 08:01 -0800, Laurent Pinchart wrote: > HI Stephan, > > Thanks for the patch, and sorry for the late reply. > > On Friday 28 January 2011 20:38:58 Stephan Lachowsky wrote: > > Associate the H.264 GUID with an H.264 pixel format so that frame > &

Re: [PATCH RFC] uvcvideo: Add support for MPEG-2 TS payload

2011-02-17 Thread Stephan Lachowsky
Hi Laurent, On Thu, 2011-02-17 at 08:03 -0800, Laurent Pinchart wrote: > Hi Stephan, > > On Friday 28 January 2011 20:35:05 Stephan Lachowsky wrote: > > Parse the UVC 1.0 and UVC 1.1 VS_FORMAT_MPEG2TS descriptors. > > This a stream based format, so we generate a dummy frame

Re: [PATCH 1/5] uvcvideo: Add UVCIOC_CTRL_QUERY ioctl

2011-01-31 Thread Stephan Lachowsky
On Fri, 2011-01-07 at 08:00 -0800, Laurent Pinchart wrote: > From: Martin Rubli > > This ioctl extends UVCIOC_CTRL_GET/SET by not only allowing to get/set > XU controls but to also send arbitrary UVC commands to XU controls, > namely GET_CUR, SET_CUR, GET_MIN, GET_MAX, GET_RES, GET_LEN, GET_INFO

[PATCH RFC] uvcvideo: Add a mapping for H.264 payloads

2011-01-28 Thread Stephan Lachowsky
Associate the H.264 GUID with an H.264 pixel format so that frame and stream based format descriptors with this GUID are recognized by the UVC video driver. --- drivers/media/video/uvc/uvc_driver.c |5 + drivers/media/video/uvc/uvcvideo.h |3 +++ include/linux/videodev2.h

[PATCH RFC] uvcvideo: Add support for MPEG-2 TS payload

2011-01-28 Thread Stephan Lachowsky
Parse the UVC 1.0 and UVC 1.1 VS_FORMAT_MPEG2TS descriptors. This a stream based format, so we generate a dummy frame descriptor with a dummy frame interval range. --- drivers/media/video/uvc/uvc_driver.c | 41 ++ drivers/media/video/uvc/uvcvideo.h |3 ++ 2

[PATCH] uvcvideo: Fix uvc_fixup_video_ctrl() format search

2011-01-27 Thread Stephan Lachowsky
The scheme used to index format in uvc_fixup_video_ctrl() is not robust: format index is based on descriptor ordering, which does not necessarily match bFormatIndex ordering. Searching for first matching format will prevent uvc_fixup_video_ctrl() from using the wrong format/frame to make adjustmen

[PATCH] uvcvideo: Fix uvc_fixup_video_ctrl() format search

2011-01-27 Thread Stephan Lachowsky
The scheme used to index format in uvc_fixup_video_ctrl() is not robust: format index is based on descriptor ordering, which does not necessarily match bFormatIndex ordering. Searching for first matching format will prevent uvc_fixup_video_ctrl() from using the wrong format/frame to make adjustmen