/external/compiler-rt/test/asan/TestCases/ |
D | debug_stacks.cc | 29 size_t num_frames = 100; in main() local 31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); in main() 33 fprintf(stderr, "alloc stack retval %s\n", (num_frames > 0 && num_frames < 10) in main() 43 num_frames = 100; in main() 44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); in main() 46 fprintf(stderr, "free stack retval %s\n", (num_frames > 0 && num_frames < 10) in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/ |
D | debug_stacks.cpp | 35 size_t num_frames = 100; in main() local 37 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); in main() 39 fprintf(stderr, "alloc stack retval %s\n", (num_frames > 0 && num_frames < 10) in main() 49 num_frames = 100; in main() 50 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); in main() 52 fprintf(stderr, "free stack retval %s\n", (num_frames > 0 && num_frames < 10) in main()
|
/external/libvpx/libvpx/test/ |
D | simple_encode_test.cc | 16 const int num_frames = 17; variable 19 double GetBitrateInKbps(size_t bit_size, int num_frames, int frame_rate_num, in GetBitrateInKbps() argument 21 return static_cast<double>(bit_size) / num_frames * frame_rate_num / in GetBitrateInKbps() 27 target_bitrate, num_frames, infile_path); in TEST() 31 EXPECT_EQ(frame_stats.size(), static_cast<size_t>(num_frames)); in TEST() 47 target_bitrate, num_frames, infile_path); in TEST() 55 target_bitrate, num_frames, infile_path); in TEST() 58 EXPECT_GE(num_coding_frames, num_frames); in TEST() 61 int ref_num_alternate_refereces = num_coding_frames - num_frames; in TEST() 77 EXPECT_LT(encode_frame_result.show_idx, num_frames); in TEST() [all …]
|
D | vpxdec.sh | 101 local num_frames=$(${VPX_TEST_PREFIX} "${decoder}" \ 104 if [ "$num_frames" -ne "$expected" ]; then 105 elog "Output frames ($num_frames) != expected ($expected)" 118 local num_frames=$(${TIMEOUT} ${VPX_TEST_PREFIX} "${decoder}" \ 121 if [ -z "$num_frames" ] || [ "$num_frames" -ne "$expected" ]; then 122 elog "Output frames ($num_frames) != expected ($expected)"
|
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | rnn_vad_unittest.cc | 73 const size_t num_frames = samples_reader.second; in TEST() local 74 ASSERT_GE(expected_vad_prob_reader.second, num_frames); in TEST() 80 std::vector<float> computed_vad_prob(num_frames); in TEST() 81 std::vector<float> expected_vad_prob(num_frames); in TEST() 88 for (size_t i = 0; i < num_frames; ++i) { in TEST() 101 EXPECT_LT(cumulative_error / num_frames, 1e-4f); in TEST() 117 const size_t num_frames = samples_reader.second; in TEST() local 122 prefetched_decimated_samples.resize(num_frames * kFrameSize10ms24kHz); in TEST() 123 for (size_t i = 0; i < num_frames; ++i) { in TEST() 140 for (size_t i = 0; i < num_frames; ++i) { in TEST() [all …]
|
/external/webrtc/modules/audio_processing/vad/ |
D | vad_audio_proc_unittest.cc | 48 if (features.num_frames > 0) { in TEST() 49 ASSERT_LT(features.num_frames, kMaxNumFrames); in TEST() 51 const size_t num_frames = features.num_frames; in TEST() local 52 ASSERT_EQ(num_frames, fread(sp, sizeof(sp[0]), num_frames, peak_file)); in TEST() 53 for (size_t n = 0; n < features.num_frames; n++) in TEST()
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/ |
D | audio_microfrontend_op.cc | 87 DimensionHandle num_frames = ctx->Dim(input, 0); in __anon74d2595d0102() local 88 if (ctx->Value(num_frames) < window_size) { in __anon74d2595d0102() 89 num_frames = ctx->MakeDim(0); in __anon74d2595d0102() 91 TF_RETURN_IF_ERROR(ctx->Subtract(num_frames, window_size, &num_frames)); in __anon74d2595d0102() 93 ctx->Divide(num_frames, window_step, false, &num_frames)); in __anon74d2595d0102() 95 ctx->Divide(num_frames, frame_stride, false, &num_frames)); in __anon74d2595d0102() 96 TF_RETURN_IF_ERROR(ctx->Add(num_frames, 1, &num_frames)); in __anon74d2595d0102() 104 ShapeHandle output = ctx->MakeShape({num_frames, num_features}); in __anon74d2595d0102() 220 int num_frames = 0; in Compute() local 223 num_frames = (audio_size - window_size) / window_step + 1; in Compute() [all …]
|
/external/webrtc/common_audio/include/ |
D | audio_util.h | 99 int num_frames, in CopyAudioIfNeeded() argument 104 std::copy(src[i], src[i] + num_frames, dest[i]); in CopyAudioIfNeeded() 151 int num_frames, in UpmixMonoToInterleaved() argument 155 for (int i = 0; i < num_frames; ++i) { in UpmixMonoToInterleaved() 164 size_t num_frames, in DownmixToMono() argument 167 for (size_t i = 0; i < num_frames; ++i) { in DownmixToMono() 180 size_t num_frames, in DownmixInterleavedToMonoImpl() argument 184 RTC_DCHECK_GT(num_frames, 0); in DownmixInterleavedToMonoImpl() 186 const T* const end = interleaved + num_frames * num_channels; in DownmixInterleavedToMonoImpl() 202 size_t num_frames, [all …]
|
/external/webrtc/sdk/objc/native/src/audio/ |
D | voice_processing_audio_unit.h | 26 UInt32 num_frames, 34 UInt32 num_frames, 92 UInt32 num_frames, 103 UInt32 num_frames, 109 UInt32 num_frames, 116 UInt32 num_frames, 122 UInt32 num_frames,
|
/external/webrtc/modules/audio_coding/codecs/opus/test/ |
D | blocker.cc | 24 size_t num_frames, in AddFrames() argument 29 for (size_t j = 0; j < num_frames; ++j) { in AddFrames() 39 size_t num_frames, in CopyFrames() argument 45 num_frames * sizeof(dst[i][dst_start_index])); in CopyFrames() 52 size_t num_frames, in MoveFrames() argument 58 num_frames * sizeof(dst[i][dst_start_index])); in MoveFrames() 64 size_t num_frames, in ZeroOut() argument 68 num_frames * sizeof(buffer[i][starting_idx])); in ZeroOut() 75 size_t num_frames, in ApplyWindow() argument 79 for (size_t j = 0; j < num_frames; ++j) { in ApplyWindow()
|
D | blocker_unittest.cc | 24 size_t num_frames, in ProcessBlock() argument 29 for (size_t j = 0; j < num_frames; ++j) { in ProcessBlock() 40 size_t num_frames, in ProcessBlock() argument 45 for (size_t j = 0; j < num_frames; ++j) { in ProcessBlock() 63 size_t num_frames, in RunTest() argument 72 while (end < num_frames) { in RunTest() 86 size_t num_frames) { in ValidateSignalEquality() argument 88 for (size_t j = 0; j < num_frames; ++j) { in ValidateSignalEquality() 96 size_t num_frames, in ValidateInitialDelay() argument 99 for (size_t j = 0; j < num_frames; ++j) { in ValidateInitialDelay() [all …]
|
D | lapped_transform.cc | 23 size_t num_frames, in ProcessBlock() argument 29 RTC_CHECK_EQ(parent_->block_length_, num_frames); in ProcessBlock() 32 memcpy(parent_->real_buf_.Row(i), input[i], num_frames * sizeof(*input[0])); in ProcessBlock() 38 RealFourier::ComplexLength(RealFourier::FftOrder(num_frames)); in ProcessBlock() 48 num_frames * sizeof(*input[0])); in ProcessBlock()
|
/external/libwebm/webm_parser/src/ |
D | block_parser.cc | 107 value_.num_frames = 1; in Feed() 125 value_.num_frames = lace_count + 1; in Feed() 139 } else if (value_.lacing == Lacing::kNone || value_.num_frames == 1) { in Feed() 152 assert(value_.num_frames > 0); in Feed() 153 while (static_cast<int>(lace_sizes_.size()) < value_.num_frames - 1) { in Feed() 172 assert(value_.num_frames > 0); in Feed() 186 assert(value_.num_frames > 0); in Feed() 188 while (static_cast<int>(lace_sizes_.size()) < value_.num_frames - 1) { in Feed() 206 assert(value_.num_frames > 0); in Feed() 213 std::uint64_t frame_size = laced_data_size / value_.num_frames; in Feed() [all …]
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | shape_ops.py | 43 num_frames = None 50 num_frames = max(0, -(-frame_axis // frame_step)) 53 num_frames = max( 55 return outer_dimensions + [num_frames, frame_length] + inner_dimensions 162 num_frames = -(-length_samples // frame_step) 167 0, frame_length + frame_step * (num_frames - 1) - length_samples) 180 num_frames = math_ops.maximum( 202 math_ops.range(num_frames) * subframes_per_hop, [num_frames, 1]) 219 array_ops.concat([outer_dimensions, [num_frames, frame_length],
|
/external/webrtc/modules/audio_processing/ |
D | splitting_filter.cc | 30 size_t num_frames) in SplittingFilter() argument 43 RTC_DCHECK_EQ(data->num_frames(), in Analysis() 56 RTC_DCHECK_EQ(data->num_frames(), in Synthesis() 68 RTC_DCHECK_EQ(data->num_frames(), kTwoBandFilterSamplesPerFrame); in TwoBandsAnalysis() 74 WebRtcSpl_AnalysisQMF(full_band16.data(), data->num_frames(), in TwoBandsAnalysis() 86 RTC_DCHECK_EQ(data->num_frames(), kTwoBandFilterSamplesPerFrame); in TwoBandsSynthesis() 105 RTC_DCHECK_EQ(data->num_frames(), ThreeBandFilterBank::kFullBandSize); in ThreeBandsAnalysis() 106 RTC_DCHECK_EQ(bands->num_frames(), ThreeBandFilterBank::kFullBandSize); in ThreeBandsAnalysis() 127 RTC_DCHECK_EQ(data->num_frames(), ThreeBandFilterBank::kFullBandSize); in ThreeBandsSynthesis() 128 RTC_DCHECK_EQ(bands->num_frames(), ThreeBandFilterBank::kFullBandSize); in ThreeBandsSynthesis()
|
D | high_pass_filter_unittest.cc | 49 std::vector<float>(stream_config.num_frames())); in ProcessOneFrameAsVector() 51 for (size_t k = 0; k < stream_config.num_frames(); ++k) { in ProcessOneFrameAsVector() 62 for (size_t k = 0; k < stream_config.num_frames(); ++k) { in ProcessOneFrameAsVector() 84 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 87 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() 89 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() 111 output.begin() + channel_no * stream_config.num_frames(), in RunBitexactnessTest() 112 output.begin() + channel_no * stream_config.num_frames() + in RunBitexactnessTest()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | debug_alloc_stack.cpp | 50 size_t num_frames = 100; in main() local 53 num_frames = in main() 54 __tsan_get_alloc_stack(mem, trace, num_frames, &thread_id, &thread_os_id); in main() 57 (num_frames > 0 && num_frames < 10) ? "ok" : ""); in main()
|
/external/webrtc/common_audio/ |
D | channel_buffer.cc | 20 IFChannelBuffer::IFChannelBuffer(size_t num_frames, in IFChannelBuffer() argument 24 ibuf_(num_frames, num_channels, num_bands), in IFChannelBuffer() 26 fbuf_(num_frames, num_channels, num_bands) {} in IFChannelBuffer() 59 for (size_t j = 0; j < ibuf_.num_frames(); ++j) { in RefreshF() 74 FloatS16ToS16(float_channels[i], ibuf_.num_frames(), int_channels[i]); in RefreshI()
|
D | channel_buffer.h | 45 ChannelBuffer(size_t num_frames, size_t num_channels, size_t num_bands = 1) 46 : data_(new T[num_frames * num_channels]()), in data_() 49 num_frames_(num_frames), in data_() 50 num_frames_per_band_(num_frames / num_bands), in data_() 145 size_t num_frames() const { return num_frames_; } in num_frames() function 184 IFChannelBuffer(size_t num_frames, size_t num_channels, size_t num_bands = 1); 192 size_t num_frames() const { return ibuf_.num_frames(); } in num_frames() function
|
/external/libaom/libaom/examples/ |
D | lightfield_decoder.c | 257 int num_frames = 0; in main() local 259 ++num_frames; in main() 261 if (num_frames < 1) die("Input light field has no frames."); in main() 265 (unsigned char **)malloc(num_frames * sizeof(unsigned char *)); in main() 266 size_t *frame_sizes = (size_t *)malloc(num_frames * sizeof(size_t)); in main() 269 for (int f = 0; f < num_frames; ++f) { in main() 276 printf("Read %d frames.\n", num_frames); in main() 319 if (image_idx >= num_frames) { in main() 321 num_frames); in main() 354 for (int f = 0; f < num_frames; ++f) { in main()
|
D | lightfield_bitstream_parsing.c | 261 int num_frames = 0; in main() local 263 ++num_frames; in main() 265 if (num_frames < 1) die("Input light field has no frames."); in main() 269 (unsigned char **)malloc(num_frames * sizeof(unsigned char *)); in main() 270 size_t *frame_sizes = (size_t *)malloc(num_frames * sizeof(size_t)); in main() 273 for (int f = 0; f < num_frames; ++f) { in main() 282 printf("Read %d frames.\n", num_frames); in main() 381 if (tiles[num_tiles].image_idx >= num_frames) { in main() 383 tiles[num_tiles].image_idx, num_frames); in main() 404 for (int f = 0; f < num_frames; ++f) { in main()
|
/external/llvm-project/debuginfo-tests/dexter/dex/dextIR/ |
D | DextIR.py | 84 and s.num_frames == step.num_frames), None) 98 if prev_step.num_frames < step.num_frames: 101 if prev_step.num_frames > step.num_frames:
|
/external/webrtc/modules/audio_processing/test/ |
D | fake_recording_device_unittest.cc | 39 EXPECT_EQ(data[0].size(), buff->num_frames()); in WritesDataIntoChannelBuffer() 41 for (size_t f = 0; f < buff->num_frames(); ++f) { in WritesDataIntoChannelBuffer() 60 RTC_DCHECK_EQ(prev->num_frames(), curr->num_frames()); in CheckIfMonotoneSamplesModules() 63 for (size_t j = 0; j < prev->num_frames(); ++j) { in CheckIfMonotoneSamplesModules() 82 RTC_DCHECK_EQ(src->num_frames(), dst->num_frames()); in CheckSameSign() 86 for (size_t j = 0; j < src->num_frames(); ++j) { in CheckSameSign()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_firstpass.h | 152 int num_frames; member 157 int num_frames) { in fps_init_first_pass_info() argument 159 first_pass_info->num_frames = num_frames; in fps_init_first_pass_info() 163 return first_pass_info->num_frames; in fps_get_num_frames() 168 if (show_idx < 0 || show_idx >= first_pass_info->num_frames) { in fps_get_frame_stats()
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | scalability_structure_unittest.cc | 183 int64_t num_frames = frame_infos.size(); in TEST_P() local 185 for (int64_t frame_id = 0; frame_id < num_frames; ++frame_id) { in TEST_P() 200 int64_t num_frames = frame_infos.size(); in TEST_P() local 205 for (int64_t frame_id = 0; frame_id < num_frames; ++frame_id) { in TEST_P() 231 int64_t num_frames = frame_infos.size(); in TEST_P() local 232 std::vector<std::set<int64_t>> full_deps(num_frames); in TEST_P() 236 for (int64_t frame_id = 0; frame_id < num_frames; ++frame_id) { in TEST_P() 250 for (int64_t switch_frame_id = 0; switch_frame_id < num_frames; in TEST_P() 257 later_frame_id < num_frames; ++later_frame_id) { in TEST_P()
|