summaryrefslogtreecommitdiff
path: root/libavcodec/sunrast.h
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-02-17 02:38:51 +0530
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-17 14:28:56 -0500
commitd7840529b6aaaa24426025781e5fcde673108d39 (patch)
tree1b9b8cd473d08e8550f532ac6c9d7c10f9450eb3 /libavcodec/sunrast.h
parent1f1fbcfa71d1d3f90f90a72ba3fb32ddbb545df2 (diff)
avcodec: add a Sun Rasterfile encoder
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/sunrast.h')
-rw-r--r--libavcodec/sunrast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/sunrast.h b/libavcodec/sunrast.h
index 111e4942f8..d9fe307b67 100644
--- a/libavcodec/sunrast.h
+++ b/libavcodec/sunrast.h
@@ -24,6 +24,10 @@
#define RAS_MAGIC 0x59a66a95
+#define RMT_NONE 0
+#define RMT_EQUAL_RGB 1
+#define RMT_RAW 2 ///< the data layout of this map type is unknown
+
/* The Old and Standard format types indicate that the image data is
* uncompressed. There is no difference between the two formats. */
#define RT_OLD 0
@@ -32,6 +36,7 @@
/* The Byte-Encoded format type indicates that the image data is compressed
* using a run-length encoding scheme. */
#define RT_BYTE_ENCODED 2
+#define RLE_TRIGGER 0x80
/* The RGB format type indicates that the image is uncompressed with reverse
* component order from Old and Standard (RGB vs BGR). */