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

Side by Side Diff: webrtc/modules/video_coding/video_coding_impl.h

Issue 1428293003: Add VideoCodec::PreferDecodeLate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Also renamed method in generic_decoder. Created 5 years 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
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; 144 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness;
145 145
146 VideoReceiver(Clock* clock, EventFactory* event_factory); 146 VideoReceiver(Clock* clock, EventFactory* event_factory);
147 ~VideoReceiver(); 147 ~VideoReceiver();
148 148
149 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, 149 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec,
150 int32_t numberOfCores, 150 int32_t numberOfCores,
151 bool requireKeyFrame); 151 bool requireKeyFrame);
152 152
153 void RegisterExternalDecoder(VideoDecoder* externalDecoder, 153 void RegisterExternalDecoder(VideoDecoder* externalDecoder,
154 uint8_t payloadType, 154 uint8_t payloadType);
stefan-webrtc 2015/12/07 09:02:19 git cl format
perkj_webrtc 2015/12/07 12:06:34 Done.
155 bool internalRenderTiming);
156 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); 155 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback);
157 int32_t RegisterReceiveStatisticsCallback( 156 int32_t RegisterReceiveStatisticsCallback(
158 VCMReceiveStatisticsCallback* receiveStats); 157 VCMReceiveStatisticsCallback* receiveStats);
159 int32_t RegisterDecoderTimingCallback( 158 int32_t RegisterDecoderTimingCallback(
160 VCMDecoderTimingCallback* decoderTiming); 159 VCMDecoderTimingCallback* decoderTiming);
161 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); 160 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback);
162 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); 161 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback);
163 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback); 162 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback);
164 163
165 int32_t Decode(uint16_t maxWaitTimeMs); 164 int32_t Decode(uint16_t maxWaitTimeMs);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); 227 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect);
229 VCMProcessTimer _receiveStatsTimer; 228 VCMProcessTimer _receiveStatsTimer;
230 VCMProcessTimer _retransmissionTimer; 229 VCMProcessTimer _retransmissionTimer;
231 VCMProcessTimer _keyRequestTimer; 230 VCMProcessTimer _keyRequestTimer;
232 QpParser qp_parser_; 231 QpParser qp_parser_;
233 }; 232 };
234 233
235 } // namespace vcm 234 } // namespace vcm
236 } // namespace webrtc 235 } // namespace webrtc
237 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 236 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698