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

Unified Diff: webrtc/modules/video_coding/frame_object.h

Issue 1903523003: Convert Vp9 Rtp headers to frame references. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added comments. Created 4 years, 8 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/video_coding/frame_object.h
diff --git a/webrtc/modules/video_coding/frame_object.h b/webrtc/modules/video_coding/frame_object.h
index c5cdd6eb1125c2a8ef5fb35c1f441f747c307c4d..186582659e141b48122ae6ef227af30cfe9b4e9a 100644
--- a/webrtc/modules/video_coding/frame_object.h
+++ b/webrtc/modules/video_coding/frame_object.h
@@ -23,13 +23,20 @@ class FrameObject {
public:
static const uint8_t kMaxFrameReferences = 5;
+ FrameObject();
+
virtual bool GetBitstream(uint8_t* destination) const = 0;
virtual ~FrameObject() {}
+ // The tuple (|picture_id|, |spatial_layer|) uniquely identifies a frame
+ // object.
uint16_t picture_id;
stefan-webrtc 2016/04/26 08:15:12 I think it would be good to add a comment somewher
philipel 2016/04/28 09:40:41 Done.
+ uint8_t spatial_layer;
+
size_t num_references;
std::array<uint16_t, kMaxFrameReferences> referencesr;
uint16_t references[kMaxFrameReferences];
+ bool inter_layer_predicted;
};
class PacketBuffer;

Powered by Google App Engine
This is Rietveld 408576698