From owner-freebsd-multimedia Sat Mar 29 10:59:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA06772 for multimedia-outgoing; Sat, 29 Mar 1997 10:59:40 -0800 (PST) Received: from deacon.cogsci.ed.ac.uk (deacon144.cogsci.ed.ac.uk [129.215.144.7]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id KAA06766 for ; Sat, 29 Mar 1997 10:59:37 -0800 (PST) Received: from pitcairn.cogsci.ed.ac.uk (pitcairn.cogsci.ed.ac.uk [129.215.197.19]) by deacon.cogsci.ed.ac.uk (8.6.10/8.6.12) with ESMTP id SAA01325; Sat, 29 Mar 1997 18:59:33 GMT Date: Sat, 29 Mar 1997 18:59:32 GMT Message-Id: <28003.199703291859@pitcairn.cogsci.ed.ac.uk> From: Richard Tobin Subject: Re: newest bt848 driver To: Amancio Hasty , Richard Tobin In-Reply-To: Amancio Hasty's message of Fri, 28 Mar 1997 16:25:40 -0800 Organization: just say no Cc: multimedia@freebsd.org Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Something else that needs to be changed is in METEORSETGEO. The magic > Well thats what you are supposed to do 8) Yes, I know that :) > > By the way, what is the magic number 1.21875 in METEORSETGEO. Is it > > Good Question! The formula in the Bt848 databook is wrong so I came up with > my own formula 8) Right: the formulae in the databook are inconsistent. I'd like to know why rather than just plugging in numbers that seem to work. In particular, it says that the active portion is (for NTSC) 754 out of 910 unscaled pixels 640 out of 780 square pixels 720 out of 858 CCIR601 pixels These are all different proportions: 82.86%, 80.15% and 83.92% respectively. I also came across a description on NTSC with the figures given in uS instead of pixels, and that said the active portion is 52.4 out of 63.5 microseconds which is 82.52%, suggesting that the unscaled pixel version is closest to reality. Your calculation in the driver for calculating HSCALE corresponds to the second ratio. I wonder of you are missing a small piece of image off the end of each row as a result? Could you (or someone else with NTSC) change 1.21875 (ie 780/640) to 1.2069 (ie 910/754) in the horizontal scale calculation and see whether there is junk displayed at the end of each row? -- Richard