DCT_Y = new SWORD[DCT_Y_Len];
DCT_CB = new SWORD[Y_MCU_nr*X_MCU_nr*64];
DCT_CR = new SWORD[Y_MCU_nr*X_MCU_nr*64];
iDCT_Y = DCT_Y;iDCT_CB = DCT_CB;iDCT_CR = DCT_CR;
双指针进行控制,一个控制另外一个,另外一个不改变。
typedef void (*decode_MCU_func) (DWORD);
decode_MCU_func decode_MCU;
if ((YH==1)&&(YV==1))
{
decode_MCU=decode_MCU_1x1;
decode_MCU_DCT = decode_MCU_1x1_DCT;
}进行不同的函数入口时候用此方法