Home
last modified time | relevance | path

Searched refs:DecoderDatabase (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddecoder_database_unittest.cc25 TEST(DecoderDatabase, CreateAndDestroy) { in TEST() argument
26 DecoderDatabase db; in TEST()
31 TEST(DecoderDatabase, InsertAndRemove) { in TEST() argument
32 DecoderDatabase db; in TEST()
36 DecoderDatabase::kOK, in TEST()
40 EXPECT_EQ(DecoderDatabase::kOK, db.Remove(kPayloadType)); in TEST()
45 TEST(DecoderDatabase, GetDecoderInfo) { in TEST() argument
46 DecoderDatabase db; in TEST()
50 DecoderDatabase::kOK, in TEST()
52 const DecoderDatabase::DecoderInfo* info; in TEST()
[all …]
Ddecoder_database.cc22 DecoderDatabase::DecoderDatabase() in DecoderDatabase() function in webrtc::DecoderDatabase
25 DecoderDatabase::~DecoderDatabase() {} in ~DecoderDatabase()
27 DecoderDatabase::DecoderInfo::~DecoderInfo() { in ~DecoderInfo()
31 bool DecoderDatabase::Empty() const { return decoders_.empty(); } in Empty()
33 int DecoderDatabase::Size() const { return static_cast<int>(decoders_.size()); } in Size()
35 void DecoderDatabase::Reset() { in Reset()
41 int DecoderDatabase::RegisterPayload(uint8_t rtp_payload_type, in RegisterPayload()
60 int DecoderDatabase::InsertExternal(uint8_t rtp_payload_type, in InsertExternal()
87 int DecoderDatabase::Remove(uint8_t rtp_payload_type) { in Remove()
101 const DecoderDatabase::DecoderInfo* DecoderDatabase::GetDecoderInfo( in GetDecoderInfo()
[all …]
Dpayload_splitter.h20 class DecoderDatabase; variable
55 DecoderDatabase* decoder_database);
61 const DecoderDatabase& decoder_database);
68 const DecoderDatabase& decoder_database);
Dpayload_splitter_unittest.cc312 DecoderDatabase decoder_database; in TEST()
374 rtc::scoped_ptr<DecoderDatabase::DecoderInfo> info0( in TEST()
375 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderISAC, 16000, NULL, in TEST()
379 rtc::scoped_ptr<DecoderDatabase::DecoderInfo> info1( in TEST()
380 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderISACswb, 32000, in TEST()
384 rtc::scoped_ptr<DecoderDatabase::DecoderInfo> info2( in TEST()
385 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderRED, 8000, NULL, in TEST()
389 rtc::scoped_ptr<DecoderDatabase::DecoderInfo> info3( in TEST()
390 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderAVT, 8000, NULL, in TEST()
394 rtc::scoped_ptr<DecoderDatabase::DecoderInfo> info4( in TEST()
[all …]
Dtimestamp_scaler_unittest.cc26 DecoderDatabase::DecoderInfo info; in TEST()
47 DecoderDatabase::DecoderInfo info; in TEST()
73 DecoderDatabase::DecoderInfo info; in TEST()
97 DecoderDatabase::DecoderInfo info; in TEST()
125 DecoderDatabase::DecoderInfo info_g722, info_cng; in TEST()
167 DecoderDatabase::DecoderInfo info; in TEST()
196 DecoderDatabase::DecoderInfo info; in TEST()
225 DecoderDatabase::DecoderInfo info; in TEST()
265 DecoderDatabase::DecoderInfo info; in TEST()
Dnormal.h27 class DecoderDatabase; variable
35 Normal(int fs_hz, DecoderDatabase* decoder_database, in Normal()
60 DecoderDatabase* decoder_database_;
Ddecoder_database.h26 class DecoderDatabase {
68 DecoderDatabase();
70 virtual ~DecoderDatabase();
159 RTC_DISALLOW_COPY_AND_ASSIGN(DecoderDatabase);
Dcomfort_noise.h21 class DecoderDatabase; variable
35 ComfortNoise(int fs_hz, DecoderDatabase* decoder_database, in ComfortNoise()
66 DecoderDatabase* decoder_database_;
Dtimestamp_scaler.h21 class DecoderDatabase; variable
28 explicit TimestampScaler(const DecoderDatabase& decoder_database) in TimestampScaler()
62 const DecoderDatabase& decoder_database_;
Ddecision_logic.h23 class DecoderDatabase; variable
39 DecoderDatabase* decoder_database,
48 DecoderDatabase* decoder_database,
147 DecoderDatabase* decoder_database_;
Dpacket_buffer.h21 class DecoderDatabase; variable
63 const DecoderDatabase& decoder_database,
116 virtual size_t NumSamplesInBuffer(DecoderDatabase* decoder_database,
Dneteq.cc48 DecoderDatabase* decoder_database = new DecoderDatabase; in Create()
Dpayload_splitter.cc125 DecoderDatabase* decoder_database) { in SplitFec()
132 const DecoderDatabase::DecoderInfo* info = in SplitFec()
188 const DecoderDatabase& decoder_database) { in CheckRedPayloads()
220 const DecoderDatabase& decoder_database) { in SplitAudio()
226 const DecoderDatabase::DecoderInfo* info = in SplitAudio()
Dneteq_impl.cc58 DecoderDatabase* decoder_database, in NetEqImpl()
185 if (ret != DecoderDatabase::kOK) { in RegisterPayloadType()
187 case DecoderDatabase::kInvalidRtpPayloadType: in RegisterPayloadType()
190 case DecoderDatabase::kCodecNotSupported: in RegisterPayloadType()
193 case DecoderDatabase::kDecoderExists: in RegisterPayloadType()
220 if (ret != DecoderDatabase::kOK) { in RegisterExternalDecoder()
222 case DecoderDatabase::kInvalidRtpPayloadType: in RegisterExternalDecoder()
225 case DecoderDatabase::kCodecNotSupported: in RegisterExternalDecoder()
228 case DecoderDatabase::kDecoderExists: in RegisterExternalDecoder()
231 case DecoderDatabase::kInvalidSampleRate: in RegisterExternalDecoder()
[all …]
Ddecision_logic.cc29 DecoderDatabase* decoder_database, in Create()
61 DecoderDatabase* decoder_database, in DecisionLogic()
Dneteq_impl.h37 class DecoderDatabase; variable
64 DecoderDatabase* decoder_database,
344 const rtc::scoped_ptr<DecoderDatabase> decoder_database_
Ddecision_logic_fax.h28 DecoderDatabase* decoder_database, in DecisionLogicFax()
Ddecision_logic_unittest.cc26 DecoderDatabase decoder_database; in TEST()
Dpacket_buffer.cc108 const DecoderDatabase& decoder_database, in InsertPacketList()
247 size_t PacketBuffer::NumSamplesInBuffer(DecoderDatabase* decoder_database, in NumSamplesInBuffer()
Ddecision_logic_normal.h28 DecoderDatabase* decoder_database, in DecisionLogicNormal()
Dtimestamp_scaler.cc40 const DecoderDatabase::DecoderInfo* info = in ToInternal()
Dneteq_impl_unittest.cc100 decoder_database_ = new DecoderDatabase; in CreateInstance()
207 DecoderDatabase* decoder_database_;
253 .WillOnce(Return(DecoderDatabase::kDecoderNotFound)); in TEST_F()
295 .WillRepeatedly(Return(DecoderDatabase::kOK)); // Payload type is valid. in TEST_F()
303 DecoderDatabase::DecoderInfo info; in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_payload_splitter.h25 int(PacketList* packet_list, DecoderDatabase* decoder_database));
27 int(PacketList* packet_list, const DecoderDatabase& decoder_database));
29 int(PacketList* packet_list, const DecoderDatabase& decoder_database));
Dmock_packet_buffer.h34 const DecoderDatabase& decoder_database,
Dmock_decoder_database.h22 class MockDecoderDatabase : public DecoderDatabase {