summaryrefslogtreecommitdiff
path: root/libavcodec/targa.h
diff options
context:
space:
mode:
authorBobby Bingham <uhmmmm@gmail.com>2012-10-07 23:59:59 -0500
committerBobby Bingham <uhmmmm@gmail.com>2012-10-08 22:47:57 -0500
commit3d9cdfdce76a121945c3626a66739f47a055e103 (patch)
tree1d2630bb37d84bc3e58a921e754e6f132bbf697c /libavcodec/targa.h
parentd07940b76d03d8dd70410b44b8ae9b86dcf08e4e (diff)
targa: use named constants for flag values
Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
Diffstat (limited to 'libavcodec/targa.h')
-rw-r--r--libavcodec/targa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/targa.h b/libavcodec/targa.h
index 158a5ea0f4..2f2e3829dd 100644
--- a/libavcodec/targa.h
+++ b/libavcodec/targa.h
@@ -38,4 +38,9 @@ enum TargaCompr {
TGA_RLE = 8, // flag pointing that data is RLE-coded
};
+enum TargaFlags {
+ TGA_RIGHTTOLEFT = 0x10, // right-to-left (flipped horizontally)
+ TGA_TOPTOBOTTOM = 0x20, // top-to-bottom (NOT flipped vertically)
+};
+
#endif /* AVCODEC_TARGA_H */