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

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

Issue 1936503002: Removed SSRC knowledge from ViEEncoder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@move_payload_router2
Patch Set: Rebased Created 4 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 | « no previous file | webrtc/modules/video_coding/video_coding_impl.h » ('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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // < 0, on error. 223 // < 0, on error.
224 virtual int32_t AddVideoFrame( 224 virtual int32_t AddVideoFrame(
225 const VideoFrame& videoFrame, 225 const VideoFrame& videoFrame,
226 const VideoContentMetrics* contentMetrics = NULL, 226 const VideoContentMetrics* contentMetrics = NULL,
227 const CodecSpecificInfo* codecSpecificInfo = NULL) = 0; 227 const CodecSpecificInfo* codecSpecificInfo = NULL) = 0;
228 228
229 // Next frame encoded should be an intra frame (keyframe). 229 // Next frame encoded should be an intra frame (keyframe).
230 // 230 //
231 // Return value : VCM_OK, on success. 231 // Return value : VCM_OK, on success.
232 // < 0, on error. 232 // < 0, on error.
233 virtual int32_t IntraFrameRequest(int stream_index) = 0; 233 virtual int32_t IntraFrameRequest(size_t stream_index) = 0;
234 234
235 // Frame Dropper enable. Can be used to disable the frame dropping when the 235 // Frame Dropper enable. Can be used to disable the frame dropping when the
236 // encoder 236 // encoder
237 // over-uses its bit rate. This API is designed to be used when the encoded 237 // over-uses its bit rate. This API is designed to be used when the encoded
238 // frames 238 // frames
239 // are supposed to be stored to an AVI file, or when the I420 codec is used 239 // are supposed to be stored to an AVI file, or when the I420 codec is used
240 // and the 240 // and the
241 // target bit rate shouldn't affect the frame rate. 241 // target bit rate shouldn't affect the frame rate.
242 // 242 //
243 // Input: 243 // Input:
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 484
485 virtual void RegisterPostEncodeImageCallback( 485 virtual void RegisterPostEncodeImageCallback(
486 EncodedImageCallback* post_encode_callback) = 0; 486 EncodedImageCallback* post_encode_callback) = 0;
487 // Releases pending decode calls, permitting faster thread shutdown. 487 // Releases pending decode calls, permitting faster thread shutdown.
488 virtual void TriggerDecoderShutdown() = 0; 488 virtual void TriggerDecoderShutdown() = 0;
489 }; 489 };
490 490
491 } // namespace webrtc 491 } // namespace webrtc
492 492
493 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 493 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/video_coding_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698