/external/webrtc/api/video/ |
D | video_bitrate_allocation.cc | 24 bool VideoBitrateAllocation::SetBitrate(size_t spatial_index, in SetBitrate() argument 27 RTC_CHECK_LT(spatial_index, kMaxSpatialLayers); in SetBitrate() 31 bitrates_[spatial_index][temporal_index]; in SetBitrate() 45 bool VideoBitrateAllocation::HasBitrate(size_t spatial_index, in HasBitrate() argument 47 RTC_CHECK_LT(spatial_index, kMaxSpatialLayers); in HasBitrate() 49 return bitrates_[spatial_index][temporal_index].has_value(); in HasBitrate() 52 uint32_t VideoBitrateAllocation::GetBitrate(size_t spatial_index, in GetBitrate() argument 54 RTC_CHECK_LT(spatial_index, kMaxSpatialLayers); in GetBitrate() 56 return bitrates_[spatial_index][temporal_index].value_or(0); in GetBitrate() 61 bool VideoBitrateAllocation::IsSpatialLayerUsed(size_t spatial_index) const { in IsSpatialLayerUsed() [all …]
|
D | video_bitrate_allocation.h | 38 bool SetBitrate(size_t spatial_index, 42 bool HasBitrate(size_t spatial_index, size_t temporal_index) const; 44 uint32_t GetBitrate(size_t spatial_index, size_t temporal_index) const; 48 bool IsSpatialLayerUsed(size_t spatial_index) const; 51 uint32_t GetSpatialLayerSum(size_t spatial_index) const; 56 uint32_t GetTemporalLayerSum(size_t spatial_index, 62 std::vector<uint32_t> GetTemporalLayerAllocation(size_t spatial_index) const;
|
D | encoded_image.cc | 79 int spatial_index) const { in SpatialLayerFrameSize() 80 RTC_DCHECK_GE(spatial_index, 0); in SpatialLayerFrameSize() 81 RTC_DCHECK_LE(spatial_index, spatial_index_.value_or(0)); in SpatialLayerFrameSize() 83 auto it = spatial_layer_frame_size_bytes_.find(spatial_index); in SpatialLayerFrameSize() 91 void EncodedImage::SetSpatialLayerFrameSize(int spatial_index, in SetSpatialLayerFrameSize() argument 93 RTC_DCHECK_GE(spatial_index, 0); in SetSpatialLayerFrameSize() 94 RTC_DCHECK_LE(spatial_index, spatial_index_.value_or(0)); in SetSpatialLayerFrameSize() 96 spatial_layer_frame_size_bytes_[spatial_index] = size_bytes; in SetSpatialLayerFrameSize()
|
D | encoded_image.h | 93 void SetSpatialIndex(absl::optional<int> spatial_index) { in SetSpatialIndex() argument 94 RTC_DCHECK_GE(spatial_index.value_or(0), 0); in SetSpatialIndex() 95 RTC_DCHECK_LT(spatial_index.value_or(0), kMaxSpatialLayers); in SetSpatialIndex() 96 spatial_index_ = spatial_index; in SetSpatialIndex() 108 absl::optional<size_t> SpatialLayerFrameSize(int spatial_index) const; 109 void SetSpatialLayerFrameSize(int spatial_index, size_t size_bytes);
|
D | video_frame_metadata.cc | 69 void VideoFrameMetadata::SetSpatialIndex(int spatial_index) { in SetSpatialIndex() argument 70 spatial_index_ = spatial_index; in SetSpatialIndex()
|
D | video_frame_metadata.h | 55 void SetSpatialIndex(int spatial_index);
|
D | rtp_video_frame_assembler.cc | 247 generic_descriptor_info.spatial_index = in ParseDependenciesDescriptorExtension() 316 generic_descriptor_info.spatial_index = in ParseGenericDescriptorExtension()
|
/external/webrtc/call/ |
D | rtp_payload_params.cc | 38 absl::optional<int> spatial_index, in PopulateRtpWithCodecSpecifics() argument 50 rtp->simulcastIdx = spatial_index.value_or(0); in PopulateRtpWithCodecSpecifics() 70 vp9_header.spatial_idx = spatial_index.value_or(kNoSpatialIdx); in PopulateRtpWithCodecSpecifics() 98 rtp->simulcastIdx = spatial_index.value_or(0); in PopulateRtpWithCodecSpecifics() 104 rtp->simulcastIdx = spatial_index.value_or(0); in PopulateRtpWithCodecSpecifics() 296 generic.spatial_index = frame_info.spatial_id; in GenericDescriptorFromFrameInfo() 495 const int spatial_index = 0; in Vp8ToGeneric() local 500 spatial_index >= RtpGenericFrameDescriptor::kMaxSpatialLayers) { in Vp8ToGeneric() 510 generic.spatial_index = spatial_index; in Vp8ToGeneric() 527 spatial_index, temporal_index, in Vp8ToGeneric() [all …]
|
D | rtp_payload_params_unittest.cc | 239 Field(&GenericDescriptorInfo::spatial_index, 0), in TEST() 256 Field(&GenericDescriptorInfo::spatial_index, 0), in TEST() 273 Field(&GenericDescriptorInfo::spatial_index, 0), in TEST() 406 EXPECT_THAT(header.generic->spatial_index, Eq(0)); in TEST() 417 EXPECT_THAT(header.generic->spatial_index, Eq(0)); in TEST() 442 EXPECT_EQ(key_header.generic->spatial_index, 1); in TEST() 460 EXPECT_EQ(delta_header.generic->spatial_index, 2); in TEST() 497 EXPECT_EQ(header.generic->spatial_index, 0); in ConvertAndCheck() 583 EXPECT_EQ(header.generic->spatial_index, 0); in TEST() 602 EXPECT_EQ(header.generic->spatial_index, 0); in TEST() [all …]
|
D | rtp_payload_params.h | 88 int spatial_index,
|
/external/webrtc/video/ |
D | frame_cadence_adapter.cc | 110 void UpdateLayerQualityConvergence(size_t spatial_index, 114 void UpdateLayerStatus(size_t spatial_index, bool enabled); 236 void UpdateLayerQualityConvergence(size_t spatial_index, 238 void UpdateLayerStatus(size_t spatial_index, bool enabled) override; 327 size_t spatial_index, in UpdateLayerQualityConvergence() argument 330 RTC_LOG(LS_INFO) << __func__ << " this " << this << " layer " << spatial_index in UpdateLayerQualityConvergence() 332 if (spatial_index >= layer_trackers_.size()) in UpdateLayerQualityConvergence() 334 if (layer_trackers_[spatial_index].quality_converged.has_value()) in UpdateLayerQualityConvergence() 335 layer_trackers_[spatial_index].quality_converged = quality_converged; in UpdateLayerQualityConvergence() 338 void ZeroHertzAdapterMode::UpdateLayerStatus(size_t spatial_index, in UpdateLayerStatus() argument [all …]
|
D | frame_cadence_adapter.h | 109 virtual void UpdateLayerQualityConvergence(size_t spatial_index, 113 virtual void UpdateLayerStatus(size_t spatial_index, bool enabled) = 0;
|
D | encoder_bitrate_adjuster.h | 50 void OnEncodedFrame(DataSize size, int spatial_index, int temporal_index);
|
D | encoder_bitrate_adjuster_unittest.cc | 181 size_t NumTemporalLayers(int spatial_index) { in NumTemporalLayers() argument 183 return codec_.spatialLayers[spatial_index].numberOfTemporalLayers; in NumTemporalLayers() 185 return codec_.simulcastStream[spatial_index].numberOfTemporalLayers; in NumTemporalLayers()
|
D | encoder_bitrate_adjuster.cc | 317 int spatial_index, in OnEncodedFrame() argument 321 auto& detector = overshoot_detectors_[spatial_index][temporal_index]; in OnEncodedFrame()
|
D | rtp_video_stream_receiver_frame_transformer_delegate_unittest.cc | 139 generic.spatial_index = 2; in TEST()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_descriptor_authentication.cc | 30 if (descriptor.spatial_index < 0 || descriptor.temporal_index < 0 || in RtpDescriptorAuthentication() 31 descriptor.spatial_index >= in RtpDescriptorAuthentication() 43 frame_descriptor.SetSpatialLayersBitmask(1 << descriptor.spatial_index); in RtpDescriptorAuthentication()
|
D | rtp_video_header.cc | 33 metadata.SetSpatialIndex(generic->spatial_index); in GetAsMetadata()
|
D | rtp_video_header.h | 53 int spatial_index = 0; member
|
D | rtp_video_header_unittest.cc | 79 generic.spatial_index = 2; in TEST()
|
D | rtp_sender_video_unittest.cc | 527 generic.spatial_index = 0; in TEST_F() 552 generic.spatial_index = 1; in TEST_F() 602 generic.spatial_index = 0; in TEST_F() 617 generic.spatial_index = 1; in TEST_F() 824 generic.spatial_index = 2; in TEST_F() 1543 generic.spatial_index = 2; in TEST_F()
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_format_test.cc | 50 int spatial(int spatial_index) const { return spatial_dim[spatial_index]; } in spatial() 62 int spatial(int spatial_index) const { return spatial_dim[spatial_index]; } in spatial()
|
/external/webrtc/pc/test/ |
D | svc_e2e_tests.cc | 348 for (auto& [spatial_index, temporal_layers] : in TEST_P() 351 RTC_LOG(LS_INFO) << " Layer: " << spatial_index << "," << temporal_index in TEST_P() 357 for (auto& [spatial_index, temporal_layers] : in TEST_P() 360 RTC_LOG(LS_INFO) << " Layer: " << spatial_index << "," << temporal_index in TEST_P()
|
/external/webrtc/modules/video_coding/ |
D | rtp_generic_ref_finder.cc | 25 frame->SetSpatialIndex(descriptor.spatial_index); in ManageFrame()
|
/external/webrtc/test/fuzzers/ |
D | rtp_frame_reference_finder_fuzzer.cc | 72 result->spatial_index = (flags & 0b0111'0000) >> 4; in GenerateGenericFrameDependencies()
|