diff options
author | Dan Stoza <stoza@google.com> | 2014-11-04 11:32:52 -0800 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2014-11-04 11:32:52 -0800 |
commit | 04f101c35eaa90b1f95939afac30674ec1611e6f (patch) | |
tree | 638649883fdc1e7329b9334b5a1a7461b7421942 /services/camera/libcameraservice/api1/client2/JpegProcessor.h | |
parent | 151b3f41ffcdf187580542ba0c0d3b84df16beed (diff) | |
download | frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.zip frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.tar.gz frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.tar.bz2 |
Add a BufferItem parameter to onFrameAvailable
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
Diffstat (limited to 'services/camera/libcameraservice/api1/client2/JpegProcessor.h')
-rw-r--r-- | services/camera/libcameraservice/api1/client2/JpegProcessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/api1/client2/JpegProcessor.h b/services/camera/libcameraservice/api1/client2/JpegProcessor.h index b2c05df..2040b30 100644 --- a/services/camera/libcameraservice/api1/client2/JpegProcessor.h +++ b/services/camera/libcameraservice/api1/client2/JpegProcessor.h @@ -47,7 +47,7 @@ class JpegProcessor: ~JpegProcessor(); // CpuConsumer listener implementation - void onFrameAvailable(); + void onFrameAvailable(const BufferItem& item); status_t updateStream(const Parameters ¶ms); status_t deleteStream(); |