Home
last modified time | relevance | path

Searched refs:imgout (Results 1 – 1 of 1) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp313 FILE *imgout = fopen(filename, "w"); in writeBinaryPPM() local
315 if (imgout == NULL) { in writeBinaryPPM()
321 fprintf(imgout, "P6\n%d %d\n255\n", width, height); in writeBinaryPPM()
323 fprintf(imgout, "P5\n%d %d\n255\n", width, height); in writeBinaryPPM()
327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); in writeBinaryPPM()
329 fclose(imgout); in writeBinaryPPM()