processor: cl support whitebalance from 3a analyzer
* isp processor only need to handle exposure
* cl processor can handle whitebalance and blacklevel
* disable hdr in test-dev-manager which brought whitebalance
too green
* test cmdline:
./test-device-manager -f BA10 -m dma -c -d still -p
diff --git a/xcore/cl_image_processor.h b/xcore/cl_image_processor.h
index 9f7be8f..b27015f 100644
--- a/xcore/cl_image_processor.h
+++ b/xcore/cl_image_processor.h
@@ -55,6 +55,13 @@
virtual XCamReturn create_handlers ();
XCAM_DEAD_COPY (CLImageProcessor);
+protected:
+
+// STREAM_LOCK only used in class derived from CLImageProcessor
+#define STREAM_LOCK SmartLock stream_lock (this->_stream_mutex)
+ // stream lock
+ Mutex _stream_mutex;
+
private:
SmartPtr<CLContext> _context;
ImageHandlerList _handlers;