Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp266 const int numChannels = getNumUsedChannels(mapVkFormat(m_inputFormat).order); in initPrograms() local
267 const deUint32 numScalarsPerVertex = numChannels * 3; // Use 3 identical attributes in initPrograms()
272 if (numChannels == 1) in initPrograms()
292 attributeTypeStr << numChannels; in initPrograms()
299 for (int chanNdx = 0; chanNdx < numChannels; chanNdx++) in initPrograms()
304 if (numChannels == 1) in initPrograms()
644 const int numChannels = getNumUsedChannels(mapVkFormat(m_inputFormat).order); in VertexAccessInstance() local
646 …m_outBufferSize = getBufferSizeInBytes(m_numVertices * m_numInstances * numChannels * 3, VK_FORMAT… in VertexAccessInstance()
794 const deUint32 numChannels = getNumUsedChannels(mapVkFormat(m_inputFormat).order); in verifyResult() local
795 const deUint32 numScalarsPerVertex = numChannels * 3; // Use 3 identical attributes in verifyResult()
[all …]
/third_party/libsnd/src/ALAC/
Dalac_decoder.c102 theConfig.numChannels = theActualCookie [offsetof (ALACSpecificConfig, numChannels)] ; in alac_decoder_init()
109 p->mNumChannels = theConfig.numChannels ; in alac_decoder_init()
166 uint32_t numChannels = p->mNumChannels ; in alac_decode() local
311 for (i = 0, j = 0 ; i < numSamples ; i++, j += numChannels) in alac_decode()
316 copyPredictorTo20 (p->mMixBufferU, out32, numChannels, numSamples) ; in alac_decode()
321 …copyPredictorTo24Shift (p->mMixBufferU, p->mShiftBuffer, out32, numChannels, numSamples, bytesShif… in alac_decode()
323 copyPredictorTo24 (p->mMixBufferU, out32, numChannels, numSamples) ; in alac_decode()
328 …copyPredictorTo32Shift (p->mMixBufferU, p->mShiftBuffer, out32, numChannels, numSamples, bytesShif… in alac_decode()
330 copyPredictorTo32 (p->mMixBufferU, out32, numChannels, numSamples) ; in alac_decode()
342 if ((channelIndex + 2) > numChannels) in alac_decode()
[all …]
Dalac_encoder.c967 uint32_t numChannels = p->mNumChannels ; in alac_encode() local
975 if (numChannels == 2) in alac_encode()
988 else if (numChannels == 1) in alac_encode()
1013 for (channelIndex = 0 ; channelIndex < numChannels ;) in alac_encode()
1015 tag = (sChannelMaps [numChannels - 1] & (0x7ul << (channelIndex * 3))) >> (channelIndex * 3) ; in alac_encode()
1024 status = EncodeMono (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ; in alac_encode()
1035 status = EncodeStereo (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ; in alac_encode()
1046 status = EncodeMono (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ; in alac_encode()
1118 config->numChannels = (uint8_t) p->mNumChannels ; in GetConfig()
1148 if (theConfig.numChannels > 2) in alac_get_magic_cookie()
[all …]
Dalac_decoder.h59 …itBuffer * bits, uint8_t * sampleBuffer, uint32_t numSamples, uint32_t numChannels, uint32_t * out…
DALACDecoder.h41 …itBuffer * bits, uint8_t * sampleBuffer, uint32_t numSamples, uint32_t numChannels, uint32_t * out…
DALACAudioTypes.h179 uint8_t numChannels ; member
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSampleBuffer.cpp56 void resampleData(const ResampleBlock& input, ResampleBlock* output, int numChannels) { in resampleData() argument
68 numChannels, // channel count in resampleData()
82 inputBuffer += numChannels; in resampleData()
86 outputBuffer += numChannels; in resampleData()
DOneShotSampleSource.cpp25 void OneShotSampleSource::mixAudio(float* outBuff, int numChannels, int32_t numFrames) { in mixAudio() argument
36 if (numChannels == 1) { in mixAudio()
41 } else if (numChannels == 2) { in mixAudio()
DDataSource.h31 virtual void mixAudio(float* outBuff, int numChannels, int numFrames) = 0;
DOneShotSampleSource.h33 virtual void mixAudio(float* outBuff, int numChannels, int32_t numFrames);
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstsegmentation.cpp178 unsigned *cbBounds, int numChannels);
181 int numChannels, int *minMod, int *maxMod);
478 int numChannels) in update_codebook() argument
485 for (n = 0; n < numChannels; n++) { in update_codebook()
499 for (n = 0; n < numChannels; n++) { in update_codebook()
506 if (matchChannel == numChannels) { /* If an entry was found */ in update_codebook()
509 for (n = 0; n < numChannels; n++) { in update_codebook()
538 for (n = 0; n < numChannels; n++) { in update_codebook()
549 for (n = 0; n < numChannels; n++) { in update_codebook()
637 background_diff (unsigned char *p, codeBook * c, int numChannels, in background_diff() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreUtil.cpp118 const deUint32 numChannels = getNumUsedChannels(mapTextureFormat(format)); in isRepresentableIntegerValue() local
124 for (deUint32 compNdx = 0; compNdx < numChannels; compNdx++) in isRepresentableIntegerValue()
135 for (deUint32 compNdx = 0; compNdx < numChannels; compNdx++) in isRepresentableIntegerValue()
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/
Dgstfdkaacdec.c241 if (stream_info->numChannels == 1) { in gst_fdkaacdec_handle_frame()
247 for (i = 0; i < stream_info->numChannels; i++) { in gst_fdkaacdec_handle_frame()
262 for (i = 0; i < stream_info->numChannels; i++) { in gst_fdkaacdec_handle_frame()
382 sizeof (GstAudioChannelPosition) * stream_info->numChannels); in gst_fdkaacdec_handle_frame()
384 stream_info->numChannels)) { in gst_fdkaacdec_handle_frame()
391 sizeof (GstAudioChannelPosition) * stream_info->numChannels) != 0; in gst_fdkaacdec_handle_frame()
394 stream_info->sampleRate, stream_info->numChannels, gst_pos); in gst_fdkaacdec_handle_frame()
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp42 void SkYUVAPixmapInfo::SupportedDataTypes::enableDataType(DataType type, int numChannels) { in enableDataType() argument
43 if (numChannels < 1 || numChannels > 4) { in enableDataType()
46 fDataTypeSupport[static_cast<size_t>(type) + (numChannels - 1)*kDataTypeCnt] = true; in enableDataType()
125 int numChannels = yuvaInfo.numChannelsInPlane(i); in SkYUVAPixmapInfo() local
126 colorTypes[i] = DefaultColorTypeForDataType(dataType, numChannels); in SkYUVAPixmapInfo()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/emscripten/
DSDL_emscriptenaudio.c122 var numChannels = SDL2.audio.currentOutputBuffer['numberOfChannels']; in HandleAudioProcess()
123 for (var c = 0; c < numChannels; ++c) { in HandleAudioProcess()
130 channelData[j] = HEAPF32[$0 + ((j*numChannels + c) << 2) >> 2]; in HandleAudioProcess()
163 var numChannels = SDL2.capture.currentCaptureBuffer.numberOfChannels; in HandleCaptureProcess()
164 if (numChannels == 1) { /* fastpath this a little for the common (mono) case. */ in HandleCaptureProcess()
173 for (var c = 0; c < numChannels; ++c) { in HandleCaptureProcess()
180 setValue($0 + (((j * numChannels) + c) * 4), channelData[j], 'float'); in HandleCaptureProcess()
/third_party/skia/third_party/externals/oboe/src/opensles/
DOpenSLESUtilities.cpp70 format_pcm_ex.numChannels = format.numChannels; in OpenSLES_createExtendedFormat()
/third_party/skia/include/core/
DSkYUVAPixmaps.h68 void enableDataType(DataType, int numChannels);
79 static constexpr SkColorType DefaultColorTypeForDataType(DataType dataType, int numChannels);
293 int numChannels) { in DefaultColorTypeForDataType() argument
294 switch (numChannels) { in DefaultColorTypeForDataType()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTestInputActivity.java104 int numChannels = mAudioInputTester.getCurrentAudioStream().getChannelCount(); in updateStreamDisplay() local
105 if (numChannels > NUM_VOLUME_BARS) { in updateStreamDisplay()
106 numChannels = NUM_VOLUME_BARS; in updateStreamDisplay()
108 for (int i = 0; i < numChannels; i++) { in updateStreamDisplay()
/third_party/ffmpeg/libavcodec/
Dlibfdk-aacdec.c124 for (i = 0; i < info->numChannels; i++) { in get_stream_info()
134 info->numChannels, in get_stream_info()
201 av_get_channel_layout_nb_channels(ch_layout) != info->numChannels) { in get_stream_info()
210 avctx->channels = info->numChannels; in get_stream_info()
Dav3a_parser.c111 const int16_t numChannels; member
350 channels = mcChannelConfigTable[i].numChannels; in read_av3a_frame_header()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/stub/
Dcuda.h166 guint numChannels; member
172 guint numChannels; member
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/cpp/
DDrumPlayerJNI.cpp48 JNIEnv* env, jobject, jint numChannels) { in Java_com_plausiblesoftware_drumthumper_DrumPlayer_setupAudioStreamNative() argument
52 sDTPlayer.setupAudioStream(numChannels); in Java_com_plausiblesoftware_drumthumper_DrumPlayer_setupAudioStreamNative()
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumPlayer.kt103 external fun setupAudioStreamNative(numChannels: Int) in setupAudioStreamNative()
/third_party/libsnd/src/
Daiff.c127 int16_t numChannels ; member
1010 psf_binheader_readf (psf, "E242b", &(comm_fmt->numChannels), &(comm_fmt->numSampleFrames), in aiff_read_comm_chunk()
1043 if (comm_fmt->numChannels < 1 || comm_fmt->numChannels > SF_MAX_CHANNELS) in aiff_read_comm_chunk()
1044 …{ psf_log_printf (psf, " Channels : %d (should be >= 1 and < %d)\n", comm_fmt->numChannels, SF… in aiff_read_comm_chunk()
1048 psf_log_printf (psf, " Channels : %d\n", comm_fmt->numChannels) ; in aiff_read_comm_chunk()
1066 psf->sf.channels = comm_fmt->numChannels ; in aiff_read_comm_chunk()
/third_party/skia/tests/
DYUVTest.cpp58 auto [numChannels, planeDataType] = SkYUVAPixmapInfo::NumChannelsAndDataType(planeCT); in codec_yuv()

12