int A1,A2,A3,A4, x;
int x;
static void horizontal_decomposeX(DWTELEM *b, int width){    DWTELEM temp[width];    const int width2= width>>1;    const int w2= (width+1)>>1;    int A1,A2,A3,A4, x;    inplace_lift(b, width, COEFFS1, N1, SHIFT1, LX1, 0);    inplace_lift(b, width, COEFFS2, N2, SHIFT2, LX0, 0);    inplace_lift(b, width, COEFFS3, N3, SHIFT3, LX1, 0);    inplace_lift(b, width, COEFFS4, N4, SHIFT4, LX0, 0);        for(x=0; x<width2; x++){        temp[x   ]= b[2*x    ];        temp[x+w2]= b[2*x + 1];    }    if(width&1)        temp[x   ]= b[2*x    ];    memcpy(b, temp, width*sizeof(int));}