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

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

Issue 1654913002: Untangle ViEChannel and ViEEncoder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 10 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 enum ReceiverRobustness { kNone, kHardNack, kSoftNack, kReferenceSelection }; 69 enum ReceiverRobustness { kNone, kHardNack, kSoftNack, kReferenceSelection };
70 70
71 static VideoCodingModule* Create( 71 static VideoCodingModule* Create(
72 Clock* clock, 72 Clock* clock,
73 VideoEncoderRateObserver* encoder_rate_observer, 73 VideoEncoderRateObserver* encoder_rate_observer,
74 VCMQMSettingsCallback* qm_settings_callback); 74 VCMQMSettingsCallback* qm_settings_callback);
75 75
76 static VideoCodingModule* Create(Clock* clock, EventFactory* event_factory); 76 static VideoCodingModule* Create(Clock* clock, EventFactory* event_factory);
77 77
78 static void Destroy(VideoCodingModule* module);
79
80 // Get supported codec settings using codec type 78 // Get supported codec settings using codec type
81 // 79 //
82 // Input: 80 // Input:
83 // - codecType : The codec type to get settings for 81 // - codecType : The codec type to get settings for
84 // - codec : Memory where the codec settings will be stored 82 // - codec : Memory where the codec settings will be stored
85 // 83 //
86 // Return value : VCM_OK, on success 84 // Return value : VCM_OK, on success
87 // VCM_PARAMETER_ERROR if codec not supported 85 // VCM_PARAMETER_ERROR if codec not supported
88 static void Codec(VideoCodecType codecType, VideoCodec* codec); 86 static void Codec(VideoCodecType codecType, VideoCodec* codec);
89 87
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 EncodedImageCallback* observer) = 0; 502 EncodedImageCallback* observer) = 0;
505 virtual void RegisterPostEncodeImageCallback( 503 virtual void RegisterPostEncodeImageCallback(
506 EncodedImageCallback* post_encode_callback) = 0; 504 EncodedImageCallback* post_encode_callback) = 0;
507 // Releases pending decode calls, permitting faster thread shutdown. 505 // Releases pending decode calls, permitting faster thread shutdown.
508 virtual void TriggerDecoderShutdown() = 0; 506 virtual void TriggerDecoderShutdown() = 0;
509 }; 507 };
510 508
511 } // namespace webrtc 509 } // namespace webrtc
512 510
513 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 511 #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.cc » ('j') | webrtc/video/video_receive_stream.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698