Home
last modified time | relevance | path

Searched refs:num_spatial_layers (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc130 RTC_DCHECK_GT(hdr.num_spatial_layers, 0U); in SsDataLength()
131 RTC_DCHECK_LE(hdr.num_spatial_layers, kMaxVp9NumberOfSpatialLayers); in SsDataLength()
135 length += 4 * hdr.num_spatial_layers; // Y in SsDataLength()
271 RTC_DCHECK_GT(vp9.num_spatial_layers, 0U); in WriteSsData()
272 RTC_DCHECK_LE(vp9.num_spatial_layers, kMaxVp9NumberOfSpatialLayers); in WriteSsData()
276 RETURN_FALSE_ON_ERROR(writer->WriteBits(vp9.num_spatial_layers - 1, 3)); in WriteSsData()
283 for (size_t i = 0; i < vp9.num_spatial_layers; ++i) { in WriteSsData()
431 vp9->num_spatial_layers = n_s + 1; in ParseSsData()
436 for (size_t i = 0; i < vp9->num_spatial_layers; ++i) { in ParseSsData()
562 hdr_.spatial_idx == hdr_.num_spatial_layers - 1); in NextPacket()
Drtp_format_vp9_unittest.cc45 EXPECT_EQ(expected.num_spatial_layers, actual.num_spatial_layers); in VerifyHeader()
47 for (size_t i = 0; i < expected.num_spatial_layers; i++) { in VerifyHeader()
260 expected_.num_spatial_layers = 3; in TEST_F()
284 expected_.num_spatial_layers = 3; in TEST_F()
347 expected_.num_spatial_layers = 1; in TEST_F()
372 expected_.num_spatial_layers = 1; in TEST_F()
391 expected_.num_spatial_layers = 2; in TEST_F()
623 expected_.num_spatial_layers = kNs; in TEST_F()
/external/webrtc/webrtc/video/
Dvideo_quality_test.cc619 if (params_.ss.num_spatial_layers > 1) in GenerateGraphTitle()
629 if (params_.ss.num_spatial_layers == 0) in CheckParams()
630 params_.ss.num_spatial_layers = 1; in CheckParams()
638 params_.ss.selected_sl == params_.ss.num_spatial_layers - 1); in CheckParams()
662 RTC_CHECK_GE(params_.ss.num_spatial_layers, 1); in CheckParams()
663 RTC_CHECK_LE(params_.ss.selected_sl, params_.ss.num_spatial_layers); in CheckParams()
666 static_cast<size_t>(params_.ss.num_spatial_layers)); in CheckParams()
668 RTC_CHECK_EQ(params_.ss.num_spatial_layers, 1); in CheckParams()
722 int num_spatial_layers, in FillScalabilitySettings() argument
761 params->ss.num_spatial_layers = num_spatial_layers ? num_spatial_layers : 1; in FillScalabilitySettings()
[all …]
Dvideo_quality_test.h65 int num_spatial_layers; member
83 int num_spatial_layers,
Dvideo_send_stream_tests.cc63 uint8_t num_spatial_layers);
2076 vp9.num_spatial_layers); in VerifySsData()
2080 for (int i = vp9.num_spatial_layers - 1; i >= 0; --i) { in VerifySsData()
2162 uint8_t num_spatial_layers) { in TestVp9NonFlexMode() argument
2169 NonFlexibleMode(uint8_t num_temporal_layers, uint8_t num_spatial_layers) in TestVp9NonFlexMode() argument
2171 num_spatial_layers_(num_spatial_layers), in TestVp9NonFlexMode()
2172 l_field_(num_temporal_layers > 1 || num_spatial_layers > 1) {} in TestVp9NonFlexMode()
2206 } test(num_temporal_layers, num_spatial_layers); in TestVp9NonFlexMode()
Dvideo_loopback.cc135 DEFINE_int32(num_spatial_layers, 1, "Number of spatial layers to use.");
Dscreenshare_loopback.cc133 DEFINE_int32(num_spatial_layers, 1, "Number of spatial layers to use.");
/external/libaom/libaom/test/
Dscalability_test.cc61 void DoTest(int num_spatial_layers) { in DoTest() argument
62 num_spatial_layers_ = num_spatial_layers; in DoTest()
/external/webrtc/webrtc/modules/video_coding/
Dencoded_frame.cc176 _codecSpecificInfo.codecSpecific.VP9.num_spatial_layers = in CopyCodecSpecific()
177 header->codecHeader.VP9.num_spatial_layers; in CopyCodecSpecific()
182 for (size_t i = 0; i < header->codecHeader.VP9.num_spatial_layers; in CopyCodecSpecific()
Dgeneric_encoder.cc60 rtp->codecHeader.VP9.num_spatial_layers = in CopyCodecSpecific()
61 info->codecSpecific.VP9.num_spatial_layers; in CopyCodecSpecific()
67 for (size_t i = 0; i < info->codecSpecific.VP9.num_spatial_layers; in CopyCodecSpecific()
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c613 int tl, int num_spatial_layers, int is_key_frame, in set_frame_flags_bypass_mode_ex0() argument
616 for (sl = 0; sl < num_spatial_layers; ++sl) in set_frame_flags_bypass_mode_ex0()
619 for (sl = 0; sl < num_spatial_layers; ++sl) { in set_frame_flags_bypass_mode_ex0()
636 ref_frame_config->gld_fb_idx[sl] = num_spatial_layers + sl - 1; in set_frame_flags_bypass_mode_ex0()
637 ref_frame_config->alt_fb_idx[sl] = num_spatial_layers + sl; in set_frame_flags_bypass_mode_ex0()
674 if (sl < num_spatial_layers - 1) { in set_frame_flags_bypass_mode_ex0()
680 } else if (sl == num_spatial_layers - 1) { in set_frame_flags_bypass_mode_ex0()
695 int tl, int num_spatial_layers, int is_key_frame, in set_frame_flags_bypass_mode_ex1() argument
698 for (sl = 0; sl < num_spatial_layers; ++sl) in set_frame_flags_bypass_mode_ex1()
/external/webrtc/webrtc/modules/video_coding/include/
Dvideo_codec_interface.h65 size_t num_spatial_layers; // Always populated. member
/external/webrtc/webrtc/modules/video_coding/codecs/interface/
Dvideo_codec_interface.h67 size_t num_spatial_layers; // Always populated. member
/external/libvpx/libvpx/test/
Dsvc_datarate_test.cc88 int tl, int num_spatial_layers, int is_key_frame, in set_frame_flags_bypass_mode() argument
90 for (int sl = 0; sl < num_spatial_layers; ++sl) in set_frame_flags_bypass_mode()
93 for (int sl = 0; sl < num_spatial_layers; ++sl) { in set_frame_flags_bypass_mode()
110 VPXMIN(REF_FRAMES - 1, num_spatial_layers + sl - 1); in set_frame_flags_bypass_mode()
112 VPXMIN(REF_FRAMES - 1, num_spatial_layers + sl); in set_frame_flags_bypass_mode()
154 void CheckLayerRateTargeting(int num_spatial_layers, int num_temporal_layers, in CheckLayerRateTargeting() argument
157 for (int sl = 0; sl < num_spatial_layers; ++sl) in CheckLayerRateTargeting()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c191 int num_spatial_layers, int width, int lst_fb_idx, int gld_fb_idx, in perform_motion_compensation() argument
232 if ((num_spatial_layers > 1 && !use_gf_temporal_ref) || in perform_motion_compensation()
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()
/external/webrtc/webrtc/modules/include/
Dmodule_common_types.h164 num_spatial_layers = 1; in InitRTPVideoHeaderVP9()
196 size_t num_spatial_layers; // Always populated. member
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc622 vp9_info->num_spatial_layers = num_spatial_layers_; in PopulateCodecSpecific()
639 for (size_t i = 0; i < vp9_info->num_spatial_layers; ++i) { in PopulateCodecSpecific()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h367 int num_spatial_layers) { in VerifyTemporalIdxAndSyncForAllSpatialLayers() argument
371 for (int i = 0; i < num_spatial_layers; i++) { in VerifyTemporalIdxAndSyncForAllSpatialLayers()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediaencoder_jni.cc947 info.codecSpecific.VP9.num_spatial_layers = 1; in DeliverPendingOutputs()