diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2017-11-21 13:55:37 +0300 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2017-11-21 14:05:06 +0300 |
commit | 518b9ee3d16fa0a04c2c11bc86a64fb46fc25702 (patch) | |
tree | 625212c4ec0f2049cc8e93de7307931304d28802 /libavcodec/hap.h | |
parent | ba98f8463fd1345fab173fa405ac98aefd92ed06 (diff) |
avcodec/hapdec : reorganize code before adding multi-texture decoding
Diffstat (limited to 'libavcodec/hap.h')
-rw-r--r-- | libavcodec/hap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hap.h b/libavcodec/hap.h index 0ee65335d9..b80511d6a4 100644 --- a/libavcodec/hap.h +++ b/libavcodec/hap.h @@ -81,6 +81,8 @@ typedef struct HapContext { int slice_count; /* Number of slices for threaded operations */ + int texture_count; /* 2 for HAQA, 1 for other version */ + /* Pointer to the selected compress or decompress function */ int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block); } HapContext; |