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

Side by Side Diff: webrtc/video_encoder.h

Issue 2001533003: Refactoring: Hide VideoCodec.codecSpecific as "private" (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 1 month 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_decoder.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_ENCODER_H_ 11 #ifndef WEBRTC_VIDEO_ENCODER_H_
12 #define WEBRTC_VIDEO_ENCODER_H_ 12 #define WEBRTC_VIDEO_ENCODER_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/common_types.h" 18 #include "webrtc/common_types.h"
19 #include "webrtc/typedefs.h" 19 #include "webrtc/typedefs.h"
20 #include "webrtc/video_frame.h" 20 #include "webrtc/video_frame.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 class RTPFragmentationHeader; 24 class RTPFragmentationHeader;
25 // TODO(pbos): Expose these through a public (root) header or change these APIs. 25 // TODO(pbos): Expose these through a public (root) header or change these APIs.
26 struct CodecSpecificInfo; 26 struct CodecSpecificInfo;
27 struct VideoCodec; 27 class VideoCodec;
28 28
29 class EncodedImageCallback { 29 class EncodedImageCallback {
30 public: 30 public:
31 virtual ~EncodedImageCallback() {} 31 virtual ~EncodedImageCallback() {}
32 32
33 struct Result { 33 struct Result {
34 enum Error { 34 enum Error {
35 OK, 35 OK,
36 36
37 // Failed to send the packet. 37 // Failed to send the packet.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 const EncoderType encoder_type_; 216 const EncoderType encoder_type_;
217 webrtc::VideoEncoder* const encoder_; 217 webrtc::VideoEncoder* const encoder_;
218 218
219 std::unique_ptr<webrtc::VideoEncoder> fallback_encoder_; 219 std::unique_ptr<webrtc::VideoEncoder> fallback_encoder_;
220 std::string fallback_implementation_name_; 220 std::string fallback_implementation_name_;
221 EncodedImageCallback* callback_; 221 EncodedImageCallback* callback_;
222 }; 222 };
223 } // namespace webrtc 223 } // namespace webrtc
224 #endif // WEBRTC_VIDEO_ENCODER_H_ 224 #endif // WEBRTC_VIDEO_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/video_decoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698