Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h383 std::vector<FrameType> frame_types(kNumberOfSimulcastStreams, in TestKeyFrameRequestsOnAllStreams()
386 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
390 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
392 frame_types[0] = kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams()
395 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
397 std::fill(frame_types.begin(), frame_types.end(), kVideoFrameDelta); in TestKeyFrameRequestsOnAllStreams()
398 frame_types[1] = kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams()
401 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
403 std::fill(frame_types.begin(), frame_types.end(), kVideoFrameDelta); in TestKeyFrameRequestsOnAllStreams()
404 frame_types[2] = kVideoFrameKey; in TestKeyFrameRequestsOnAllStreams()
[all …]
Dsimulcast_encoder_adapter.cc234 const std::vector<FrameType>* frame_types) { in Encode() argument
245 if (frame_types) { in Encode()
246 for (size_t i = 0; i < frame_types->size(); ++i) { in Encode()
247 if (frame_types->at(i) == kVideoFrameKey) { in Encode()
Dsimulcast_encoder_adapter.h45 const std::vector<FrameType>* frame_types) override;
Dvp8_impl.h51 const std::vector<FrameType>* frame_types);
Dvp8_impl.cc714 const std::vector<FrameType>* frame_types) { in Encode() argument
786 if (!send_key_frame && frame_types) { in Encode()
787 for (size_t i = 0; i < frame_types->size() && i < send_stream_.size(); in Encode()
789 if ((*frame_types)[i] == kVideoFrameKey && send_stream_[i]) { in Encode()
Dsimulcast_encoder_adapter_unittest.cc117 const std::vector<FrameType>* frame_types) override { in Encode() argument
/external/webrtc/webrtc/video/
Dvideo_encoder.cc141 const std::vector<FrameType>* frame_types) { in Encode() argument
143 return fallback_encoder_->Encode(frame, codec_specific_info, frame_types); in Encode()
144 int32_t ret = encoder_->Encode(frame, codec_specific_info, frame_types); in Encode()
148 return fallback_encoder_->Encode(frame, codec_specific_info, frame_types); in Encode()
Dvideo_encoder_unittest.cc37 const std::vector<FrameType>* frame_types) override { in Encode() argument
/external/webrtc/webrtc/test/
Dfake_encoder.cc50 const std::vector<FrameType>* frame_types) { in Encode() argument
104 encoded._frameType = (*frame_types)[i]; in Encode()
202 const std::vector<FrameType>* frame_types) { in Encode() argument
204 return FakeEncoder::Encode(input_image, codec_specific_info, frame_types); in Encode()
Dfake_encoder.h36 const std::vector<FrameType>* frame_types) override;
80 const std::vector<FrameType>* frame_types) override;
Dconfigurable_frame_size_encoder.h33 const std::vector<FrameType>* frame_types) override;
Dconfigurable_frame_size_encoder.cc44 const std::vector<FrameType>* frame_types) { in Encode() argument
/external/webrtc/webrtc/
Dvideo_encoder.h102 const std::vector<FrameType>* frame_types) = 0;
149 const std::vector<FrameType>* frame_types) override;
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc237 std::vector<FrameType> frame_types(kNumberOfStreams, kVideoFrameDelta); in ExpectIntraRequest() local
238 frame_types[stream] = kVideoFrameKey; in ExpectIntraRequest()
240 Encode(_, _, Pointee(ElementsAreArray(&frame_types[0], in ExpectIntraRequest()
241 frame_types.size())))) in ExpectIntraRequest()
Dgeneric_encoder.cc205 const std::vector<FrameType>& frame_types) { in RequestFrame() argument
207 return encoder_->Encode(image, NULL, &frame_types); in RequestFrame()
Dgeneric_encoder.h126 int32_t RequestFrame(const std::vector<FrameType>& frame_types);
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc205 std::vector<FrameType> frame_types(1, kVideoFrameDelta); in ProcessFrame() local
208 frame_types[0] = kVideoFrameKey; in ProcessFrame()
215 int32_t encode_result = encoder_->Encode(source_frame_, NULL, &frame_types); in ProcessFrame()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediaencoder_jni.cc96 const std::vector<webrtc::FrameType>* frame_types) override;
138 const std::vector<webrtc::FrameType>* frame_types);
386 const std::vector<webrtc::FrameType>* frame_types) { in Encode() argument
388 &MediaCodecVideoEncoder::EncodeOnCodecThread, this, frame, frame_types)); in Encode()
558 const std::vector<webrtc::FrameType>* frame_types) { in EncodeOnCodecThread() argument
579 RTC_CHECK(frame_types->size() == 1) << "Unexpected stream count"; in EncodeOnCodecThread()
623 const bool key_frame = frame_types->front() != webrtc::kVideoFrameDelta; in EncodeOnCodecThread()
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_encoder.cc238 const std::vector<FrameType>* frame_types) { in Encode() argument
271 if (frame_types) { in Encode()
272 for (auto frame_type : *frame_types) { in Encode()
Dh264_video_toolbox_encoder.h41 const std::vector<FrameType>* frame_types) override;
/external/webrtc/webrtc/modules/video_coding/codecs/interface/mock/
Dmock_video_codec_interface.h43 const std::vector<FrameType>* frame_types));
/external/webrtc/webrtc/modules/video_coding/include/mock/
Dmock_video_codec_interface.h41 const std::vector<FrameType>* frame_types));
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc477 const std::vector<FrameType>* frame_types) { in Encode() argument
489 if (frame_types && frame_types->size() > 0) { in Encode()
490 frame_type = (*frame_types)[0]; in Encode()
Dvp9_impl.h42 const std::vector<FrameType>* frame_types) override;
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvideoengine.h160 const std::vector<webrtc::FrameType>* frame_types) { in Encode() argument

12