From owner-freebsd-multimedia Thu Apr 24 18:16:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA15044 for multimedia-outgoing; Thu, 24 Apr 1997 18:16:40 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id SAA15039 for ; Thu, 24 Apr 1997 18:16:38 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 24 Apr 1997 21:16:07 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA12680; Thu, 24 Apr 97 21:16:05 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA06150; Thu, 24 Apr 1997 21:15:46 -0400 Message-Id: <19970424211546.22989@ct.picker.com> Date: Thu, 24 Apr 1997 21:15:46 -0400 From: Randall Hopper To: multimedia@freebsd.org Subject: The "BT848 RISC Challenge" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thought that'd grab your attention :-) THE CHALLENGE: Figure out how to get the BT848 to DMA pixels in RGBRGB packed 24bpp (3Bpp) format to the frame buffer or memory. It'd be cool if we could do this to support those of us whose Xservers config the card for this format. For now, the driver limits direct video in 24bpp to those folks that have BGRBGR packed 24bpp organization. SOME OPTIONS: 1. Put the chip in RGB32 pixel FIFO mode with byte and short swapping enabled (ARGBARGB). For each pixel, write 2 RISC instructions: a SKIP to skip the Alpha, and a WRITE to blast the RGB. Hmmmmmm, let's see....that's only 2.5 Megs for a 640x480 image. :-) 2. Rotate the HUE 90 deg. (I'm not kidding. It works. It's ugly but it works!) Anybody know a kindler, gentler way to do this on the chip? :-) Randall