diff options
author | Tyler Luu <tluu@ti.com> | 2011-10-07 11:57:42 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-10-07 11:10:18 -0700 |
commit | b0f698a6430c3a9478bd476af7189849a1fb1a9d (patch) | |
tree | 80d08c481415e2b9a84c920ae2e32b8253f312bf /camera/inc/CameraHal.h | |
parent | 058603f11e5d4355440c4289ac24e4bcd0b82db7 (diff) | |
download | hardware_ti_omap4-b0f698a6430c3a9478bd476af7189849a1fb1a9d.zip hardware_ti_omap4-b0f698a6430c3a9478bd476af7189849a1fb1a9d.tar.gz hardware_ti_omap4-b0f698a6430c3a9478bd476af7189849a1fb1a9d.tar.bz2 |
omap4xxx: camera: cancel and flush for SW JPEG encoder
Fixes b/5378650
1. Add method to externally cancel Encoder class while in the middle of
encoding.
2. Add queue in AppCallbackNotifier to track all the encoding sessions. When
stopping AppCallbackNotifier if any encoding sessions are still ongoing,
cancel and wait for the threads to return. Previously, it was possible for
Encoder threads to still be running when the preview and images buffers were
freed.
Change-Id: Ib123d1644dfa7058a6f50f0001b4d05359853827
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera/inc/CameraHal.h')
0 files changed, 0 insertions, 0 deletions