From 1ca286e194226a05cc3d4aed50ee780e7f078721 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 3 Apr 2007 01:01:46 +0000 Subject: generic rle encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl Originally committed as revision 8598 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rle.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 libavcodec/rle.h (limited to 'libavcodec/rle.h') 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 */ -- cgit v1.2.3