From 1bc31fe7e08ea5fddbd61bf09059c5b2148eb043 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 23 Sep 2011 14:41:46 -0700 Subject: [PATCH] Some minor polishing. Change-Id: I2e8f2bf3671e9676f115aaa894684618087e979d --- tools/emulator/system/camera/CallbackNotifier.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/emulator/system/camera/CallbackNotifier.cpp b/tools/emulator/system/camera/CallbackNotifier.cpp index e6ec37e00..a877b4095 100755 --- a/tools/emulator/system/camera/CallbackNotifier.cpp +++ b/tools/emulator/system/camera/CallbackNotifier.cpp @@ -234,7 +234,8 @@ void CallbackNotifier::onNextFrameAvailable(const void* frame, mNotifyCB(CAMERA_MSG_RAW_IMAGE_NOTIFY, 0, 0, mCBOpaque); } if (isMessageEnabled(CAMERA_MSG_COMPRESSED_IMAGE)) { - /* Compress the frame to JPEG. TODO: Make sure that frame is NV21! */ + /* Compress the frame to JPEG. Note that when taking pictures, we + * have requested camera device to provide us with NV21 frames. */ NV21JpegCompressor compressor; status_t res = compressor.compressRawImage(frame, camera_dev->getFrameWidth(),