| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 webrtc::FrameType FrameType() const { return _frameType; } | 79 webrtc::FrameType FrameType() const { return _frameType; } |
| 80 /** | 80 /** |
| 81 * Get frame rotation | 81 * Get frame rotation |
| 82 */ | 82 */ |
| 83 VideoRotation rotation() const { return rotation_; } | 83 VideoRotation rotation() const { return rotation_; } |
| 84 /** | 84 /** |
| 85 * Get video content type | 85 * Get video content type |
| 86 */ | 86 */ |
| 87 VideoContentType contentType() const { return content_type_; } | 87 VideoContentType contentType() const { return content_type_; } |
| 88 /** | 88 /** |
| 89 * Get video timing |
| 90 */ |
| 91 EncodedImage::Timing video_timing() const { return timing_; } |
| 92 /** |
| 89 * True if this frame is complete, false otherwise | 93 * True if this frame is complete, false otherwise |
| 90 */ | 94 */ |
| 91 bool Complete() const { return _completeFrame; } | 95 bool Complete() const { return _completeFrame; } |
| 92 /** | 96 /** |
| 93 * True if there's a frame missing before this frame | 97 * True if there's a frame missing before this frame |
| 94 */ | 98 */ |
| 95 bool MissingFrame() const { return _missingFrame; } | 99 bool MissingFrame() const { return _missingFrame; } |
| 96 /** | 100 /** |
| 97 * Payload type of the encoded payload | 101 * Payload type of the encoded payload |
| 98 */ | 102 */ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 128 | 132 |
| 129 // Video rotation is only set along with the last packet for each frame | 133 // Video rotation is only set along with the last packet for each frame |
| 130 // (same as marker bit). This |_rotation_set| is only for debugging purpose | 134 // (same as marker bit). This |_rotation_set| is only for debugging purpose |
| 131 // to ensure we don't set it twice for a frame. | 135 // to ensure we don't set it twice for a frame. |
| 132 bool _rotation_set; | 136 bool _rotation_set; |
| 133 }; | 137 }; |
| 134 | 138 |
| 135 } // namespace webrtc | 139 } // namespace webrtc |
| 136 | 140 |
| 137 #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ | 141 #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ |
| OLD | NEW |