1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

libavcodec/hap: Name enums

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Tom Butterworth 2015-07-21 01:12:09 +01:00 committed by Michael Niedermayer
parent 651448a8a7
commit d8488090e5

View File

@ -29,6 +29,18 @@
#include "bytestream.h" #include "bytestream.h"
#include "texturedsp.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 { typedef struct HapContext {
AVClass *class; AVClass *class;
@ -50,16 +62,4 @@ typedef struct HapContext {
int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block); int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
} HapContext; } 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 */ #endif /* AVCODEC_HAP_H */