static void h264_luma_dc_dequant_idct_c(DCTELEM *block, int qp){ const int qmul= dequant_coeff[qp][0];
static void h264_luma_dc_dequant_idct_c(DCTELEM *block, int qp, int qmul){
static void h264_luma_dc_dequant_idct_c(DCTELEM *block, int qp){    const int qmul= dequant_coeff[qp][0];#define stride 16    int i;    int temp[16]; //FIXME check if this is a good idea    static const int x_offset[4]={0, 1*stride, 4* stride,  5*stride};    static const int y_offset[4]={0, 2*stride, 8* stride, 10*stride};//memset(block, 64, 2*256);//return;    for(i=0; i<4; i++){        const int offset= y_offset[i];        const int z0= block[offset+stride*0] + block[offset+stride*4];        const int z1= block[offset+stride*0] - block[offset+stride*4];        const int z2= block[offset+stride*1] - block[offset+stride*5];        const int z3= block[offset+stride*1] + block[offset+stride*5];        temp[4*i+0]= z0+z3;        temp[4*i+1]= z1+z2;        temp[4*i+2]= z1-z2;        temp[4*i+3]= z0-z3;    }    for(i=0; i<4; i++){        const int offset= x_offset[i];        const int z0= temp[4*0+i] + temp[4*2+i];        const int z1= temp[4*0+i] - temp[4*2+i];        const int z2= temp[4*1+i] - temp[4*3+i];        const int z3= temp[4*1+i] + temp[4*3+i];        block[stride*0 +offset]= ((z0 + z3)*qmul + 2)>>2; //FIXME think about merging this into decode_resdual        block[stride*2 +offset]= ((z1 + z2)*qmul + 2)>>2;        block[stride*8 +offset]= ((z1 - z2)*qmul + 2)>>2;        block[stride*10+offset]= ((z0 - z3)*qmul + 2)>>2;    }}