Revision ad1862d6
libavcodec/alpha/simple_idct_alpha.c  

46  46 
/* 0: all entries 0, 1: only first entry nonzero, 2: otherwise */ 
47  47 
static inline int idct_row(DCTELEM *row) 
48  48 
{ 
49 
int_fast32_t a0, a1, a2, a3, b0, b1, b2, b3, t;


49 
int a0, a1, a2, a3, b0, b1, b2, b3, t; 

50  50 
uint64_t l, r, t2; 
51  51 
l = ldq(row); 
52  52 
r = ldq(row + 4); 
...  ...  
154  154  
155  155 
static inline void idct_col(DCTELEM *col) 
156  156 
{ 
157 
int_fast32_t a0, a1, a2, a3, b0, b1, b2, b3;


157 
int a0, a1, a2, a3, b0, b1, b2, b3; 

158  158  
159  159 
col[0] += (1 << (COL_SHIFT  1)) / W4; 
160  160  
...  ...  
235  235 
uint64_t l, r; 
236  236  
237  237 
for (i = 0; i < 8; ++i) { 
238 
int_fast32_t a0 = col[i] + (1 << (COL_SHIFT  1)) / W4;


238 
int a0 = col[i] + (1 << (COL_SHIFT  1)) / W4; 

239  239  
240  240 
a0 *= W4; 
241  241 
col[i] = a0 >> COL_SHIFT; 
Also available in: Unified diff