Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#ifndef _PMMEMOPS_H_
2
#define _PMMEMOPS_H_
3
#include "brender/br_types.h"
4
 
5
void pm_mem_fill_colour(br_uint_8 *dest, br_uint_32 qual, br_uint_32 nbbytes, br_uint_32 bpp, br_uint_32 colour);
6
 
7
void pm_mem_fill_colour_rect(br_uint_8* dest, br_uint_32 qual, br_uint_32 width, br_uint_32 height, br_uint_32 stride, br_uint_32 bpp, br_uint_32 colour);
8
 
9
void pm_mem_copy_colour(br_uint_8* dest, br_uint_32 dest_qual, br_uint_8* src, br_uint_32 src_qual, br_uint_32 nbpixels, br_uint_32 bpp);
10
 
11
void pm_mem_copy_colour_rect(br_uint_8* dest, br_uint_32 dest_qual, br_uint_8* src, br_uint_32 src_qual,
12
    br_uint_32 width, br_uint_32 height, br_uint_32 dest_stride, br_uint_32 src_stride, br_uint_32 bbp);
13
 
14
void pm_mem_set_colour(br_uint_8* dest, br_uint_32 dest_qual, br_uint_32 bbp, br_uint_32 colour);
15
 
16
void pm_mem_copy_bits(br_uint_8* dst, br_uint_32 dst_qual, br_uint_32 dst_stride, br_uint_8* src, br_uint_32 src_stride,
17
        br_uint_32 start_bit, br_uint_32 end_bit, br_uint_32 height, br_uint_32 bpp, br_uint_32 colour);
18
 
19
#endif // _MEMOPS_H_