| OLD | NEW |
| 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 Loading... |
| 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 * Get video content type |
| 81 */ |
| 82 VideoContentType contentType() const { return content_type_; } |
| 83 /** |
| 80 * True if this frame is complete, false otherwise | 84 * True if this frame is complete, false otherwise |
| 81 */ | 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 */ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 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_ |
| OLD | NEW |