Scaling video using HAVi APIs