/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 | 91 int spatial_index) const { in SpatialLayerFrameSize() 92 RTC_DCHECK_GE(spatial_index, 0); in SpatialLayerFrameSize() 93 RTC_DCHECK_LE(spatial_index, spatial_index_.value_or(0)); in SpatialLayerFrameSize() 95 auto it = spatial_layer_frame_size_bytes_.find(spatial_index); in SpatialLayerFrameSize() 103 void EncodedImage::SetSpatialLayerFrameSize(int spatial_index, in SetSpatialLayerFrameSize() argument 105 RTC_DCHECK_GE(spatial_index, 0); in SetSpatialLayerFrameSize() 106 RTC_DCHECK_LE(spatial_index, spatial_index_.value_or(0)); in SetSpatialLayerFrameSize() 108 spatial_layer_frame_size_bytes_[spatial_index] = size_bytes; in SetSpatialLayerFrameSize()
|
D | encoded_image.h | 99 void SetSpatialIndex(absl::optional<int> spatial_index) { in SetSpatialIndex() argument 100 RTC_DCHECK_GE(spatial_index.value_or(0), 0); in SetSpatialIndex() 101 RTC_DCHECK_LT(spatial_index.value_or(0), kMaxSpatialLayers); in SetSpatialIndex() 102 spatial_index_ = spatial_index; in SetSpatialIndex() 107 absl::optional<size_t> SpatialLayerFrameSize(int spatial_index) const; 108 void SetSpatialLayerFrameSize(int spatial_index, size_t size_bytes);
|
D | video_frame_metadata.cc | 21 spatial_index_ = header.generic->spatial_index; in VideoFrameMetadata()
|
D | video_frame_metadata_unittest.cc | 57 generic.spatial_index = 2; in TEST()
|
/external/webrtc/call/ |
D | rtp_payload_params.cc | 36 absl::optional<int> spatial_index, in PopulateRtpWithCodecSpecifics() argument 47 rtp->simulcastIdx = spatial_index.value_or(0); in PopulateRtpWithCodecSpecifics() 67 vp9_header.spatial_idx = spatial_index.value_or(kNoSpatialIdx); in PopulateRtpWithCodecSpecifics() 95 rtp->simulcastIdx = spatial_index.value_or(0); in PopulateRtpWithCodecSpecifics() 101 rtp->simulcastIdx = spatial_index.value_or(0); in PopulateRtpWithCodecSpecifics() 245 generic.spatial_index = frame_info.spatial_id; in GenericDescriptorFromFrameInfo() 374 const int spatial_index = 0; in Vp8ToGeneric() local 379 spatial_index >= RtpGenericFrameDescriptor::kMaxSpatialLayers) { in Vp8ToGeneric() 389 generic.spatial_index = spatial_index; in Vp8ToGeneric() 397 spatial_index, temporal_index, in Vp8ToGeneric() [all …]
|
D | rtp_payload_params.h | 81 int spatial_index,
|
D | rtp_payload_params_unittest.cc | 345 EXPECT_EQ(key_header.generic->spatial_index, 1); in TEST() 363 EXPECT_EQ(delta_header.generic->spatial_index, 2); in TEST() 400 EXPECT_EQ(header.generic->spatial_index, 0); in ConvertAndCheck() 494 EXPECT_EQ(header.generic->spatial_index, 0); in ConvertAndCheck()
|
/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.h | 52 int spatial_index = 0; member
|
D | rtp_sender_video_unittest.cc | 513 generic.spatial_index = 0; in TEST_P() 538 generic.spatial_index = 1; in TEST_P() 757 generic.spatial_index = 2; in TEST_P() 1026 generic.spatial_index = 2; in TEST_F()
|
D | rtp_sender_video.cc | 324 video_header.generic->spatial_index; in AddRtpHeaderExtensions() 372 uint8_t spatial_bimask = 1 << video_header.generic->spatial_index; in AddRtpHeaderExtensions()
|
/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/test/pc/e2e/ |
D | test_peer_factory.cc | 82 absl::optional<int> spatial_index; in CalculateRequiredSpatialIndexPerStream() local 84 spatial_index = video_config.simulcast_config->target_spatial_index; in CalculateRequiredSpatialIndexPerStream() 85 if (!spatial_index) { in CalculateRequiredSpatialIndexPerStream() 86 spatial_index = kAnalyzeAnySpatialStream; in CalculateRequiredSpatialIndexPerStream() 89 bool res = out.insert({*video_config.stream_label, spatial_index}).second; in CalculateRequiredSpatialIndexPerStream()
|
/external/webrtc/video/ |
D | encoder_bitrate_adjuster_unittest.cc | 187 size_t NumTemporalLayers(int spatial_index) { in NumTemporalLayers() argument 189 return codec_.spatialLayers[spatial_index].numberOfTemporalLayers; in NumTemporalLayers() 191 return codec_.simulcastStream[spatial_index].numberOfTemporalLayers; in NumTemporalLayers()
|
D | rtp_video_stream_receiver_frame_transformer_delegate_unittest.cc | 143 generic.spatial_index = 2; in TEST()
|
D | rtp_video_stream_receiver2.cc | 392 generic_descriptor_info.spatial_index = in ParseGenericDependenciesExtension() 451 generic_descriptor_info.spatial_index = in ParseGenericDependenciesExtension()
|
D | rtp_video_stream_receiver.cc | 424 generic_descriptor_info.spatial_index = in ParseGenericDependenciesExtension() 483 generic_descriptor_info.spatial_index = in ParseGenericDependenciesExtension()
|
/external/webrtc/test/fuzzers/ |
D | rtp_frame_reference_finder_fuzzer.cc | 79 result->spatial_index = (flags & 0b0111'0000) >> 4; in GenerateGenericFrameDependencies()
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 1496 absl::optional<int> spatial_index; in GetEncodedLayerFrame() local 1497 PopulateCodecSpecific(&codec_specific_, &spatial_index, *pkt, in GetEncodedLayerFrame() 1499 encoded_image_.SetSpatialIndex(spatial_index); in GetEncodedLayerFrame()
|
/external/webrtc/modules/video_coding/ |
D | rtp_frame_reference_finder.cc | 185 frame->id.spatial_layer = descriptor.spatial_index; in ManageFrameGeneric()
|