Searched refs:samples (Results 76 - 100 of 305) sorted by relevance

1234567891011>>

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DQueuePeekTester.java46 samples.e0, getQueue().peek());
54 samples.e0, getQueue().peek());
H A DSetNavigationTester.java93 assertNull(navigableSet.lower(samples.e0));
94 assertNull(navigableSet.floor(samples.e0));
95 assertNull(navigableSet.ceiling(samples.e0));
96 assertNull(navigableSet.higher(samples.e0));
128 assertNull(navigableSet.lower(samples.e0));
129 assertEquals(a, navigableSet.floor(samples.e0));
130 assertEquals(a, navigableSet.ceiling(samples.e0));
131 assertNull(navigableSet.higher(samples.e0));
H A DMapEqualsTester.java50 Entry<K, V> e3 = getSubjectGenerator().samples().e3;
62 entries.add(entry(null, samples.e3.getValue()));
73 entries.add(entry(null, samples.e3.getValue()));
86 entries.add(entry(samples.e3.getKey(), null));
97 entries.add(entry(samples.e3.getKey(), null));
H A DListCreationTester.java40 array[1] = samples.e0;
/external/jmonkeyengine/engine/src/core/com/jme3/texture/
H A DFrameBuffer.java79 private int samples = 1; field in class:FrameBuffer
159 * of samples. If any textures are attached to this FrameBuffer, then
160 * they must have the same number of samples as given in this constructor.
168 * @param samples The number of samples to use for a multisampled
173 public FrameBuffer(int width, int height, int samples){ argument
180 this.samples = samples == 0 ? 1 : samples;
250 if (samples !
[all...]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A DFramebuffer.cpp273 // If the framebuffer is not complete, attachment samples may be mismatched, and it
275 // have a color attachment, and all its attachments must have the same number of samples,
276 // so the number of samples for the colorbuffer will indicate whether the framebuffer is
292 int samples = -1; local
337 samples = colorbuffer->getSamples();
376 if (samples == -1)
378 samples = depthbuffer->getSamples();
380 else if (samples != depthbuffer->getSamples())
415 if (samples == -1)
417 samples
[all...]
H A DRenderbuffer.cpp197 Colorbuffer::Colorbuffer(int width, int height, GLenum format, GLsizei samples) argument
203 int supportedSamples = getContext()->getNearestSupportedSamples(requestedFormat, samples);
322 DepthStencilbuffer::DepthStencilbuffer(int width, int height, GLsizei samples) argument
328 int supportedSamples = getContext()->getNearestSupportedSamples(D3DFMT_D24S8, samples);
417 Depthbuffer::Depthbuffer(int width, int height, GLsizei samples) : DepthStencilbuffer(width, height, samples) argument
455 Stencilbuffer::Stencilbuffer(int width, int height, GLsizei samples) : DepthStencilbuffer(width, height, samples) argument
/external/flac/libFLAC/
H A Dogg_encoder_aspect.c111 FLAC__StreamEncoderWriteStatus FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data) argument
114 * This depends on the behavior of FLAC__StreamEncoder that 'samples'
117 const FLAC__bool is_metadata = (samples == 0);
137 packet.granulepos = aspect->samples_written + samples;
185 * FLAC__ASSERT(total_samples_estimate == 0 || total_samples_estimate == aspect->samples_written + samples);
194 /*@@@ can't figure out a way to pass a useful number for 'samples' to the write_callback, so we'll just pass 0 */
212 else if(is_metadata && current_frame == 0 && samples == 0 && bytes == 4 && 0 == memcmp(buffer, FLAC__STREAM_SYNC_STRING, sizeof(FLAC__STREAM_SYNC_STRING))) {
224 aspect->samples_written += samples;
H A Dmd5.c277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) argument
287 memcpy(buf_, signal[0], sizeof(FLAC__int32) * samples);
288 for(sample = 0; sample < samples; sample++, buf1_+=2)
293 for(sample = 0; sample < samples; sample++)
300 for(sample = 0; sample < samples; sample++) {
310 for(sample = 0; sample < samples; sample++) {
317 for(sample = 0; sample < samples; sample++) {
328 for(sample = 0; sample < samples; sample++) {
340 for(sample = 0; sample < samples; sample++) {
348 for(sample = 0; sample < samples; sampl
398 FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) argument
[all...]
/external/qemu/audio/
H A Desdaudio.c93 int samples; member in struct:__anon8987
98 .samples = 1024,
120 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
152 int chunk = audio_MIN (to_mix, hw->samples - rpos);
176 rpos = (rpos + wsamples) % hw->samples;
180 rpos = (rpos + chunk) % hw->samples;
241 dolog ("Will use 16 instead of 32 bit samples\n");
259 hw->samples = conf.samples;
260 esd->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples,
[all...]
H A Dpaaudio.c66 int samples; member in struct:__anon8994
72 .samples = 1024,
93 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
125 int chunk = audio_MIN (to_mix, hw->samples - rpos);
136 rpos = (rpos + chunk) % hw->samples;
188 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
220 int chunk = audio_MIN (to_grab, hw->samples - wpos);
230 wpos = (wpos + chunk) % hw->samples;
258 dead = hw->samples - live;
355 hw->samples
[all...]
H A Daudio.c803 int samples, struct mixeng_volume *vol)
807 (void) samples;
956 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) {
957 dolog ("live=%d hw->samples=%d\n", live, hw->samples);
966 int left = hw->samples - pending;
973 int samples_till_end_of_buf = hw->samples - hw->rpos;
978 hw->rpos = (hw->rpos + samples_to_clip) % hw->samples;
994 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) {
995 dolog ("live=%d hw->samples
802 noop_conv(struct st_sample *dst, const void *src, int samples, struct mixeng_volume *vol) argument
1011 int samples, live, ret = 0, swlim, isamp, osamp, rpos, total = 0; local
1108 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; local
1441 audio_capture_mix_and_clear(HWVoiceOut *hw, int rpos, int samples) argument
[all...]
/external/valgrind/tsan/
H A Dthread_sanitizer_test.cc260 const char *samples[] = { local
289 for (size_t i = 0; i < sizeof(samples) / sizeof(samples[0]); i += 2) {
290 EXPECT_STREQ(samples[i], NormalizeFunctionName(samples[i]).c_str());
295 const char *samples[] = { local
391 for (size_t i = 0; i < sizeof(samples) / sizeof(samples[0]); i += 2) {
392 EXPECT_STREQ(samples[i+1], NormalizeFunctionName(samples[
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DDome.java79 * The number of samples along the radial.
101 * The number of samples along the radial.
125 * The number of samples along the radial.
151 * Get the number of samples radially around the main axis of the dome.
176 * @param radialSamples the new number of radial samples of the dome.
305 for (int samples = 0; samples < radialSamples; samples++, index += 3) {
307 ib.put((short) (bottomPlaneStart + samples));
308 ib.put((short) (bottomPlaneStart + samples
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DNavigableMapTestSuiteBuilder.java122 // derive values for inclusive filtering from the input samples
123 SampleElements<Entry<K, V>> samples = delegate.samples();
126 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4);
253 public SampleElements<Entry<K, V>> samples() { method in class:NavigableMapTestSuiteBuilder.ForwardingTestMapGenerator
254 return delegate.samples();
[all...]
H A DMapTestSuiteBuilder.java191 public SampleElements<Map.Entry<K, V>> samples() { method in class:MapTestSuiteBuilder.MapEntrySetGenerator
192 return mapGenerator.samples();
218 private final SampleElements<K> samples; field in class:MapTestSuiteBuilder.MapKeySetGenerator
225 this.mapGenerator.samples();
226 this.samples = new SampleElements<K>(
235 public SampleElements<K> samples() { method in class:MapTestSuiteBuilder.MapKeySetGenerator
236 return samples;
279 private final SampleElements<V> samples; field in class:MapTestSuiteBuilder.MapValueCollectionGenerator
286 this.mapGenerator.samples();
287 this.samples
296 public SampleElements<V> samples() { method in class:MapTestSuiteBuilder.MapValueCollectionGenerator
[all...]
H A DTestEnumSetGenerator.java34 public SampleElements<AnEnum> samples() { method in class:TestEnumSetGenerator
H A DTestStringCollectionGenerator.java34 public SampleElements<String> samples() { method in class:TestStringCollectionGenerator
H A DTestStringListGenerator.java33 public SampleElements<String> samples() { method in class:TestStringListGenerator
H A DTestStringQueueGenerator.java35 public SampleElements<String> samples() { method in class:TestStringQueueGenerator
H A DTestStringSetGenerator.java34 public SampleElements<String> samples() { method in class:TestStringSetGenerator
H A DTestUnhashableCollectionGenerator.java35 public SampleElements<UnhashableObject> samples() { method in class:TestUnhashableCollectionGenerator
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSortedMultisetTestSuiteBuilder.java139 SampleElements<E> samples = delegate.samples();
142 Arrays.asList(samples.e0, samples.e1, samples.e2, samples.e3,
143 samples.e4);
259 public SampleElements<E> samples() { method in class:SortedMultisetTestSuiteBuilder.ForwardingTestMultisetGenerator
260 return delegate.samples();
H A DTestStringMultisetGenerator.java36 public SampleElements<String> samples() { method in class:TestStringMultisetGenerator
/external/qemu/distrib/sdl-1.2.12/src/audio/
H A DSDL_audio.c220 SDL_Delay((audio->spec.samples*1000)/audio->spec.freq);
457 if ( desired->samples == 0 ) {
460 desired->samples = (Uint16)SDL_atoi(env);
463 if ( desired->samples == 0 ) {
465 int samples = (desired->freq / 1000) * 46; local
467 while ( power2 < samples ) {
470 desired->samples = power2;
506 if ( audio->spec.samples != desired->samples ) {
507 desired->samples
[all...]

Completed in 228 milliseconds

1234567891011>>