Mercurial > libavcodec.hg
comparison rle.h @ 7760:c4a4495715dd libavcodec
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
author | stefano |
---|---|
date | Sun, 31 Aug 2008 07:39:47 +0000 |
parents | 1d83e9c34641 |
children | 25e9cb2b9477 |
comparison
equal
deleted
inserted
replaced
7759:892ca48b7d76 | 7760:c4a4495715dd |
---|---|
16 * You should have received a copy of the GNU Lesser General Public | 16 * You should have received a copy of the GNU Lesser General Public |
17 * License along with FFmpeg; if not, write to the Free Software | 17 * License along with FFmpeg; if not, write to the Free Software |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #ifndef FFMPEG_RLE_H | 21 #ifndef AVCODEC_RLE_H |
22 #define FFMPEG_RLE_H | 22 #define AVCODEC_RLE_H |
23 | 23 |
24 #include <stdint.h> | 24 #include <stdint.h> |
25 | 25 |
26 /** | 26 /** |
27 * RLE compress the row, with maximum size of out_size. Value before repeated bytes is (count ^ xor_rep) + add_rep. | 27 * RLE compress the row, with maximum size of out_size. Value before repeated bytes is (count ^ xor_rep) + add_rep. |
34 * @return Size of output in bytes, or -1 if larger than out_size | 34 * @return Size of output in bytes, or -1 if larger than out_size |
35 */ | 35 */ |
36 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w, | 36 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w, |
37 int add_rep, int xor_rep, int add_raw, int xor_raw); | 37 int add_rep, int xor_rep, int add_raw, int xor_raw); |
38 | 38 |
39 #endif /* FFMPEG_RLE_H */ | 39 #endif /* AVCODEC_RLE_H */ |