UINT32 VIP_GetRegisterType(UINT32 ulRegisterType) { switch (ulRegisterType) { case 0: //VIP type return 0xBE1C0000; case 0x10000000: //TV Encoder type return 0xBE288000; case 0x20000000: return 0xBE2c0000; case 0x30000000: return 0xBE2d0000; default: return 0xBE1C0000; } }