Commit eff72a6c authored by Ferdinand Oeinck's avatar Ferdinand Oeinck Committed by Michael Niedermayer

libavcodec/hqx: multi threading support

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b1b58310
This diff is collapsed.
...@@ -46,11 +46,18 @@ typedef struct HQXAC { ...@@ -46,11 +46,18 @@ typedef struct HQXAC {
const HQXLUT *lut; const HQXLUT *lut;
} HQXAC; } HQXAC;
typedef struct HQXSliceData
{
DECLARE_ALIGNED(16, int16_t, block)[16][64];
} HQXSliceData;
typedef struct HQXContext { typedef struct HQXContext {
int format, dcb, width, height; int format, dcb, width, height;
int interlaced; int interlaced;
DECLARE_ALIGNED(16, int16_t, block)[16][64]; HQXSliceData slice[17];
VLC cbp_vlc; VLC cbp_vlc;
VLC dc_vlc[3]; VLC dc_vlc[3];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment