VDPAU redesign

This PR replaces #870. Now it focuses on vdpau only, optimizations to dropping control can be done later.