Home
last modified time | relevance | path

Searched refs:sample_count (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/libsnd/src/
Dhtk.c107 int sample_count, sample_period ; in htk_write_header() local
120 sample_count = (psf->filelength - 12) / 2 ; in htk_write_header()
122 sample_count = 0 ; in htk_write_header()
126 psf_binheader_writef (psf, "E444", BHW4 (sample_count), BHW4 (sample_period), BHW4 (0x20000)) ; in htk_write_header()
187 { int sample_count, sample_period, marker ; in htk_read_header() local
189 psf_binheader_readf (psf, "pE444", 0, &sample_count, &sample_period, &marker) ; in htk_read_header()
191 if (2 * sample_count + 12 != psf->filelength) in htk_read_header()
202 sample_count, sample_period, psf->sf.samplerate) ; in htk_read_header()
207 sample_count, sample_period, psf->sf.samplerate) ; in htk_read_header()
Dxi.c336 short version, fade_out, sample_count ; in xi_read_header() local
389 psf_binheader_readf (psf, "e2j2", &fade_out, 2 + 20, &sample_count) ; in xi_read_header()
393 if (sample_count > MAX_XI_SAMPLES) in xi_read_header()
401 for (k = 0 ; k < sample_count ; k++) in xi_read_header()
451 while (sample_count > 1 && sample_sizes [sample_count - 1] == 0) in xi_read_header()
452 sample_count -- ; in xi_read_header()
456 if (sample_count > 2) in xi_read_header()
459 sample_count, sample_count - 1, sample_sizes [sample_count - 1]) ; in xi_read_header()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c40 valid_sample_count(unsigned sample_count) in valid_sample_count() argument
42 switch (sample_count) { in valid_sample_count()
57 unsigned sample_count, in fd5_screen_is_format_supported() argument
63 !valid_sample_count(sample_count)) { in fd5_screen_is_format_supported()
65 util_format_name(format), target, sample_count, usage); in fd5_screen_is_format_supported()
69 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in fd5_screen_is_format_supported()
112 util_format_name(format), target, sample_count, usage, retval); in fd5_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_screen.c42 valid_sample_count(unsigned sample_count) in valid_sample_count() argument
44 switch (sample_count) { in valid_sample_count()
63 unsigned sample_count, in fd6_screen_is_format_supported() argument
69 !valid_sample_count(sample_count)) { in fd6_screen_is_format_supported()
71 util_format_name(format), target, sample_count, usage); in fd6_screen_is_format_supported()
75 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in fd6_screen_is_format_supported()
119 util_format_name(format), target, sample_count, usage, retval); in fd6_screen_is_format_supported()
/third_party/boost/boost/math/distributions/
Dhypergeometric.hpp47 unsigned sample_count()const in sample_count() function in boost::math::hypergeometric_distribution
103 unsigned n = dist.sample_count(); in range()
130 x, dist.defective(), dist.sample_count(), dist.total(), Policy()); in pdf()
159 x, dist.defective(), dist.sample_count(), dist.total(), false, Policy()); in cdf()
188 c.param, c.dist.defective(), c.dist.sample_count(), c.dist.total(), true, Policy()); in cdf()
217 …l::hypergeometric_quantile(p, RealType(1 - p), dist.defective(), dist.sample_count(), dist.total()… in quantile()
231 …c_quantile(RealType(1 - c.param), c.param, c.dist.defective(), c.dist.sample_count(), c.dist.total… in quantile()
237 return static_cast<RealType>(dist.defective() * dist.sample_count()) / dist.total(); in mean()
244 RealType n = static_cast<RealType>(dist.sample_count()); in variance()
254 RealType n = static_cast<RealType>(dist.sample_count()); in mode()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c42 unsigned sample_count, in fd4_screen_is_format_supported() argument
48 (sample_count > 1)) { /* TODO add MSAA */ in fd4_screen_is_format_supported()
50 util_format_name(format), target, sample_count, usage); in fd4_screen_is_format_supported()
54 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in fd4_screen_is_format_supported()
95 util_format_name(format), target, sample_count, usage, retval); in fd4_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_screen.c42 unsigned sample_count, in fd3_screen_is_format_supported() argument
48 (sample_count > 1)) { /* TODO add MSAA */ in fd3_screen_is_format_supported()
50 util_format_name(format), target, sample_count, usage); in fd3_screen_is_format_supported()
54 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in fd3_screen_is_format_supported()
91 util_format_name(format), target, sample_count, usage, retval); in fd3_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c40 unsigned sample_count, in fd2_screen_is_format_supported() argument
46 (sample_count > 1)) { /* TODO add MSAA */ in fd2_screen_is_format_supported()
48 util_format_name(format), target, sample_count, usage); in fd2_screen_is_format_supported()
52 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in fd2_screen_is_format_supported()
90 util_format_name(format), target, sample_count, usage, retval); in fd2_screen_is_format_supported()
/third_party/flutter/skia/infra/bots/recipes/
Dperf.py79 sample_count = '8'
81 sample_count = '4'
90 sample_count = ''
93 sample_count = ''
98 if sample_count:
99 configs.append(gl_prefix + 'msaa' + sample_count)
130 if sample_count:
131 configs.append('angle_d3d11_es2_msaa' + sample_count)
135 if sample_count:
136 configs.append('angle_gl_es2_msaa' + sample_count)
Dtest.py122 sample_count = '8'
125 sample_count = '4'
131 sample_count = ''
141 if sample_count:
142 configs.append(gl_prefix + 'msaa' + sample_count)
194 if sample_count:
195 configs.append('angle_d3d11_es2_msaa' + sample_count)
196 configs.append('angle_d3d11_es3_msaa' + sample_count)
200 'angle_d3d11_es3_msaa' + sample_count]
204 if sample_count:
[all …]
/third_party/ffmpeg/libavformat/
Dwavdec.c347 int64_t sample_count = 0; in wav_read_header() local
398 sample_count = avio_rl64(pb); in wav_read_header()
400 if (data_size < 0 || sample_count < 0) { in wav_read_header()
403 data_size, sample_count); in wav_read_header()
465 if (!sample_count) in wav_read_header()
466 sample_count = (!wav->rifx ? avio_rl32(pb) : avio_rb32(pb)); in wav_read_header()
614 && sample_count > 0 && st->codecpar->channels > 1 in wav_read_header()
615 && sample_count % st->codecpar->channels == 0) { in wav_read_header()
617 sample_count /st->codecpar->bit_rate - 1.0) < 0.3) in wav_read_header()
618 sample_count /= st->codecpar->channels; in wav_read_header()
[all …]
Dsegafilm.c59 unsigned int sample_count; member
203 film->sample_count = AV_RB32(&scratch[12]); in film_read_header()
204 if(film->sample_count >= UINT_MAX / sizeof(film_sample)) in film_read_header()
206 film->sample_table = av_malloc_array(film->sample_count, sizeof(film_sample)); in film_read_header()
219 for (i = 0; i < film->sample_count; i++) { in film_read_header()
280 if (film->current_sample >= film->sample_count) in film_read_packet()
289 if (next_sample_id >= film->sample_count) in film_read_packet()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_formats.c109 unsigned sample_count, in iris_is_format_supported() argument
117 if (sample_count > max_samples || in iris_is_format_supported()
118 !util_is_power_of_two_or_zero(sample_count)) in iris_is_format_supported()
133 if (sample_count > 1) in iris_is_format_supported()
179 supported &= sample_count == 0; in iris_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_formats.c427 unsigned sample_count, unsigned storage_sample_count, in crocus_is_format_supported() argument
433 if (!util_is_power_of_two_or_zero(sample_count)) in crocus_is_format_supported()
436 if (sample_count > 8 || sample_count == 2) in crocus_is_format_supported()
439 if (sample_count > 4 || sample_count == 2) in crocus_is_format_supported()
441 } else if (sample_count > 1) { in crocus_is_format_supported()
466 if (sample_count > 1) in crocus_is_format_supported()
512 supported &= sample_count == 0; in crocus_is_format_supported()
/third_party/gstreamer/gstplugins_base/ext/vorbis/
Dgstvorbisdec.c463 guint sample_count; in vorbis_handle_data_packet() local
498 if ((sample_count = vorbis_dsp_pcmout (&vd->vd, NULL, 0)) == 0) in vorbis_handle_data_packet()
500 if ((sample_count = vorbis_synthesis_pcmout (&vd->vd, NULL)) == 0) in vorbis_handle_data_packet()
504 size = sample_count * vd->info.bpf; in vorbis_handle_data_packet()
506 sample_count, size); in vorbis_handle_data_packet()
514 if (G_UNLIKELY (vorbis_dsp_pcmout (&vd->vd, map.data, sample_count) != in vorbis_handle_data_packet()
515 sample_count)) in vorbis_handle_data_packet()
517 if (G_UNLIKELY (vorbis_synthesis_pcmout (&vd->vd, &pcm) != sample_count)) in vorbis_handle_data_packet()
529 sample_count, vd->info.channels); in vorbis_handle_data_packet()
540 vorbis_dsp_read (&vd->vd, sample_count); in vorbis_handle_data_packet()
[all …]
/third_party/pulseaudio/src/tests/
Dalsa-time-test.c39 int64_t sample_count = 0; in main() local
205 sample_count += fillrate; in main()
220 pos = (unsigned long long) ((sample_count - handled - delay) * 1000000LU / SAMPLE_RATE); in main()
222 pos = (unsigned long long) ((sample_count - handled + delay) * 1000000LU / SAMPLE_RATE); in main()
232 (unsigned long long) sample_count, in main()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_msaa.c117 unsigned sample_count = st->state.fb_num_samples; in st_update_sample_state() local
119 if (_mesa_is_multisample_enabled(st->ctx) && sample_count > 1) { in st_update_sample_state()
123 (st->ctx->Multisample.SampleCoverageValue * (float) sample_count); in st_update_sample_state()
Dst_format.h56 enum pipe_texture_target target, unsigned sample_count,
62 GLenum internalFormat, unsigned sample_count,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_format.h138 unsigned sample_count,
147 unsigned sample_count,
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_screen.c305 unsigned sample_count, in lima_screen_is_format_supported() argument
320 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in lima_screen_is_format_supported()
324 if (sample_count > 1 && sample_count != 4) in lima_screen_is_format_supported()
332 if (sample_count > 1 && util_format_is_float(format)) in lima_screen_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c326 unsigned sample_count, in vc4_screen_is_format_supported() argument
332 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in vc4_screen_is_format_supported()
335 if (sample_count > 1 && sample_count != VC4_MAX_SAMPLES) in vc4_screen_is_format_supported()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkaudiosrc.cpp596 glong sample_count; in gst_decklink_audio_src_create() local
630 sample_count = p.packet->GetSampleFrameCount (); in gst_decklink_audio_src_create()
631 data_size = self->info.bpf * sample_count; in gst_decklink_audio_src_create()
683 end_offset = start_offset + sample_count; in gst_decklink_audio_src_create()
740 self->next_offset += sample_count; in gst_decklink_audio_src_create()
747 self->processed += sample_count; in gst_decklink_audio_src_create()
753 gst_util_uint64_scale_int (sample_count, GST_SECOND, self->info.rate); in gst_decklink_audio_src_create()
763 end_hw_offset = start_hw_offset + sample_count; in gst_decklink_audio_src_create()
778 end_offset = start_offset + sample_count; in gst_decklink_audio_src_create()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkphysicaldevice.c618 DEBUG_FLAGS ("limit", limits, framebufferColorSampleCounts, sample_count); in dump_limits()
619 DEBUG_FLAGS ("limit", limits, framebufferDepthSampleCounts, sample_count); in dump_limits()
620 DEBUG_FLAGS ("limit", limits, framebufferStencilSampleCounts, sample_count); in dump_limits()
621 DEBUG_FLAGS ("limit", limits, framebufferNoAttachmentsSampleCounts, sample_count); in dump_limits()
623 DEBUG_FLAGS ("limit", limits, sampledImageColorSampleCounts, sample_count); in dump_limits()
624 DEBUG_FLAGS ("limit", limits, sampledImageIntegerSampleCounts, sample_count); in dump_limits()
625 DEBUG_FLAGS ("limit", limits, sampledImageDepthSampleCounts, sample_count); in dump_limits()
626 DEBUG_FLAGS ("limit", limits, sampledImageStencilSampleCounts, sample_count); in dump_limits()
627 DEBUG_FLAGS ("limit", limits, storageImageSampleCounts, sample_count); in dump_limits()
746 DEBUG_FLAGS ("properties (1.2)", properties, framebufferIntegerColorSampleCounts, sample_count); in dump_properties12()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_screen.cpp473 unsigned sample_count, in d3d12_is_format_supported() argument
479 if (MAX2(1, sample_count) != MAX2(1, storage_sample_count)) in d3d12_is_format_supported()
551 if (sample_count > 0) in d3d12_is_format_supported()
585 if (sample_count > 0) { in d3d12_is_format_supported()
589 if (!util_is_power_of_two_nonzero(sample_count)) in d3d12_is_format_supported()
594 ms_info.SampleCount = sample_count; in d3d12_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c122 static void si_get_sample_position(struct pipe_context *ctx, unsigned sample_count, in si_get_sample_position() argument
127 switch (sample_count) { in si_get_sample_position()

12345