sde: Choose appropriate rotator output format.

Select the optimal rotator output format for the input layer that
requires rotation/rotator for downscaling.

Change-Id: If10430d189b388b86a94165a5c82257e22bde516
6 files changed