Mercurial > libavcodec.hg
comparison mjpegdec.h @ 6571:ad0c77d2b6ee libavcodec
Increase alignment for DCT block arrays from 8 to 16
Patch by Alexander Strange ( astrange ithinksw com )
author | superdump |
---|---|
date | Tue, 08 Apr 2008 01:09:33 +0000 |
parents | 7fa807dd7958 |
children | c4a4495715dd |
comparison
equal
deleted
inserted
replaced
6570:51a4d1e4d70a | 6571:ad0c77d2b6ee |
---|---|
80 int quant_index[4]; /* quant table index for each component */ | 80 int quant_index[4]; /* quant table index for each component */ |
81 int last_dc[MAX_COMPONENTS]; /* last DEQUANTIZED dc (XXX: am I right to do that ?) */ | 81 int last_dc[MAX_COMPONENTS]; /* last DEQUANTIZED dc (XXX: am I right to do that ?) */ |
82 AVFrame picture; /* picture structure */ | 82 AVFrame picture; /* picture structure */ |
83 int linesize[MAX_COMPONENTS]; ///< linesize << interlaced | 83 int linesize[MAX_COMPONENTS]; ///< linesize << interlaced |
84 int8_t *qscale_table; | 84 int8_t *qscale_table; |
85 DECLARE_ALIGNED_8(DCTELEM, block[64]); | 85 DECLARE_ALIGNED_16(DCTELEM, block[64]); |
86 ScanTable scantable; | 86 ScanTable scantable; |
87 DSPContext dsp; | 87 DSPContext dsp; |
88 | 88 |
89 int restart_interval; | 89 int restart_interval; |
90 int restart_count; | 90 int restart_count; |