libcamera2: Protect in-flight counts.
authorAlex Ray <aray@google.com>
Tue, 9 Apr 2013 00:44:06 +0000 (17:44 -0700)
committerThe Android Automerger <android-build@android.com>
Tue, 9 Apr 2013 23:04:51 +0000 (16:04 -0700)
commit1983f27ff90e961073f08d9f51a969367f2b3606
tree1937725885f29314487503e8ef2a16752802d930
parentd866f455acab131be8f058733abd9c1ede2fcfea
libcamera2: Protect in-flight counts.

Protect numEntries accesses with numEntriesLock.
Protect jpegEncoder accesses with jpegEncoderLock.

Bug: 8058308
Change-Id: Idc31172d7d154ae2051e9eab94dadcf8f6cdddd3
libcamera2/ExynosCameraHWInterface2.cpp
libcamera2/ExynosCameraHWInterface2.h