/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | entropy_sample.c | 31 /** Total number of test samples */ 34 /** Number of samples per block */ 38 * Generate entropy samples for external testing 42 static noise_sample_t samples[SAMPLE_BLOCKSIZE]; local 47 /* Collect and print blocks of samples */ 50 /* Collect one block of samples */ 54 rc = get_noise ( &samples[j] ); 62 samples[j] );
|
/vbox/src/VBox/Devices/Audio/ |
H A D | mixeng_template.h | 117 (PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) 119 (st_sample_t *dst, const void *src, int samples, volume_t *vol) 130 mixeng_clear (dst, samples); 136 while (samples--) { 150 (PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) 152 (st_sample_t *dst, const void *src, int samples, volume_t *vol) 163 mixeng_clear (dst, samples); 169 while (samples--) { 184 (void *dst, const st_sample_t *src, int samples) 188 while (samples 115 _to_stereo(PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) argument 148 _to_mono(PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) argument 183 _from_stereo(void *dst, const st_sample_t *src, int samples) argument 195 _from_mono(void *dst, const st_sample_t *src, int samples) argument [all...] |
H A D | audio_template.h | 85 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (st_sample_t)); 87 dolog ("Could not allocate " NAME " buffer (%d samples)\n", 88 hw->samples); 112 int samples; local 114 samples = ((int64_t) sw->hw->samples << 32) / sw->ratio; 117 sw->buf = audio_calloc (AUDIO_FUNC, samples, sizeof (st_sample_t)); 119 dolog ("Could not allocate buffer for `%s' (%d samples)\n", 120 SW_NAME (sw), samples); 135 sw->buf_samples = samples; [all...] |
H A D | noaudio.c | 45 int live, decr, samples; local 59 /* Minimize the rounding error: samples = int((ticks * freq) / ticks_per_second + 0.5). */ 60 samples = (int)((2 * ticks * hw->info.freq + ticks_per_second) / ticks_per_second / 2); 61 /* Usually there is no integer overflow while calculating the 'samples' value. 63 * In this case simply claim that all samples has been played. 65 if (samples < 0) { 66 samples = live; 70 decr = audio_MIN (live, samples); 71 hw->rpos = (hw->rpos + decr) % hw->samples; 83 hw->samples 116 int samples = 0; local [all...] |
H A D | winaudio.c | 81 int samples; local 98 if (abs (hw->samples - live) < 64) 103 samples = oss->default_bufsize >> hw->info.shift; 105 decr = audio_MIN (samples, live); 107 Log(("winmm_run_out: current pos %08X room left=%08X, decr=%08x\n", mmtime.u.sample, samples, decr)); 109 samples = decr; 111 while (samples) 114 int left_till_end_samples = hw->samples - rpos; 115 int convert_samples = audio_MIN (samples, left_till_end_samples); 146 rpos = (rpos + convert_samples) % hw->samples; [all...] |
H A D | alsaaudio.c | 121 snd_pcm_uframes_t samples; member in struct:alsa_params_obt 271 dolog ("obtained: samples %ld\n", obt->samples); 635 obt->samples = obt_buffer_size; 706 int samples; local 723 samples = decr; 725 while (samples) { 726 int left_till_end_samples = hw->samples - rpos; 727 int len = audio_MIN (samples, left_till_end_samples); 783 rpos = (rpos + written) % hw->samples; [all...] |
H A D | audiosniffer.c | 70 * driver is about to play audio samples. 75 * @param hw Audio samples information. 76 * @param pvSamples Pointer to audio samples. 77 * @param cSamples Number of audio samples in the buffer. 220 int filter_output_begin(void **ppvOutputCtx, struct audio_pcm_info *pinfo, int samples) argument 283 cSamples, /* How many samples in one block is preferred. */ 286 phw->info.bits); /* A sample size in one channel, samples are signed. */ 416 /* Convert PCM samples to st_sample_t. 424 uint32_t cs = cbData / pCtx->cBytesPerFrame; /* How many samples. */
|
H A D | ossaudio.c | 346 int samples; local 360 bufsize = hw->samples << hw->info.shift; 373 if (abs (hw->samples - live) < 64) { 421 samples = decr; 423 while (samples) { 424 int left_till_end_samples = hw->samples - rpos; 425 int convert_samples = audio_MIN (samples, left_till_end_samples); 462 rpos = (rpos + wsamples) % hw->samples; 471 rpos = (rpos + convert_samples) % hw->samples; 472 samples [all...] |
H A D | DrvHostALSAAudio.cpp | 165 snd_pcm_uframes_t samples; member in struct:ALSAAUDIOSTREAMCFG 657 pCfgObt->samples = obt_buffer_size; 1105 AssertBreakStmt(obt.samples, rc = VERR_INVALID_PARAMETER); 1106 size_t cbBuf = obt.samples * (1 << pHstStrmOut->Props.cShift); 1111 LogRel(("ALSA: Not enough memory for output DAC buffer (%RU32 samples, each %d bytes)\n", 1112 obt.samples, 1 << pHstStrmOut->Props.cShift)); 1121 *pcSamples = obt.samples; 1176 AssertBreakStmt(obt.samples, rc = VERR_INVALID_PARAMETER); 1177 size_t cbBuf = obt.samples * (1 << pHstStrmIn->Props.cShift); 1182 LogRel(("ALSA: Not enough memory for input ADC buffer (%RU32 samples, eac [all...] |
H A D | audio_int.h | 94 int samples; member in struct:HWVoiceOut 113 int samples; member in struct:HWVoiceIn 327 int filter_output_begin(void **ppvOutputCtx, struct audio_pcm_info *pinfo, int samples); 331 int filter_input_begin(void **ppvInputCtx, PFNAUDIOINPUTCALLBACK pfnCallback, void *pvCallback, HWVoiceIn *phw, int samples);
|
H A D | DevSB16.cpp | 1044 int freq, samples, bytes; local 1048 samples = dsp_get_lohi (pThis) + 1; 1049 bytes = samples << pThis->fmt_stereo << ((pThis->fmt_bits == 16) ? 1 : 0); 1063 LogFlowFunc(("mix silence %d %d %" PRId64 "\n", samples, bytes, ticks)); 1070 LogFlowFunc(("mix silence %d %d % %RU64\n", samples, bytes, ticks));
|
H A D | audio.c | 735 int samples, volume_t *vol) 739 (void) samples; 887 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { 888 dolog ("live=%d hw->samples=%d\n", live, hw->samples); 903 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { 904 dolog ("live=%d hw->samples=%d\n", live, hw->samples); 913 return hw->samples + rpos; 920 int samples, liv local 734 noop_conv(st_sample_t *dst, const void *src, int samples, volume_t *vol) argument 1033 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; local 1299 audio_capture_mix_and_clear(HWVoiceOut *hw, int rpos, int samples) argument [all...] |
/vbox/src/VBox/Main/webservice/samples/java/jax-ws/ |
H A D | metrictest.java | 43 public List<Long> samples; field in class:PerformanceData 52 for (Long sample : samples) 60 for (Long sample : samples) 87 public List<IPerformanceMetric> setup(List<String> metricNames, List<IUnknown> objects, Long period, Long samples) argument 89 return _collector.setupMetrics(metricNames, objects, period, samples); 123 List<Long> samples = new ArrayList<Long>(lengths.value.get(i).intValue()); 126 samples.add(values.get(indices.value.get(i).intValue() + j).longValue()); 128 singleMetricData.samples = samples;
|
/vbox/src/VBox/Devices/Audio/testcase/ |
H A D | tstAudioMixBuffer.cpp | 94 uint32_t cToWrite = audioMixBufSize(&mb) - written_abs - 1; /* -1 as padding plus -2 samples for above. */ 190 int16_t samples[32] = { 0xAA, 0xBB }; local 208 RTTESTI_CHECK_RC_OK_BREAK(audioMixBufWriteAt(&child1, 0, &samples, sizeof(samples), &written)); 209 RTTESTI_CHECK_MSG_BREAK(written == cSamplesChild1, ("Child1: Expected %RU32 written samples, got %RU32\n", cSamplesChild1, written)); 212 RTTESTI_CHECK_MSG_BREAK(audioMixBufMixed(&child1) == temp, ("Child1: Expected %RU32 mixed samples, got %RU32\n", audioMixBufMixed(&child1), temp)); 214 RTTESTI_CHECK_RC_OK_BREAK(audioMixBufWriteAt(&child2, 0, &samples, sizeof(samples), &written)); 215 RTTESTI_CHECK_MSG_BREAK(written == cSamplesChild2, ("Child2: Expected %RU32 written samples, got %RU32\n", cSamplesChild2, written)); 218 RTTESTI_CHECK_MSG_BREAK(audioMixBufMixed(&child2) == temp, ("Child2: Expected %RU32 mixed samples, go [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageMetrics.cpp | 228 uint32_t period = 1, samples = 1; local 243 else if ( !strcmp(argv[i], "--samples") 244 || !strcmp(argv[i], "-samples")) 248 if ( VINF_SUCCESS != RTStrToUInt32Full(argv[++i], 10, &samples) 249 || !samples) 250 return errorArgument("Invalid value for 'samples' parameter: '%s'", argv[i]); 268 ComSafeArrayAsInParam(objects), period, samples, 396 uint32_t period = 1, samples = 1; local 410 else if ( !strcmp(argv[i], "--samples") 411 || !strcmp(argv[i], "-samples")) [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | query.c | 338 GLuint samples; local 386 GL_EXTCALL(glGetQueryObjectuivARB(query->id, GL_QUERY_RESULT_ARB, &samples)); 388 TRACE("(%p) : Returning %d samples.\n", This, samples); 389 *data = samples;
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | query.c | 319 GLuint samples; local 368 GL_EXTCALL(glGetQueryObjectuivARB(oq->id, GL_QUERY_RESULT_ARB, &samples)); 370 TRACE("Returning %d samples.\n", samples); 371 *data = samples;
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ |
H A D | glxscreens.h | 74 GLint samples; member in struct:__GLXconfig
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/ |
H A D | glxscreens.h | 96 GLint samples; member in struct:__GLXconfig
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/ |
H A D | glxscreens.h | 91 GLint samples; member in struct:__GLXconfig
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/ |
H A D | glxscreens.h | 76 GLint samples; member in struct:__GLXconfig
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/ |
H A D | glxscreens.h | 74 GLint samples; member in struct:__GLXconfig
|
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/include/GL/internal/ |
H A D | glcore.h | 111 GLint samples; member in struct:__GLcontextModesRec
|
/vbox/src/VBox/GuestHost/OpenGL/include/state/ |
H A D | cr_limits.h | 199 GLuint samples; member in struct:__anon16209
|
/vbox/src/VBox/Additions/x11/x11include/glproto-1.4.10/GL/internal/ |
H A D | glcore.h | 114 GLint samples; member in struct:__GLcontextModesRec
|