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

Unified Diff: media/base/video_frame_metadata.h

Issue 1265433003: Preliminary change for new rtc rendering algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebRTC Chromium Timestamp Alignment 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
« media/base/video_frame.h ('K') | « media/base/video_frame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame_metadata.h
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h
index bd330f0ed3bfa598ded89b9cc9915a58e7405ca0..caf583bf77529d5ce2f45d7490eb56c39b4c347f 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -68,6 +68,16 @@ class MEDIA_EXPORT VideoFrameMetadata {
// measurements would be used as feedback.
RESOURCE_UTILIZATION,
+ // Render side: a TimeTicks that records the ideal time instant to render
miu 2015/08/04 04:35:08 As this concept is confusing to a lot of media dev
qiangchen 2015/08/04 16:35:25 Done.
+ // the current frame.
+ // Capture side: a TimeTicks that records the capture time.
+ REFERENCE_TIME,
miu 2015/08/04 04:35:08 Please move this up (for alphabetizing).
qiangchen 2015/08/04 16:35:25 Done.
+
+ // A TimeDelta measuring the time between the current frame and the first
+ // frame of the stream.
+ // TODO(qiangchen): Move VideoFrame::timestamp() to this KEY.
+ ELAPSED_TIME,
miu 2015/08/04 04:35:08 Let's not add ELAPSED_TIME yet. We can do that in
qiangchen 2015/08/04 16:35:25 Done.
+
NUM_KEYS
};
« media/base/video_frame.h ('K') | « media/base/video_frame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698