From owner-freebsd-multimedia Tue Jul 14 09:59:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA03593 for freebsd-multimedia-outgoing; Tue, 14 Jul 1998 09:59:48 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fleming.cs.strath.ac.uk (root@fleming.cs.strath.ac.uk [130.159.196.123]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA03583 for ; Tue, 14 Jul 1998 09:59:46 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (posh.dmem.strath.ac.uk [130.159.202.3]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id RAA09229 Tue, 14 Jul 1998 17:59:21 +0100 (BST) Message-ID: <35AB8E68.6ED1CC03@cs.strath.ac.uk> Date: Tue, 14 Jul 1998 17:59:20 +0100 From: Roger Hardiman Organization: Strathclyde Uni X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 3.0-980311-SNAP i386) MIME-Version: 1.0 To: Amancio Hasty CC: Randall Hopper , freebsd-multimedia@FreeBSD.ORG Subject: Re: New IOCTL for bt848 grab area (was S/W PAN and ZOOM) References: <199807141605.JAA01103@rah.star-gate.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Following my earlier posts, I have now worked out the limits to the zooming available with the new ioctl. The README on my ftp site ftp://vulture.dmem.strath.ac.uk/pub/bt848/driver has been updated. I hope we can reduce these restrictions either with better selection of the hactive/hdelay/vative/vdelay registers or through some dma_prog changes. Cheers Roger Part of the README follows. Limitations =========== Modes 1) Only tested RGB24 and YUV12 grabs on PAL. Can someone check NTSC. Thanks No overshooting 1) x_offset + x_size must be <=768 (for PAL) or <=640 (for NTSC) 2) y_offset + y_size must be <=576 (for PAL) or <=480 (for NTSC) Restrictions 1) y_offset may need to be even in interlaced modes Error Checking 1) None yet in the driver. Will be added later RGB24 - Interlaced mode 1) x_size must be greater than or equal to 1.666*METEORSETGEO width (cols) 2) y_size must be greater than or equal to METEORSETGEO height (rows) RGB24 - Even Only (or Odd Only) mode 1) x_size must be greater than or equal to 1.666*METEORSETGEO width (cols) 2) y_size must be greater than or equal to 2*METEORSETGEO height (rows) YUV12 - Interlaced mode 1) x_size must be greater than or equal to METEORSETGEO width (cols) 2) y_size must be greater than or equal to METEORSETGEO height (rows) YUV12 - Even Only (or Odd Only) mode 1) x_size must be greater than or equal to METEORSETGEO width (cols) 2) y_size must be greater than or equal to 2*METEORSETGEO height (rows) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message