summaryrefslogtreecommitdiff
path: root/libavcodec/hap.h
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-11-21 11:55:37 +0100
committerMartin Vignali <martin.vignali@gmail.com>2017-11-21 12:05:06 +0100
commit518b9ee3d16fa0a04c2c11bc86a64fb46fc25702 (patch)
tree625212c4ec0f2049cc8e93de7307931304d28802 /libavcodec/hap.h
parentba98f8463fd1345fab173fa405ac98aefd92ed06 (diff)
avcodec/hapdec : reorganize code before adding multi-texture decoding
Diffstat (limited to 'libavcodec/hap.h')
-rw-r--r--libavcodec/hap.h2
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;