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

Side by Side Diff: webrtc/common_video/include/video_frame.h

Issue 2995953002: Revert of Add a flags field to video timing extension. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « webrtc/api/video/video_timing.cc ('k') | webrtc/common_video/video_frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 AdaptReason adapt_reason_; 59 AdaptReason adapt_reason_;
60 int qp_ = -1; // Quantizer value. 60 int qp_ = -1; // Quantizer value.
61 61
62 // When an application indicates non-zero values here, it is taken as an 62 // When an application indicates non-zero values here, it is taken as an
63 // indication that all future frames will be constrained with those limits 63 // indication that all future frames will be constrained with those limits
64 // until the application indicates a change again. 64 // until the application indicates a change again.
65 PlayoutDelay playout_delay_ = {-1, -1}; 65 PlayoutDelay playout_delay_ = {-1, -1};
66 66
67 // Timing information should be updatable on const instances. 67 // Timing information should be updatable on const instances.
68 mutable struct Timing { 68 mutable struct Timing {
69 uint8_t flags = TimingFrameFlags::kInvalid; 69 bool is_timing_frame = false;
70 int64_t encode_start_ms = 0; 70 int64_t encode_start_ms = 0;
71 int64_t encode_finish_ms = 0; 71 int64_t encode_finish_ms = 0;
72 int64_t packetization_finish_ms = 0; 72 int64_t packetization_finish_ms = 0;
73 int64_t pacer_exit_ms = 0; 73 int64_t pacer_exit_ms = 0;
74 int64_t network_timestamp_ms = 0; 74 int64_t network_timestamp_ms = 0;
75 int64_t network2_timestamp_ms = 0; 75 int64_t network2_timestamp_ms = 0;
76 int64_t receive_start_ms = 0; 76 int64_t receive_start_ms = 0;
77 int64_t receive_finish_ms = 0; 77 int64_t receive_finish_ms = 0;
78 } timing_; 78 } timing_;
79 }; 79 };
80 80
81 } // namespace webrtc 81 } // namespace webrtc
82 82
83 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_H_ 83 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_H_
OLDNEW
« no previous file with comments | « webrtc/api/video/video_timing.cc ('k') | webrtc/common_video/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698