Home
last modified time | relevance | path

Searched refs:first_active_layer (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator.cc45 const size_t first_active_layer = GetFirstActiveLayer(codec); in GetNumActiveSpatialLayers() local
46 size_t last_active_layer = first_active_layer; in GetNumActiveSpatialLayers()
53 return last_active_layer - first_active_layer; in GetNumActiveSpatialLayers()
58 size_t first_active_layer, in AdjustAndVerify() argument
66 codec.spatialLayers[first_active_layer + sl_idx].minBitrate); in AdjustAndVerify()
68 codec.spatialLayers[first_active_layer + sl_idx].maxBitrate); in AdjustAndVerify()
125 size_t first_active_layer, in FindLayerTogglingThreshold() argument
137 codec.spatialLayers[first_active_layer + i].minBitrate); in FindLayerTogglingThreshold()
139 codec.spatialLayers[first_active_layer + i].maxBitrate); in FindLayerTogglingThreshold()
143 codec.spatialLayers[first_active_layer + num_active_layers - 1] in FindLayerTogglingThreshold()
[all …]
Dsvc_config_unittest.cc22 const size_t first_active_layer = 0; in TEST() local
28 first_active_layer, max_num_spatial_layers, 1, false); in TEST()
35 const size_t first_active_layer = 5; in TEST() local
39 first_active_layer, max_num_spatial_layers, 1, false); in TEST()
72 const size_t first_active_layer = 2; in TEST() local
77 first_active_layer, num_spatial_layers, 1, false); in TEST()
84 const size_t first_active_layer = 0; in TEST() local
89 first_active_layer, num_spatial_layers, 1, false); in TEST()
Dsvc_config.cc65 size_t first_active_layer, in ConfigureSvcNormalVideo() argument
68 RTC_DCHECK_LT(first_active_layer, num_spatial_layers); in ConfigureSvcNormalVideo()
88 num_spatial_layers = std::max(num_spatial_layers, first_active_layer + 1); in ConfigureSvcNormalVideo()
91 int required_divisiblity = 1 << (num_spatial_layers - first_active_layer - 1); in ConfigureSvcNormalVideo()
95 for (size_t sl_idx = first_active_layer; sl_idx < num_spatial_layers; in ConfigureSvcNormalVideo()
129 if (first_active_layer > 0) { in ConfigureSvcNormalVideo()
143 size_t first_active_layer, in GetSvcConfig() argument
157 first_active_layer, num_spatial_layers, in GetSvcConfig()
Dsvc_rate_allocator.h41 size_t first_active_layer,
46 size_t first_active_layer,
Dsvc_config.h24 size_t first_active_layer,
Dvp9_impl.cc1157 vp9_info->first_active_layer = first_active_layer_; in PopulateCodecSpecific()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc292 if (original_header.first_active_layer == 0) in RemoveInactiveSpatialLayers()
294 for (size_t i = hdr.first_active_layer; i < hdr.num_spatial_layers; ++i) { in RemoveInactiveSpatialLayers()
295 hdr.width[i - hdr.first_active_layer] = hdr.width[i]; in RemoveInactiveSpatialLayers()
296 hdr.height[i - hdr.first_active_layer] = hdr.height[i]; in RemoveInactiveSpatialLayers()
298 for (size_t i = hdr.num_spatial_layers - hdr.first_active_layer; in RemoveInactiveSpatialLayers()
303 hdr.num_spatial_layers -= hdr.first_active_layer; in RemoveInactiveSpatialLayers()
304 hdr.spatial_idx -= hdr.first_active_layer; in RemoveInactiveSpatialLayers()
305 hdr.first_active_layer = 0; in RemoveInactiveSpatialLayers()
317 RTC_DCHECK_EQ(hdr_.first_active_layer, 0); in RtpPacketizerVp9()
Drtp_format_vp9_unittest.cc576 expected_.first_active_layer = 1; in TEST_F()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer.cc184 size_t first_active_layer = 0; in VideoEncoderConfigToVideoCodec() local
188 first_active_layer = spatial_idx; in VideoEncoderConfigToVideoCodec()
195 first_active_layer, video_codec.VP9()->numberOfSpatialLayers, in VideoEncoderConfigToVideoCodec()
210 for (size_t spatial_idx = first_active_layer; in VideoEncoderConfigToVideoCodec()
214 spatial_layers[spatial_idx - first_active_layer].active = in VideoEncoderConfigToVideoCodec()
/external/webrtc/modules/video_coding/codecs/vp9/include/
Dvp9_globals.h176 first_active_layer = 0; in InitRTPVideoHeaderVP9()
212 size_t first_active_layer; // Not sent on wire, used to adjust ss data. member
/external/webrtc/modules/video_coding/include/
Dvideo_codec_interface.h72 size_t first_active_layer; member
/external/webrtc/call/
Drtp_payload_params.cc65 vp9_header.first_active_layer = info.codecSpecific.VP9.first_active_layer; in PopulateRtpWithCodecSpecifics()