HomeSort by relevance Sort by last modified time
    Searched refs:RentACodec (Results 1 - 15 of 15) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/acm2/
codec_manager.h 45 const RentACodec::StackParameters* GetStackParams() const {
48 RentACodec::StackParameters* GetStackParams() { return &codec_stack_params_; }
59 RentACodec::StackParameters codec_stack_params_;
audio_coding_module.cc 42 return static_cast<int>(acm2::RentACodec::NumberOfCodecs());
46 auto codec_id = acm2::RentACodec::CodecIdFromIndex(list_id);
49 auto ci = acm2::RentACodec::CodecInstById(*codec_id);
60 rtc::Optional<CodecInst> ci = acm2::RentACodec::CodecInstByParams(
80 rtc::Optional<acm2::RentACodec::CodecId> ci =
81 acm2::RentACodec::CodecIdByParams(payload_name, sampling_freq_hz,
85 rtc::Optional<int> i = acm2::RentACodec::CodecIndexFromId(*ci);
91 bool valid = acm2::RentACodec::IsCodecValid(codec);
rent_a_codec.cc 45 rtc::Optional<RentACodec::CodecId> RentACodec::CodecIdByParams(
53 rtc::Optional<CodecInst> RentACodec::CodecInstById(CodecId codec_id) {
59 rtc::Optional<RentACodec::CodecId> RentACodec::CodecIdByInst(
64 rtc::Optional<CodecInst> RentACodec::CodecInstByParams(const char* payload_name,
81 bool RentACodec::IsCodecValid(const CodecInst& codec_inst) {
85 rtc::Optional<bool> RentACodec::IsSupportedNumChannels(CodecId codec_id,
94 rtc::ArrayView<const CodecInst> RentACodec::Database() {
99 rtc::Optional<NetEqDecoder> RentACodec::NetEqDecoderFromCodecId
    [all...]
codec_manager.cc 35 auto maybe_codec_id = RentACodec::CodecIdByInst(send_codec);
49 if (!RentACodec::IsSupportedNumChannels(*maybe_codec_id, send_codec.channels)
56 return RentACodec::CodecIndexFromId(*maybe_codec_id).value_or(-1);
85 switch (RentACodec::RegisterRedPayloadType(
87 case RentACodec::RegistrationResult::kOk:
89 case RentACodec::RegistrationResult::kBadFreq:
94 case RentACodec::RegistrationResult::kSkip:
97 switch (RentACodec::RegisterCngPayloadType(
99 case RentACodec::RegistrationResult::kOk:
101 case RentACodec::RegistrationResult::kBadFreq
    [all...]
acm_receiver_unittest_oldapi.cc 39 explicit CodecIdInst(RentACodec::CodecId codec_id) {
40 const auto codec_ix = RentACodec::CodecIndexFromId(codec_id);
43 const auto codec_inst = RentACodec::CodecInstById(codec_id);
71 codecs_ = RentACodec::Database();
90 *RentACodec::CodecInstById(*RentACodec::CodecIdFromIndex(codec_id));
116 void AddSetOfCodecs(const RentACodec::CodecId(&ids)[N]) {
118 const auto i = RentACodec::CodecIndexFromId(id);
201 const CodecIdInst codec1(RentACodec::CodecId::kPCMA);
227 const CodecIdInst codec1(RentACodec::CodecId::kPCMU)
    [all...]
rent_a_codec.h 41 class RentACodec {
158 ? rtc::Optional<RentACodec::CodecId>(
159 static_cast<RentACodec::CodecId>(codec_index))
160 : rtc::Optional<RentACodec::CodecId>();
196 RentACodec();
197 ~RentACodec();
243 RTC_DISALLOW_COPY_AND_ASSIGN(RentACodec);
acm_receiver.cc 110 // TODO(kwiberg): Move to RentACodec.
112 auto i = RentACodec::CodecIdFromIndex(codec_id);
113 return (i && (*i == RentACodec::CodecId::kCNNB ||
114 *i == RentACodec::CodecId::kCNWB ||
115 *i == RentACodec::CodecId::kCNSWB ||
116 *i == RentACodec::CodecId::kCNFB));
184 const auto ci = RentACodec::CodecIdFromIndex(decoder->acm_codec_id);
185 return ci ? RentACodec::CodecInstById(*ci)->plfreq : -1;
196 *RentACodec::CodecIndexFromId(RentACodec::CodecId::kAVT))
    [all...]
rent_a_codec_unittest.cc 35 RentACodec::StackParameters param;
60 RentACodec rent_a_codec_;
112 RentACodec rac;
113 RentACodec::StackParameters param;
178 RentACodec::StackParameters param1, param2;
184 RentACodec rac;
209 RentACodec rent_a_codec;
215 RentACodec::StackParameters sp;
217 EXPECT_DEATH(RentACodec().RentEncoderStack(&sp), "");
acm_codec_database.cc 233 if (!RentACodec::IsPayloadTypeValid(codec_inst.pltype)) {
298 for (const CodecInst& ci : RentACodec::Database()) {
318 return &ci - RentACodec::Database().data();
codec_manager_unittest.cc 50 RentACodec rac;
audio_coding_module_impl.cc 557 auto db = RentACodec::Database();
598 RentACodec::CodecIdByParams(codec.plname, codec.plfreq, codec.channels);
603 auto codec_index = RentACodec::CodecIndexFromId(*codec_id);
607 if (!RentACodec::IsPayloadTypeValid(codec.pltype)) {
636 if (!RentACodec::IsPayloadTypeValid(rtp_payload_type)) {
audio_coding_module_impl.h 252 RentACodec rent_a_codec_ GUARDED_BY(acm_crit_sect_);
  /external/webrtc/webrtc/modules/audio_coding/neteq/
audio_decoder_impl.h 60 using NetEqDecoder = acm2::RentACodec::NetEqDecoder;
  /external/webrtc/talk/media/webrtc/
webrtcvoiceengine.cc 283 for (webrtc::CodecInst voe_codec : webrtc::acm2::RentACodec::Database()) {
340 for (webrtc::CodecInst voe_codec : webrtc::acm2::RentACodec::Database()) {
    [all...]
fakewebrtcvoiceengine.h 298 auto db = webrtc::acm2::RentACodec::Database();

Completed in 1579 milliseconds