Searched defs:numChannels (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DPyramid.h36 real numChannels; // Number of channels in input images member in class:PyramidShort
H A DImageUtils.cpp311 void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) argument
320 if (numChannels == 3) {
322 } else if (numChannels == 1) {
327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout);
333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) argument
336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase));
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.h36 real numChannels; // Number of channels in input images member in class:PyramidShort
H A DImageUtils.cpp311 void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) argument
320 if (numChannels == 3) {
322 } else if (numChannels == 1) {
327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout);
333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) argument
336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase));

Completed in 99 milliseconds