diff options
author | Emilian Peev <epeev@mm-sol.com> | 2012-10-30 14:19:46 +0200 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-26 20:18:39 +0200 |
commit | 02bdf04d528b6bbc485606d3cf7c66203aafb87e (patch) | |
tree | b940a270fb841cc4fabf33394cb2998da529bdd8 /camera | |
parent | 9010f9444a792b248e6082007061b0c930248cea (diff) | |
download | hardware_ti_omap4-02bdf04d528b6bbc485606d3cf7c66203aafb87e.zip hardware_ti_omap4-02bdf04d528b6bbc485606d3cf7c66203aafb87e.tar.gz hardware_ti_omap4-02bdf04d528b6bbc485606d3cf7c66203aafb87e.tar.bz2 |
CameraHal: Don't try to de-queue reprocess input buffers
- Currently the CPCam implementaion in CameraHal doesn't
support continuous reprocess. Trying to dequeue further
buffers from the tapin is not needed.
Change-Id: I4674b513bfe5b659f6827e4e7e39d71f82cab082
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Diffstat (limited to 'camera')
-rw-r--r-- | camera/inc/BufferSourceAdapter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/camera/inc/BufferSourceAdapter.h b/camera/inc/BufferSourceAdapter.h index 8d1fa7c..c006b9d 100644 --- a/camera/inc/BufferSourceAdapter.h +++ b/camera/inc/BufferSourceAdapter.h @@ -134,8 +134,10 @@ private: mBufferSourceAdapter->handleFrameCallback(frame); frame->mMetaData.clear(); - // signal return frame thread that it can dequeue a buffer now - mBufferSourceAdapter->mReturnFrame->signal(); + if (frame->mFrameType != CameraFrame::REPROCESS_INPUT_FRAME) { + // signal return frame thread that it can dequeue a buffer now + mBufferSourceAdapter->mReturnFrame->signal(); + } delete frame; } |