added decoder orientation & scale