dvs encoding