comparison rle.h @ 4768:542e4c4fc15a libavcodec

move doxy from .c to .h
author michael
date Tue, 03 Apr 2007 01:20:31 +0000
parents a3667e74f44b
children 7cd3ffe4897f
comparison
equal deleted inserted replaced
4767:a3667e74f44b 4768:542e4c4fc15a
20 */ 20 */
21 21
22 #ifndef RLE_H 22 #ifndef RLE_H
23 #define RLE_H 23 #define RLE_H
24 24
25 /**
26 * RLE compress the row, with maximum size of out_size. Value before repeated bytes is (count ^ xor) + add.
27 * @param outbuf Output buffer
28 * @param out_size Maximum output size
29 * @param ptr Input buffer
30 * @param bpp Bytes per pixel
31 * @param w Image width
32 * @return Size of output in bytes, or -1 if larger than out_size
33 */
25 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w, int8_t add, uint8_t xor); 34 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w, int8_t add, uint8_t xor);
26 35
27 #endif /* RLE_H */ 36 #endif /* RLE_H */