cl: support swap buffer for image handler

 * SwappedBuffer can clone a new buffer for Y or UV swap
 * DrmBoBuffer/CLImageBoBuffer derived from SwappedBuffer
 * CLImageHandler can enable buffer pool for swap buffers.
 * CLCloneImageHandler is a pure clone buffer clone handler
 * e.g image with format NV12 with SwapY, the memory plane
   orders are Y0, UV and another Y1; offsets point to Y0 and
   Y1 can swap and keep UV offsets same.

Signed-off-by: Wind Yuan <feng.yuan@intel.com>
12 files changed