Mercurial > libavcodec.hg
comparison mdec.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 | b87b1aba5d89 |
comparison
equal
deleted
inserted
replaced
6570:51a4d1e4d70a | 6571:ad0c77d2b6ee |
---|---|
45 int qscale; | 45 int qscale; |
46 int last_dc[3]; | 46 int last_dc[3]; |
47 int mb_width; | 47 int mb_width; |
48 int mb_height; | 48 int mb_height; |
49 int mb_x, mb_y; | 49 int mb_x, mb_y; |
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 int block_last_index[6]; | 55 int block_last_index[6]; |