summaryrefslogtreecommitdiff
path: root/libavcodec/rle.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-06-26 20:08:56 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-06-29 15:25:42 -0400
commiteeb6849cedac099d41feb482da581f4059c63ca7 (patch)
treec6b1f1fc71bd58cb53af7c176947655131bbe687 /libavcodec/rle.h
parent326d9116936ab61d13ac4142b49c7337daf7c4c0 (diff)
rle: K&R formatting cosmetics
Diffstat (limited to 'libavcodec/rle.h')
-rw-r--r--libavcodec/rle.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/rle.h b/libavcodec/rle.h
index c9677647cb..f1b0c78ace 100644
--- a/libavcodec/rle.h
+++ b/libavcodec/rle.h
@@ -35,8 +35,9 @@
int ff_rle_count_pixels(const uint8_t *start, int len, int bpp, int same);
/**
- * RLE compress the row, with maximum size of out_size. Value before repeated bytes is (count ^ xor_rep) + add_rep.
- * Value before raw bytes is (count ^ xor_raw) + add_raw.
+ * RLE compress the row, with maximum size of out_size.
+ * Value before repeated bytes is (count ^ xor_rep) + add_rep.
+ * Value before raw bytes is (count ^ xor_raw) + add_raw.
* @param outbuf Output buffer
* @param out_size Maximum output size
* @param inbuf Input buffer
@@ -44,7 +45,7 @@ int ff_rle_count_pixels(const uint8_t *start, int len, int bpp, int same);
* @param w Image width
* @return Size of output in bytes, or -1 if larger than out_size
*/
-int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w,
- int add_rep, int xor_rep, int add_raw, int xor_raw);
+int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp,
+ int w, int add_rep, int xor_rep, int add_raw, int xor_raw);
#endif /* AVCODEC_RLE_H */