libtorc-video: Refactor VDA code