aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hap.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-21 20:20:25 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-21 20:21:54 +0200
commit2de5737ee21d99248265427fe9c211ae1d9196f6 (patch)
tree498d8ee120922316a883506cdc5c7b668c88c4bb /libavcodec/hap.h
parentd2b78fe6b71f3637ea61c71c0dde1fe3e2544177 (diff)
parent977105407cae55876041dddbf4ce0934cdd4cd6c (diff)
downloadffmpeg-2de5737ee21d99248265427fe9c211ae1d9196f6.tar.gz
Merge commit '977105407cae55876041dddbf4ce0934cdd4cd6c'
* commit '977105407cae55876041dddbf4ce0934cdd4cd6c': hap: Decode using optimal slices sizes Merged-by: Michael Niedermayer <michael@niedermayer.cc>
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 f36d09a6cd..8840851fd7 100644
--- a/libavcodec/hap.h
+++ b/libavcodec/hap.h
@@ -57,6 +57,8 @@ typedef struct HapContext {
uint8_t *snappied; /* Buffer interacting with snappy */
size_t max_snappy; /* Maximum compressed size for snappy buffer */
+ int slice_size; /* Optimal slice size */
+
/* Pointer to the selected compress or decompress function */
int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
} HapContext;