Commit d8488090 authored by Tom Butterworth's avatar Tom Butterworth Committed by Michael Niedermayer

libavcodec/hap: Name enums

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 651448a8
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment