Date: Tue, 14 Jul 1998 17:59:20 +0100 From: Roger Hardiman <roger@cs.strath.ac.uk> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: Randall Hopper <rhh@ct.picker.com>, freebsd-multimedia@FreeBSD.ORG Subject: Re: New IOCTL for bt848 grab area (was S/W PAN and ZOOM) Message-ID: <35AB8E68.6ED1CC03@cs.strath.ac.uk> References: <199807141605.JAA01103@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35AB8E68.6ED1CC03>