comparison src/video/ataricommon/SDL_ataric2p_s.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children 4da1ee79c9af
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
28 28
29 /*--- Functions pointers ---*/ 29 /*--- Functions pointers ---*/
30 30
31 /* Convert a chunky screen to bitplane screen */ 31 /* Convert a chunky screen to bitplane screen */
32 32
33 extern void (*SDL_Atari_C2pConvert)( 33 extern void (*SDL_Atari_C2pConvert) (Uint8 * src, /* Source screen (one byte=one pixel) */
34 Uint8 *src, /* Source screen (one byte=one pixel) */ 34 Uint8 * dest, /* Destination (4/8 bits planes) */
35 Uint8 *dest, /* Destination (4/8 bits planes) */ 35 Uint32 width, /* Dimensions of screen to convert */
36 Uint32 width, /* Dimensions of screen to convert */ 36 Uint32 height, Uint32 dblligne, /* Double the lines when converting ? */
37 Uint32 height, 37 Uint32 srcpitch, /* Length of one source line in bytes */
38 Uint32 dblligne, /* Double the lines when converting ? */ 38 Uint32 dstpitch /* Length of one destination line in bytes */
39 Uint32 srcpitch, /* Length of one source line in bytes */ 39 );
40 Uint32 dstpitch /* Length of one destination line in bytes */
41 );
42 40
43 /*--- 8 bits functions ---*/ 41 /*--- 8 bits functions ---*/
44 42
45 /* Convert a chunky screen to bitplane screen */ 43 /* Convert a chunky screen to bitplane screen */
46 44
47 void SDL_Atari_C2pConvert8( 45 void SDL_Atari_C2pConvert8 (Uint8 * src, /* Source screen (one byte=one pixel) */
48 Uint8 *src, /* Source screen (one byte=one pixel) */ 46 Uint8 * dest, /* Destination (8 bits planes) */
49 Uint8 *dest, /* Destination (8 bits planes) */ 47 Uint32 width, /* Dimensions of screen to convert */
50 Uint32 width, /* Dimensions of screen to convert */ 48 Uint32 height, Uint32 dblligne, /* Double the lines when converting ? */
51 Uint32 height, 49 Uint32 srcpitch, /* Length of one source line in bytes */
52 Uint32 dblligne, /* Double the lines when converting ? */ 50 Uint32 dstpitch /* Length of one destination line in bytes */
53 Uint32 srcpitch, /* Length of one source line in bytes */ 51 );
54 Uint32 dstpitch /* Length of one destination line in bytes */
55 );
56 52
57 /*--- 4 bits functions ---*/ 53 /*--- 4 bits functions ---*/
58 54
59 /* Convert a chunky screen to bitplane screen */ 55 /* Convert a chunky screen to bitplane screen */
60 56
61 void SDL_Atari_C2pConvert4( 57 void SDL_Atari_C2pConvert4 (Uint8 * src, /* Source screen (one byte=one pixel) */
62 Uint8 *src, /* Source screen (one byte=one pixel) */ 58 Uint8 * dest, /* Destination (4 bits planes) */
63 Uint8 *dest, /* Destination (4 bits planes) */ 59 Uint32 width, /* Dimensions of screen to convert */
64 Uint32 width, /* Dimensions of screen to convert */ 60 Uint32 height, Uint32 dblligne, /* Double the lines when converting ? */
65 Uint32 height, 61 Uint32 srcpitch, /* Length of one source line in bytes */
66 Uint32 dblligne, /* Double the lines when converting ? */ 62 Uint32 dstpitch /* Length of one destination line in bytes */
67 Uint32 srcpitch, /* Length of one source line in bytes */ 63 );
68 Uint32 dstpitch /* Length of one destination line in bytes */
69 );
70 64
71 /* Conversion palette */ 65 /* Conversion palette */
72 66
73 void SDL_Atari_C2pConvert4_pal(Uint16 *lightpalette); 67 void SDL_Atari_C2pConvert4_pal (Uint16 * lightpalette);
74 68
75 #endif /* _ATARI_C2P_h */ 69 #endif /* _ATARI_C2P_h */
70 /* vi: set ts=4 sw=4 expandtab: */