Lines Matching refs:VideoCodec
310 webrtc::VideoCodec videoCodec;
311 memset(&videoCodec, 0, sizeof(webrtc::VideoCodec));
315 error = ptrViECodec->GetCodec(codecIdx, videoCodec);
323 if (videoCodec.codecType == webrtc::kVideoCodecI420)
325 videoCodec.width = 176;
326 videoCodec.height = 144;
329 error = ptrViECodec->SetReceiveCodec(videoChannel, videoCodec);
335 if (videoCodec.codecType != webrtc::kVideoCodecRED
336 && videoCodec.codecType != webrtc::kVideoCodecULPFEC)
338 printf("\t %d. %s\n", codecIdx + 1, videoCodec.plName);
359 error = ptrViECodec->GetCodec(codecIdx, videoCodec);
361 if (videoCodec.codecType == webrtc::kVideoCodecVP8)
364 assert(videoCodec.codecType == webrtc::kVideoCodecVP8);
365 videoCodec.codecType = webrtc::kVideoCodecGeneric;
368 strcpy(videoCodec.plName, "VP8-GENERIC");
370 videoCodec.plType = pl_type;
381 error = ptrViECodec->GetCodec(codecIdx, videoCodec);
403 videoCodec.width = 176;
404 videoCodec.height = 144;
407 videoCodec.width = 352;
408 videoCodec.height = 288;
411 videoCodec.width = 640;
412 videoCodec.height = 480;
415 videoCodec.width = 704;
416 videoCodec.height = 576;
419 videoCodec.width = 1280;
420 videoCodec.height = 720;
423 videoCodec.width = 1920;
424 videoCodec.height = 1080;
436 videoCodec.codecSpecific.VP8.numberOfTemporalLayers = numTemporalLayers;
446 videoCodec.startBitrate=startRate;
449 error = ptrViECodec->SetSendCodec(videoChannel, videoCodec);
451 error = ptrViECodec->SetReceiveCodec(videoChannel, videoCodec);