| 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 |
| 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ |
| 13 | 13 |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "webrtc/common_types.h" | 16 #include "webrtc/common_types.h" |
| 17 #include "webrtc/common_video/include/video_image.h" | 17 #include "webrtc/common_video/include/video_frame.h" |
| 18 #include "webrtc/modules/include/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
| 19 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 19 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| 20 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 20 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
| 21 | 21 |
| 22 namespace webrtc { | 22 namespace webrtc { |
| 23 | 23 |
| 24 class VCMEncodedFrame : protected EncodedImage { | 24 class VCMEncodedFrame : protected EncodedImage { |
| 25 public: | 25 public: |
| 26 VCMEncodedFrame(); | 26 VCMEncodedFrame(); |
| 27 explicit VCMEncodedFrame(const webrtc::EncodedImage& rhs); | 27 explicit VCMEncodedFrame(const webrtc::EncodedImage& rhs); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 // 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 |
| 125 // (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 |
| 126 // to ensure we don't set it twice for a frame. | 126 // to ensure we don't set it twice for a frame. |
| 127 bool _rotation_set; | 127 bool _rotation_set; |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 } // namespace webrtc | 130 } // namespace webrtc |
| 131 | 131 |
| 132 #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ | 132 #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ |
| OLD | NEW |