diff options
author | Ferdinand Oeinck <ferdo@bigroses.nl> | 2015-04-06 15:47:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-10 03:11:40 +0200 |
commit | eff72a6c7375587a3280ddf59e6e26a4907823b7 (patch) | |
tree | 9508f547c1f994fe32eb6041212bea4574344717 /libavcodec/hqx.h | |
parent | b1b58310d09297eb8e64b156e6da3406bc866cce (diff) | |
download | ffmpeg-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.h | 9 |
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]; |