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

Side by Side Diff: webrtc/modules/video_coding/encoded_frame.h

Issue 2772033002: Add content type information to encoded images and corresponding rtp extension header (Closed)
Patch Set: Fix typo, leading to failed video catpure test Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 int64_t RenderTimeMs() const { return _renderTimeMs; } 70 int64_t RenderTimeMs() const { return _renderTimeMs; }
71 /** 71 /**
72 * Get frame type 72 * Get frame type
73 */ 73 */
74 webrtc::FrameType FrameType() const { return _frameType; } 74 webrtc::FrameType FrameType() const { return _frameType; }
75 /** 75 /**
76 * Get frame rotation 76 * Get frame rotation
77 */ 77 */
78 VideoRotation rotation() const { return rotation_; } 78 VideoRotation rotation() const { return rotation_; }
79 /** 79 /**
80 * True if this frame is complete, false otherwise 80 * Get video content type
81 */ 81 */
82 VideoContentType contentType() const { return content_type_; }
83 /**
84 * True if this frame is complete, false otherwise
85 */
82 bool Complete() const { return _completeFrame; } 86 bool Complete() const { return _completeFrame; }
83 /** 87 /**
84 * True if there's a frame missing before this frame 88 * True if there's a frame missing before this frame
85 */ 89 */
86 bool MissingFrame() const { return _missingFrame; } 90 bool MissingFrame() const { return _missingFrame; }
87 /** 91 /**
88 * Payload type of the encoded payload 92 * Payload type of the encoded payload
89 */ 93 */
90 uint8_t PayloadType() const { return _payloadType; } 94 uint8_t PayloadType() const { return _payloadType; }
91 /** 95 /**
(...skipping 27 matching lines...) Expand all
119 123
120 // Video rotation is only set along with the last packet for each frame 124 // Video rotation is only set along with the last packet for each frame
121 // (same as marker bit). This |_rotation_set| is only for debugging purpose 125 // (same as marker bit). This |_rotation_set| is only for debugging purpose
122 // to ensure we don't set it twice for a frame. 126 // to ensure we don't set it twice for a frame.
123 bool _rotation_set; 127 bool _rotation_set;
124 }; 128 };
125 129
126 } // namespace webrtc 130 } // namespace webrtc
127 131
128 #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ 132 #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc ('k') | webrtc/modules/video_coding/encoded_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698