swvenc : Sanitize buffer to native colorformat

  Buffers coming in from non-camera sources (e.g. apps) that aren't aware
  of vendor's color format flavours will provide input in standard NV12
  format.  Before providing it to sw encoder, we need to convert into native
  NV12 format.

Change-Id: I424c5fa34014abc7ddd0df8b40c7e80088e68dd1
2 files changed