Pass gr_rle_expand_scanline arg as const
This commit is contained in:
parent
706782b275
commit
ea535b0e38
|
@ -78,7 +78,7 @@ rle_position_t gr_rle_decode(rle_position_t b, const rle_position_t e)
|
||||||
|
|
||||||
// Given pointer to start of one scanline of rle data, uncompress it to
|
// Given pointer to start of one scanline of rle data, uncompress it to
|
||||||
// dest, from source pixels x1 to x2.
|
// dest, from source pixels x1 to x2.
|
||||||
void gr_rle_expand_scanline_masked( ubyte *dest, ubyte *src, int x1, int x2 )
|
void gr_rle_expand_scanline_masked(uint8_t *dest, const uint8_t *src, int x1, int x2)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
ubyte count;
|
ubyte count;
|
||||||
|
@ -138,7 +138,7 @@ void gr_rle_expand_scanline_masked( ubyte *dest, ubyte *src, int x1, int x2 )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void gr_rle_expand_scanline( ubyte *dest, ubyte *src, int x1, int x2 )
|
void gr_rle_expand_scanline(uint8_t *dest, const uint8_t *src, int x1, int x2)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
ubyte count;
|
ubyte count;
|
||||||
|
|
|
@ -64,8 +64,8 @@ static inline rle_position_t rle_end(const T1 &src, T2 &dst)
|
||||||
rle_position_t gr_rle_decode(rle_position_t b, const rle_position_t e);
|
rle_position_t gr_rle_decode(rle_position_t b, const rle_position_t e);
|
||||||
ubyte * gr_rle_find_xth_pixel( ubyte *src, int x,int * count, ubyte color );
|
ubyte * gr_rle_find_xth_pixel( ubyte *src, int x,int * count, ubyte color );
|
||||||
int gr_bitmap_rle_compress( grs_bitmap * bmp );
|
int gr_bitmap_rle_compress( grs_bitmap * bmp );
|
||||||
void gr_rle_expand_scanline_masked( ubyte *dest, ubyte *src, int x1, int x2 );
|
void gr_rle_expand_scanline_masked(uint8_t *dest, const uint8_t *src, int x1, int x2);
|
||||||
void gr_rle_expand_scanline( ubyte *dest, ubyte *src, int x1, int x2 );
|
void gr_rle_expand_scanline(uint8_t *dest, const uint8_t *src, int x1, int x2);
|
||||||
grs_bitmap *_rle_expand_texture(const grs_bitmap &bmp);
|
grs_bitmap *_rle_expand_texture(const grs_bitmap &bmp);
|
||||||
static inline const grs_bitmap *rle_expand_texture(const grs_bitmap &bmp) __attribute_warn_unused_result;
|
static inline const grs_bitmap *rle_expand_texture(const grs_bitmap &bmp) __attribute_warn_unused_result;
|
||||||
static inline const grs_bitmap *rle_expand_texture(const grs_bitmap &bmp)
|
static inline const grs_bitmap *rle_expand_texture(const grs_bitmap &bmp)
|
||||||
|
|
Loading…
Reference in a new issue