summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/camera2/BurstCapture.cpp
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2012-10-12 16:56:11 -0700
committerIgor Murashkin <iam@google.com>2012-10-26 15:21:32 -0700
commitddf3c5025e2f6f35a4c188c19f30142c64a092c4 (patch)
tree742ea9ee2425ac6625433c401e0e992e1e84273b /services/camera/libcameraservice/camera2/BurstCapture.cpp
parent655604a7c1ffadc04ec479e4f45345918f44b460 (diff)
downloadframeworks_av-ddf3c5025e2f6f35a4c188c19f30142c64a092c4.zip
frameworks_av-ddf3c5025e2f6f35a4c188c19f30142c64a092c4.tar.gz
frameworks_av-ddf3c5025e2f6f35a4c188c19f30142c64a092c4.tar.bz2
Camera2: Compile with warnings, fix warnings
Change-Id: I557350abb32b0480f5da7dcecadfbe9edbe53361
Diffstat (limited to 'services/camera/libcameraservice/camera2/BurstCapture.cpp')
-rw-r--r--services/camera/libcameraservice/camera2/BurstCapture.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/services/camera/libcameraservice/camera2/BurstCapture.cpp b/services/camera/libcameraservice/camera2/BurstCapture.cpp
index f56c50c..192d419 100644
--- a/services/camera/libcameraservice/camera2/BurstCapture.cpp
+++ b/services/camera/libcameraservice/camera2/BurstCapture.cpp
@@ -38,7 +38,8 @@ BurstCapture::BurstCapture(wp<Camera2Client> client, wp<CaptureSequencer> sequen
BurstCapture::~BurstCapture() {
}
-status_t BurstCapture::start(Vector<CameraMetadata> &metadatas, int32_t firstCaptureId) {
+status_t BurstCapture::start(Vector<CameraMetadata> &/*metadatas*/,
+ int32_t /*firstCaptureId*/) {
ALOGE("Not completely implemented");
return INVALID_OPERATION;
}
@@ -75,7 +76,7 @@ bool BurstCapture::threadLoop() {
CpuConsumer::LockedBuffer* BurstCapture::jpegEncode(
CpuConsumer::LockedBuffer *imgBuffer,
- int quality)
+ int /*quality*/)
{
ALOGV("%s", __FUNCTION__);
@@ -91,7 +92,7 @@ CpuConsumer::LockedBuffer* BurstCapture::jpegEncode(
buffers.push_back(imgEncoded);
sp<JpegCompressor> jpeg = new JpegCompressor();
- status_t res = jpeg->start(buffers, 1);
+ jpeg->start(buffers, 1);
bool success = jpeg->waitForDone(10 * 1e9);
if(success) {
@@ -103,7 +104,7 @@ CpuConsumer::LockedBuffer* BurstCapture::jpegEncode(
}
}
-status_t BurstCapture::processFrameAvailable(sp<Camera2Client> &client) {
+status_t BurstCapture::processFrameAvailable(sp<Camera2Client> &/*client*/) {
ALOGE("Not implemented");
return INVALID_OPERATION;
}