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

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

Issue 1988653002: PacketBuffer now can save how many times a packet has been nacked. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: combined_size to frame_size Created 4 years, 7 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
« no previous file with comments | « no previous file | webrtc/modules/video_coding/frame_object.cc » ('j') | webrtc/modules/video_coding/packet.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e8bb4811e6ecd7dd319f707852f4276df553f065..f06676d8bde37685ac2b16cac2e26fafcdb0f205 100644
--- a/webrtc/modules/video_coding/frame_object.h
+++ b/webrtc/modules/video_coding/frame_object.h
@@ -36,6 +36,8 @@ class FrameObject {
size_t num_references;
uint16_t references[kMaxFrameReferences];
bool inter_layer_predicted;
+
+ size_t size;
};
class PacketBuffer;
@@ -44,11 +46,14 @@ class RtpFrameObject : public FrameObject {
public:
RtpFrameObject(PacketBuffer* packet_buffer,
uint16_t first_seq_num,
- uint16_t last_seq_num);
+ uint16_t last_seq_num,
+ size_t frame_size,
+ int8_t max_nack_count);
stefan-webrtc 2016/05/23 13:01:24 int
philipel 2016/05/23 13:34:17 Done.
~RtpFrameObject();
uint16_t first_seq_num() const;
uint16_t last_seq_num() const;
+ int8_t max_nack_count() const;
stefan-webrtc 2016/05/23 13:01:24 int
philipel 2016/05/23 13:34:17 Done.
FrameType frame_type() const;
VideoCodecType codec_type() const;
bool GetBitstream(uint8_t* destination) const override;
@@ -60,6 +65,7 @@ class RtpFrameObject : public FrameObject {
VideoCodecType codec_type_;
uint16_t first_seq_num_;
uint16_t last_seq_num_;
+ int max_nack_count_;
terelius 2016/05/23 11:49:55 Could you document that this is the maximum nack c
philipel 2016/05/23 13:34:17 Done.
};
} // namespace video_coding
« no previous file with comments | « no previous file | webrtc/modules/video_coding/frame_object.cc » ('j') | webrtc/modules/video_coding/packet.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698