Mercurial > libavcodec.hg
comparison asv1.c @ 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 | 48759bfbd073 |
children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
6570:51a4d1e4d70a | 6571:ad0c77d2b6ee |
---|---|
45 int inv_qscale; | 45 int inv_qscale; |
46 int mb_width; | 46 int mb_width; |
47 int mb_height; | 47 int mb_height; |
48 int mb_width2; | 48 int mb_width2; |
49 int mb_height2; | 49 int mb_height2; |
50 DECLARE_ALIGNED_8(DCTELEM, block[6][64]); | 50 DECLARE_ALIGNED_16(DCTELEM, block[6][64]); |
51 DECLARE_ALIGNED_8(uint16_t, intra_matrix[64]); | 51 DECLARE_ALIGNED_8(uint16_t, intra_matrix[64]); |
52 DECLARE_ALIGNED_8(int, q_intra_matrix[64]); | 52 DECLARE_ALIGNED_8(int, q_intra_matrix[64]); |
53 uint8_t *bitstream_buffer; | 53 uint8_t *bitstream_buffer; |
54 unsigned int bitstream_buffer_size; | 54 unsigned int bitstream_buffer_size; |
55 } ASV1Context; | 55 } ASV1Context; |