hi,
I found the sample MutilStream can catch some JPG Images. The function is “writeJPEG”.
But I can not find the Implementation of this function.Where is the Implementation of this function?
catch the image code :tegra_multimedia_api/argus/samples/utils/JPEGConsumer.cpp
std::ostringstream fileName;
fileName << JPEG_PREFIX << std::setfill('0') << std::setw(4) << frameCount++ << ".jpg";
if (iJPEG->writeJPEG(fileName.str().c_str()) == STATUS_OK)
JPEG_CONSUMER_PRINT("Captured a still image to '%s'\n", fileName.str().c_str());
else
ORIGINATE_ERROR("Failed to write JPEG to '%s'\n", fileName.str().c_str());
}