libcsc: supported various buf mem_types.
authormeka rama <v.meka@samsung.com>
Thu, 29 Nov 2012 05:53:47 +0000 (14:53 +0900)
committerJihun Kim <jihun.kim@samsung.com>
Thu, 29 Nov 2012 10:04:05 +0000 (19:04 +0900)
commitf6cd1b2052c90ece97a3a599a37f108f4bdf7448
treeb8cd0423d62a2b796f76ab14288fb682bd71d2fc
parentda0724169b24eddbf9ff75a84c794955eee4e46c
libcsc: supported various buf mem_types.

user can set the mem_type by passing proper param to
csc_set_src_buffer & csc_set_dst_buffer.
supported types are CSC_MEMORY_MMAP,  CSC_MEMORY_USERPTR,  CSC_MEMORY_OVERLAY,
CSC_MEMORY_DMABUF.

API:
CSC_ERRORCODE csc_set_src_buffer(
    void *handle,
    void *addr[CSC_MAX_PLANES],
    int mem_type);

Change-Id: I1027cf4058a1574061cabc0521fb77cb3c6da215
Signed-off-by: meka rama <v.meka@samsung.com>
include/csc.h
libcsc/csc.c