From owner-freebsd-multimedia Mon Jul 13 09:29:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA21905 for freebsd-multimedia-outgoing; Mon, 13 Jul 1998 09:29:10 -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 JAA21898 for ; Mon, 13 Jul 1998 09:29:07 -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 RAA20037 Mon, 13 Jul 1998 17:28:55 +0100 (BST) Message-ID: <35AA35C6.58F58DF0@cs.strath.ac.uk> Date: Mon, 13 Jul 1998 17:28:54 +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: freebsd-multimedia@FreeBSD.ORG Subject: Please can you test the new driver IOCTL Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I am hoping some of you can try out the new IOCTL for software PAN and ZOOM functionality. You specify the region from the PAL (or NTSC) window you want capturing to be from using a new IOCTL There are three files to download, based on the -current driver, found in ftp://vulture.dmem.strath.ac.uk/pub/bt848/driver Please replace the corresponding files. Amancio has bunded these into a tar file at ftp://rah.star-gate.com/pub/roger_driver.tar.gz Can you give then a go please. You drive it like this.... > > int t; > struct bktr_active_region c; > > t = open("/dev/bktr0", O_RDONLY); > ioctl(t,BT848GACTIVEREGION, &c); > printf("results are %d %d %d %d\n",c.x_offset, c.y_offset, > c.x_size, c.y_size); > > c.x_offset = 10; > c.y_offset = 20; > c.x_size = 480; > c.y_size = 400; > ioctl(t,BT848SACTIVEREGION, &c); /* 480x400 window, offset(10,20) */ > > Known Problems: > > 1) at some scalings, RGB fails but YUV12 which I use works fine. > 2) When using even fields only, I cannot select a grab region > less than 256 scan lines. > 3) No consistency checks. User can enter stupid values. Let me know how you get on. Bye Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message