/external/webrtc/webrtc/video/ |
vie_codec_unittest.cc | 63 VideoCodec codec1, codec2; local 65 memset(&codec2, 0, sizeof(VideoCodec)); 68 BuildVP8Codec(&codec2); 70 EXPECT_TRUE(codec1 == codec2); 71 EXPECT_FALSE(codec1 != codec2); 74 strncpy(codec2.plName, "vp8", 4); 75 EXPECT_TRUE(codec1 == codec2); 77 codec2.codecType = kVideoCodecUnknown; 78 EXPECT_FALSE(codec1 == codec2); 81 BuildVP8Codec(&codec2); 122 VideoCodec codec1, codec2; local 182 VideoCodec codec1, codec2; local [all...] |
/external/webrtc/webrtc/voice_engine/ |
voe_codec_unittest.cc | 104 CodecInst codec1, codec2; local 106 memset(&codec2, 0, sizeof(CodecInst)); 114 memcpy(&codec2, &codec1, sizeof(CodecInst)); 116 EXPECT_TRUE(codec1 == codec2); 117 EXPECT_FALSE(codec1 != codec2); 120 codec2.pltype = 102; 121 EXPECT_FALSE(codec1 == codec2); 122 EXPECT_TRUE(codec1 != codec2); 124 // Reset to codec2 to codec1 state. 125 memcpy(&codec2, &codec1, sizeof(CodecInst)) [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receiver_unittest_oldapi.cc | 202 CodecInst codec2 = codec1.inst; local 203 ++codec2.pltype; 210 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec2.pltype, codec2.channels, 211 codec2.plfreq, NULL, "")); 217 EXPECT_EQ(0, receiver_->DecoderByPayloadType(codec2.pltype, &test_codec)); 218 EXPECT_EQ(true, CodecsEqual(codec2, test_codec)); 228 CodecIdInst codec2(RentACodec::CodecId::kPCMA); 229 codec2.inst.pltype = codec1.inst.pltype; 236 EXPECT_EQ(0, receiver_->AddCodec(codec2.id, codec2.inst.pltype [all...] |
/external/webrtc/talk/session/media/ |
mediasession.cc | 807 C codec2; local 811 !FindCodecById(codecs2, codec2_id, &codec2)) { 814 return codec1.Matches(codec2); [all...] |