/external/webrtc/modules/video_coding/utility/ |
D | simulcast_test_fixture_impl.cc | 305 std::vector<VideoFrameType> frame_types(kNumberOfSimulcastStreams, in RunActiveStreamsTest() local 314 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in RunActiveStreamsTest() 318 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in RunActiveStreamsTest() 396 std::vector<VideoFrameType> frame_types(kNumberOfSimulcastStreams, in TestKeyFrameRequestsOnAllStreams() local 399 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams() 403 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams() 405 frame_types[0] = VideoFrameType::kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams() 408 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams() 410 std::fill(frame_types.begin(), frame_types.end(), in TestKeyFrameRequestsOnAllStreams() 412 frame_types[1] = VideoFrameType::kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams() [all …]
|
/external/webrtc/test/ |
D | fake_encoder.cc | 93 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 121 NextFrame(frame_types, keyframe, num_simulcast_streams, rates.bitrate, in Encode() 166 const std::vector<VideoFrameType>* frame_types, in NextFrame() argument 175 if (frame_types) { in NextFrame() 176 for (VideoFrameType frame_type : *frame_types) { in NextFrame() 373 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 378 return FakeEncoder::Encode(input_image, frame_types); in Encode() 408 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 418 queue->PostTask([this, input_image, frame_types = *frame_types] { in Encode() 419 EncodeCallback(input_image, &frame_types); in Encode() [all …]
|
D | fake_encoder.h | 51 const std::vector<VideoFrameType>* frame_types) 81 FrameInfo NextFrame(const std::vector<VideoFrameType>* frame_types, 138 const std::vector<VideoFrameType>* frame_types) override; 159 const std::vector<VideoFrameType>* frame_types) override; 162 const std::vector<VideoFrameType>* frame_types);
|
D | video_encoder_proxy_factory.h | 93 const std::vector<VideoFrameType>* frame_types) override { in Encode() argument 94 return encoder_->Encode(input_image, frame_types); in Encode()
|
D | configurable_frame_size_encoder.h | 43 const std::vector<VideoFrameType>* frame_types) override;
|
D | configurable_frame_size_encoder.cc | 48 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
|
/external/webrtc/media/engine/ |
D | simulcast_encoder_adapter_unittest.cc | 225 const std::vector<VideoFrameType>* frame_types), 668 std::vector<VideoFrameType> frame_types; in TEST_F() local 687 frame_types.resize(3, VideoFrameType::kVideoFrameKey); in TEST_F() 688 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() 714 frame_types.resize(2, VideoFrameType::kVideoFrameKey); in TEST_F() 715 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() 736 frame_types.resize(1, VideoFrameType::kVideoFrameKey); in TEST_F() 737 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() 762 frame_types.resize(3, VideoFrameType::kVideoFrameKey); in TEST_F() 763 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() [all …]
|
D | encoder_simulcast_proxy.cc | 52 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 53 return encoder_->Encode(input_image, frame_types); in Encode()
|
D | encoder_simulcast_proxy.h | 47 const std::vector<VideoFrameType>* frame_types) override;
|
D | simulcast_encoder_adapter.cc | 432 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 501 } else if (frame_types) { in Encode() 505 for (const auto& frame_type : *frame_types) { in Encode() 515 if (frame_types->size() >= stream_idx && in Encode() 516 (*frame_types)[stream_idx] == VideoFrameType::kVideoFrameKey) { in Encode()
|
/external/webrtc/api/video_codecs/ |
D | video_encoder_software_fallback_wrapper.cc | 135 const std::vector<VideoFrameType>* frame_types) override; 200 const std::vector<VideoFrameType>* frame_types); 334 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 339 return EncodeWithMainEncoder(frame, frame_types); in Encode() 343 return fallback_encoder_->Encode(frame, frame_types); in Encode() 350 const std::vector<VideoFrameType>* frame_types) { in EncodeWithMainEncoder() argument 351 int32_t ret = encoder_->Encode(frame, frame_types); in EncodeWithMainEncoder() 359 return fallback_encoder_->Encode(frame, frame_types); in EncodeWithMainEncoder() 379 return fallback_encoder_->Encode(scaled_frame, frame_types); in EncodeWithMainEncoder()
|
/external/webrtc/video/end_to_end_tests/ |
D | network_state_tests.cc | 295 const std::vector<VideoFrameType>* frame_types) override { in TEST_F() argument 308 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F() 389 const std::vector<VideoFrameType>* frame_types) override { in TEST_F() argument 391 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F() 412 const std::vector<VideoFrameType>* frame_types) override { in TEST_F() argument 414 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F()
|
/external/webrtc/sdk/objc/unittests/ |
D | objc_video_encoder_factory_tests.mm | 99 std::vector<webrtc::VideoFrameType> frame_types; 101 EXPECT_EQ(encoder->Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_OK); 117 std::vector<webrtc::VideoFrameType> frame_types; 119 EXPECT_EQ(encoder->Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_ERROR);
|
/external/webrtc/sdk/android/src/jni/ |
D | encoded_image.cc | 77 const std::vector<VideoFrameType>& frame_types) { in NativeToJavaFrameTypeArray() argument 79 env, frame_types, org_webrtc_EncodedImage_00024FrameType_clazz(env), in NativeToJavaFrameTypeArray()
|
D | encoded_image.h | 33 const std::vector<VideoFrameType>& frame_types);
|
D | video_encoder_wrapper.h | 47 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_encoder_impl.cc | 394 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 427 if (!send_key_frame && frame_types) { in Encode() 431 if (configurations_[i].sending && simulcast_idx < frame_types->size() && in Encode() 432 (*frame_types)[simulcast_idx] == VideoFrameType::kVideoFrameKey) { in Encode() 483 if (frame_types != nullptr) { in Encode() 485 if ((*frame_types)[i] == VideoFrameType::kEmptyFrame) { in Encode()
|
D | h264_encoder_impl.h | 79 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_encoder_factory.mm | 75 const std::vector<VideoFrameType> *frame_types) override { 77 for (size_t i = 0; i < frame_types->size(); ++i) { 78 [rtcFrameTypes addObject:@(RTCFrameType(frame_types->at(i)))];
|
/external/webrtc/modules/video_coding/codecs/multiplex/include/ |
D | multiplex_encoder_adapter.h | 48 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | libaom_av1_encoder.cc | 83 const std::vector<VideoFrameType>* frame_types) override; 521 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 527 frame_types != nullptr && in Encode() 528 absl::c_linear_search(*frame_types, VideoFrameType::kVideoFrameKey); in Encode()
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | quality_analyzing_video_encoder.cc | 140 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 150 int32_t result = delegate_->Encode(frame, frame_types); in Encode()
|
D | quality_analyzing_video_encoder.h | 73 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/test/fuzzers/ |
D | vp9_encoder_references_fuzzer.cc | 555 std::vector<VideoFrameType> frame_types(1); in FuzzOneInput() local 569 frame_types[0] = (action & 0b100) ? VideoFrameType::kVideoFrameKey in FuzzOneInput() 571 encoder.Encode(fake_image, &frame_types); in FuzzOneInput()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | libvpx_vp8_encoder.h | 52 const std::vector<VideoFrameType>* frame_types) override;
|