/external/webrtc/modules/video_coding/utility/ |
D | simulcast_test_fixture_impl.cc | 314 std::vector<VideoFrameType> frame_types(kNumberOfSimulcastStreams, in RunActiveStreamsTest() local 323 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in RunActiveStreamsTest() 327 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in RunActiveStreamsTest() 416 std::vector<VideoFrameType> frame_types(kNumberOfSimulcastStreams, in TestKeyFrameRequestsOnAllStreams() local 419 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams() 423 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams() 425 frame_types[0] = VideoFrameType::kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams() 428 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams() 430 std::fill(frame_types.begin(), frame_types.end(), in TestKeyFrameRequestsOnAllStreams() 432 frame_types[1] = VideoFrameType::kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams() [all …]
|
/external/webrtc/test/ |
D | fake_encoder.cc | 92 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 122 NextFrame(frame_types, keyframe, num_simulcast_streams, rates.bitrate, in Encode() 167 const std::vector<VideoFrameType>* frame_types, in NextFrame() argument 176 if (frame_types) { in NextFrame() 177 for (VideoFrameType frame_type : *frame_types) { in NextFrame() 363 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 368 return FakeEncoder::Encode(input_image, frame_types); in Encode() 400 const std::vector<VideoFrameType>* frame_types) in EncodeTask() argument 403 frame_types_(*frame_types) {} in EncodeTask() 418 const std::vector<VideoFrameType>* frame_types) { in Encode() argument [all …]
|
D | fake_encoder.h | 52 const std::vector<VideoFrameType>* frame_types) 79 FrameInfo NextFrame(const std::vector<VideoFrameType>* frame_types, 135 const std::vector<VideoFrameType>* frame_types) override; 156 const std::vector<VideoFrameType>* frame_types) override; 159 const std::vector<VideoFrameType>* frame_types);
|
D | video_encoder_proxy_factory.h | 106 const std::vector<VideoFrameType>* frame_types) override { in Encode() argument 107 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 | 53 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
|
/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); 337 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 342 return EncodeWithMainEncoder(frame, frame_types); in Encode() 346 return fallback_encoder_->Encode(frame, frame_types); in Encode() 351 const std::vector<VideoFrameType>* frame_types) { in EncodeWithMainEncoder() argument 352 int32_t ret = encoder_->Encode(frame, frame_types); in EncodeWithMainEncoder() 360 return fallback_encoder_->Encode(frame, frame_types); in EncodeWithMainEncoder() 377 return fallback_encoder_->Encode(scaled_frame, frame_types); in EncodeWithMainEncoder()
|
/external/webrtc/media/engine/ |
D | simulcast_encoder_adapter_unittest.cc | 216 const std::vector<VideoFrameType>* frame_types), 622 std::vector<VideoFrameType> frame_types; in TEST_F() local 641 frame_types.resize(3, VideoFrameType::kVideoFrameKey); in TEST_F() 642 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() 668 frame_types.resize(2, VideoFrameType::kVideoFrameKey); in TEST_F() 669 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() 690 frame_types.resize(1, VideoFrameType::kVideoFrameKey); in TEST_F() 691 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() 716 frame_types.resize(3, VideoFrameType::kVideoFrameKey); in TEST_F() 717 EXPECT_EQ(0, adapter_->Encode(input_frame, &frame_types)); in TEST_F() [all …]
|
D | encoder_simulcast_proxy.cc | 55 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 56 return encoder_->Encode(input_image, frame_types); in Encode()
|
D | encoder_simulcast_proxy.h | 51 const std::vector<VideoFrameType>* frame_types) override;
|
D | simulcast_encoder_adapter.cc | 351 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 364 if (frame_types) { in Encode() 365 for (size_t i = 0; i < frame_types->size(); ++i) { in Encode() 366 if (frame_types->at(i) == VideoFrameType::kVideoFrameKey) { in Encode()
|
D | simulcast_encoder_adapter.h | 60 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/video/end_to_end_tests/ |
D | network_state_tests.cc | 279 const std::vector<VideoFrameType>* frame_types) override { in TEST_F() argument 292 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F() 372 const std::vector<VideoFrameType>* frame_types) override { in TEST_F() argument 374 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F() 395 const std::vector<VideoFrameType>* frame_types) override { in TEST_F() argument 397 return test::FakeEncoder::Encode(input_image, frame_types); in TEST_F()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | encoded_video_frame_producer.cc | 62 std::vector<VideoFrameType> frame_types = {VideoFrameType::kVideoFrameDelta}; in Encode() local 70 RTC_CHECK_EQ(encoder_.Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_OK); in Encode()
|
/external/webrtc/sdk/objc/unittests/ |
D | objc_video_encoder_factory_tests.mm | 94 std::vector<webrtc::VideoFrameType> frame_types; 96 EXPECT_EQ(encoder->Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_OK); 112 std::vector<webrtc::VideoFrameType> frame_types; 114 EXPECT_EQ(encoder->Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_ERROR);
|
/external/webrtc/sdk/android/src/jni/ |
D | encoded_image.cc | 78 const std::vector<VideoFrameType>& frame_types) { in NativeToJavaFrameTypeArray() argument 80 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 | 45 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_encoder_impl.cc | 373 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 397 if (!send_key_frame && frame_types) { in Encode() 401 if (configurations_[i].sending && simulcast_idx < frame_types->size() && in Encode() 402 (*frame_types)[simulcast_idx] == VideoFrameType::kVideoFrameKey) { in Encode() 453 if (frame_types != nullptr) { in Encode() 455 if ((*frame_types)[i] == VideoFrameType::kEmptyFrame) { in Encode()
|
D | h264_encoder_impl.h | 78 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_encoder_factory.mm | 78 const std::vector<VideoFrameType> *frame_types) override { 80 for (size_t i = 0; i < frame_types->size(); ++i) { 81 [rtcFrameTypes addObject:@(RTCFrameType(frame_types->at(i)))];
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | libaom_av1_encoder.cc | 79 const std::vector<VideoFrameType>* frame_types) override; 401 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 407 frame_types != nullptr && in Encode() 408 absl::c_linear_search(*frame_types, VideoFrameType::kVideoFrameKey); in Encode()
|
/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/vp8/ |
D | libvpx_vp8_encoder.h | 50 const std::vector<VideoFrameType>* frame_types) override;
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | quality_analyzing_video_encoder.cc | 130 const std::vector<VideoFrameType>* frame_types) { in Encode() argument 140 int32_t result = delegate_->Encode(frame, frame_types); in Encode()
|