/third_party/mindspore/tests/ut/cpp/dataset/ |
D | weighted_random_sampler_test.cc | 49 uint64_t total_samples = 1000; in TEST_F() local 50 std::vector<double> weights(total_samples, std::rand() % 100); in TEST_F() 51 std::vector<uint64_t> freq(total_samples, 0); in TEST_F() 55 DummyRandomAccessOp dummyRandomAccessOp(total_samples); in TEST_F() 78 uint64_t total_samples = 1000; in TEST_F() local 79 std::vector<double> weights(total_samples, std::rand() % 100); in TEST_F() 80 std::vector<uint64_t> freq(total_samples, 0); in TEST_F() 84 DummyRandomAccessOp dummyRandomAccessOp(total_samples); in TEST_F() 100 for (int i = 0; i < total_samples; i++) { in TEST_F() 113 uint64_t total_samples = 1000; in TEST_F() local [all …]
|
D | subset_sampler_test.cc | 68 int64_t total_samples = 100000 - 5; in TEST_F() local 71 std::vector<int64_t> input(total_samples, 1); in TEST_F() 74 DummyRandomAccessOp dummyRandomAccessOp(total_samples); in TEST_F() 94 ASSERT_EQ(epoch, (total_samples + samples_per_tensor - 1) / samples_per_tensor); in TEST_F()
|
D | subset_random_sampler_test.cc | 68 int64_t total_samples = 100000 - 5; in TEST_F() local 71 std::vector<int64_t> input(total_samples, 1); in TEST_F() 74 DummyRandomAccessOp dummyRandomAccessOp(total_samples); in TEST_F() 93 ASSERT_EQ(epoch, (total_samples + samples_per_tensor - 1) / samples_per_tensor); in TEST_F()
|
D | image_folder_op_test.cc | 239 int64_t total_samples = 44; in TEST_F() local 241 std::vector<double> weights(total_samples, std::rand() % 100); in TEST_F()
|
/third_party/ffmpeg/libavcodec/ |
D | libvorbisdec.c | 156 int samples, total_samples, total_bytes; in oggvorbis_decode_frame() local 183 total_samples = 0 ; in oggvorbis_decode_frame() 189 total_samples += samples ; in oggvorbis_decode_frame() 193 frame->nb_samples = total_samples; in oggvorbis_decode_frame() 194 *got_frame_ptr = total_samples > 0; in oggvorbis_decode_frame()
|
D | wavpack.c | 445 int total_samples = s->samples, stereo = dst_r ? 1 : 0; in wv_unpack_dsd_high() local 479 while (total_samples--) { in wv_unpack_dsd_high() 585 int total_samples = s->samples; in wv_unpack_dsd_fast() local 663 total_samples *= 2; in wv_unpack_dsd_fast() 665 while (total_samples--) { in wv_unpack_dsd_fast() 744 int total_samples = s->samples; in wv_unpack_dsd_copy() local 747 if (bytestream2_get_bytes_left(&s->gbyte) != total_samples * (dst_r ? 2 : 1)) in wv_unpack_dsd_copy() 750 while (total_samples--) { in wv_unpack_dsd_copy()
|
D | wmalosslessdec.c | 840 int total_samples = s->samples_per_frame * s->num_channels; in decode_subframe() local 861 total_samples -= s->channel[i].decoded_samples; in decode_subframe() 866 total_samples -= s->channel[i].subframe_len[cur_subframe]; in decode_subframe() 876 if (!total_samples) in decode_subframe()
|
D | wmaprodec.c | 1191 int total_samples = s->samples_per_frame * s->nb_channels; in decode_subframe() local 1218 total_samples -= s->channel[i].decoded_samples; in decode_subframe() 1223 total_samples -= s->channel[i].subframe_len[cur_subframe]; in decode_subframe() 1233 if (!total_samples) in decode_subframe()
|
/third_party/gstreamer/gstplugins_good/gst/audioparsers/ |
D | gstwavpackparse.c | 119 wvparse->total_samples = 0; in gst_wavpack_parse_reset() 415 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.total_samples); in gst_wavpack_parse_frame_header() 427 GST_LOG_OBJECT (parse, "total samples %d", wph.total_samples); in gst_wavpack_parse_frame_header() 433 if (!parse->total_samples && wph.block_index == 0 && wph.total_samples != -1) { in gst_wavpack_parse_frame_header() 435 wph.total_samples); in gst_wavpack_parse_frame_header() 436 parse->total_samples = wph.total_samples; in gst_wavpack_parse_frame_header() 596 if (wvparse->total_samples) { in gst_wavpack_parse_handle_frame() 599 GST_FORMAT_TIME, gst_util_uint64_scale_int (wvparse->total_samples, in gst_wavpack_parse_handle_frame()
|
D | gstwavpackparse.h | 78 guint32 total_samples; /* total samples for entire file, but this is member 114 guint total_samples; member
|
D | gstflacparse.h | 70 guint64 total_samples; member
|
D | gstflacparse.c | 351 flacparse->total_samples = 0; in gst_flac_parse_start() 942 if (!gst_bit_reader_get_bits_uint64 (&reader, &flacparse->total_samples, 36)) in gst_flac_parse_handle_streaminfo() 944 if (flacparse->total_samples) { in gst_flac_parse_handle_streaminfo() 946 GST_FORMAT_DEFAULT, flacparse->total_samples, 0); in gst_flac_parse_handle_streaminfo() 961 flacparse->channels, flacparse->bps, flacparse->total_samples); in gst_flac_parse_handle_streaminfo()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_autotune.c | 211 uint32_t total_samples = 0; in fd_autotune_use_bypass() local 218 total_samples += result->samples_passed; in fd_autotune_use_bypass() 221 float avg_samples = (float)total_samples / (float)history->num_results; in fd_autotune_use_bypass() 238 batch->hash, batch->num_draws, total_samples, avg_samples, in fd_autotune_use_bypass()
|
/third_party/mesa3d/bin/ |
D | perf-annotate-jit.py | 156 total_samples = 0 166 total_samples += sample 168 print 'total:', total_samples
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/ |
D | cpu_sampling.cc | 163 int total_samples = cpu_util_.size(); in Analyze() local 167 int start_analyze = total_samples / 4; in Analyze() 168 int end_analyze = total_samples - start_analyze; in Analyze() 367 int total_samples = cpu_op_util_.size(); in Analyze() local 372 int64 start_analyze = total_samples / sample_sections; in Analyze() 373 int64 end_analyze = total_samples - start_analyze; in Analyze() 518 int total_samples = process_util_.size(); in Analyze() local 523 int64 start_analyze = total_samples / sample_sections; in Analyze() 524 int64 end_analyze = total_samples - start_analyze; in Analyze()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 253 int total_samples = this->msaaSamples(); in totalSamples() local 257 total_samples += 1; in totalSamples() 260 return total_samples; in totalSamples()
|
/third_party/ffmpeg/libavformat/ |
D | wv.h | 37 uint32_t total_samples; //< total number of samples in the stream member
|
D | wv.c | 42 wv->total_samples = AV_RL32(data + 12); in ff_wv_parse_header()
|
D | wvdec.c | 265 if (wc->header.total_samples != 0xFFFFFFFFu) in wv_read_header() 266 st->duration = wc->header.total_samples; in wv_read_header()
|
/third_party/gstreamer/gstplugins_good/ext/flac/ |
D | gstflacenc.c | 574 guint64 total_samples) in gst_flac_enc_set_metadata() argument 705 if (flacenc->seekpoints && total_samples != GST_CLOCK_TIME_NONE) { in gst_flac_enc_set_metadata() 714 (flacenc->meta[entries], flacenc->seekpoints, total_samples); in gst_flac_enc_set_metadata() 719 (flacenc->meta[entries], samples, total_samples); in gst_flac_enc_set_metadata() 729 } else if (flacenc->seekpoints && total_samples == GST_CLOCK_TIME_NONE) { in gst_flac_enc_set_metadata() 873 guint64 total_samples = GST_CLOCK_TIME_NONE; in gst_flac_enc_set_format() local 889 total_samples = gst_flac_enc_peer_query_total_samples (flacenc, in gst_flac_enc_set_format() 899 if (total_samples != GST_CLOCK_TIME_NONE) in gst_flac_enc_set_format() 901 MIN (total_samples, G_GUINT64_CONSTANT (0x0FFFFFFFFF))); in gst_flac_enc_set_format() 903 gst_flac_enc_set_metadata (flacenc, info, total_samples); in gst_flac_enc_set_format()
|
D | gstflacdec.c | 485 samples = metadata->data.stream_info.total_samples; in gst_flac_dec_metadata_cb()
|
/third_party/ffmpeg/libavfilter/ |
D | avf_showwaves.c | 97 int64_t total_samples; member 570 int64_t n = 0, column_max_samples = showwaves->total_samples / outlink->w; in push_single_pic() 571 int64_t remaining_samples = showwaves->total_samples - (column_max_samples * outlink->w); in push_single_pic() 863 showwaves->total_samples += insamples->nb_samples; in showwavespic_filter_frame()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudiobasesrc.c | 755 guint samples, total_samples; in gst_audio_base_src_create() local 800 total_samples = samples = length / bpf; in gst_audio_base_src_create() 994 latency = gst_util_uint64_scale_int (total_samples, GST_SECOND, rate); in gst_audio_base_src_create()
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-ids.h | 688 guint32 total_samples; /* for entire file (-1 if unknown) */ member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 3980 unsigned total_samples = 1u << G_028BE0_MSAA_NUM_SAMPLES(pipeline->graphics.ms.pa_sc_aa_config); in radv_gfx9_compute_bin_size() local 3982 unsigned effective_samples = total_samples; in radv_gfx9_compute_bin_size() 4018 unsigned ds_bytes_per_pixel = 4 * (depth_coeff + stencil_coeff) * total_samples; in radv_gfx9_compute_bin_size() 4056 const unsigned total_samples = in radv_gfx10_compute_bin_size() local 4058 const unsigned samples_log = util_logbase2_ceil(total_samples); in radv_gfx10_compute_bin_size() 4076 if (total_samples > 1) { in radv_gfx10_compute_bin_size() 4083 color_bytes_per_pixel *= total_samples; in radv_gfx10_compute_bin_size() 4109 unsigned db_bytes_per_pixel = (depth_coeff + stencil_coeff) * total_samples; in radv_gfx10_compute_bin_size()
|