Revision cc611675 libavcodec/faanidct.c

View differences:

libavcodec/faanidct.c
47 47

  
48 48
static inline void p8idct(DCTELEM data[64], FLOAT temp[64], uint8_t *dest, int stride, int x, int y, int type){
49 49
    int i;
50
    FLOAT tmp0, tmp1;
50
    FLOAT tmp0;
51 51
    FLOAT s04, d04, s17, d17, s26, d26, s53, d53;
52 52
    FLOAT os07, os16, os25, os34;
53 53
    FLOAT od07, od16, od25, od34;
......
76 76

  
77 77
        s26 = temp[2*x + i] + temp[6*x + i];
78 78
        d26 = temp[2*x + i] - temp[6*x + i];
79
        tmp1= d26*(2*A4) - s26;
79
        d26*= 2*A4;
80
        d26-= s26;
80 81

  
81 82
        s04= temp[0*x + i] + temp[4*x + i];
82 83
        d04= temp[0*x + i] - temp[4*x + i];
83 84

  
84 85
        os07= s04 + s26;
85 86
        os34= s04 - s26;
86
        os16= d04 + tmp1;
87
        os25= d04 - tmp1;
87
        os16= d04 + d26;
88
        os25= d04 - d26;
88 89

  
89 90
        if(type==0){
90 91
            temp[0*x + i]= os07 + od07;

Also available in: Unified diff