719a638e17ebdc03868b2cf25e132cf90f94caa8
2 * PROJECT: ReactOS VGA display driver
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: drivers/video/displays/vga/objects/copybits.c
14 IN SURFOBJ
* SourceObj
,
16 IN XLATEOBJ
* XLateObj
,
22 if (STYPE_BITMAP
== DestObj
->iType
&& BMF_4BPP
== DestObj
->iBitmapFormat
&&
23 STYPE_DEVICE
== SourceObj
->iType
)
25 /* Screen to 4 BPP DIB */
26 DIB_BltFromVGA(SrcPointL
->x
, SrcPointL
->y
,
27 DestRectL
->right
- DestRectL
->left
,
28 DestRectL
->bottom
- DestRectL
->top
,
29 DestObj
->pvScan0
, DestObj
->lDelta
);
32 else if (STYPE_DEVICE
== DestObj
->iType
&&
33 STYPE_BITMAP
== SourceObj
->iType
&& BMF_4BPP
== SourceObj
->iBitmapFormat
)
35 /* 4 BPP DIB to Screen */
36 DIB_BltToVGA(DestRectL
->left
, DestRectL
->top
,
37 DestRectL
->right
- DestRectL
->left
,
38 DestRectL
->bottom
- DestRectL
->top
,
39 SourceObj
->pvScan0
, SourceObj
->lDelta
,