summaryrefslogtreecommitdiff
path: root/libavcodec/hqx.h
diff options
context:
space:
mode:
authorFerdinand Oeinck <ferdo@bigroses.nl>2015-04-06 15:47:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-10 03:11:40 +0200
commiteff72a6c7375587a3280ddf59e6e26a4907823b7 (patch)
tree9508f547c1f994fe32eb6041212bea4574344717 /libavcodec/hqx.h
parentb1b58310d09297eb8e64b156e6da3406bc866cce (diff)
downloadffmpeg-eff72a6c7375587a3280ddf59e6e26a4907823b7.tar.gz
libavcodec/hqx: multi threading support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hqx.h')
-rw-r--r--libavcodec/hqx.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavcodec/hqx.h b/libavcodec/hqx.h
index c4c2220c38..23e28436ad 100644
--- a/libavcodec/hqx.h
+++ b/libavcodec/hqx.h
@@ -46,11 +46,18 @@ typedef struct HQXAC {
const HQXLUT *lut;
} HQXAC;
+
+typedef struct HQXSliceData
+{
+ DECLARE_ALIGNED(16, int16_t, block)[16][64];
+
+} HQXSliceData;
+
typedef struct HQXContext {
int format, dcb, width, height;
int interlaced;
- DECLARE_ALIGNED(16, int16_t, block)[16][64];
+ HQXSliceData slice[17];
VLC cbp_vlc;
VLC dc_vlc[3];