add some base code for motion blur support.