diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2017-11-21 11:55:37 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2017-11-21 12:05:06 +0100 |
commit | 518b9ee3d16fa0a04c2c11bc86a64fb46fc25702 (patch) | |
tree | 625212c4ec0f2049cc8e93de7307931304d28802 /libavcodec/hap.h | |
parent | ba98f8463fd1345fab173fa405ac98aefd92ed06 (diff) | |
download | ffmpeg-518b9ee3d16fa0a04c2c11bc86a64fb46fc25702.tar.gz |
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; |