Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 25 of 2493) sorted by relevance

12345678910>>...100

/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/include/ui/tk/widgets/
H A DLSPMeter.h81 size_t nChannels; variable
103 …inline float mtr_min(size_t i) const { return (i < nChannels) ? vChannels[i]->f… in mtr_min()
104 …inline float mtr_max(size_t i) const { return (i < nChannels) ? vChannels[i]->f… in mtr_max()
105 …inline float mtr_balance(size_t i) const { return (i < nChannels) ? vChannels[i]->f… in mtr_balance()
106 …inline float mtr_peak(size_t i) const { return (i < nChannels) ? vChannels[i]->f… in mtr_peak()
107 …inline float mtr_value(size_t i) const { return (i < nChannels) ? vChannels[i]->f… in mtr_value()
108 …inline float mtr_rz_value(size_t i) const { return (i < nChannels) ? vChannels[i]->f… in mtr_rz_value()
113 …inline const char *mtr_text(size_t i) const { return (i < nChannels) ? vChannels[i]->s… in mtr_text()
114 …inline LSPColor *mtr_color(size_t i) { return (i < nChannels) ? &vChannels[i]->… in mtr_color()
115 …inline LSPColor *mtr_rz_color(size_t i) { return (i < nChannels) ? &vChannels[i]->… in mtr_rz_color()
[all …]
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/testing/mtest/core/util/
H A Dsync_chirp.cpp103 for (size_t ch = 0; ch < nChannels; ++ch) in test_time_series()
119 for (size_t ch = 0; ch < nChannels; ++ch) in test_time_series()
134 size_t *offsets = new size_t[nChannels]; in test_time_series()
136 for (size_t ch = 0; ch < nChannels; ++ch) in test_time_series()
150 float *fRT = new float[nChannels]; in test_time_series()
151 float *fcR = new float[nChannels]; in test_time_series()
152 float *fiL = new float[nChannels]; in test_time_series()
154 for (size_t ch = 0; ch < nChannels; ++ch) in test_time_series()
192 for (size_t ch = 0; ch < nChannels; ++ch) in test_time_series()
210 size_t nChannels = 2;
[all …]
/dports/audio/stk/stk-4.6.2/src/
H A DRtWvOut.cpp41 unsigned int nSamples, nChannels = data_.channels(); in readBuffer() local
62 nSamples = framesFilled_ * nChannels; in readBuffer()
65 nSamples = (counter - framesFilled_) * nChannels; in readBuffer()
71 nSamples = counter * nChannels; in readBuffer()
102 parameters.nChannels = nChannels; in RtWvOut()
114 data_.resize( size * nBuffers, nChannels ); in RtWvOut()
152 unsigned int nChannels = data_.channels(); in tick() local
155 unsigned long index = writeIndex_ * nChannels; in tick()
156 for ( unsigned int j=0; j<nChannels; j++ ) in tick()
183 unsigned int nChannels = data_.channels(); in tick() local
[all …]
H A DFileWvOut.cpp33 FileWvOut::FileWvOut( std::string fileName, unsigned int nChannels, FileWrite::FILE_TYPE type, Stk:…
36 this->openFile( fileName, nChannels, type, format );
60 unsigned int nChannels,
66 if ( nChannels < 1 ) {
72 file_.open( fileName, nChannels, type, format );
75 data_.resize( bufferFrames_, nChannels );
103 unsigned int nChannels = data_.channels();
106 for ( unsigned int j=0; j<nChannels; j++ )
128 unsigned int j, nChannels = data_.channels();
131 for ( j=0; j<nChannels; j++ ) {
H A DRtWvIn.cpp82 parameters.nChannels = nChannels; in RtWvIn()
93 data_.resize( size * nBuffers, nChannels ); in RtWvIn()
94 lastFrame_.resize( 1, nChannels ); in RtWvIn()
150 unsigned int nChannels = lastFrame_.channels(); in tick() local
152 if ( channel > frames.channels() - nChannels ) { in tick()
174 bytes = nFrames * nChannels * sizeof( StkFloat ); in tick()
175 StkFloat *samples = &data_[readIndex_ * nChannels]; in tick()
176 unsigned int hop = frames.channels() - nChannels; in tick()
178 memcpy( &frames[framesRead * nChannels], samples, bytes ); in tick()
183 for ( j=1; j<nChannels; j++ ) in tick()
[all …]
/dports/audio/eq10q-lv2/eq10q-2.2/gui/
H A Deq10q_ui.cpp48 int nChannels = 0; in instantiateEq10q_gui() local
53 nChannels = 1; in instantiateEq10q_gui()
58 nChannels = 2; in instantiateEq10q_gui()
63 nChannels = 1; in instantiateEq10q_gui()
68 nChannels = 2; in instantiateEq10q_gui()
73 nChannels = 1; in instantiateEq10q_gui()
78 nChannels = 2; in instantiateEq10q_gui()
83 nChannels = 1; in instantiateEq10q_gui()
88 nChannels = 2; in instantiateEq10q_gui()
92 cout<<"\nChannels = "<< nChannels<<"\tnBands = "<< nBands; in instantiateEq10q_gui()
[all …]
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/DisplayOutput/
H A DImage.cpp415 8 * nChannels, in SaveDDS()
419 (nChannels >= 3)? 0xff000000 : (nChannels == 2)? 0xFF00 : 0, in SaveDDS()
436 flipChannels( m_spData->GetBufferPtr(), size / nChannels, nChannels ); in SaveDDS()
442 flipChannels( m_spData->GetBufferPtr(), size / nChannels, nChannels ); in SaveDDS()
574 dest32f += w * h * nChannels; in createMipMaps()
579 dest += w * h * nChannels; in createMipMaps()
781 for( k=0; k<nChannels; k++ ) in Scale()
839 …rp( src[ m_Width * nChannels], src[( m_Width + 1) * nChannels], src[( m_Width + 2) * nChannels]… in Scale()
841 …a = icerp(src[0], src[nChannels], src[2 * nChannels], src[3 * nChannels], static_cast<int32>(wX)) … in Scale()
845 …src[2 * m_Width * nChannels], src[(2 * m_Width + 1) * nChannels], src[(2 * m_Width + 2) * nChannel… in Scale()
[all …]
/dports/audio/csound/csound-6.15.0/Opcodes/
H A Dftconv.c40 int32_t nChannels; member
141 for (i = 0; i < nChannels; i++) { in set_buf_pointers()
145 for (i = 0; i < nChannels; i++) { in set_buf_pointers()
158 p->nChannels = (int32_t) p->OUTOCOUNT; in ftconv_init()
159 if (UNLIKELY(p->nChannels < 1 || p->nChannels > FTCONV_MAXCHN)) { in ftconv_init()
219 for (j = 0; j < p->nChannels; j++) { in ftconv_init()
228 i += p->nChannels; in ftconv_init()
240 for (j = 0; j < p->nChannels; j++) { in ftconv_init()
261 for (n = 0; n < p->nChannels; n++) in ftconv_perf()
265 for (n = 0; n < p->nChannels; n++) in ftconv_perf()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/impex/psd/
H A Dpsd_header.cpp30 char nChannels[2]; // 1 - 56 member
40 , nChannels(0) in PSDHeader()
60 memcpy(&nChannels, header.nChannels, 2); in read()
61 nChannels = qFromBigEndian(nChannels); in read()
80 if (!psdwrite(device, nChannels)) return false; in write()
98 if (nChannels < 1 || nChannels > 56) { in valid()
99 error = QString("Channel count out of range: %1").arg(nChannels); in valid()
140 dbg.nospace() << ", number of channels: " << header.nChannels; in operator <<()
/dports/audio/snack/snack2.2.10/unix/
H A DjkAudIO_osx.c64 for (i = 0; i < numFrames*A->nChannels; ++i) { in appIOProc()
66 if (A->nChannels == 1) { in appIOProc()
70 A->rpos = (A->rpos + numFrames) % (BUFLEN/A->nChannels); in appIOProc()
143 A->nChannels = nchannels; in SnackAudioOpen()
217 for (i = 0; i < A->rpos*A->nChannels; i++) otmp[i] = 0; in SnackAudioPost()
233 for (c = 0; c < A->nChannels; c++) { in SnackAudioRead()
276 if (A->wpos + nFrames < BUFLEN/A->nChannels) { in SnackAudioWrite()
277 memcpy(&otmp[A->wpos*A->nChannels], buf, nFrames*A->nChannels*2); in SnackAudioWrite()
280 memcpy(&otmp[A->wpos*A->nChannels], buf, (BUFLEN/A->nChannels - A->wpos)*A->nChannels*2); in SnackAudioWrite()
281 …otmp, &((short *)buf)[(BUFLEN/A->nChannels - A->wpos)*A->nChannels],(nFrames-(BUFLEN/A->nChannels-… in SnackAudioWrite()
[all …]
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/plugins/
H A Dprofiler.cpp85 pCore->nChannels, in run()
247 nChannels = channels; in profiler_base()
342 for (size_t ch = 0; ch < nChannels; ++ch) in destroy()
484 vChannels = new channel_t[nChannels]; in init()
536 for (size_t i=0; i<nChannels; ++i) in init()
546 sRDptr += nChannels; in init()
708 for (size_t ch = 0; ch < nChannels; ++ch) in process()
729 for (size_t ch = 0; ch < nChannels; ++ch) in process()
740 for (size_t ch = 0; ch < nChannels; ++ch) in process()
803 for (size_t ch = 0; ch < nChannels; ++ch) in process()
[all …]
/dports/audio/faudio/FAudio-21.01/src/
H A DFAPOBase.c156 (*ppSupportedInputFormat)->nChannels = FAudio_clamp( in FAPOBase_IsInputFormatSupported()
157 pRequestedInputFormat->nChannels, in FAPOBase_IsInputFormatSupported()
191 (*ppSupportedOutputFormat)->nChannels = FAudio_clamp( in FAPOBase_IsOutputFormatSupported()
192 pRequestedOutputFormat->nChannels, in FAPOBase_IsOutputFormatSupported()
245 VERIFY_FORMAT_FLAG(FAPO_FLAG_CHANNELS_MUST_MATCH, nChannels) in FAPOBase_LockForProcess()
279 pFormat->nChannels < FAPOBASE_DEFAULT_FORMAT_MIN_CHANNELS || in FAPOBase_ValidateFormatDefault()
280 pFormat->nChannels > FAPOBASE_DEFAULT_FORMAT_MAX_CHANNELS || in FAPOBase_ValidateFormatDefault()
289 pFormat->nChannels = FAudio_clamp( in FAPOBase_ValidateFormatDefault()
290 pFormat->nChannels, in FAPOBase_ValidateFormatDefault()
324 pRequestedFormat->nChannels = FAudio_clamp( in FAPOBase_ValidateFormatPair()
[all …]
/dports/graphics/lcms2/lcms2-2.12/plugins/fast_float/src/
H A Dfast_float_separate.c71 cmsUInt32Number* nChannels, in ComputeIncrementsForChunky() argument
86 if (nChannels != NULL) in ComputeIncrementsForChunky()
87 *nChannels = channels; in ComputeIncrementsForChunky()
130 cmsUInt32Number* nChannels, in ComputeIncrementsForPlanar() argument
142 if (nChannels != NULL) in ComputeIncrementsForPlanar()
143 *nChannels = channels; in ComputeIncrementsForPlanar()
184 cmsUInt32Number* nChannels, in _cmsComputeComponentIncrements() argument
191 …ComputeIncrementsForPlanar(Format, BytesPerPlane, nChannels, nAlpha, ComponentStartingOrder, Comp… in _cmsComputeComponentIncrements()
194 …ComputeIncrementsForChunky(Format, BytesPerPlane, nChannels, nAlpha, ComponentStartingOrder, Comp… in _cmsComputeComponentIncrements()
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/lcms2/plugins/fast_float/src/
H A Dfast_float_separate.c71 cmsUInt32Number* nChannels, in ComputeIncrementsForChunky() argument
86 if (nChannels != NULL) in ComputeIncrementsForChunky()
87 *nChannels = channels; in ComputeIncrementsForChunky()
130 cmsUInt32Number* nChannels, in ComputeIncrementsForPlanar() argument
142 if (nChannels != NULL) in ComputeIncrementsForPlanar()
143 *nChannels = channels; in ComputeIncrementsForPlanar()
184 cmsUInt32Number* nChannels, in _cmsComputeComponentIncrements() argument
191 …ComputeIncrementsForPlanar(Format, BytesPerPlane, nChannels, nAlpha, ComponentStartingOrder, Comp… in _cmsComputeComponentIncrements()
194 …ComputeIncrementsForChunky(Format, BytesPerPlane, nChannels, nAlpha, ComponentStartingOrder, Comp… in _cmsComputeComponentIncrements()
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/ui/tk/widgets/
H A DLSPMeter.cpp74 nChannels = 0; in LSPMeter()
117 nChannels = 0; in drop_data()
125 if (i >= nChannels) in set_mtr_min()
136 if (i >= nChannels) in set_mtr_max()
147 if (i >= nChannels) in set_mtr_balance()
158 if (i >= nChannels) in set_mtr_peak()
169 if (i >= nChannels) in set_mtr_value()
180 if (i >= nChannels) in set_mtr_rz_value()
191 if (i >= nChannels) in set_mtr_yz_value()
202 if (i >= nChannels) in set_mtr_dz0_value()
[all …]
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/src/headless/
H A DPlayer.cpp77 float **data, int *nSamples, int *nChannels) in playAsConfigured() argument
86 *nChannels = 2; in playAsConfigured()
88 size_t dataSize = *nChannels * *nSamples; in playAsConfigured()
133 float **data, int *nSamples, int *nChannels) in playOnPatch() argument
136 playAsConfigured(surge, events, data, nSamples, nChannels); in playOnPatch()
158 int nSamples, nChannels; in playOnEveryPatch() local
161 cb(p, pc, data, nSamples, nChannels); in playOnEveryPatch()
186 int nSamples, nChannels; in playOnNRandomPatches() local
188 playOnPatch(surge, i, events, &data, &nSamples, &nChannels); in playOnNRandomPatches()
189 cb(p, pc, data, nSamples, nChannels); in playOnNRandomPatches()
[all …]
H A DHeadlessUtils.cpp27 void writeToStream(const float *data, int nSamples, int nChannels, std::ostream &str) in writeToStream() argument
31 for (auto i = 0; i < nSamples; i += nChannels) in writeToStream()
33 for (auto j = 0; j < nChannels; ++j) in writeToStream()
34 avgOut += data[i + j] / nChannels; in writeToStream()
46 void writeToWav(const float *data, int nSamples, int nChannels, float sampleRate, in writeToWav() argument
51 sfinfo.channels = nChannels; in writeToWav()
56 sf_count_t count = sf_write_float(of, &data[0], nSamples * nChannels); in writeToWav()
/dports/audio/zplugins-lv2/ZPlugins-0.2.4/ext/Soundpipe/modules/
H A Dconv.c73 static int buf_bytes_alloc(int nChannels, int partSize, int nPartitions) in buf_bytes_alloc() argument
96 for (i = 0; i < nChannels; i++) { in set_buf_pointers()
100 for (i = 0; i < nChannels; i++) { in set_buf_pointers()
130 p->nChannels = 1; in sp_conv_init()
139 n = (int) ft->size / p->nChannels; in sp_conv_init()
158 set_buf_pointers(p, p->nChannels, p->partSize, p->nPartitions); in sp_conv_init()
165 for (j = 0; j < p->nChannels; j++) { in sp_conv_init()
167 i = (skipSamples * p->nChannels) + j; in sp_conv_init()
177 i += p->nChannels; in sp_conv_init()
189 for (j = 0; j < p->nChannels; j++) { in sp_conv_init()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/audio/
H A Daudio_transport_proxy.cc49 const size_t nChannels, in RecordedDataIsAvailable() argument
58 audioSamples, nSamples, nBytesPerSample, nChannels, samplesPerSec, in RecordedDataIsAvailable()
64 const size_t nChannels, in NeedMorePlayData() argument
70 RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample); in NeedMorePlayData()
71 RTC_DCHECK_GE(nChannels, 1); in NeedMorePlayData()
72 RTC_DCHECK_LE(nChannels, 2); in NeedMorePlayData()
79 RTC_DCHECK_LE(nBytesPerSample * nSamples * nChannels, in NeedMorePlayData()
82 mixer_->Mix(nChannels, &mixed_frame_); in NeedMorePlayData()
91 RTC_DCHECK_EQ(nSamplesOut, nChannels * nSamples); in NeedMorePlayData()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/audio/
H A Daudio_transport_proxy.cc53 const size_t nChannels, in RecordedDataIsAvailable() argument
62 audioSamples, nSamples, nBytesPerSample, nChannels, samplesPerSec, in RecordedDataIsAvailable()
68 const size_t nChannels, in NeedMorePlayData() argument
74 RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample); in NeedMorePlayData()
75 RTC_DCHECK_GE(nChannels, 1); in NeedMorePlayData()
76 RTC_DCHECK_LE(nChannels, 2); in NeedMorePlayData()
83 RTC_DCHECK_LE(nBytesPerSample * nSamples * nChannels, in NeedMorePlayData()
86 mixer_->Mix(nChannels, &mixed_frame_); in NeedMorePlayData()
95 RTC_DCHECK_EQ(nSamplesOut, nChannels * nSamples); in NeedMorePlayData()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/audio/
H A Daudio_transport_proxy.cc53 const size_t nChannels, in RecordedDataIsAvailable() argument
62 audioSamples, nSamples, nBytesPerSample, nChannels, samplesPerSec, in RecordedDataIsAvailable()
68 const size_t nChannels, in NeedMorePlayData() argument
74 RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample); in NeedMorePlayData()
75 RTC_DCHECK_GE(nChannels, 1); in NeedMorePlayData()
76 RTC_DCHECK_LE(nChannels, 2); in NeedMorePlayData()
83 RTC_DCHECK_LE(nBytesPerSample * nSamples * nChannels, in NeedMorePlayData()
86 mixer_->Mix(nChannels, &mixed_frame_); in NeedMorePlayData()
95 RTC_DCHECK_EQ(nSamplesOut, nChannels * nSamples); in NeedMorePlayData()
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/audio/
H A Daudio_transport_proxy.cc53 const size_t nChannels, in RecordedDataIsAvailable() argument
62 audioSamples, nSamples, nBytesPerSample, nChannels, samplesPerSec, in RecordedDataIsAvailable()
68 const size_t nChannels, in NeedMorePlayData() argument
74 RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample); in NeedMorePlayData()
75 RTC_DCHECK_GE(nChannels, 1); in NeedMorePlayData()
76 RTC_DCHECK_LE(nChannels, 2); in NeedMorePlayData()
83 RTC_DCHECK_LE(nBytesPerSample * nSamples * nChannels, in NeedMorePlayData()
86 mixer_->Mix(nChannels, &mixed_frame_); in NeedMorePlayData()
95 RTC_DCHECK_EQ(nSamplesOut, nChannels * nSamples); in NeedMorePlayData()
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Sound.RiffWave/
H A DPlugin.Parser.cs17 internal ushort nChannels; field in Plugin.Plugin.WaveFormatEx
215 format.nChannels = reader.ReadUInt16(endianness); in WaveLoadFromStream()
318 for (int j = 0; j < adPcmFormat.nChannels; j++) in WaveLoadFromStream()
323 for (int j = 0; j < adPcmFormat.nChannels; j++) in WaveLoadFromStream()
328 for (int j = 0; j < adPcmFormat.nChannels; j++) in WaveLoadFromStream()
333 for (int j = 0; j < adPcmFormat.nChannels; j++) in WaveLoadFromStream()
339 for (int j = 0; j < adPcmFormat.nChannels; j++) in WaveLoadFromStream()
350 for (int j = 0; j < adPcmFormat.nChannels; j++) in WaveLoadFromStream()
461 byte[][] buffers = new byte[format.nChannels][]; in WaveLoadFromStream()
463 for (int i = 0; i < format.nChannels; i++) in WaveLoadFromStream()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dstream.h48 INT32 nChannels; member
59 nChannels = channels; in init()
84 for (INT32 i = 0; i < nChannels; i++) { in render()
110 for (INT32 ch = 0; ch < nChannels; ch++) { in render()
126 for (INT32 ch = 0; ch < nChannels; ch++) { in samplesample()
170 for (INT32 ch = 0; ch < nChannels; ch++) { in downsample()
212 for (INT32 ch = 0; ch < nChannels; ch++) { in downsample()
219 if (nChannels == 1) sample_r = sample_l; in downsample()
310 for (INT32 ch = 0; ch < nChannels; ch++) { in stream_init()
322 for (INT32 ch = 0; ch < nChannels; ch++) { in stream_exit()
[all …]
/dports/graphics/cimg/CImg-v.2.9.7/plugins/
H A Dipl.h210 assign(W,H,1,img->nChannels);
220 const int pix_size = byte_depth*img->nChannels;
221 for (int n = 0; n<img->nChannels; ++n) {
223 …char *linePtrC = dataPtrC + (img->nChannels>=3 && (flag & CV_CVTIMG_SWAP_RB) && n<3?(2 - n):n)*cha…
234 for (int n = 0; n<img->nChannels; ++n) {
236 …char *linePtrC = dataPtrC + (img->nChannels >= 3 && (flag & CV_CVTIMG_SWAP_RB) && n<3?(2 - n):n)*…
283 const int pix_size = byte_depth*img->nChannels;
284 for (int n = 0; n<img->nChannels; ++n) {
286 …*linePtrC = dataPtrC + (img->nChannels >= 3 && (flag & CV_CVTIMG_SWAP_RB) && n<3?(2 - n):n)*chann…
298 for (int n = 0; n<img->nChannels; ++n) {
[all …]

12345678910>>...100