summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/camera2/JpegProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/camera/libcameraservice/camera2/JpegProcessor.h')
-rw-r--r--services/camera/libcameraservice/camera2/JpegProcessor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/camera2/JpegProcessor.h b/services/camera/libcameraservice/camera2/JpegProcessor.h
index 6e7a860..da09178 100644
--- a/services/camera/libcameraservice/camera2/JpegProcessor.h
+++ b/services/camera/libcameraservice/camera2/JpegProcessor.h
@@ -67,11 +67,14 @@ class JpegProcessor:
int mCaptureStreamId;
sp<CpuConsumer> mCaptureConsumer;
sp<ANativeWindow> mCaptureWindow;
- sp<Camera2Heap> mCaptureHeap;
+ sp<MemoryHeapBase> mCaptureHeap;
virtual bool threadLoop();
status_t processNewCapture(sp<Camera2Client> &client);
+ size_t findJpegSize(uint8_t* jpegBuffer,
+ size_t maxSize,
+ uint8_t** jpegStart);
};