Added ability to set depth mode formats

Change-Id: I1170de345739c547d24c1c2a56ca5615009fc56e