Camera3: Avoid Postproc de-initialization during stop
The 'Postproc' thread can be de-initialized
twice as part of the picture channel stop
sequence. The thread is launched only once
though as part of the postproc object
construction and the second stop attempt
can hang. To resolve this 'deinit' will
be called as part of the picture channel
destructor sequence.
All process requests during flush will
also return immediately.
Buffers for regular channel will be
unregistered when the stream is destroyed.
Bug: 18258028
Change-Id: Icf6f8dfa0e68bbb8d19f741499018ef1efae3ae9
5 files changed