diff options
author | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-08-29 14:00:57 +0200 |
---|---|---|
committer | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-08-29 14:00:57 +0200 |
commit | b29c49d48ca0db5d5e8e98f1622be4d0311656c4 (patch) | |
tree | 701bc84f7f79a064bfe93859225b5fc37dc72061 /v4l2-apps/lib/libv4l | |
parent | 5bbdc31c65b0843fd17e1d0c13827d9d7ef9c22b (diff) | |
download | mediapointer-dvb-s2-b29c49d48ca0db5d5e8e98f1622be4d0311656c4.tar.gz mediapointer-dvb-s2-b29c49d48ca0db5d5e8e98f1622be4d0311656c4.tar.bz2 |
libv4l: adjust (fix) sn9c102 bayer order
From: Hans de Goede <j.w.r.degoede@hhs.nl>
* The bayer pixel order in gspca's sonixb driver was different from that in
the sn9c102 driver from the mainline kernel, a recent gspca patch fixes
this, adjust libv4l to match (and make it work properly with the sn9c102
driver).
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l')
-rw-r--r-- | v4l2-apps/lib/libv4l/ChangeLog | 7 | ||||
-rw-r--r-- | v4l2-apps/lib/libv4l/Makefile | 2 | ||||
-rw-r--r-- | v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/v4l2-apps/lib/libv4l/ChangeLog b/v4l2-apps/lib/libv4l/ChangeLog index d3d417414..eefe0028b 100644 --- a/v4l2-apps/lib/libv4l/ChangeLog +++ b/v4l2-apps/lib/libv4l/ChangeLog @@ -1,3 +1,10 @@ +libv4l-0.4.2 +------------ +* The bayer pixel order in gspca's sonixb driver was different from that in + the sn9c102 driver from the mainline kernel, a recent gspca patch fixes + this, adjust libv4l to match (and make it work properly with the sn9c102 + driver). + libv4l-0.4.1 ------------ * When the driver supports read() and we are not converting let the driver diff --git a/v4l2-apps/lib/libv4l/Makefile b/v4l2-apps/lib/libv4l/Makefile index 31254a09e..92928271a 100644 --- a/v4l2-apps/lib/libv4l/Makefile +++ b/v4l2-apps/lib/libv4l/Makefile @@ -1,5 +1,5 @@ LIB_RELEASE=0 -V4L2_LIB_VERSION=$(LIB_RELEASE).4.1 +V4L2_LIB_VERSION=$(LIB_RELEASE).4.2 all clean install: $(MAKE) -C libv4lconvert V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@ diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c b/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c index e708c492f..4b48bfac4 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c +++ b/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert.c @@ -456,7 +456,7 @@ int v4lconvert_convert(struct v4lconvert_data *data, case V4L2_PIX_FMT_SN9C10X: v4lconvert_decode_sn9c10x(src, tmpbuf, dest_fmt->fmt.pix.width, dest_fmt->fmt.pix.height); - bayer_fmt = V4L2_PIX_FMT_SGBRG8; + bayer_fmt = V4L2_PIX_FMT_SBGGR8; break; case V4L2_PIX_FMT_PAC207: v4lconvert_decode_pac207(src, tmpbuf, dest_fmt->fmt.pix.width, |