Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp284 FILE *imgin = NULL; in readBinaryPPM() local
288 imgin = fopen(filename, "r"); in readBinaryPPM()
289 if (imgin == NULL) { in readBinaryPPM()
294 eret = fscanf(imgin, "P%d\n", &format); in readBinaryPPM()
300 eret = fscanf(imgin, "%d %d\n", &width, &height); in readBinaryPPM()
301 eret = fscanf(imgin, "%d\n", &mval); in readBinaryPPM()
303 eret = fread(ret, sizeof(ImageTypeBase), IMAGE_TYPE_NUM_CHANNELS*width*height, imgin); in readBinaryPPM()
305 fclose(imgin); in readBinaryPPM()