2 #include "../vgavideo/vgavideo.h"
6 DrvCopyBits(OUT SURFOBJ
* DestObj
,
15 if (STYPE_BITMAP
== DestObj
->iType
&& BMF_4BPP
== DestObj
->iBitmapFormat
&&
16 STYPE_DEVICE
== SourceObj
->iType
)
18 /* Screen to 4 BPP DIB */
19 DIB_BltFromVGA(SrcPointL
->x
, SrcPointL
->y
,
20 DestRectL
->right
- DestRectL
->left
,
21 DestRectL
->bottom
- DestRectL
->top
,
22 DestObj
->pvScan0
, DestObj
->lDelta
);
25 else if (STYPE_DEVICE
== DestObj
->iType
&&
26 STYPE_BITMAP
== SourceObj
->iType
&& BMF_4BPP
== SourceObj
->iBitmapFormat
)
28 /* 4 BPP DIB to Screen */
29 DIB_BltToVGA(DestRectL
->left
, DestRectL
->top
,
30 DestRectL
->right
- DestRectL
->left
,
31 DestRectL
->bottom
- DestRectL
->top
,
32 SourceObj
->pvScan0
, SourceObj
->lDelta
,