Home
last modified time | relevance | path

Searched refs:FakeEncoder (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/test/
Dfake_encoder.cc51 FakeEncoder::FakeEncoder(Clock* clock) in FakeEncoder() function in webrtc::test::FakeEncoder
63 void FakeEncoder::SetFecControllerOverride( in SetFecControllerOverride()
68 void FakeEncoder::SetMaxBitrate(int max_kbps) { in SetMaxBitrate()
75 void FakeEncoder::SetQp(int qp) { in SetQp()
80 int32_t FakeEncoder::InitEncode(const VideoCodec* config, in InitEncode()
91 int32_t FakeEncoder::Encode(const VideoFrame& input_image, in Encode()
159 std::unique_ptr<RTPFragmentationHeader> FakeEncoder::EncodeHook( in EncodeHook()
166 FakeEncoder::FrameInfo FakeEncoder::NextFrame( in NextFrame()
233 int32_t FakeEncoder::RegisterEncodeCompleteCallback( in RegisterEncodeCompleteCallback()
240 int32_t FakeEncoder::Release() { in Release()
[all …]
Dfake_encoder.h37 class FakeEncoder : public VideoEncoder {
39 explicit FakeEncoder(Clock* clock);
40 virtual ~FakeEncoder() = default;
114 class FakeH264Encoder : public FakeEncoder {
128 class DelayedEncoder : public test::FakeEncoder {
Dfake_vp8_encoder.cc48 FakeVp8Encoder::FakeVp8Encoder(Clock* clock) : FakeEncoder(clock) { in FakeVp8Encoder()
55 auto result = FakeEncoder::InitEncode(config, settings); in InitEncode()
68 auto result = FakeEncoder::Release(); in Release()
Dfake_vp8_encoder.h35 class FakeVp8Encoder : public FakeEncoder {
Dcall_test.cc44 std::unique_ptr<FakeEncoder> fake_encoder; in CallTest()
48 fake_encoder = std::make_unique<FakeEncoder>(clock_); in CallTest()
/external/webrtc/video/end_to_end_tests/
Dnetwork_state_tests.cc164 class NetworkStateTest : public test::EndToEndTest, public test::FakeEncoder { in TEST_F()
168 FakeEncoder(Clock::GetRealTimeClock()), in TEST_F()
292 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F()
362 class UnusedEncoder : public test::FakeEncoder { in TEST_F()
364 UnusedEncoder() : FakeEncoder(Clock::GetRealTimeClock()) {} in TEST_F()
374 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F()
385 class RequiredEncoder : public test::FakeEncoder { in TEST_F()
388 : FakeEncoder(Clock::GetRealTimeClock()), encoded_frame_(false) {} in TEST_F()
397 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F()
Dbandwidth_tests.cc325 public test::FakeEncoder { in TEST_F()
329 FakeEncoder(Clock::GetRealTimeClock()), in TEST_F()
Dstats_tests.cc170 test::FakeEncoder::kImplementationName; in TEST_F()
/external/webrtc/media/engine/
Dfake_video_codec_factory.cc38 return std::make_unique<test::FakeEncoder>(Clock::GetRealTimeClock()); in CreateVideoEncoder()
54 return std::make_unique<test::FakeEncoder>(Clock::GetRealTimeClock()); in CreateVideoEncoder()
/external/webrtc/video/
Dvideo_send_stream_tests.cc292 return std::make_unique<test::FakeEncoder>( in TEST_F()
2155 class EncoderObserver : public test::FakeEncoder { in TEST_F()
2158 : FakeEncoder(Clock::GetRealTimeClock()), in TEST_F()
2188 return FakeEncoder::InitEncode(config, settings); in TEST_F()
2235 class StartBitrateObserver : public test::FakeEncoder { in TEST_F()
2238 : FakeEncoder(Clock::GetRealTimeClock()), start_bitrate_kbps_(0) {} in TEST_F()
2244 return FakeEncoder::InitEncode(config, settings); in TEST_F()
2251 FakeEncoder::SetRates(parameters); in TEST_F()
2311 class StartStopBitrateObserver : public test::FakeEncoder {
2313 StartStopBitrateObserver() : FakeEncoder(Clock::GetRealTimeClock()) {} in StartStopBitrateObserver()
[all …]
Dvideo_stream_encoder_unittest.cc827 class TestEncoder : public test::FakeEncoder {
829 TestEncoder() : FakeEncoder(Clock::GetRealTimeClock()) {} in TestEncoder()
867 return FakeEncoder::RegisterEncodeCompleteCallback(callback); in RegisterEncodeCompleteCallback()
939 FakeEncoder::Encode(input_image, &frame_type); in InjectFrame()
1001 int32_t result = FakeEncoder::Encode(input_image, frame_types); in Encode()
1030 int res = FakeEncoder::InitEncode(config, settings); in InitEncode()
1057 return FakeEncoder::Release(); in Release()
1078 FakeEncoder::SetRates(adjusted_paramters); in SetRates()
/external/webrtc/test/scenario/
Dvideo_stream.h64 std::vector<test::FakeEncoder*> fake_encoders_ RTC_GUARDED_BY(mutex_);
Dvideo_stream.cc377 std::unique_ptr<FakeEncoder> encoder; in SendVideoStream()
381 encoder = std::make_unique<test::FakeEncoder>(sender_->clock_); in SendVideoStream()
/external/webrtc/call/
Dcall_perf_tests.cc751 class BitrateObserver : public test::EndToEndTest, public test::FakeEncoder { in TEST_F()
755 FakeEncoder(Clock::GetRealTimeClock()), in TEST_F()
786 return FakeEncoder::InitEncode(config, settings); in TEST_F()
795 FakeEncoder::SetRates(parameters); in TEST_F()
Dcall_unittest.cc353 return std::make_unique<test::FakeEncoder>(Clock::GetRealTimeClock()); in TEST()
418 return std::make_unique<test::FakeEncoder>(Clock::GetRealTimeClock()); in TEST()