Home
last modified time | relevance | path

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

12

/external/webrtc/modules/video_coding/utility/
Dsimulcast_test_fixture_impl.cc305 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/
Dfake_encoder.cc93 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 …]
Dfake_encoder.h51 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);
Dvideo_encoder_proxy_factory.h93 const std::vector<VideoFrameType>* frame_types) override { in Encode() argument
94 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.cc48 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
/external/webrtc/media/engine/
Dsimulcast_encoder_adapter_unittest.cc225 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 …]
Dencoder_simulcast_proxy.cc52 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
53 return encoder_->Encode(input_image, frame_types); in Encode()
Dencoder_simulcast_proxy.h47 const std::vector<VideoFrameType>* frame_types) override;
Dsimulcast_encoder_adapter.cc432 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/
Dvideo_encoder_software_fallback_wrapper.cc135 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/
Dnetwork_state_tests.cc295 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/
Dobjc_video_encoder_factory_tests.mm99 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/
Dencoded_image.cc77 const std::vector<VideoFrameType>& frame_types) { in NativeToJavaFrameTypeArray() argument
79 env, frame_types, org_webrtc_EncodedImage_00024FrameType_clazz(env), in NativeToJavaFrameTypeArray()
Dencoded_image.h33 const std::vector<VideoFrameType>& frame_types);
Dvideo_encoder_wrapper.h47 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_encoder_impl.cc394 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()
Dh264_encoder_impl.h79 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/sdk/objc/native/src/
Dobjc_video_encoder_factory.mm75 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/
Dmultiplex_encoder_adapter.h48 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc83 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/
Dquality_analyzing_video_encoder.cc140 const std::vector<VideoFrameType>* frame_types) { in Encode() argument
150 int32_t result = delegate_->Encode(frame, frame_types); in Encode()
Dquality_analyzing_video_encoder.h73 const std::vector<VideoFrameType>* frame_types) override;
/external/webrtc/test/fuzzers/
Dvp9_encoder_references_fuzzer.cc555 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/
Dlibvpx_vp8_encoder.h52 const std::vector<VideoFrameType>* frame_types) override;

12