/dports/math/kfr/kfr-4.2.1/examples/ |
H A D | sample_rate_conversion.cpp | 25 univector<fbase> resampled(len * output_sr / input_sr + r.get_delay()); in main() local 26 r.process(resampled, swept_sine); in main() 30 writer.write(resampled.data(), resampled.size()); in main() 38 univector<fbase> resampled(len * output_sr / input_sr + r.get_delay()); in main() local 39 r.process(resampled, swept_sine); in main() 43 writer.write(resampled.data(), resampled.size()); in main() 51 univector<fbase> resampled(len * output_sr / input_sr + r.get_delay()); in main() local 52 r.process(resampled, swept_sine); in main() 56 writer.write(resampled.data(), resampled.size()); in main() 65 r.process(resampled, swept_sine); in main() [all …]
|
/dports/devel/R-cran-caret/caret/R/ |
H A D | resampleSummary.R | 28 resampleSummary <- function(obs, resampled, index = NULL, keepData = TRUE) argument 30 numPred <- apply(resampled, 2, function(u) sum(!is.na(u))) 37 resampled, 56 obs = rep(obs, dim(resampled)[2]), 62 1:dim(resampled)[2], 63 each = dim(resampled)[1], sep = ""))) 66 obs = rep(obs, dim(resampled)[2]), 67 pred = unlist(lapply(resampled, I)), 71 1:dim(resampled)[2], 72 each = dim(resampled)[1], sep = ""))) [all …]
|
H A D | learning_curve.R | 79 resampled <- vector(mode = "list", length = n_size) functionVar 80 tested <- if(test_prop > 0) resampled else NULL 81 apparent <- resampled 94 resampled[[i]] <- merge(mod$resample, mod$bestTune) 95 resampled[[i]]$Training_Size <- length(in_mod) 131 resampled <- do.call("rbind", resampled) 132 resampled <- resampled[, c(perf_names, "Training_Size")] 133 resampled$Data <- "Resampling" 137 out <- rbind(resampled, apparent)
|
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/codec/ |
H A D | dsp_ffmpeg.c | 56 AVFrame* resampled; member 196 if (context->resampled) in ffmpeg_close_context() 197 av_frame_free(&context->resampled); in ffmpeg_close_context() 219 context->resampled = NULL; in ffmpeg_close_context() 298 context->resampled = av_frame_alloc(); in ffmpeg_open_context() 300 if (!context->resampled) in ffmpeg_open_context() 329 context->resampled->format = AV_SAMPLE_FMT_S16; in ffmpeg_open_context() 333 context->resampled->channel_layout = layout; in ffmpeg_open_context() 549 const size_t data_size = resampled->channels * resampled->nb_samples * 2; 630 int rest = context->resampled->nb_samples; [all …]
|
/dports/audio/bliss/bliss-1.2.0-6-ga443635/bliss-rs/src/ |
H A D | decode.rs | 94 let mut resampled = ffmpeg::frame::Audio::empty(); in decode_song() localVariable 96 .run(&decoded, &mut resampled) in decode_song() 98 push_to_sample_array(resampled, &mut sample_array); in decode_song() 110 let mut resampled = ffmpeg::frame::Audio::empty(); in decode_song() localVariable 112 .run(&decoded, &mut resampled) in decode_song() 114 push_to_sample_array(resampled, &mut sample_array); in decode_song() 122 let mut resampled = ffmpeg::frame::Audio::empty(); in decode_song() localVariable 124 .flush(&mut resampled) in decode_song() 128 push_to_sample_array(resampled, &mut sample_array); in decode_song() 131 push_to_sample_array(resampled, &mut sample_array); in decode_song()
|
/dports/www/firefox-esr/firefox-91.8.0/dom/media/webaudio/blink/ |
H A D | HRTFElevation.cpp | 131 AutoTArray<AudioDataValue, 2 * ResponseFrameSize> resampled; in calculateKernelForAzimuthElevation() local 136 resampled.SetLength(resampledResponseLength); in calculateKernelForAzimuthElevation() 137 resampledResponse = resampled.Elements(); in calculateKernelForAzimuthElevation() 142 spx_uint32_t out_len = resampled.Length(); in calculateKernelForAzimuthElevation() 143 RESAMPLER_PROCESS(resampler, 0, response, &in_len, resampled.Elements(), in calculateKernelForAzimuthElevation() 146 if (out_len < resampled.Length()) { in calculateKernelForAzimuthElevation() 152 out_len = resampled.Length() - out_index; in calculateKernelForAzimuthElevation() 154 resampled.Elements() + out_index, &out_len); in calculateKernelForAzimuthElevation() 158 PodZero(resampled.Elements() + out_index, resampled.Length() - out_index); in calculateKernelForAzimuthElevation()
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/webaudio/blink/ |
H A D | HRTFElevation.cpp | 131 AutoTArray<AudioDataValue, 2 * ResponseFrameSize> resampled; in calculateKernelForAzimuthElevation() local 136 resampled.SetLength(resampledResponseLength); in calculateKernelForAzimuthElevation() 137 resampledResponse = resampled.Elements(); in calculateKernelForAzimuthElevation() 142 spx_uint32_t out_len = resampled.Length(); in calculateKernelForAzimuthElevation() 143 RESAMPLER_PROCESS(resampler, 0, response, &in_len, resampled.Elements(), in calculateKernelForAzimuthElevation() 146 if (out_len < resampled.Length()) { in calculateKernelForAzimuthElevation() 152 out_len = resampled.Length() - out_index; in calculateKernelForAzimuthElevation() 154 resampled.Elements() + out_index, &out_len); in calculateKernelForAzimuthElevation() 158 PodZero(resampled.Elements() + out_index, resampled.Length() - out_index); in calculateKernelForAzimuthElevation()
|
/dports/www/firefox/firefox-99.0/dom/media/webaudio/blink/ |
H A D | HRTFElevation.cpp | 131 AutoTArray<AudioDataValue, 2 * ResponseFrameSize> resampled; in calculateKernelForAzimuthElevation() local 136 resampled.SetLength(resampledResponseLength); in calculateKernelForAzimuthElevation() 137 resampledResponse = resampled.Elements(); in calculateKernelForAzimuthElevation() 142 spx_uint32_t out_len = resampled.Length(); in calculateKernelForAzimuthElevation() 143 RESAMPLER_PROCESS(resampler, 0, response, &in_len, resampled.Elements(), in calculateKernelForAzimuthElevation() 146 if (out_len < resampled.Length()) { in calculateKernelForAzimuthElevation() 152 out_len = resampled.Length() - out_index; in calculateKernelForAzimuthElevation() 154 resampled.Elements() + out_index, &out_len); in calculateKernelForAzimuthElevation() 158 PodZero(resampled.Elements() + out_index, resampled.Length() - out_index); in calculateKernelForAzimuthElevation()
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/webaudio/blink/ |
H A D | HRTFElevation.cpp | 131 AutoTArray<AudioDataValue, 2 * ResponseFrameSize> resampled; in calculateKernelForAzimuthElevation() local 136 resampled.SetLength(resampledResponseLength); in calculateKernelForAzimuthElevation() 137 resampledResponse = resampled.Elements(); in calculateKernelForAzimuthElevation() 142 spx_uint32_t out_len = resampled.Length(); in calculateKernelForAzimuthElevation() 143 RESAMPLER_PROCESS(resampler, 0, response, &in_len, resampled.Elements(), in calculateKernelForAzimuthElevation() 146 if (out_len < resampled.Length()) { in calculateKernelForAzimuthElevation() 152 out_len = resampled.Length() - out_index; in calculateKernelForAzimuthElevation() 154 resampled.Elements() + out_index, &out_len); in calculateKernelForAzimuthElevation() 158 PodZero(resampled.Elements() + out_index, resampled.Length() - out_index); in calculateKernelForAzimuthElevation()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/webaudio/blink/ |
H A D | HRTFElevation.cpp | 131 AutoTArray<AudioDataValue, 2 * ResponseFrameSize> resampled; in calculateKernelForAzimuthElevation() local 136 resampled.SetLength(resampledResponseLength); in calculateKernelForAzimuthElevation() 137 resampledResponse = resampled.Elements(); in calculateKernelForAzimuthElevation() 142 spx_uint32_t out_len = resampled.Length(); in calculateKernelForAzimuthElevation() 144 resampled.Elements(), &out_len); in calculateKernelForAzimuthElevation() 146 if (out_len < resampled.Length()) { in calculateKernelForAzimuthElevation() 152 out_len = resampled.Length() - out_index; in calculateKernelForAzimuthElevation() 154 resampled.Elements() + out_index, &out_len); in calculateKernelForAzimuthElevation() 158 PodZero(resampled.Elements() + out_index, in calculateKernelForAzimuthElevation() 159 resampled.Length() - out_index); in calculateKernelForAzimuthElevation()
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/webaudio/blink/ |
H A D | HRTFElevation.cpp | 132 AutoTArray<AudioDataValue, 2 * ResponseFrameSize> resampled; in calculateKernelForAzimuthElevation() local 137 resampled.SetLength(resampledResponseLength); in calculateKernelForAzimuthElevation() 138 resampledResponse = resampled.Elements(); in calculateKernelForAzimuthElevation() 143 spx_uint32_t out_len = resampled.Length(); in calculateKernelForAzimuthElevation() 144 RESAMPLER_PROCESS(resampler, 0, response, &in_len, resampled.Elements(), in calculateKernelForAzimuthElevation() 147 if (out_len < resampled.Length()) { in calculateKernelForAzimuthElevation() 153 out_len = resampled.Length() - out_index; in calculateKernelForAzimuthElevation() 155 resampled.Elements() + out_index, &out_len); in calculateKernelForAzimuthElevation() 159 PodZero(resampled.Elements() + out_index, resampled.Length() - out_index); in calculateKernelForAzimuthElevation()
|
/dports/misc/py-eemeter/eemeter-3.1.0/eemeter/ |
H A D | transform.py | 137 resampled = atomic_series.resample(freq).sum() 140 resampled = resampled[resampled_with_nans.notnull()].reindex(resampled.index) 144 resampled = atomic_series.resample(freq).mean() 146 if resampled.index[-1] < series.index[-1]: 149 resampled = ( 150 pd.concat([resampled, pd.Series(np.nan, index=last_index)]) 155 n_total = resampled.resample(atomic_freq).count().resample(freq).count() 156 resampled = resampled.to_frame("value") 157 resampled["coverage"] = n_coverage / n_total 158 return resampled [all …]
|
/dports/finance/R-cran-timeSeries/timeSeries/man/ |
H A D | base-sample.Rd | 16 Returns a resampled 'timeSeries' object. 26 resampled <- sample(x) 27 resampled 28 is.unsorted(resampled)
|
H A D | base-sort.Rd | 65 resampled <- sample(x) 66 resampled 67 is.unsorted(resampled) 70 sorted <- sort(resampled, , decreasing = TRUE)
|
/dports/multimedia/oggvideotools/oggvideotools-0.9.1/src/effect/ |
H A D | pictureLoader.cpp | 106 if (!resampled) { in load() 110 gdImageCopyResampled(resampled, im, 0, 0, 0, 0, resampled->sx, in load() 113 retPlane = convertToRgbPlane(resampled); in load() 115 gdImageDestroy(resampled); in load() 219 gdImagePtr resampled; in save() local 220 resampled = gdImageCreateTrueColor(newWidth, newHeight); in save() 221 if (!resampled) { in save() 225 gdImageCopyResampled(resampled, im, 0, 0, 0, 0, resampled->sx, in save() 231 gdImageJpeg(resampled, out, -1); in save() 235 gdImagePng(resampled, out); in save() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake3/q3data/ |
H A D | video.c | 934 unsigned char *resampled; in Cmd_Video() local 1057 …resampled[(s_resample_height-1-y)*s_resample_width*4 + x*4 + 0] = resampled[y*s_resample_width*4 +… in Cmd_Video() 1058 …resampled[(s_resample_height-1-y)*s_resample_width*4 + x*4 + 1] = resampled[y*s_resample_width*4 +… in Cmd_Video() 1059 …resampled[(s_resample_height-1-y)*s_resample_width*4 + x*4 + 2] = resampled[y*s_resample_width*4 +… in Cmd_Video() 1060 …resampled[(s_resample_height-1-y)*s_resample_width*4 + x*4 + 3] = resampled[y*s_resample_width*4 +… in Cmd_Video() 1062 resampled[y*s_resample_width*4 + x*4 + 0] = tmp[0]; in Cmd_Video() 1063 resampled[y*s_resample_width*4 + x*4 + 1] = tmp[1]; in Cmd_Video() 1064 resampled[y*s_resample_width*4 + x*4 + 2] = tmp[2]; in Cmd_Video() 1065 resampled[y*s_resample_width*4 + x*4 + 3] = tmp[3]; in Cmd_Video() 1070 WriteTGA( buffer, resampled, s_resample_width, s_resample_height ); in Cmd_Video() [all …]
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/q3data/ |
H A D | video.c | 909 unsigned char *resampled; in Cmd_Video() local 1032 …resampled[( s_resample_height - 1 - y ) * s_resample_width * 4 + x * 4 + 0] = resampled[y * s_resa… in Cmd_Video() 1033 …resampled[( s_resample_height - 1 - y ) * s_resample_width * 4 + x * 4 + 1] = resampled[y * s_resa… in Cmd_Video() 1034 …resampled[( s_resample_height - 1 - y ) * s_resample_width * 4 + x * 4 + 2] = resampled[y * s_resa… in Cmd_Video() 1035 …resampled[( s_resample_height - 1 - y ) * s_resample_width * 4 + x * 4 + 3] = resampled[y * s_resa… in Cmd_Video() 1037 resampled[y * s_resample_width * 4 + x * 4 + 0] = tmp[0]; in Cmd_Video() 1038 resampled[y * s_resample_width * 4 + x * 4 + 1] = tmp[1]; in Cmd_Video() 1039 resampled[y * s_resample_width * 4 + x * 4 + 2] = tmp[2]; in Cmd_Video() 1040 resampled[y * s_resample_width * 4 + x * 4 + 3] = tmp[3]; in Cmd_Video() 1045 WriteTGA( buffer, resampled, s_resample_width, s_resample_height ); in Cmd_Video() [all …]
|
/dports/www/grafana8/grafana-8.3.6/pkg/expr/mathexp/ |
H A D | resample.go | 16 resampled := NewSeries(refID, s.GetLabels(), newSeriesLength+1) 75 if err := resampled.SetPoint(idx, t, value); err != nil { 76 return resampled, err 81 return resampled, nil
|
/dports/audio/rosegarden/rosegarden-21.06.1/src/sound/audiostream/ |
H A D | AudioReadStream.cpp | 94 int resampled = m_resampler->resampleInterleaved in getInterleavedFrames() local 97 if (m_resampleBuffer->getWriteSpace() < resampled * m_channelCount) { in getInterleavedFrames() 99 (m_resampleBuffer->getReadSpace() + resampled * m_channelCount); in getInterleavedFrames() 102 m_resampleBuffer->write(out, resampled * m_channelCount); in getInterleavedFrames()
|
/dports/math/R-cran-uroot/uroot/man/ |
H A D | hegy-boot-pval.Rd | 31 \item{byseason}{logical, should the residuals be resampled by season? If \code{TRUE}, 32 the residuals are split by the season they belong to and resampled accordingly; 33 otherwise, the entire series of residuals is resampled regardless of the season they belong to.} 37 \item{u}{optional matrix of integers giving the indices of the resampled residuals. 50 are resampled regardless of the season they belong to. 58 If the number of bootstrap replicates is \code{nb = 1}, the resampled 59 series is returned (relevant for inspection of how the resampled series look like and
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/resample/ |
H A D | test_datetime_index.py | 740 tm.assert_index_equal(resampled.index, exp_rng) 751 tm.assert_index_equal(resampled.index, exp_rng) 755 tm.assert_index_equal(resampled.index, exp_rng) 758 tm.assert_index_equal(resampled.index, exp_rng) 762 tm.assert_index_equal(resampled.index, exp_rng) 765 tm.assert_index_equal(resampled.index, exp_rng) 798 resampled = ts.resample("17min").mean() 1027 resampled = ts.resample("W").mean() 1029 tm.assert_series_equal(resampled, expected) 1097 resampled = ts.resample("M").mean() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/doc/rst/source/ |
H A D | explain_grdresample2.rst_ | 5 to possible distortions or unexpected results in the resampled values. 7 resampled values to slightly exceed the global min/max limits of the original 8 grid. If this is unacceptable, you can impose clipping of the resampled values
|
/dports/science/py-obspy/obspy-1.2.2/obspy/taup/tests/ |
H A D | test_taup_geo.py | 52 resampled = model.get_ray_paths_geo(resample=True, **kwargs)[0].path 54 self.assertEqual(len(resampled), 416) 63 np.testing.assert_allclose(resampled[:5].tolist(), expected, rtol=1e-5) 77 np.testing.assert_allclose(resampled[-5:].tolist(), expected, 124 np.testing.assert_allclose(resampled[205:215].tolist(),
|
/dports/audio/sonic-visualiser/sonic-visualiser-4.0.1/bqaudiostream/src/ |
H A D | AudioReadStream.cpp | 173 int resampled = m_resampler->resampleInterleaved in getResampledChunk() local 175 if (m_resampleBuffer->getWriteSpace() < resampled * channels) { in getResampledChunk() 177 resampled * channels); in getResampledChunk() 180 m_resampleBuffer->write(out, resampled * channels); in getResampledChunk()
|
/dports/multimedia/oggvideotools/oggvideotools-0.9.1/src/main/ |
H A D | audioConverter.cpp | 51 bool AudioConverter::resample(AudioPacket packet, AudioPacket& resampled) in resample() argument 96 resampled = AudioPacket(newInternalPacket); in resample() 116 resampled = AudioPacket(newInternalPacket); in resample() 131 bool AudioConverter::resampleflush(AudioPacket & resampled) in resampleflush() argument
|