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

Unified Diff: webrtc/video_decoder.h

Issue 2649133005: Add QP sum stats for received streams. (Closed)
Patch Set: Add DecodedWithQp to interface. Created 3 years, 11 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/video_decoder.h
diff --git a/webrtc/video_decoder.h b/webrtc/video_decoder.h
index b8d2c96b1be8da1cb27138f0550302ebe7b378c1..72aec31693b6ef861590ddefb33ccfabd577eaf3 100644
--- a/webrtc/video_decoder.h
+++ b/webrtc/video_decoder.h
@@ -40,6 +40,10 @@ class DecodedImageCallback {
// The default implementation ignores custom decode time value.
return Decoded(decodedImage);
}
+ virtual int32_t DecodedWithQp(VideoFrame& decodedImage, int qp) = 0;
+ virtual int32_t DecodedWithQp(VideoFrame& decodedImage,
+ int64_t decode_time_ms,
+ int qp) = 0;
hbos 2017/01/25 11:31:13 I think there should just be one Decoded function
sakal 2017/01/25 12:39:34 I removed the other DecodedWithQp method and renam
virtual int32_t ReceivedDecodedReferenceFrame(const uint64_t pictureId) {
return -1;

Powered by Google App Engine
This is Rietveld 408576698