src/video/ataricommon/SDL_ataric2p_s.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
    40 
    40 
    41 /*--- 8 bits functions ---*/
    41 /*--- 8 bits functions ---*/
    42 
    42 
    43 /* Convert a chunky screen to bitplane screen */
    43 /* Convert a chunky screen to bitplane screen */
    44 
    44 
    45 void SDL_Atari_C2pConvert8 (Uint8 * src,        /* Source screen (one byte=one pixel) */
    45 void SDL_Atari_C2pConvert8(Uint8 * src, /* Source screen (one byte=one pixel) */
    46                             Uint8 * dest,       /* Destination (8 bits planes) */
    46                            Uint8 * dest,        /* Destination (8 bits planes) */
    47                             Uint32 width,       /* Dimensions of screen to convert */
    47                            Uint32 width,        /* Dimensions of screen to convert */
    48                             Uint32 height, Uint32 dblligne,     /* Double the lines when converting ? */
    48                            Uint32 height, Uint32 dblligne,      /* Double the lines when converting ? */
    49                             Uint32 srcpitch,    /* Length of one source line in bytes */
    49                            Uint32 srcpitch,     /* Length of one source line in bytes */
    50                             Uint32 dstpitch     /* Length of one destination line in bytes */
    50                            Uint32 dstpitch      /* Length of one destination line in bytes */
    51     );
    51     );
    52 
    52 
    53 /*--- 4 bits functions ---*/
    53 /*--- 4 bits functions ---*/
    54 
    54 
    55 /* Convert a chunky screen to bitplane screen */
    55 /* Convert a chunky screen to bitplane screen */
    56 
    56 
    57 void SDL_Atari_C2pConvert4 (Uint8 * src,        /* Source screen (one byte=one pixel) */
    57 void SDL_Atari_C2pConvert4(Uint8 * src, /* Source screen (one byte=one pixel) */
    58                             Uint8 * dest,       /* Destination (4 bits planes) */
    58                            Uint8 * dest,        /* Destination (4 bits planes) */
    59                             Uint32 width,       /* Dimensions of screen to convert */
    59                            Uint32 width,        /* Dimensions of screen to convert */
    60                             Uint32 height, Uint32 dblligne,     /* Double the lines when converting ? */
    60                            Uint32 height, Uint32 dblligne,      /* Double the lines when converting ? */
    61                             Uint32 srcpitch,    /* Length of one source line in bytes */
    61                            Uint32 srcpitch,     /* Length of one source line in bytes */
    62                             Uint32 dstpitch     /* Length of one destination line in bytes */
    62                            Uint32 dstpitch      /* Length of one destination line in bytes */
    63     );
    63     );
    64 
    64 
    65 /* Conversion palette */
    65 /* Conversion palette */
    66 
    66 
    67 void SDL_Atari_C2pConvert4_pal (Uint16 * lightpalette);
    67 void SDL_Atari_C2pConvert4_pal(Uint16 * lightpalette);
    68 
    68 
    69 #endif /* _ATARI_C2P_h */
    69 #endif /* _ATARI_C2P_h */
    70 /* vi: set ts=4 sw=4 expandtab: */
    70 /* vi: set ts=4 sw=4 expandtab: */