Date: Sat, 22 Mar 1997 18:57:31 -0500 From: Randall Hopper <rhh@ct.picker.com> To: Steve Passe <smp@csn.net> Cc: multimedia@freebsd.org Subject: Re: FXTV v0.3.1 -- another diff Message-ID: <19970322185731.10517@ct.picker.com> In-Reply-To: <199703222304.QAA13782@Ilsa.StevesCafe.com>; from Steve Passe on Sat, Mar 22, 1997 at 04:04:13PM -0700 References: <19970322163421.06844@ct.picker.com> <199703222304.QAA13782@Ilsa.StevesCafe.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Hi, Steve Passe: |if hue or brightness are moved from posative to negative the update |pushes them to max values | |if chromaU is greater than 141 it goes to the minimum |if chromaV is greater than 101 it goes to the minimum Yeah, that's another thing I found later this afternoon, but I thought it could wait for 0.4. Here's the diff. Randy --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="satv2-0.3.1.patch" --- 0.3.1/tvcapture.c Sat Mar 22 14:24:03 1997 +++ tvcapture.c Sat Mar 22 14:50:47 1997 @@ -485,8 +485,6 @@ { INT32 larg; UINT16 usarg; - UINT8 ucarg; - INT8 carg; #ifdef NOT_NEEDED struct meteor_counts counts; struct meteor_video video; @@ -584,19 +582,19 @@ * CONTR_RANGE + CONTR_MIN; /* CHROMA U SATURATION */ - if ( ioctl( c->fd, BT848_GUSAT, &ucarg ) < 0 ) { + if ( ioctl( c->fd, BT848_GUSAT, &larg ) < 0 ) { DO_IOCTL_GERR( "BT848_GUSAT" ); return False; } - s->sat_u = ((double)ucarg - SATU_DRV_MIN) / SATU_DRV_RANGE + s->sat_u = ((double)larg - SATU_DRV_MIN) / SATU_DRV_RANGE * SATU_RANGE + SATU_MIN; /* CHROMA V SATURATION */ - if ( ioctl( c->fd, BT848_GVSAT, &ucarg ) < 0 ) { + if ( ioctl( c->fd, BT848_GVSAT, &larg ) < 0 ) { DO_IOCTL_GERR( "BT848_GVSAT" ); return False; } - s->sat_v = ((double)ucarg - SATV_DRV_MIN) / SATV_DRV_RANGE + s->sat_v = ((double)larg - SATV_DRV_MIN) / SATV_DRV_RANGE * SATV_RANGE + SATV_MIN; /* TUNER TYPE */ --tThc/1wpZn/ma/RB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970322185731.10517>