Home
last modified time | relevance | path

Searched refs:frame_types (Results 1 – 25 of 42) sorted by relevance

12

/external/webrtc/modules/video_coding/utility/
Dsimulcast_test_fixture_impl.cc314 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/
Dfake_encoder.cc92 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 …]
Dfake_encoder.h52 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);
Dvideo_encoder_proxy_factory.h106 const std::vector<VideoFrameType>* frame_types) override { in Encode() argument
107 return encoder_->Encode(input_image, frame_types); in Encode()
Dconfigurable_frame_size_encoder.h43 const std::vector<VideoFrameType>* frame_types) override;
Dconfigurable_frame_size_encoder.cc53 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
/external/webrtc/api/video_codecs/
Dvideo_encoder_software_fallback_wrapper.cc135 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/
Dsimulcast_encoder_adapter_unittest.cc216 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 …]
Dencoder_simulcast_proxy.cc55 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
56 return encoder_->Encode(input_image, frame_types); in Encode()
Dencoder_simulcast_proxy.h51 const std::vector<VideoFrameType>* frame_types) override;
Dsimulcast_encoder_adapter.cc351 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()
Dsimulcast_encoder_adapter.h60 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/video/end_to_end_tests/
Dnetwork_state_tests.cc279 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/
Dencoded_video_frame_producer.cc62 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/
Dobjc_video_encoder_factory_tests.mm94 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/
Dencoded_image.cc78 const std::vector<VideoFrameType>& frame_types) { in NativeToJavaFrameTypeArray() argument
80 env, frame_types, org_webrtc_EncodedImage_00024FrameType_clazz(env), in NativeToJavaFrameTypeArray()
Dencoded_image.h33 const std::vector<VideoFrameType>& frame_types);
Dvideo_encoder_wrapper.h45 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_encoder_impl.cc373 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()
Dh264_encoder_impl.h78 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/sdk/objc/native/src/
Dobjc_video_encoder_factory.mm78 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/
Dlibaom_av1_encoder.cc79 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/
Dmultiplex_encoder_adapter.h48 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.h50 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/test/pc/e2e/analyzer/video/
Dquality_analyzing_video_encoder.cc130 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
140 int32_t result = delegate_->Encode(frame, frame_types); in Encode()

12