commit | d9b0b30cb82bab2b05e1eef5bc4bf86b45a43554 | [log] [tgz] |
---|---|---|
author | Apurva Rajguru <arajguru@quicinc.com> | Fri Feb 19 11:22:56 2010 -0800 |
committer | Mansoor Aftab <maftab@codeaurora.org> | Fri Nov 11 14:25:08 2011 -0800 |
tree | d5a88beb667c48891d7c20b46d75f75486227c89 | |
parent | a66ea911afaf7c91d974db889d7324423cdd12a6 [diff] |
Camera: Fix to increase preview FPS while recording with 720p resolution. Video Thread was holding a lock on g_busy_frame_queue.mut till the current frame was encoded. Camframe thread was waiting on this lock to add the next buffer to busy queue thus reduding FPS. Moved the unlock to just after cam_frame_get_video, so that the camframe thread can unblock immediately after a frame is given to the encoder.