diff options
Diffstat (limited to 'services/camera/libcameraservice/api1/client2/CaptureSequencer.h')
| -rw-r--r-- | services/camera/libcameraservice/api1/client2/CaptureSequencer.h | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/api1/client2/CaptureSequencer.h b/services/camera/libcameraservice/api1/client2/CaptureSequencer.h index d42ab13..10252fb 100644 --- a/services/camera/libcameraservice/api1/client2/CaptureSequencer.h +++ b/services/camera/libcameraservice/api1/client2/CaptureSequencer.h @@ -62,6 +62,10 @@ class CaptureSequencer:      // Notifications about AE state changes      void notifyAutoExposure(uint8_t newState, int triggerId); +    // Notifications about shutter (capture start) +    void notifyShutter(const CaptureResultExtras& resultExtras, +                       nsecs_t timestamp); +      // Notification from the frame processor      virtual void onResultAvailable(const CaptureResult &result); @@ -95,7 +99,10 @@ class CaptureSequencer:      sp<MemoryBase> mCaptureBuffer;      Condition mNewCaptureSignal; -    bool mShutterNotified; +    bool mShutterNotified; // Has CaptureSequencer sent shutter to Client +    bool mHalNotifiedShutter; // Has HAL sent shutter to CaptureSequencer +    int32_t mShutterCaptureId; // The captureId which is waiting for shutter notification +    Condition mShutterNotifySignal;      /**       * Internal to CaptureSequencer  | 
