/aosp_15_r20/external/webrtc/modules/video_coding/codecs/vp9/ |
H A D | svc_config.cc | 60 SpatialLayer spatial_layer = {0}; in ConfigureSvcScreenSharing() local 61 spatial_layer.width = input_width; in ConfigureSvcScreenSharing() 62 spatial_layer.height = input_height; in ConfigureSvcScreenSharing() 63 spatial_layer.maxFramerate = in ConfigureSvcScreenSharing() 65 spatial_layer.numberOfTemporalLayers = 1; in ConfigureSvcScreenSharing() 66 spatial_layer.minBitrate = in ConfigureSvcScreenSharing() 68 spatial_layer.maxBitrate = in ConfigureSvcScreenSharing() 70 spatial_layer.targetBitrate = in ConfigureSvcScreenSharing() 72 spatial_layer.active = true; in ConfigureSvcScreenSharing() 73 spatial_layers.push_back(spatial_layer); in ConfigureSvcScreenSharing() [all …]
|
/aosp_15_r20/external/webrtc/modules/video_coding/codecs/av1/ |
H A D | av1_svc_config.cc | 84 SpatialLayer& spatial_layer = video_codec.spatialLayers[sl_idx]; in SetAv1SvcConfig() local 85 spatial_layer.width = video_codec.width * info.scaling_factor_num[sl_idx] / in SetAv1SvcConfig() 87 spatial_layer.height = video_codec.height * in SetAv1SvcConfig() 90 spatial_layer.maxFramerate = video_codec.maxFramerate; in SetAv1SvcConfig() 91 spatial_layer.numberOfTemporalLayers = info.num_temporal_layers; in SetAv1SvcConfig() 92 spatial_layer.active = true; in SetAv1SvcConfig() 96 SpatialLayer& spatial_layer = video_codec.spatialLayers[0]; in SetAv1SvcConfig() local 97 spatial_layer.minBitrate = video_codec.minBitrate; in SetAv1SvcConfig() 98 spatial_layer.maxBitrate = video_codec.maxBitrate; in SetAv1SvcConfig() 99 spatial_layer.targetBitrate = in SetAv1SvcConfig() [all …]
|
/aosp_15_r20/external/webrtc/modules/rtp_rtcp/source/ |
H A D | rtp_video_layers_allocation_extension.cc | 87 for (const auto& spatial_layer : allocation.active_spatial_layers) { in AllocationIsValid() local 88 if (spatial_layer.rtp_stream_index < 0 || in AllocationIsValid() 89 spatial_layer.rtp_stream_index >= 4) { in AllocationIsValid() 92 if (spatial_layer.spatial_id < 0 || spatial_layer.spatial_id >= 4) { in AllocationIsValid() 95 if (spatial_layer.target_bitrate_per_temporal_layer.empty() || in AllocationIsValid() 96 spatial_layer.target_bitrate_per_temporal_layer.size() > 4) { in AllocationIsValid() 99 if (max_rtp_stream_idx < spatial_layer.rtp_stream_index) { in AllocationIsValid() 100 max_rtp_stream_idx = spatial_layer.rtp_stream_index; in AllocationIsValid() 106 if (spatial_layer.width <= 0) { in AllocationIsValid() 109 if (spatial_layer.height <= 0) { in AllocationIsValid() [all …]
|
H A D | rtcp_transceiver_impl.cc | 544 if (item.spatial_layer >= kMaxSpatialLayers || in HandleTargetBitrate() 549 << item.spatial_layer << ", temporal layer " << item.temporal_layer; in HandleTargetBitrate() 552 bitrate_allocation.SetBitrate(item.spatial_layer, item.temporal_layer, in HandleTargetBitrate()
|
H A D | rtcp_receiver.cc | 947 if (item.spatial_layer >= kMaxSpatialLayers || in HandleXrTargetBitrate() 951 << item.spatial_layer << ", temporal index " << item.temporal_layer in HandleXrTargetBitrate() 954 bitrate_allocation.SetBitrate(item.spatial_layer, item.temporal_layer, in HandleXrTargetBitrate()
|
/aosp_15_r20/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
H A D | target_bitrate.cc | 24 : spatial_layer(0), temporal_layer(0), target_bitrate_kbps(0) {} in BitrateItem() 26 TargetBitrate::BitrateItem::BitrateItem(uint8_t spatial_layer, in BitrateItem() argument 29 : spatial_layer(spatial_layer), in BitrateItem() 90 void TargetBitrate::AddTargetBitrate(uint8_t spatial_layer, in AddTargetBitrate() argument 93 RTC_DCHECK_LE(spatial_layer, 0x0F); in AddTargetBitrate() 97 BitrateItem(spatial_layer, temporal_layer, target_bitrate_kbps)); in AddTargetBitrate() 119 buffer[index] = (item.spatial_layer << 4) | item.temporal_layer; in Create()
|
H A D | target_bitrate.h | 31 BitrateItem(uint8_t spatial_layer, 35 uint8_t spatial_layer; member 45 void AddTargetBitrate(uint8_t spatial_layer,
|
H A D | target_bitrate_unittest.cc | 40 EXPECT_EQ(expected.spatial_layer, actual.spatial_layer); in ExpectBirateItemEquals()
|
/aosp_15_r20/external/webrtc/rtc_tools/rtc_event_log_visualizer/ |
H A D | analyzer_common.h | 69 LayerDescription(uint32_t ssrc, uint8_t spatial_layer, uint8_t temporal_layer) in LayerDescription() 71 spatial_layer(spatial_layer), in LayerDescription() 76 if (spatial_layer != other.spatial_layer) 77 return spatial_layer < other.spatial_layer; 81 uint8_t spatial_layer; member
|
H A D | analyzer_common.cc | 78 name << "SSRC " << layer.ssrc << " sl " << layer.spatial_layer << ", tl " in GetLayerName()
|
/aosp_15_r20/external/webrtc/video/ |
H A D | video_stream_encoder.cc | 242 VideoLayersAllocation::SpatialLayer& spatial_layer = in CreateVideoLayersAllocation() local 244 spatial_layer.width = encoder_config.simulcastStream[si].width; in CreateVideoLayersAllocation() 245 spatial_layer.height = encoder_config.simulcastStream[si].height; in CreateVideoLayersAllocation() 246 spatial_layer.rtp_stream_index = si; in CreateVideoLayersAllocation() 247 spatial_layer.spatial_id = 0; in CreateVideoLayersAllocation() 253 spatial_layer.target_bitrate_per_temporal_layer.push_back( in CreateVideoLayersAllocation() 269 spatial_layer.target_bitrate_per_temporal_layer.push_back( in CreateVideoLayersAllocation() 274 spatial_layer.frame_rate_fps = std::min<uint8_t>( in CreateVideoLayersAllocation() 297 VideoLayersAllocation::SpatialLayer& spatial_layer = in CreateVideoLayersAllocation() local 299 spatial_layer.width = encoder_config.spatialLayers[si].width; in CreateVideoLayersAllocation() [all …]
|
/aosp_15_r20/external/webrtc/test/fuzzers/ |
H A D | vp9_encoder_references_fuzzer.cc | 219 SpatialLayer& spatial_layer = codec_settings.spatialLayers[sid]; in CodecSettings() local 222 spatial_layer.width = codec_settings.width; in CodecSettings() 223 spatial_layer.height = codec_settings.height; in CodecSettings() 224 spatial_layer.targetBitrate = kBitrateEnabledBps * num_temporal_layers; in CodecSettings() 225 spatial_layer.maxFramerate = codec_settings.maxFramerate; in CodecSettings() 226 spatial_layer.numberOfTemporalLayers = num_temporal_layers; in CodecSettings()
|
/aosp_15_r20/external/webrtc/api/transport/rtp/ |
H A D | dependency_descriptor.h | 39 FrameDependencyTemplate& S(int spatial_layer); 102 inline FrameDependencyTemplate& FrameDependencyTemplate::S(int spatial_layer) { in S() argument 103 this->spatial_id = spatial_layer; in S()
|
/aosp_15_r20/external/webrtc/modules/video_coding/ |
H A D | frame_buffer2_unittest.cc | 145 uint8_t spatial_layer, in CreateFrame() argument 157 frame->SetSpatialIndex(spatial_layer); in CreateFrame() 170 uint8_t spatial_layer, in InsertFrame() argument 175 return buffer_->InsertFrame(CreateFrame(picture_id, spatial_layer, ts_ms, in InsertFrame() 200 void CheckFrame(size_t index, int picture_id, int spatial_layer) { in CheckFrame() argument 204 ASSERT_EQ(spatial_layer, frames_[index]->SpatialIndex().value_or(0)); in CheckFrame()
|
/aosp_15_r20/external/webrtc/test/ |
H A D | fake_encoded_frame.cc | 74 FakeFrameBuilder& FakeFrameBuilder::SpatialLayer(int spatial_layer) { in SpatialLayer() argument 75 spatial_layer_ = spatial_layer; in SpatialLayer()
|
H A D | fake_encoded_frame.h | 64 FakeFrameBuilder& SpatialLayer(int spatial_layer);
|
/aosp_15_r20/external/webrtc/sdk/android/src/jni/ |
H A D | video_encoder_wrapper.cc | 423 std::array<int32_t, kMaxTemporalStreams> spatial_layer; in ToJavaBitrateAllocation() local 425 spatial_layer[temporal_i] = allocation.GetBitrate(spatial_i, temporal_i); in ToJavaBitrateAllocation() 429 NativeToJavaIntArray(jni, spatial_layer); in ToJavaBitrateAllocation()
|
/aosp_15_r20/external/webrtc/api/video_codecs/ |
H A D | BUILD.gn | 52 "spatial_layer.cc", 53 "spatial_layer.h",
|
/aosp_15_r20/external/libaom/av1/encoder/ |
H A D | av1_temporal_denoiser.c | 193 int lst_fb_idx, int gld_fb_idx, int use_svc, int spatial_layer, in perform_motion_compensation() argument 260 if (num_spatial_layers - spatial_layer == 2) in perform_motion_compensation() 262 denoise_layer_idx = num_spatial_layers - spatial_layer - 1; in perform_motion_compensation()
|
/aosp_15_r20/external/webrtc/video/config/ |
H A D | encoder_stream_factory.cc | 236 for (const webrtc::SpatialLayer& spatial_layer : svc_layers) { in CreateDefaultVideoStreams() local 237 sum_max_bitrates_kbps += spatial_layer.maxBitrate; in CreateDefaultVideoStreams()
|
/aosp_15_r20/external/libvpx/vp9/encoder/ |
H A D | vp9_denoiser.c | 192 int use_svc, int spatial_layer, int use_gf_temporal_ref) { in perform_motion_compensation() argument 260 if (num_spatial_layers - spatial_layer == 2) in perform_motion_compensation() 262 denoise_layer_idx = num_spatial_layers - spatial_layer - 1; in perform_motion_compensation()
|
/aosp_15_r20/external/webrtc/call/ |
H A D | rtp_payload_params.cc | 184 for (auto& spatial_layer : last_shared_frame_id_) in RtpPayloadParams() local 185 spatial_layer.fill(-1); in RtpPayloadParams()
|
/aosp_15_r20/external/mesa3d/src/gallium/frontends/va/ |
H A D | picture_av1_enc.c | 666 uint16_t spatial_layer = (op_pt_idc >> (av1->spatial_id + 8)) & 1; in av1_frame_header() local 667 if (op_pt_idc == 0 || (temporal_layer && spatial_layer)) in av1_frame_header()
|
/aosp_15_r20/external/webrtc/logging/rtc_event_log/ |
H A D | rtc_event_log_unittest_helper.cc | 1195 EXPECT_EQ(original_bitrates[i].spatial_layer, in VerifyLoggedExtendedReports() 1196 logged_bitrates[i].spatial_layer); in VerifyLoggedExtendedReports()
|
/aosp_15_r20/external/libaom/test/ |
H A D | svc_datarate_test.cc | 657 aom_svc_ref_frame_comp_pred_t *ref_frame_comp_pred, int spatial_layer, in set_layer_pattern() argument 664 layer_id->spatial_layer_id = spatial_layer; in set_layer_pattern()
|