2 #include "../vgavideo/vgavideo.h"
8 DrvCopyBits(OUT SURFOBJ
* DestObj
,
11 IN XLATEOBJ
* XLateObj
,
17 if (STYPE_BITMAP
== DestObj
->iType
&& BMF_4BPP
== DestObj
->iBitmapFormat
&&
18 STYPE_DEVICE
== SourceObj
->iType
)
20 /* Screen to 4 BPP DIB */
21 DIB_BltFromVGA(SrcPointL
->x
, SrcPointL
->y
,
22 DestRectL
->right
- DestRectL
->left
,
23 DestRectL
->bottom
- DestRectL
->top
,
24 DestObj
->pvScan0
, DestObj
->lDelta
);
27 else if (STYPE_DEVICE
== DestObj
->iType
&&
28 STYPE_BITMAP
== SourceObj
->iType
&& BMF_4BPP
== SourceObj
->iBitmapFormat
)
30 /* 4 BPP DIB to Screen */
31 DIB_BltToVGA(DestRectL
->left
, DestRectL
->top
,
32 DestRectL
->right
- DestRectL
->left
,
33 DestRectL
->bottom
- DestRectL
->top
,
34 SourceObj
->pvScan0
, SourceObj
->lDelta
,