Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54e8bc5d authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (14003): gspca_cpai1: New gspca subdriver for CPIA CPiA version 1 cams



This new driver supports USB PIA CPiA version 1 cams, replacing the
old v4l1 driver.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ed9885aa
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -638,9 +638,14 @@ config VIDEO_W9966
	  information.

config VIDEO_CPIA
	tristate "CPiA Video For Linux"
	tristate "CPiA Video For Linux (DEPRECATED)"
	depends on VIDEO_V4L1
	default n
	---help---
	  This driver is DEPRECATED please use the gspca cpia1 module
	  instead. Note that you need atleast version 0.6.4 of libv4l for
	  the cpia1 gspca module.

	  This is the video4linux driver for cameras based on Vision's CPiA
	  (Colour Processor Interface ASIC), such as the Creative Labs Video
	  Blaster Webcam II. If you have one of these cameras, say Y here
+11 −0
Original line number Diff line number Diff line
@@ -39,6 +39,17 @@ config USB_GSPCA_CONEX
	  To compile this driver as a module, choose M here: the
	  module will be called gspca_conex.

config USB_GSPCA_CPIA1
	tristate "cpia CPiA (version 1) Camera Driver"
	depends on VIDEO_V4L2 && USB_GSPCA
	help
	  Say Y here if you want support for USB cameras based on the cpia
	  CPiA chip. Note that you need atleast version 0.6.4 of libv4l for
	  applications to understand the videoformat generated by this driver.

	  To compile this driver as a module, choose M here: the
	  module will be called gspca_cpia1.

config USB_GSPCA_ETOMS
	tristate "Etoms USB Camera Driver"
	depends on VIDEO_V4L2 && USB_GSPCA
+2 −0
Original line number Diff line number Diff line
obj-$(CONFIG_USB_GSPCA)          += gspca_main.o
obj-$(CONFIG_USB_GSPCA_BENQ)     += gspca_benq.o
obj-$(CONFIG_USB_GSPCA_CONEX)    += gspca_conex.o
obj-$(CONFIG_USB_GSPCA_CPIA1)    += gspca_cpia1.o
obj-$(CONFIG_USB_GSPCA_ETOMS)    += gspca_etoms.o
obj-$(CONFIG_USB_GSPCA_FINEPIX)  += gspca_finepix.o
obj-$(CONFIG_USB_GSPCA_JEILINJ)  += gspca_jeilinj.o
@@ -35,6 +36,7 @@ obj-$(CONFIG_USB_GSPCA_ZC3XX) += gspca_zc3xx.o
gspca_main-objs     := gspca.o
gspca_benq-objs     := benq.o
gspca_conex-objs    := conex.o
gspca_cpia1-objs    := cpia1.o
gspca_etoms-objs    := etoms.o
gspca_finepix-objs  := finepix.o
gspca_jeilinj-objs  := jeilinj.o
+2022 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -350,6 +350,7 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_MPEG     v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4    */

/*  Vendor-specific formats   */
#define V4L2_PIX_FMT_CPIA1    v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
#define V4L2_PIX_FMT_WNVA     v4l2_fourcc('W', 'N', 'V', 'A') /* Winnov hw compress */
#define V4L2_PIX_FMT_SN9C10X  v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */
#define V4L2_PIX_FMT_SN9C20X_I420 v4l2_fourcc('S', '9', '2', '0') /* SN9C20x YUV 4:2:0 */