Lines Matching refs:VideoCodec
25 webrtc::VideoCodec videoCodec;
26 memset(&videoCodec, 0, sizeof(webrtc::VideoCodec));
29 EXPECT_EQ(0, ViE.codec->GetCodec(idx, videoCodec));
30 videoCodec.width = width;
31 videoCodec.height = height;
32 videoCodec.maxFramerate = frameRate;
34 if (videoCodec.codecType == sendCodec && sendCodecSet == false) {
35 if (videoCodec.codecType != webrtc::kVideoCodecI420) {
36 videoCodec.startBitrate = startBitrate;
37 videoCodec.maxBitrate = startBitrate * 3;
39 EXPECT_EQ(0, ViE.codec->SetSendCodec(videoChannel, videoCodec));
42 if (videoCodec.codecType == webrtc::kVideoCodecVP8) {
43 videoCodec.width = 352;
44 videoCodec.height = 288;
46 EXPECT_EQ(0, ViE.codec->SetReceiveCodec(videoChannel, videoCodec));
62 webrtc::VideoCodec videoCodec;
63 EXPECT_EQ(0, ViE.codec->GetSendCodec(videoChannel, videoCodec));
64 videoCodec.width = width;
65 videoCodec.height = height;
66 videoCodec.maxFramerate = frameRate;
68 EXPECT_EQ(0, ViE.codec->SetSendCodec(videoChannel, videoCodec));
69 EXPECT_EQ(0, ViE.codec->SetReceiveCodec(videoChannel, videoCodec));