aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorTom Butterworth <bangnoise@gmail.com>2015-07-21 01:12:09 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-21 03:14:53 +0200
commitd8488090e5070187e9d8d0a93b8d841f26bde990 (patch)
tree8df85d13770415deb71740f73e55aecd2331f5d7 /libavcodec
parent651448a8a7bdeecc96705e4020f7dfbf02afce9b (diff)
downloadffmpeg-d8488090e5070187e9d8d0a93b8d841f26bde990.tar.gz
libavcodec/hap: Name enums
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hap.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libavcodec/hap.h b/libavcodec/hap.h
index bd0fd37f1c..48283b7f2d 100644
--- a/libavcodec/hap.h
+++ b/libavcodec/hap.h
@@ -29,6 +29,18 @@
#include "bytestream.h"
#include "texturedsp.h"
+enum HapTextureFormat {
+ HAP_FMT_RGBDXT1 = 0x0B,
+ HAP_FMT_RGBADXT5 = 0x0E,
+ HAP_FMT_YCOCGDXT5 = 0x0F,
+};
+
+enum HapCompressor {
+ HAP_COMP_NONE = 0xA0,
+ HAP_COMP_SNAPPY = 0xB0,
+ HAP_COMP_COMPLEX = 0xC0,
+};
+
typedef struct HapContext {
AVClass *class;
@@ -50,16 +62,4 @@ typedef struct HapContext {
int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
} HapContext;
-enum {
- HAP_FMT_RGBDXT1 = 0x0B,
- HAP_FMT_RGBADXT5 = 0x0E,
- HAP_FMT_YCOCGDXT5 = 0x0F,
-};
-
-enum {
- HAP_COMP_NONE = 0xA0,
- HAP_COMP_SNAPPY = 0xB0,
- HAP_COMP_COMPLEX = 0xC0,
-};
-
#endif /* AVCODEC_HAP_H */