Home | History | Annotate | Download | only in webrtc

Lines Matching refs:target_codec

682                              webrtc::VideoCodec* target_codec) {
683 if ((target_codec == NULL) || (video_format == cricket::VideoFormat())) {
686 target_codec->width = video_format.width;
687 target_codec->height = video_format.height;
688 target_codec->maxFramerate = cricket::VideoFormat::IntervalToFps(
3097 webrtc::VideoCodec target_codec = codec;
3098 target_codec.startBitrate = start_bitrate;
3099 target_codec.minBitrate = min_bitrate;
3100 target_codec.maxBitrate = max_bitrate;
3104 target_codec.codecSpecific.VP8.numberOfTemporalLayers =
3108 target_codec.codecSpecific.VP8.resilience = webrtc::kResilienceOff;
3112 target_codec.codecSpecific.VP8.denoisingOn = enable_denoising;
3117 !send_channel->IsEncoderRegistered(target_codec.plType)) {
3122 channel_id, target_codec.plType, encoder, false) == 0) {
3123 send_channel->RegisterEncoder(target_codec.plType, encoder);
3125 LOG_RTCERR2(RegisterExternalSendCodec, channel_id, target_codec.plName);
3133 UpdateVideoCodec(video_format, &target_codec);
3135 if (target_codec.width == 0 && target_codec.height == 0) {
3140 MaybeChangeStartBitrate(channel_id, &target_codec);
3141 if (0 != engine()->vie()->codec()->SetSendCodec(channel_id, target_codec)) {
3142 LOG_RTCERR2(SetSendCodec, channel_id, target_codec.plName);
3148 cricket::VideoFormat::FpsToInterval(target_codec.maxFramerate));
3289 webrtc::VideoCodec target_codec = *send_codec_.get();
3291 UpdateVideoCodec(video_format, &target_codec);
3293 // Vie send codec size should not exceed target_codec.
3297 (new_width > target_codec.width || new_height > target_codec.height)) {
3298 target_width = target_codec.width;
3299 target_height = target_codec.height;
3334 vie_codec.maxFramerate = target_codec.maxFramerate;
3335 vie_codec.startBitrate = target_codec.startBitrate;