Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: webrtc/modules/interface/module_common_types.h

Issue 1287643002: Enabling spatial layers in VP9Impl. Filter layers in the loopback test. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/interface/module_common_types.h
diff --git a/webrtc/modules/interface/module_common_types.h b/webrtc/modules/interface/module_common_types.h
index 02ce03f15387c4ff01f57428fd0f3a263ac6e20e..61a52662868ba6de61da1a67d68b7abce209ca1a 100644
--- a/webrtc/modules/interface/module_common_types.h
+++ b/webrtc/modules/interface/module_common_types.h
@@ -160,6 +160,7 @@ struct RTPVideoHeaderVP9 {
inter_layer_predicted = false;
gof_idx = kNoGofIdx;
num_ref_pics = 0;
+ num_spatial_layers = 1;
}
bool inter_pic_predicted; // This layer frame is dependent on previously
@@ -191,7 +192,7 @@ struct RTPVideoHeaderVP9 {
int16_t ref_picture_id[kMaxVp9RefPics]; // PictureID of reference pictures.
// SS data.
- size_t num_spatial_layers;
+ size_t num_spatial_layers; // Always populated.
bool spatial_layer_resolution_present;
uint16_t width[kMaxVp9NumberOfSpatialLayers];
uint16_t height[kMaxVp9NumberOfSpatialLayers];
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc » ('j') | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698