memcpy()-like move to odd bit
Doug Gwyn
gwyn at smoke.brl.mil
Tue Nov 13 18:06:15 AEST 1990
In article <1990Nov12.235038.16331 at nntp-server.caltech.edu> manning at nntp-server.caltech.edu (Evan Marshall Manning) writes:
>The title about says it. I need to move data from point A to
>point B, where there may be a bit offset as well as a byte offset.
>Is there any reasonably portable and/or reasonably fast way to do
>this?
This is known as a "bit blit" (special case of "rasterop"), and
algorithms are described in the computer graphics literature.
For example, there was an article in "Software -- Practice and
Experience" by Locanthi and Pike on the method used in the Blit
terminal.
More information about the Comp.lang.c
mailing list