/external/webrtc/api/video_codecs/ |
D | video_encoder.cc | 22 VideoCodecVP8 VideoEncoder::GetDefaultVp8Settings() { in GetDefaultVp8Settings() 35 VideoCodecVP9 VideoEncoder::GetDefaultVp9Settings() { in GetDefaultVp9Settings() 52 VideoCodecH264 VideoEncoder::GetDefaultH264Settings() { in GetDefaultH264Settings() 63 VideoEncoder::ScalingSettings::ScalingSettings() = default; 65 VideoEncoder::ScalingSettings::ScalingSettings(KOff) : ScalingSettings() {} in ScalingSettings() 67 VideoEncoder::ScalingSettings::ScalingSettings(int low, int high) in ScalingSettings() 70 VideoEncoder::ScalingSettings::ScalingSettings(int low, in ScalingSettings() 75 VideoEncoder::ScalingSettings::ScalingSettings(const ScalingSettings&) = 78 VideoEncoder::ScalingSettings::~ScalingSettings() {} in ~ScalingSettings() 81 constexpr VideoEncoder::ScalingSettings::KOff [all …]
|
D | video_encoder_software_fallback_wrapper.cc | 72 const VideoEncoder& main_encoder) { in ParseFallbackParamsFromFieldTrials() 103 const VideoEncoder& main_encoder) { in GetForcedFallbackParams() 115 class VideoEncoderSoftwareFallbackWrapper final : public VideoEncoder { 118 std::unique_ptr<webrtc::VideoEncoder> sw_encoder, 119 std::unique_ptr<webrtc::VideoEncoder> hw_encoder, 127 const VideoEncoder::Settings& settings) override; 152 VideoEncoder* current_encoder() { in current_encoder() 169 void PrimeEncoder(VideoEncoder* encoder) const; 174 absl::optional<VideoEncoder::Settings> encoder_settings_; 193 const std::unique_ptr<webrtc::VideoEncoder> encoder_; [all …]
|
D | video_encoder_software_fallback_wrapper.h | 28 RTC_EXPORT std::unique_ptr<VideoEncoder> 30 std::unique_ptr<VideoEncoder> sw_fallback_encoder, 31 std::unique_ptr<VideoEncoder> hw_encoder, 37 RTC_EXPORT inline std::unique_ptr<VideoEncoder> 39 std::unique_ptr<VideoEncoder> sw_fallback_encoder, in CreateVideoEncoderSoftwareFallbackWrapper() 40 std::unique_ptr<VideoEncoder> hw_encoder) { in CreateVideoEncoderSoftwareFallbackWrapper()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | VideoEncoderFallback.java | 17 private final VideoEncoder fallback; 18 private final VideoEncoder primary; 20 public VideoEncoderFallback(VideoEncoder fallback, VideoEncoder primary) { in VideoEncoderFallback() 35 private static native long nativeCreateEncoder(VideoEncoder fallback, VideoEncoder primary); in nativeCreateEncoder()
|
/external/webrtc/api/video_codecs/test/ |
D | video_encoder_software_fallback_wrapper_unittest.cc | 56 const VideoEncoder::Capabilities kCapabilities(false); 57 const VideoEncoder::Settings kSettings(kCapabilities, 61 VideoEncoder::EncoderInfo GetEncoderInfoWithTrustedRateController( in GetEncoderInfoWithTrustedRateController() 63 VideoEncoder::EncoderInfo info; in GetEncoderInfoWithTrustedRateController() 68 VideoEncoder::EncoderInfo GetEncoderInfoWithHardwareAccelerated( in GetEncoderInfoWithHardwareAccelerated() 70 VideoEncoder::EncoderInfo info; in GetEncoderInfoWithHardwareAccelerated() 75 VideoEncoder::EncoderInfo GetEncoderInfoWithInternalSource( in GetEncoderInfoWithInternalSource() 77 VideoEncoder::EncoderInfo info; in GetEncoderInfoWithInternalSource() 98 std::unique_ptr<VideoEncoder> sw_encoder) in VideoEncoderSoftwareFallbackWrapperTestBase() 104 std::unique_ptr<VideoEncoder>(fake_encoder_), in VideoEncoderSoftwareFallbackWrapperTestBase() [all …]
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | VideoEncoderWrapper.java | 15 import org.webrtc.VideoEncoder; 22 static boolean getScalingSettingsOn(VideoEncoder.ScalingSettings scalingSettings) { in getScalingSettingsOn() 28 static Integer getScalingSettingsLow(VideoEncoder.ScalingSettings scalingSettings) { in getScalingSettingsLow() 34 static Integer getScalingSettingsHigh(VideoEncoder.ScalingSettings scalingSettings) { in getScalingSettingsHigh() 39 static VideoEncoder.Callback createEncoderCallback(final long nativeEncoder) { in createEncoderCallback() 41 VideoEncoder.CodecSpecificInfo info) -> nativeOnEncodedFrame(nativeEncoder, frame); in createEncoderCallback()
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | libaom_av1_encoder_unittest.cc | 40 VideoEncoder::Settings DefaultEncoderSettings() { in DefaultEncoderSettings() 41 return VideoEncoder::Settings( in DefaultEncoderSettings() 42 VideoEncoder::Capabilities(/*loss_notification=*/false), in DefaultEncoderSettings() 47 std::unique_ptr<VideoEncoder> encoder = CreateLibaomAv1Encoder(); in TEST() 52 std::unique_ptr<VideoEncoder> encoder = CreateLibaomAv1Encoder(); in TEST() 62 std::unique_ptr<VideoEncoder> encoder = in TEST() 68 VideoEncoder::RateControlParameters rate_parameters; in TEST()
|
/external/webrtc/test/ |
D | video_encoder_proxy_factory.h | 24 const VideoEncoder::Capabilities kCapabilities(false); 32 explicit VideoEncoderProxyFactory(VideoEncoder* encoder) in VideoEncoderProxyFactory() 35 explicit VideoEncoderProxyFactory(VideoEncoder* encoder, in VideoEncoderProxyFactory() 55 std::unique_ptr<VideoEncoder> CreateVideoEncoder( in CreateVideoEncoder() 92 class EncoderProxy final : public VideoEncoder { 94 explicit EncoderProxy(VideoEncoder* encoder, in EncoderProxy() 126 VideoEncoder::EncoderInfo GetEncoderInfo() const override { in GetEncoderInfo() 130 VideoEncoder* const encoder_; 156 VideoEncoder* const encoder_;
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | HardwareVideoEncoderTest.java | 70 private static final VideoEncoder.Settings SETTINGS = 71 new VideoEncoder.Settings(1 /* core */, 640 /* width */, 480 /* height */, 300 /* kbps */, 73 /* capabilities= */ new VideoEncoder.Capabilities(false /* lossNotification */)); 84 static class MockEncoderCallback implements VideoEncoder.Callback { 88 public void onEncodedFrame(EncodedImage frame, VideoEncoder.CodecSpecificInfo info) { in onEncodedFrame() 295 private @Nullable VideoEncoder createEncoder() { in createEncoder() 327 VideoEncoder encoder, VideoFrame frame, VideoEncoder.EncodeInfo info) { in testEncodeFrame() 376 VideoEncoder encoder = createEncoder(); in testInitialize() 384 VideoEncoder encoder = createEncoder(); in testEncode() 391 VideoEncoder.EncodeInfo info = new VideoEncoder.EncodeInfo( in testEncode() [all …]
|
/external/webrtc/video/ |
D | encoder_bitrate_adjuster_unittest.cc | 78 VideoEncoder::EncoderInfo::kMaxFramerateFraction * fraction + 0.5); in SetUpAdjuster() 86 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in SetUpAdjuster() 128 VideoEncoder::EncoderInfo::kMaxFramerateFraction; in InsertFrames() 232 VideoEncoder::EncoderInfo encoder_info_; 256 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F() 270 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F() 284 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F() 299 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F() 314 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F() 330 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F() [all …]
|
D | encoder_bitrate_adjuster.h | 43 const VideoEncoder::RateControlParameters& rates); 47 void OnEncoderInfo(const VideoEncoder::EncoderInfo& encoder_info); 57 VideoEncoder::RateControlParameters current_rate_control_parameters_;
|
/external/webrtc/sdk/objc/unittests/ |
D | objc_video_encoder_factory_tests.mm | 54 std::unique_ptr<webrtc::VideoEncoder> GetObjCEncoder( 64 std::unique_ptr<webrtc::VideoEncoder> encoder = GetObjCEncoder(CreateOKEncoderFactory()); 67 const webrtc::VideoEncoder::Capabilities kCapabilities(false); 68 EXPECT_EQ(encoder->InitEncode(settings, webrtc::VideoEncoder::Settings(kCapabilities, 1, 0)), 73 std::unique_ptr<webrtc::VideoEncoder> encoder = GetObjCEncoder(CreateErrorEncoderFactory()); 76 const webrtc::VideoEncoder::Capabilities kCapabilities(false); 77 EXPECT_EQ(encoder->InitEncode(settings, webrtc::VideoEncoder::Settings(kCapabilities, 1, 0)), 82 std::unique_ptr<webrtc::VideoEncoder> encoder = GetObjCEncoder(CreateOKEncoderFactory()); 100 std::unique_ptr<webrtc::VideoEncoder> encoder = GetObjCEncoder(CreateErrorEncoderFactory()); 118 std::unique_ptr<webrtc::VideoEncoder> encoder = GetObjCEncoder(CreateOKEncoderFactory()); [all …]
|
/external/webrtc/modules/video_coding/codecs/vp8/include/ |
D | vp8.h | 36 std::vector<VideoEncoder::ResolutionBitrateLimits> 40 static std::unique_ptr<VideoEncoder> Create(); 41 static std::unique_ptr<VideoEncoder> Create(Settings settings); 43 RTC_DEPRECATED static std::unique_ptr<VideoEncoder> Create(
|
/external/webrtc/api/test/video/ |
D | function_video_encoder_factory.h | 31 std::function<std::unique_ptr<VideoEncoder>()> create) in FunctionVideoEncoderFactory() 36 std::function<std::unique_ptr<VideoEncoder>(const SdpVideoFormat&)> in FunctionVideoEncoderFactory() 54 std::unique_ptr<VideoEncoder> CreateVideoEncoder( in CreateVideoEncoder() 60 const std::function<std::unique_ptr<VideoEncoder>(const SdpVideoFormat&)>
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | video_encoder_decoder_instantiation_tests.cc | 31 const VideoEncoder::Capabilities kCapabilities(false); 33 int32_t InitEncoder(VideoCodecType codec_type, VideoEncoder* encoder) { in InitEncoder() 41 &codec, VideoEncoder::Settings(kCapabilities, 1 /* number_of_cores */, in InitEncoder() 96 std::vector<std::unique_ptr<VideoEncoder>> encoders_; 120 std::unique_ptr<VideoEncoder> encoder = in TEST_P() 137 std::unique_ptr<VideoEncoder> encoder = in TEST_P()
|
D | videoprocessor_unittest.cc | 106 SetRates(Field(&VideoEncoder::RateControlParameters::framerate_fps, in TEST_F() 135 SetRates(Field(&VideoEncoder::RateControlParameters::framerate_fps, in TEST_F() 152 SetRates(Field(&VideoEncoder::RateControlParameters::framerate_fps, in TEST_F() 176 [](const VideoEncoder::RateControlParameters& params) { in TEST_F() 180 Field(&VideoEncoder::RateControlParameters::framerate_fps, in TEST_F() 191 [](const VideoEncoder::RateControlParameters& params) { in TEST_F() 195 Field(&VideoEncoder::RateControlParameters::framerate_fps, in TEST_F()
|
/external/webrtc/media/engine/ |
D | simulcast_encoder_adapter.h | 40 class RTC_EXPORT SimulcastEncoderAdapter : public VideoEncoder { 58 const VideoEncoder::Settings& settings) override; 80 StreamInfo(std::unique_ptr<VideoEncoder> encoder, in StreamInfo() 93 std::unique_ptr<VideoEncoder> encoder; 132 std::stack<std::unique_ptr<VideoEncoder>> stored_encoders_;
|
D | encoder_simulcast_proxy.h | 34 class RTC_EXPORT EncoderSimulcastProxy : public VideoEncoder { 49 const VideoEncoder::Settings& settings) override; 62 std::unique_ptr<VideoEncoder> encoder_;
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | quality_analyzing_video_encoder.h | 55 class QualityAnalyzingVideoEncoder : public VideoEncoder, 64 std::unique_ptr<VideoEncoder> delegate, 81 void SetRates(const VideoEncoder::RateControlParameters& parameters) override; 145 std::unique_ptr<VideoEncoder> delegate_; 189 std::unique_ptr<VideoEncoder> CreateVideoEncoder(
|
/external/webrtc/sdk/android/src/jni/ |
D | video_encoder_fallback.cc | 25 std::unique_ptr<VideoEncoder> fallback_encoder = in JNI_VideoEncoderFallback_CreateEncoder() 27 std::unique_ptr<VideoEncoder> primary_encoder = in JNI_VideoEncoderFallback_CreateEncoder() 30 VideoEncoder* nativeWrapper = in JNI_VideoEncoderFallback_CreateEncoder()
|
D | video_encoder_wrapper.h | 31 class VideoEncoderWrapper : public VideoEncoder { 91 absl::optional<VideoEncoder::Capabilities> capabilities_; 106 std::unique_ptr<VideoEncoder> JavaToNativeVideoEncoder( 112 std::vector<VideoEncoder::ResolutionBitrateLimits>
|
/external/webrtc/modules/video_coding/codecs/vp9/test/ |
D | vp9_impl_unittest.cc | 34 using EncoderInfo = webrtc::VideoEncoder::EncoderInfo; 41 const VideoEncoder::Capabilities kCapabilities(false); 42 const VideoEncoder::Settings kSettings(kCapabilities, 60 std::unique_ptr<VideoEncoder> CreateEncoder() override { in CreateEncoder() 158 std::unique_ptr<VideoEncoder> encoder = VP9Encoder::Create(); in TEST_F() 175 std::unique_ptr<VideoEncoder> encoder = VP9Encoder::Create(); in TEST_F() 197 std::unique_ptr<VideoEncoder> encoder = VP9Encoder::Create(); in TEST_F() 286 encoder_->SetRates(VideoEncoder::RateControlParameters( in TEST_F() 304 encoder_->SetRates(VideoEncoder::RateControlParameters( in TEST_F() 348 encoder_->SetRates(VideoEncoder::RateControlParameters( in TEST_F() [all …]
|
/external/webrtc/call/adaptation/ |
D | encoder_settings.h | 24 EncoderSettings(VideoEncoder::EncoderInfo encoder_info, 31 const VideoEncoder::EncoderInfo& encoder_info() const; 38 VideoEncoder::EncoderInfo encoder_info_;
|
/external/webrtc/modules/video_coding/utility/ |
D | quality_scaler.h | 44 VideoEncoder::QpThresholds thresholds); 52 void SetQpThresholds(VideoEncoder::QpThresholds thresholds); 58 VideoEncoder::QpThresholds thresholds, 87 VideoEncoder::QpThresholds thresholds_ RTC_GUARDED_BY(&task_checker_);
|
/external/webrtc/rtc_base/experiments/ |
D | quality_scaling_experiment.cc | 28 absl::optional<VideoEncoder::QpThresholds> GetThresholds(int low, in GetThresholds() 35 return absl::optional<VideoEncoder::QpThresholds>( in GetThresholds() 36 VideoEncoder::QpThresholds(low, high)); in GetThresholds() 61 absl::optional<VideoEncoder::QpThresholds>
|