OLD | NEW |
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 |
11 #ifndef WEBRTC_VIDEO_FRAME_H_ | 11 #ifndef WEBRTC_VIDEO_FRAME_H_ |
12 #define WEBRTC_VIDEO_FRAME_H_ | 12 #define WEBRTC_VIDEO_FRAME_H_ |
13 | 13 |
14 // TODO(nisse): This header file should eventually be deleted. For | 14 // TODO(nisse): This header file should eventually be deleted. For |
15 // declarations of classes related to unencoded video frame, use the | 15 // declarations of classes related to unencoded video frame, use the |
16 // headers under api/video instead. The EncodedImage class stays in | 16 // headers under api/video instead. The EncodedImage class stays in |
17 // this file until we have figured out how to refactor and clean up | 17 // this file until we have figured out how to refactor and clean up |
18 // related interfaces. | 18 // related interfaces. |
19 | 19 |
| 20 #include "webrtc/api/video/video_frame.h" |
| 21 #include "webrtc/api/video/i420_buffer.h" |
20 #include "webrtc/common_types.h" | 22 #include "webrtc/common_types.h" |
21 #include "webrtc/typedefs.h" | 23 #include "webrtc/typedefs.h" |
22 | 24 |
23 namespace webrtc { | 25 namespace webrtc { |
24 | 26 |
25 // TODO(pbos): Rename EncodedFrame and reformat this class' members. | 27 // TODO(pbos): Rename EncodedFrame and reformat this class' members. |
26 class EncodedImage { | 28 class EncodedImage { |
27 public: | 29 public: |
28 static const size_t kBufferPaddingBytesH264; | 30 static const size_t kBufferPaddingBytesH264; |
29 | 31 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 int qp_ = -1; // Quantizer value. | 63 int qp_ = -1; // Quantizer value. |
62 | 64 |
63 // When an application indicates non-zero values here, it is taken as an | 65 // When an application indicates non-zero values here, it is taken as an |
64 // indication that all future frames will be constrained with those limits | 66 // indication that all future frames will be constrained with those limits |
65 // until the application indicates a change again. | 67 // until the application indicates a change again. |
66 PlayoutDelay playout_delay_ = {-1, -1}; | 68 PlayoutDelay playout_delay_ = {-1, -1}; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace webrtc | 71 } // namespace webrtc |
70 #endif // WEBRTC_VIDEO_FRAME_H_ | 72 #endif // WEBRTC_VIDEO_FRAME_H_ |
OLD | NEW |