commit | 048311f8340f7e9f61df140b92e8e04284286b35 | [log] [tgz] |
---|---|---|
author | Wind Yuan <feng.yuan@intel.com> | Mon Feb 15 03:07:46 2016 +0800 |
committer | Wind Yuan <feng.yuan@intel.com> | Sat Feb 20 01:18:55 2016 +0800 |
tree | d802361015963ac2920b9f66959970224e4171cc | |
parent | 8e5e3e4bb0c6f1fd26b577d3cc21020fb2b338c6 [diff] |
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>