|
|
1.1 root 1: ;---------------------------Module-Header------------------------------;
2: ; Module Name: ppc.inc
3: ;
4: ; Copyright (c) 1992 Microsoft Corporation
5: ;-----------------------------------------------------------------------;
6:
7: ;-----------------------------------------------------------------------;
8: ; Packed Pel Conversion Data
9: ;
10: ; The following structure will contain the information necessary
11: ; for converting a source bitmap in a packed pel format into a
12: ; planer format.
13: ;
14: ;-----------------------------------------------------------------------;
15:
16: PACKEDPELCONV struc
17: pfnConvert dd ? ;Pointer to conversion function
18: pulXlate dd ? ;Pointer to color translation table
19: pulConvert dd ? ;Pointer to bit conversion table
20: pSrc dd ? ;Pointer to next source scan
21: iNextScan dd ? ;Index to next scan
22: cLeftMiddle dd ? ;# of left/middle bytes to convert
23: pfnLeftMiddle dd ? ;Processor for left/middle pels
24: pfnRight dd ? ;Processor for right pels
25: pjConverted dd ? ;Pointer to first converted byte to use
26: cLeftShift db ? ;Right hand side shift adjustment
27: fb db ? ;Control flags
28: iFormat db ? ;Source format
29: db ?
30: PACKEDPELCONV ends
31:
32: ; Constants for use in the fb field
33:
34: PPC_NEEDED equ 10000000b ;Packed pel conversion needed
35:
36:
37: DIB_FORMAT8 equ 3 ;!!! these should be defined in some
38: DIB_FORMAT4 equ 2 ;!!! global include file
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.