home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!sgiblab!rpal.rockwell.com!news.cs.indiana.edu!noose.ecn.purdue.edu!samsung!transfer.stratus.com!phlan.sw.stratus.com!det
- From: det@phlan.sw.stratus.com (David Toland)
- Newsgroups: comp.graphics
- Subject: Re: N bit planes/pixel or N bits/pixel?
- Message-ID: <1dodmnINN9q3@transfer.stratus.com>
- Date: 10 Nov 92 13:33:11 GMT
- References: <1dn8rjINNdq3@kitty.ksu.ksu.edu>
- Organization: Stratus Computer, Software Engineering
- Lines: 21
- NNTP-Posting-Host: phlan.sw.stratus.com
-
- In article <1dn8rjINNdq3@kitty.ksu.ksu.edu> sdoran@kitty.ksu.ksu.edu (Steven Marcotte) writes:
- >
- > What is the advantage of N bitplanes/pixel over N bits/pixel? I would
- >think that the N bin/pixel (packed-pixel) representation would offer
- >better speed than jumping through memory and performing bit twiddling,
- >especially at 8 bits/pixel.
-
- I think it has generally been done for addressability reasons. A memory
- mapped video array with one bit per pixel takes up a smaller address space
- than if you spread out the pixel bits into the same address space. If
- you're working with a single color (or bit plane) at a time, you can
- latch the value into an orthogonal register and forget it.
-
- Personally, I agree with you. Having programmed for both types of
- adapters, I would FAR rather bank select an area of the picture and
- write out pixel values directly than mess around with bit addressing
- and bit plane masks!
-
- --
- det@phlan.sw.stratus.com | "Laddie, you'll be needin' something to wash
- | that doon with."
-