Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java193 int numChannels = 1; in getMaxChannels() local
196 return numChannels; in getMaxChannels()
200 if (currentNumChannels > numChannels) { in getMaxChannels()
201 numChannels = currentNumChannels; in getMaxChannels()
204 return numChannels; in getMaxChannels()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp311 …tils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) in writeBinaryPPM() argument
320 if (numChannels == 3) { in writeBinaryPPM()
322 } else if (numChannels == 1) { in writeBinaryPPM()
327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); in writeBinaryPPM()
333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) in allocateImage() argument
336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase)); in allocateImage()
DImageUtils.h102 …yPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NU…
107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
DPyramid.h36 real numChannels; // Number of channels in input images variable
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java191 int numChannels = RggbChannelVector.COUNT; in toString() local
193 for (int ch = 0; ch < numChannels; ch++) { in toString()
213 if (ch < numChannels - 1) { in toString()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java389 int numChannels, in Ac3AudioDescriptor() argument
404 mNumChannels = numChannels; in Ac3AudioDescriptor()
DSectionParser.java1772 int numChannels = (data[pos] & 0x1e) >> 1; in parseAc3AudioStream() local
1777 if (numChannels == 0) { in parseAc3AudioStream()
1806 switch (numChannels) { in parseAc3AudioStream()