csc: allow compiling with multiple HW types
authorGreg Hackmann <ghackmann@google.com>
Mon, 14 Jan 2013 23:30:24 +0000 (15:30 -0800)
committerGreg Hackmann <ghackmann@google.com>
Tue, 5 Feb 2013 17:56:31 +0000 (09:56 -0800)
commitc3fb36ed7a4d3d0a5a54f32b1113894651d3b9fe
tree2ad323b4544f5584a4e6bba2009bb2311dfa34e3
parent8c372e39ec50e4f441fcc04de8dc1a7f67ae268a
csc: allow compiling with multiple HW types

Once G2D support is added, the same binary should be usable for either
Gscaler or G2D.  The HW type is controlled through the new property
CSC_HW_PROPERTY_HW_TYPE.

Also return an error if any hardware properties are set after the device
is already opened.  This didn't work before and should never happen, but
it's worth adding a check just in case.

Change-Id: I6d3fab4e777395a7e14a1f54353100902c76f75e
Signed-off-by: Greg Hackmann <ghackmann@google.com>
exynos_omx/openmax/exynos_omx/component/video/dec/h264/Exynos_OMX_H264dec.c
exynos_omx/openmax/exynos_omx/component/video/enc/Exynos_OMX_Venc.c
libcamera2/ExynosCameraHWInterface2.cpp
libcsc/csc.c
libcsc/csc.h