sdm: Add interface support to pass/get buffer information

1. Add interface to pass layer buffer width and height.
2. Replace src_width and src_height with src_rect and dst_rect interface
   respectively.
3. Add GetBufferSize() interface to get the buffer size for specific
   configuration.

Change-Id: I78fb26d976f87c46bbad6c7af2eb51ab97e08c4d
4 files changed