Lines Matching refs:requested
1171 // Given the requested codec, returns true if we can send that codec type and
1174 bool WebRtcVideoEngine::CanSendCodec(const VideoCodec& requested,
1186 if (!requested.Matches(*local_max)) {
1190 out->id = requested.id;
1191 out->name = requested.name;
1192 out->preference = requested.preference;
1193 out->params = requested.params;
1194 out->framerate = rtc::_min(requested.framerate, local_max->framerate);
1197 out->params = requested.params;
1198 out->feedback_params = requested.feedback_params;
1200 if (0 == requested.width && 0 == requested.height) {
1203 } else if (0 == requested.width || 0 == requested.height) {
1208 // Reduce the requested size by /= 2 until it's width under
1210 out->width = requested.width;
1211 out->height = requested.height;