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

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

Issue 2510583002: Reland #2 of Issue 2434073003: Extract bitrate allocation ... (Closed)
Patch Set: Addressed comments Created 4 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
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 17 matching lines...) Expand all
28 #include "webrtc/video_frame.h" 28 #include "webrtc/video_frame.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 31
32 class Clock; 32 class Clock;
33 class EncodedImageCallback; 33 class EncodedImageCallback;
34 // TODO(pbos): Remove VCMQMSettingsCallback completely. This might be done by 34 // TODO(pbos): Remove VCMQMSettingsCallback completely. This might be done by
35 // removing the VCM and use VideoSender/VideoReceiver as a public interface 35 // removing the VCM and use VideoSender/VideoReceiver as a public interface
36 // directly. 36 // directly.
37 class VCMQMSettingsCallback; 37 class VCMQMSettingsCallback;
38 class VideoBitrateAllocator;
38 class VideoEncoder; 39 class VideoEncoder;
39 class VideoDecoder; 40 class VideoDecoder;
40 struct CodecSpecificInfo; 41 struct CodecSpecificInfo;
41 42
42 class EventFactory { 43 class EventFactory {
43 public: 44 public:
44 virtual ~EventFactory() {} 45 virtual ~EventFactory() {}
45 46
46 virtual EventWrapper* CreateEvent() = 0; 47 virtual EventWrapper* CreateEvent() = 0;
47 }; 48 };
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 469
469 virtual void RegisterPostEncodeImageCallback( 470 virtual void RegisterPostEncodeImageCallback(
470 EncodedImageCallback* post_encode_callback) = 0; 471 EncodedImageCallback* post_encode_callback) = 0;
471 // Releases pending decode calls, permitting faster thread shutdown. 472 // Releases pending decode calls, permitting faster thread shutdown.
472 virtual void TriggerDecoderShutdown() = 0; 473 virtual void TriggerDecoderShutdown() = 0;
473 }; 474 };
474 475
475 } // namespace webrtc 476 } // namespace webrtc
476 477
477 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 478 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698