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

Side by Side Diff: webrtc/video_frame.h

Issue 2622263002: Delete deprecated and transitional stuff related to video frame refactoring. (Closed)
Patch Set: Update call to I420Buffer::Rotate, to not take a smart pointer. Created 3 years, 8 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
« webrtc/test/fake_texture_frame.h ('K') | « webrtc/video_encoder.h ('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 30 matching lines...) Expand all
62 int qp_ = -1; // Quantizer value. 60 int qp_ = -1; // Quantizer value.
63 61
64 // When an application indicates non-zero values here, it is taken as an 62 // When an application indicates non-zero values here, it is taken as an
65 // indication that all future frames will be constrained with those limits 63 // indication that all future frames will be constrained with those limits
66 // until the application indicates a change again. 64 // until the application indicates a change again.
67 PlayoutDelay playout_delay_ = {-1, -1}; 65 PlayoutDelay playout_delay_ = {-1, -1};
68 }; 66 };
69 67
70 } // namespace webrtc 68 } // namespace webrtc
71 #endif // WEBRTC_VIDEO_FRAME_H_ 69 #endif // WEBRTC_VIDEO_FRAME_H_
OLDNEW
« webrtc/test/fake_texture_frame.h ('K') | « webrtc/video_encoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698