Home
last modified time | relevance | path

Searched refs:codec_settings_ (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc77 codec_settings_.VP9()->numberOfSpatialLayers = in ConfigureSvc()
79 codec_settings_.VP9()->numberOfTemporalLayers = num_temporal_layers; in ConfigureSvc()
80 codec_settings_.VP9()->frameDroppingOn = false; in ConfigureSvc()
83 GetSvcConfig(codec_settings_.width, codec_settings_.height, in ConfigureSvc()
84 codec_settings_.maxFramerate, /*first_active_layer=*/0, in ConfigureSvc()
87 codec_settings_.spatialLayers[i] = layers[i]; in ConfigureSvc()
216 codec_settings_.VP9()->numberOfTemporalLayers = 1; in TEST_F()
217 codec_settings_.VP9()->numberOfSpatialLayers = 2; in TEST_F()
219 codec_settings_.width = 960; in TEST_F()
220 codec_settings_.height = 540; in TEST_F()
[all …]
/external/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc120 codec_settings_.simulcastStream[0].numberOfTemporalLayers = 1; in TEST_F()
129 encoder.InitEncode(&codec_settings_, kSettings)); in TEST_F()
133 codec_settings_.simulcastStream[0].numberOfTemporalLayers = 2; in TEST_F()
134 codec_settings_.VP8()->numberOfTemporalLayers = 2; in TEST_F()
145 encoder.InitEncode(&codec_settings_, kSettings)); in TEST_F()
152 codec_settings_.simulcastStream[0].numberOfTemporalLayers = 2; in TEST_F()
153 codec_settings_.VP8()->numberOfTemporalLayers = 2; in TEST_F()
164 encoder.InitEncode(&codec_settings_, kSettings)); in TEST_F()
172 encoder.InitEncode(&codec_settings_, in TEST_F()
190 bitrate_allocation, static_cast<double>(codec_settings_.maxFramerate))); in TEST_F()
[all …]
/external/webrtc/modules/video_coding/codecs/test/
Dvideo_codec_unittest.cc68 webrtc::test::CodecSettings(kVideoCodecVP8, &codec_settings_); in SetUp()
69 codec_settings_.startBitrate = kStartBitrate; in SetUp()
70 codec_settings_.maxBitrate = kMaxBitrate; in SetUp()
71 codec_settings_.maxFramerate = kMaxFramerate; in SetUp()
72 codec_settings_.width = kWidth; in SetUp()
73 codec_settings_.height = kHeight; in SetUp()
75 ModifyCodecSettings(&codec_settings_); in SetUp()
78 codec_settings_.width, codec_settings_.height, in SetUp()
88 &codec_settings_, in SetUp()
92 decoder_->InitDecode(&codec_settings_, 1 /* number of cores */)); in SetUp()
[all …]
Dvideo_codec_unittest.h100 VideoCodec codec_settings_; variable
/external/webrtc/sdk/android/src/jni/
Dvideo_encoder_wrapper.cc50 codec_settings_ = *codec_settings; in InitEncode()
60 switch (codec_settings_.codecType) { in InitEncodeInternal()
62 automatic_resize_on = codec_settings_.VP8()->automaticResizeOn; in InitEncodeInternal()
65 automatic_resize_on = codec_settings_.VP9()->automaticResizeOn; in InitEncodeInternal()
78 jni, number_of_cores_, codec_settings_.width, codec_settings_.height, in InitEncodeInternal()
79 static_cast<int>(codec_settings_.startBitrate), in InitEncodeInternal()
80 static_cast<int>(codec_settings_.maxFramerate), in InitEncodeInternal()
81 static_cast<int>(codec_settings_.numberOfSimulcastStreams), in InitEncodeInternal()
185 switch (codec_settings_.codecType) { in GetScalingSettingsInternal()
295 if (codec_settings_.codecType == kVideoCodecH264) { in ParseFragmentationHeader()
[all …]
Dvideo_decoder_wrapper.cc61 codec_settings_ = *codec_settings; in InitDecode()
68 jni, number_of_cores_, codec_settings_.width, codec_settings_.height); in InitDecodeInternal()
236 switch (codec_settings_.codecType) { in ParseQP()
Dvideo_decoder_wrapper.h97 VideoCodec codec_settings_ RTC_GUARDED_BY(decoder_thread_checker_);
Dvideo_encoder_wrapper.h93 VideoCodec codec_settings_; variable
/external/webrtc/api/video_codecs/
Dvideo_encoder_software_fallback_wrapper.cc173 VideoCodec codec_settings_; member in webrtc::__anonfc13b8300111::VideoEncoderSoftwareFallbackWrapper
248 const int ret = fallback_encoder_->InitEncode(&codec_settings_, in InitFallbackEncoder()
288 codec_settings_ = *codec_settings; in InitEncode()
371 I420Buffer::Create(codec_settings_.width, codec_settings_.height); in EncodeWithMainEncoder()
444 if (fallback_params_->SupportsResolutionBasedSwitch(codec_settings_)) { in TryInitForcedFallbackEncoder()
447 << codec_settings_.width << "x" << codec_settings_.height; in TryInitForcedFallbackEncoder()
451 if (fallback_params_->SupportsTemporalBasedSwitch(codec_settings_)) { in TryInitForcedFallbackEncoder()
453 if (encoder_->InitEncode(&codec_settings_, encoder_settings_.value()) == in TryInitForcedFallbackEncoder()
465 if (fallback_encoder_->InitEncode(&codec_settings_, in TryInitForcedFallbackEncoder()
Dvideo_decoder_software_fallback_wrapper.cc73 VideoCodec codec_settings_; member in webrtc::__anonc6c2dd860111::VideoDecoderSoftwareFallbackWrapper
100 codec_settings_ = *codec_settings; in InitDecode()
124 int32_t status = hw_decoder_->InitDecode(&codec_settings_, number_of_cores_); in InitHwDecoder()
140 fallback_decoder_->InitDecode(&codec_settings_, number_of_cores_); in InitFallbackDecoder()
163 switch (codec_settings_.codecType) { in UpdateFallbackDecoderHistograms()
/external/webrtc/video/
Dframe_encode_metadata_writer.cc57 codec_settings_.timing_frame_thresholds = {-1, 0}; in FrameEncodeMetadataWriter()
64 codec_settings_ = codec; in OnEncoderInit()
153 codec_settings_.timing_frame_thresholds.outlier_ratio_percent / 100); in FillTimingInfo()
171 codec_settings_.timing_frame_thresholds.delay_ms || in FillTimingInfo()
268 (codec_settings_.mode == VideoCodecMode::kScreensharing) in ExtractEncodeStartTimeAndFillMetadata()
300 size_t num_spatial_layers = codec_settings_.numberOfSimulcastStreams; in NumSpatialLayers()
301 if (codec_settings_.codecType == kVideoCodecVP9) { in NumSpatialLayers()
304 static_cast<size_t>(codec_settings_.VP9().numberOfSpatialLayers)); in NumSpatialLayers()
Dframe_encode_metadata_writer.h74 VideoCodec codec_settings_ RTC_GUARDED_BY(&lock_);
Dvideo_quality_test.cc152 codec_settings_ = *codec_settings; in InitEncode()
193 GetMinMaxBitratesBps(codec_settings_, si); in SetRates()
274 VideoCodec codec_settings_; member in webrtc::__anonfccf62660111::QualityTestVideoEncoder
/external/webrtc/media/engine/
Dfake_webrtc_video_engine.cc152 codec_settings_ = *codecSettings; in InitEncode()
192 return codec_settings_; in GetCodecSettings()
Dfake_webrtc_video_engine.h107 webrtc::VideoCodec codec_settings_ RTC_GUARDED_BY(mutex_);
/external/webrtc/test/pc/e2e/analyzer/video/
Dquality_analyzing_video_encoder.cc83 codec_settings_ = *codec_settings; in InitEncode()
187 GetMinMaxBitratesBps(codec_settings_, si); in SetRates()
Dquality_analyzing_video_encoder.h162 VideoCodec codec_settings_; variable