diff options
author | phintuka <phintuka> | 2012-01-24 11:23:10 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2012-01-24 11:23:10 +0000 |
commit | 57bb1b3b79d35c546fb977390361e52fde8b2560 (patch) | |
tree | 8a52fae0c4ee48f4517bed27134536691ffeb8c3 /tools/rle.h | |
parent | 67bb3edbfa9dbd34ed8bac9f1af057fee3424a78 (diff) | |
download | xineliboutput-57bb1b3b79d35c546fb977390361e52fde8b2560.tar.gz xineliboutput-57bb1b3b79d35c546fb977390361e52fde8b2560.tar.bz2 |
Added RLE -> RGBA functions (used with OpenGL)
Diffstat (limited to 'tools/rle.h')
-rw-r--r-- | tools/rle.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/rle.h b/tools/rle.h index 5ff5c682..9f35a8c6 100644 --- a/tools/rle.h +++ b/tools/rle.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: rle.h,v 1.6 2011-03-08 08:55:14 phintuka Exp $ + * $Id: rle.h,v 1.7 2012-01-24 11:23:10 phintuka Exp $ * */ @@ -30,6 +30,7 @@ uint rle_compress_net(uint8_t **rle_data, uint *elems, const uint8_t *data, uint uint rle_recompress_net(uint8_t *raw, xine_rle_elem_t *data, uint elems); void rle_palette_to_argb(uint32_t *argb, const struct xine_clut_s *palette, uint entries); +void rle_palette_to_rgba(uint32_t *rgba, const struct xine_clut_s *palette, uint entries); void rle_uncompress_lut8(uint8_t *dst, uint w, uint h, uint stride, @@ -38,6 +39,10 @@ void rle_uncompress_argb(uint32_t *dst, uint w, uint h, uint stride, const struct xine_rle_elem_s *rle_data, uint num_rle, const struct xine_clut_s *palette, uint palette_entries); +void rle_uncompress_rgba(uint32_t *dst, + uint w, uint h, uint stride, + const struct xine_rle_elem_s *rle_data, uint num_rle, + const struct xine_clut_s *palette, uint palette_entries); /* * rle_scale_nearest() |