diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-04-03 05:01:46 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-04-03 05:01:46 +0400 |
commit | 1ca286e194226a05cc3d4aed50ee780e7f078721 (patch) | |
tree | 61dc09f37f34e303ce3d4929c5ae93a61423356e /libavcodec/rle.h | |
parent | b56a8374b1802be699676c0b84d3edfefbdee011 (diff) |
generic rle encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
Originally committed as revision 8598 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rle.h')
-rw-r--r-- | libavcodec/rle.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libavcodec/rle.h b/libavcodec/rle.h new file mode 100644 index 0000000000..8961dee3d3 --- /dev/null +++ b/libavcodec/rle.h @@ -0,0 +1,27 @@ +/* + * RLE encoder + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef RLE_H +#define RLE_H + +int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w, int8_t add, uint8_t xor); + +#endif /* RLE_H */ |