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

Side by Side Diff: webrtc/modules/audio_coding/main/acm2/codec_manager.h

Issue 1431103002: Move the Rent-A-Codec™ from CodecOwner to CodecManager (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@rac-dyn
Patch Set: Created 5 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
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/main/acm2/codec_manager.cc » ('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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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
11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_CODEC_MANAGER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_CODEC_MANAGER_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_CODEC_MANAGER_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_CODEC_MANAGER_H_
13 13
14 #include "webrtc/base/constructormagic.h" 14 #include "webrtc/base/constructormagic.h"
15 #include "webrtc/base/maybe.h" 15 #include "webrtc/base/maybe.h"
16 #include "webrtc/base/scoped_ptr.h" 16 #include "webrtc/base/scoped_ptr.h"
17 #include "webrtc/base/thread_checker.h" 17 #include "webrtc/base/thread_checker.h"
18 #include "webrtc/modules/audio_coding/main/acm2/codec_owner.h" 18 #include "webrtc/modules/audio_coding/main/acm2/codec_owner.h"
19 #include "webrtc/modules/audio_coding/main/acm2/rent_a_codec.h"
19 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs. h" 20 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs. h"
20 #include "webrtc/common_types.h" 21 #include "webrtc/common_types.h"
21 22
22 namespace webrtc { 23 namespace webrtc {
23 24
24 class AudioDecoder; 25 class AudioDecoder;
25 class AudioEncoder; 26 class AudioEncoder;
26 27
27 namespace acm2 { 28 namespace acm2 {
28 29
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 uint8_t cng_swb_pltype_; 75 uint8_t cng_swb_pltype_;
75 uint8_t cng_fb_pltype_; 76 uint8_t cng_fb_pltype_;
76 uint8_t red_nb_pltype_; 77 uint8_t red_nb_pltype_;
77 bool stereo_send_; 78 bool stereo_send_;
78 bool dtx_enabled_; 79 bool dtx_enabled_;
79 ACMVADMode vad_mode_; 80 ACMVADMode vad_mode_;
80 CodecInst send_codec_inst_; 81 CodecInst send_codec_inst_;
81 bool red_enabled_; 82 bool red_enabled_;
82 bool codec_fec_enabled_; 83 bool codec_fec_enabled_;
83 CodecOwner codec_owner_; 84 CodecOwner codec_owner_;
85 RentACodec rent_a_codec_;
84 bool encoder_is_opus_; 86 bool encoder_is_opus_;
85 87
86 RTC_DISALLOW_COPY_AND_ASSIGN(CodecManager); 88 RTC_DISALLOW_COPY_AND_ASSIGN(CodecManager);
87 }; 89 };
88 90
89 } // namespace acm2 91 } // namespace acm2
90 } // namespace webrtc 92 } // namespace webrtc
91 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_CODEC_MANAGER_H_ 93 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_CODEC_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/main/acm2/codec_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698