Searched refs:fake_frame (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/modules/audio_mixer/ |
D | audio_mixer_impl_unittest.cc | 85 AudioFrame* fake_frame() { return &fake_frame_; } in fake_frame() function in webrtc::MockMixerAudioSource 130 participants[i].fake_frame()->CopyFrom(frames[i]); in MixAndCompare() 155 audio_source->fake_frame()->sample_rate_hz_ = native_sample_rate; in MixMonoAtGivenNativeRate() 156 audio_source->fake_frame()->samples_per_channel_ = native_sample_rate / 100; in MixMonoAtGivenNativeRate() 170 ResetFrame(participants[i].fake_frame()); in TEST() 174 participants[i].fake_frame()->mutable_data()[80] = i; in TEST() 182 participants[kAudioSources - 1].fake_frame()->vad_activity_ = in TEST() 209 ResetFrame(participant.fake_frame()); in TEST() 210 const size_t n_samples = participant.fake_frame()->samples_per_channel_; in TEST() 213 int16_t* fake_frame_data = participant.fake_frame()->mutable_data(); in TEST() [all …]
|
/external/libwebm/m2ts/tests/ |
D | webm2pes_tests.cc | 114 libwebm::VideoFrame fake_frame(kFakeTimestamp, libwebm::VideoFrame::kVP9); in TEST_F() local 115 ASSERT_TRUE(fake_frame.Init(kBufferSize)); in TEST_F() 116 std::memset(fake_frame.buffer().data.get(), 0x80, kBufferSize); in TEST_F() 117 ASSERT_TRUE(fake_frame.SetBufferLength(kBufferSize)); in TEST_F() 120 libwebm::Webm2Pes::WritePesPacket(fake_frame, &pes_packet_buffer)); in TEST_F() 137 EXPECT_EQ(fake_frame.nanosecond_pts(), parsed_frame.nanosecond_pts()); in TEST_F() 138 EXPECT_EQ(fake_frame.buffer().length, parsed_frame.buffer().length); in TEST_F() 139 EXPECT_EQ(0, std::memcmp(fake_frame.buffer().data.get(), in TEST_F()
|
/external/python/cpython2/Lib/ |
D | profile.py | 280 if not isinstance(rframe, Profile.fake_frame): 379 class fake_frame: class in Profile 390 frame = self.fake_frame(code, pframe)
|
/external/python/cpython3/Lib/ |
D | profile.py | 259 if not isinstance(rframe, Profile.fake_frame): 358 class fake_frame: class in Profile 369 frame = self.fake_frame(code, pframe)
|