Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_opus_decoder.cc93 uint32_t numChannels; in a2dp_vendor_opus_decoder_decode_packet() local
112 numChannels = opus_packet_get_nb_channels(pBuffer); in a2dp_vendor_opus_decoder_decode_packet()
122 LOG_ERROR("numChannels %d numFrames %d offset %d", numChannels, numFrames, in a2dp_vendor_opus_decoder_decode_packet()
127 numChannels = opus_packet_get_nb_channels(pBuffer); in a2dp_vendor_opus_decoder_decode_packet()
142 ret_val * numChannels * sizeof(a2dp_opus_decoder_cb.decode_buf[0]); in a2dp_vendor_opus_decoder_decode_packet()
Da2dp_aac_decoder.cc99 size_t frame_len = info->frameSize * info->numChannels * in a2dp_aac_decoder_decode_packet()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java147 int numChannels = 1; in getMaxChannels() local
150 return numChannels; in getMaxChannels()
154 if (currentNumChannels > numChannels) { in getMaxChannels()
155 numChannels = currentNumChannels; in getMaxChannels()
158 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/modules/Bluetooth/system/embdrv/sbc/decoder/
Dsbcdecoder_fuzzer.c5 #define CODEC_DATA_WORDS(numChannels, numBuffers) \ argument
6 (((sizeof(int32_t) * SBC_MAX_BLOCKS * (numChannels)*SBC_MAX_BANDS) + \
/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/modules/Wifi/service/java/com/android/server/wifi/scanner/
DChannelHelper.java310 private static String toString(WifiNative.ChannelSettings[] channels, int numChannels) { in toString() argument
317 for (int c = 0; c < numChannels; c++) { in toString()
319 if (c != numChannels - 1) { in toString()
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/include/
Doi_codec_sbc.h227 #define CODEC_DATA_WORDS(numChannels, numBuffers) \ argument
228 (((sizeof(int32_t) * SBC_MAX_BLOCKS * (numChannels)*SBC_MAX_BANDS) + \
/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()
/packages/modules/NeuralNetworks/runtime/test/
DTestValidation.cpp3652 const uint32_t numChannels = scales.size(); in createAndCompileChannelQuantConvModel() local
3655 const uint32_t inoutDimensions[] = {1, 16, 16, numChannels}; in createAndCompileChannelQuantConvModel()
3665 const uint32_t filterDimensions[] = {numChannels, 3, 3, numChannels}; in createAndCompileChannelQuantConvModel()
3675 const uint32_t biasDimensions[] = {numChannels}; in createAndCompileChannelQuantConvModel()
3702 .scaleCount = numChannels, in createAndCompileChannelQuantConvModel()