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

Side by Side Diff: webrtc/video_engine/vie_encoder.h

Issue 1426953003: Remove redudant encoder rate calls. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove redundant function Created 5 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_encoder.h ('k') | webrtc/video_engine/vie_encoder.cc » ('j') | 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Codec settings. 83 // Codec settings.
84 uint8_t NumberOfCodecs(); 84 uint8_t NumberOfCodecs();
85 int32_t GetCodec(uint8_t list_index, VideoCodec* video_codec); 85 int32_t GetCodec(uint8_t list_index, VideoCodec* video_codec);
86 int32_t RegisterExternalEncoder(VideoEncoder* encoder, 86 int32_t RegisterExternalEncoder(VideoEncoder* encoder,
87 uint8_t pl_type, 87 uint8_t pl_type,
88 bool internal_source); 88 bool internal_source);
89 int32_t DeRegisterExternalEncoder(uint8_t pl_type); 89 int32_t DeRegisterExternalEncoder(uint8_t pl_type);
90 int32_t SetEncoder(const VideoCodec& video_codec); 90 int32_t SetEncoder(const VideoCodec& video_codec);
91 int32_t GetEncoder(VideoCodec* video_codec); 91 int32_t GetEncoder(VideoCodec* video_codec);
92 92
93 int32_t GetCodecConfigParameters(
94 unsigned char config_parameters[kConfigParameterSize],
95 unsigned char& config_parameters_size);
96
97 // Scale or crop/pad image. 93 // Scale or crop/pad image.
98 int32_t ScaleInputImage(bool enable); 94 int32_t ScaleInputImage(bool enable);
99 95
100 // Implementing VideoCaptureCallback. 96 // Implementing VideoCaptureCallback.
101 void DeliverFrame(VideoFrame video_frame) override; 97 void DeliverFrame(VideoFrame video_frame) override;
102 98
103 int32_t SendKeyFrame(); 99 int32_t SendKeyFrame();
104 100
105 uint32_t LastObservedBitrateBps() const; 101 uint32_t LastObservedBitrateBps() const;
106 int CodecTargetBitrate(uint32_t* bitrate) const; 102 int CodecTargetBitrate(uint32_t* bitrate) const;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 bool has_received_rpsi_ GUARDED_BY(data_cs_); 192 bool has_received_rpsi_ GUARDED_BY(data_cs_);
197 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); 193 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_);
198 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); 194 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_);
199 195
200 bool video_suspended_ GUARDED_BY(data_cs_); 196 bool video_suspended_ GUARDED_BY(data_cs_);
201 }; 197 };
202 198
203 } // namespace webrtc 199 } // namespace webrtc
204 200
205 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_ 201 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/video_encoder.h ('k') | webrtc/video_engine/vie_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698