Searched refs:codec1 (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/webrtc/video/ |
D | vie_codec_unittest.cc | 63 VideoCodec codec1, codec2; in TEST() local 64 memset(&codec1, 0, sizeof(VideoCodec)); in TEST() 67 BuildVP8Codec(&codec1); in TEST() 70 EXPECT_TRUE(codec1 == codec2); in TEST() 71 EXPECT_FALSE(codec1 != codec2); in TEST() 75 EXPECT_TRUE(codec1 == codec2); in TEST() 78 EXPECT_FALSE(codec1 == codec2); in TEST() 83 EXPECT_FALSE(codec1 == codec2); in TEST() 89 EXPECT_FALSE(codec1 == codec2); in TEST() 94 EXPECT_FALSE(codec1 == codec2); in TEST() [all …]
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_codec_unittest.cc | 104 CodecInst codec1, codec2; in TEST() local 105 memset(&codec1, 0, sizeof(CodecInst)); in TEST() 108 codec1.pltype = 101; in TEST() 109 strncpy(codec1.plname, "isac", 4); in TEST() 110 codec1.plfreq = 8000; in TEST() 111 codec1.pacsize = 110; in TEST() 112 codec1.channels = 1; in TEST() 113 codec1.rate = 8000; in TEST() 114 memcpy(&codec2, &codec1, sizeof(CodecInst)); in TEST() 116 EXPECT_TRUE(codec1 == codec2); in TEST() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_receiver_unittest_oldapi.cc | 201 const CodecIdInst codec1(RentACodec::CodecId::kPCMA); in TEST_F() local 202 CodecInst codec2 = codec1.inst; in TEST_F() 207 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec1.inst.pltype, in TEST_F() 208 codec1.inst.channels, codec1.inst.plfreq, in TEST_F() 210 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec2.pltype, codec2.channels, in TEST_F() 215 receiver_->DecoderByPayloadType(codec1.inst.pltype, &test_codec)); in TEST_F() 216 EXPECT_EQ(true, CodecsEqual(codec1.inst, test_codec)); in TEST_F() 227 const CodecIdInst codec1(RentACodec::CodecId::kPCMU); in TEST_F() local 229 codec2.inst.pltype = codec1.inst.pltype; in TEST_F() 233 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec1.inst.pltype, in TEST_F() [all …]
|
/external/webrtc/talk/session/media/ |
D | mediasession.cc | 806 C codec1; in ReferencedCodecsMatch() local 810 !FindCodecById(codecs1, codec1_id, &codec1) || in ReferencedCodecsMatch() 814 return codec1.Matches(codec2); in ReferencedCodecsMatch()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoengine2.cc | 695 [](const VideoCodecSettings& codec1, const VideoCodecSettings& codec2) { in ReceiveCodecsHaveChanged() argument 696 return codec1.codec.id > codec2.codec.id; in ReceiveCodecsHaveChanged()
|