mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-04 03:28:05 +00:00
hap: Name enums, remove unused struct member
This commit is contained in:
parent
083cbc930d
commit
11f3d5c69b
@ -29,12 +29,23 @@
|
|||||||
#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;
|
||||||
|
|
||||||
TextureDSPContext dxtc;
|
TextureDSPContext dxtc;
|
||||||
GetByteContext gbc;
|
GetByteContext gbc;
|
||||||
PutByteContext pbc;
|
|
||||||
|
|
||||||
int section_type; /* Header type */
|
int section_type; /* Header type */
|
||||||
|
|
||||||
@ -52,16 +63,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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user