Some minor polishing.

Change-Id: I2e8f2bf3671e9676f115aaa894684618087e979d
This commit is contained in:
Vladimir Chtchetkine
2011-09-23 14:41:46 -07:00
parent 55d41f8969
commit 1bc31fe7e0

View File

@@ -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(),