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

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: Fix unittest. 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
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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // < 0, on error. 249 // < 0, on error.
250 virtual int32_t AddVideoFrame( 250 virtual int32_t AddVideoFrame(
251 const VideoFrame& videoFrame, 251 const VideoFrame& videoFrame,
252 const VideoContentMetrics* contentMetrics = NULL, 252 const VideoContentMetrics* contentMetrics = NULL,
253 const CodecSpecificInfo* codecSpecificInfo = NULL) = 0; 253 const CodecSpecificInfo* codecSpecificInfo = NULL) = 0;
254 254
255 // Next frame encoded should be an intra frame (keyframe). 255 // Next frame encoded should be an intra frame (keyframe).
256 // 256 //
257 // Return value : VCM_OK, on success. 257 // Return value : VCM_OK, on success.
258 // < 0, on error. 258 // < 0, on error.
259 virtual int32_t IntraFrameRequest(int stream_index) = 0; 259 virtual int32_t IntraFrameRequest(size_t stream_index) = 0;
260 260
261 // Frame Dropper enable. Can be used to disable the frame dropping when the 261 // Frame Dropper enable. Can be used to disable the frame dropping when the
262 // encoder 262 // encoder
263 // over-uses its bit rate. This API is designed to be used when the encoded 263 // over-uses its bit rate. This API is designed to be used when the encoded
264 // frames 264 // frames
265 // are supposed to be stored to an AVI file, or when the I420 codec is used 265 // are supposed to be stored to an AVI file, or when the I420 codec is used
266 // and the 266 // and the
267 // target bit rate shouldn't affect the frame rate. 267 // target bit rate shouldn't affect the frame rate.
268 // 268 //
269 // Input: 269 // Input:
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 514
515 virtual void RegisterPostEncodeImageCallback( 515 virtual void RegisterPostEncodeImageCallback(
516 EncodedImageCallback* post_encode_callback) = 0; 516 EncodedImageCallback* post_encode_callback) = 0;
517 // Releases pending decode calls, permitting faster thread shutdown. 517 // Releases pending decode calls, permitting faster thread shutdown.
518 virtual void TriggerDecoderShutdown() = 0; 518 virtual void TriggerDecoderShutdown() = 0;
519 }; 519 };
520 520
521 } // namespace webrtc 521 } // namespace webrtc
522 522
523 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 523 #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') | webrtc/video/encoder_state_feedback.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698