/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 266 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/ |
D | alac_decoder.c | 102 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 …]
|
D | alac_encoder.c | 967 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 …]
|
D | alac_decoder.h | 59 …itBuffer * bits, uint8_t * sampleBuffer, uint32_t numSamples, uint32_t numChannels, uint32_t * out…
|
D | ALACDecoder.h | 41 …itBuffer * bits, uint8_t * sampleBuffer, uint32_t numSamples, uint32_t numChannels, uint32_t * out…
|
D | ALACAudioTypes.h | 179 uint8_t numChannels ; member
|
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/ |
D | SampleBuffer.cpp | 56 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()
|
D | OneShotSampleSource.cpp | 25 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()
|
D | DataSource.h | 31 virtual void mixAudio(float* outBuff, int numChannels, int numFrames) = 0;
|
D | OneShotSampleSource.h | 33 virtual void mixAudio(float* outBuff, int numChannels, int32_t numFrames);
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | gstsegmentation.cpp | 178 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/ |
D | vktImageLoadStoreUtil.cpp | 118 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/ |
D | gstfdkaacdec.c | 241 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/ |
D | SkYUVAPixmaps.cpp | 42 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/ |
D | SDL_emscriptenaudio.c | 122 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/ |
D | OpenSLESUtilities.cpp | 70 format_pcm_ex.numChannels = format.numChannels; in OpenSLES_createExtendedFormat()
|
/third_party/skia/include/core/ |
D | SkYUVAPixmaps.h | 68 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/ |
D | TestInputActivity.java | 104 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/ |
D | libfdk-aacdec.c | 124 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()
|
D | av3a_parser.c | 111 const int16_t numChannels; member 350 channels = mcChannelConfigTable[i].numChannels; in read_av3a_frame_header()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/stub/ |
D | cuda.h | 166 guint numChannels; member 172 guint numChannels; member
|
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/cpp/ |
D | DrumPlayerJNI.cpp | 48 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/ |
D | DrumPlayer.kt | 103 external fun setupAudioStreamNative(numChannels: Int) in setupAudioStreamNative()
|
/third_party/libsnd/src/ |
D | aiff.c | 127 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/ |
D | YUVTest.cpp | 58 auto [numChannels, planeDataType] = SkYUVAPixmapInfo::NumChannelsAndDataType(planeCT); in codec_yuv()
|