Mercurial > libavcodec.hg
comparison rle.c @ 4772:3cd67a410b68 libavcodec
dont use *int8_t for the arguments (ive missed that in the patches ...)
author | michael |
---|---|
date | Tue, 03 Apr 2007 06:46:12 +0000 |
parents | 7cd3ffe4897f |
children | 2b72f9bc4f06 |
comparison
equal
deleted
inserted
replaced
4771:7cd3ffe4897f | 4772:3cd67a410b68 |
---|---|
54 | 54 |
55 return count; | 55 return count; |
56 } | 56 } |
57 | 57 |
58 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr , int bpp, int w, | 58 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr , int bpp, int w, |
59 int8_t add_rep, uint8_t xor_rep,int8_t add_raw,uint8_t xor_raw) | 59 int add_rep, int xor_rep, int add_raw, int xor_raw) |
60 { | 60 { |
61 int count, x; | 61 int count, x; |
62 uint8_t *out = outbuf; | 62 uint8_t *out = outbuf; |
63 | 63 |
64 for(x = 0; x < w; x += count) { | 64 for(x = 0; x < w; x += count) { |