Revision 65df5449
libavcodec/rle.c | ||
---|---|---|
58 | 58 |
int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr , int bpp, int w, int8_t add, uint8_t xor) |
59 | 59 |
{ |
60 | 60 |
int count, x; |
61 |
uint8_t *out; |
|
62 |
|
|
63 |
out = outbuf; |
|
61 |
uint8_t *out = outbuf; |
|
64 | 62 |
|
65 | 63 |
for(x = 0; x < w; x += count) { |
66 | 64 |
/* see if we can encode the next set of pixels with RLE */ |
Also available in: Unified diff