From owner-freebsd-multimedia Sat Mar 22 16:01:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA08574 for multimedia-outgoing; Sat, 22 Mar 1997 16:01:22 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA08558 for ; Sat, 22 Mar 1997 16:01:13 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 22 Mar 1997 19:00:19 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA25235; Sat, 22 Mar 97 19:00:17 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA13816; Sat, 22 Mar 1997 18:57:31 -0500 Message-Id: <19970322185731.10517@ct.picker.com> Date: Sat, 22 Mar 1997 18:57:31 -0500 From: Randall Hopper To: Steve Passe Cc: multimedia@freebsd.org Subject: Re: FXTV v0.3.1 -- another diff References: <19970322163421.06844@ct.picker.com> <199703222304.QAA13782@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" X-Mailer: Mutt 0.65 In-Reply-To: <199703222304.QAA13782@Ilsa.StevesCafe.com>; from Steve Passe on Sat, Mar 22, 1997 at 04:04:13PM -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --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--