From owner-freebsd-multimedia Fri Jun 26 03:02:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12718 for freebsd-multimedia-outgoing; Fri, 26 Jun 1998 03:02:05 -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 DAA12643 for ; Fri, 26 Jun 1998 03:01:58 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from brewster-02 (roger@brewster-02.cs.strath.ac.uk [130.159.172.2]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id LAA15306 Fri, 26 Jun 1998 11:01:41 +0100 (BST) Message-ID: <35937185.27CF@cs.strath.ac.uk> Date: Fri, 26 Jun 1998 11:01:41 +0100 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.04 (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: Amancio Hasty CC: freebsd-multimedia@FreeBSD.ORG Subject: Improvements to the bt848 driver - SW Pan and Zoom. References: <199806260910.CAA00703@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 Hi all. I've been thinking about an improvement to the bt848 driver. The same could be made to the meteor driver too. I'd like to grab from a sub-section of the video image. This allows the software pan and zoom functions you can get with a fixed camera with a wide angle lense. Currently, the bt848 driver captures the full NTSC (or PAL) image and scales it down to the desired image size, say 192x128 pixels. +----------+ |aaaaaaaaaa| |aaaaaaaaaa| to +---+ FULL NTSC to 192x128 |aaaaaaaaaa| |aaa| |bbbbbbbbbb| |bbb| |bbbbbbbbbb| +---+ |bbbbbbbbbb| +----------+ I would like to grab a sub-portion of the NTSC (or PAL) window and optionally scale that. So, I could grab a real 192x128 chunk from say the bottom left corner of the video image. +----------+ |aaaaaaaaaa| |b+--+ bbbb| to +---+ SMALL WINDOW FROM NTSC to 192x128 |c|cc| cccc| |ccc| |d+--+ dddd| +---+ |eeeeeeeeee| +----------+ Now all these things can be performed by grabbing a full image and then copying the parts you need. However, the hardware still has to cope with moving a full video image around. For the bt848 this needs some new IOCTLS and changes to the dma_progs. Any comments on this? Roger Hardiman Strathclyde Uni Telepresence Group this would To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message