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

Side by Side Diff: webrtc/video_frame.h

Issue 2622263002: Delete deprecated and transitional stuff related to video frame refactoring. (Closed)
Patch Set: Fix include order. Add dependency in api/video_codecs/BUILD.gn. Created 3 years, 7 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
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
22 #include "webrtc/common_types.h" 20 #include "webrtc/common_types.h"
23 #include "webrtc/typedefs.h" 21 #include "webrtc/typedefs.h"
24 22
25 namespace webrtc { 23 namespace webrtc {
26 24
27 // TODO(pbos): Rename EncodedFrame and reformat this class' members. 25 // TODO(pbos): Rename EncodedFrame and reformat this class' members.
28 class EncodedImage { 26 class EncodedImage {
29 public: 27 public:
30 static const size_t kBufferPaddingBytesH264; 28 static const size_t kBufferPaddingBytesH264;
31 29
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 int qp_ = -1; // Quantizer value. 61 int qp_ = -1; // Quantizer value.
64 62
65 // When an application indicates non-zero values here, it is taken as an 63 // When an application indicates non-zero values here, it is taken as an
66 // indication that all future frames will be constrained with those limits 64 // indication that all future frames will be constrained with those limits
67 // until the application indicates a change again. 65 // until the application indicates a change again.
68 PlayoutDelay playout_delay_ = {-1, -1}; 66 PlayoutDelay playout_delay_ = {-1, -1};
69 }; 67 };
70 68
71 } // namespace webrtc 69 } // namespace webrtc
72 #endif // WEBRTC_VIDEO_FRAME_H_ 70 #endif // WEBRTC_VIDEO_FRAME_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698