mbox series

[0/8] gspca_ov534 raw bayer (SGRBG8) support

Message ID 20181214164031.16757-1-philipp.zabel@gmail.com (mailing list archive)
Headers show
Series gspca_ov534 raw bayer (SGRBG8) support | expand

Message

Philipp Zabel Dec. 14, 2018, 4:40 p.m. UTC
Hi,

this series adds raw bayer (V4L2_PIX_FMT_SGRBG8) support to the gspca
ov534-ov772x driver used for the PlayStation Eye camera for VGA and
QVGA modes. Selecting the SGRBG8 format bypasses image processing
(brightness, contrast, saturation, and hue controls).

regards
Philipp

Philipp Zabel (8):
  media: gspca: ov534: replace msleep(10) with usleep_range
  media: gspca: support multiple pixel formats in ENUM_FRAMEINTERVALS
  media: gspca: support multiple pixel formats in TRY_FMT
  media: gspca: ov543-ov772x: move video format specific registers into
    bridge_start
  media: gspca: ov534-ov772x: add SGBRG8 bayer mode support
  media: gspca: ov534-ov722x: remove mode specific video data registers
    from bridge_init
  media: gspca: ov534-ov722x: remove camera clock setup from bridge_init
  media: gspca: ov534-ov772x: remove unnecessary COM3 initialization

 drivers/media/usb/gspca/gspca.c |  18 ++--
 drivers/media/usb/gspca/ov534.c | 153 +++++++++++++++++++++++---------
 2 files changed, 123 insertions(+), 48 deletions(-)

Comments

Hans Verkuil Dec. 14, 2018, 4:43 p.m. UTC | #1
On 12/14/18 5:40 PM, Philipp Zabel wrote:
> Hi,
> 
> this series adds raw bayer (V4L2_PIX_FMT_SGRBG8) support to the gspca
> ov534-ov772x driver used for the PlayStation Eye camera for VGA and
> QVGA modes. Selecting the SGRBG8 format bypasses image processing
> (brightness, contrast, saturation, and hue controls).

I'm curious since I don't see many patches for gspca: what are you planning
to use this for?

Regards,

	Hans

> 
> regards
> Philipp
> 
> Philipp Zabel (8):
>   media: gspca: ov534: replace msleep(10) with usleep_range
>   media: gspca: support multiple pixel formats in ENUM_FRAMEINTERVALS
>   media: gspca: support multiple pixel formats in TRY_FMT
>   media: gspca: ov543-ov772x: move video format specific registers into
>     bridge_start
>   media: gspca: ov534-ov772x: add SGBRG8 bayer mode support
>   media: gspca: ov534-ov722x: remove mode specific video data registers
>     from bridge_init
>   media: gspca: ov534-ov722x: remove camera clock setup from bridge_init
>   media: gspca: ov534-ov772x: remove unnecessary COM3 initialization
> 
>  drivers/media/usb/gspca/gspca.c |  18 ++--
>  drivers/media/usb/gspca/ov534.c | 153 +++++++++++++++++++++++---------
>  2 files changed, 123 insertions(+), 48 deletions(-)
>
Philipp Zabel Dec. 14, 2018, 5:09 p.m. UTC | #2
On Fri, Dec 14, 2018 at 5:43 PM Hans Verkuil <hverkuil@xs4all.nl> wrote:
>
> On 12/14/18 5:40 PM, Philipp Zabel wrote:
> > Hi,
> >
> > this series adds raw bayer (V4L2_PIX_FMT_SGRBG8) support to the gspca
> > ov534-ov772x driver used for the PlayStation Eye camera for VGA and
> > QVGA modes. Selecting the SGRBG8 format bypasses image processing
> > (brightness, contrast, saturation, and hue controls).
>
> I'm curious since I don't see many patches for gspca: what are you planning
> to use this for?

I'd like to track the 3D motion of a PlayStation VR headset and Move
controllers with a few of these.

regards
Philipp