Revision bee38515 libavcodec/rle.h

View differences:

libavcodec/rle.h
22 22
#ifndef RLE_H
23 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 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 36
#endif /* RLE_H */

Also available in: Unified diff