Home
last modified time | relevance | path

Searched refs:new_send_codec (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/
Dcodec_database.cc215 VideoCodec new_send_codec; in SetSendCodec() local
216 memcpy(&new_send_codec, send_codec, sizeof(new_send_codec)); in SetSendCodec()
218 if (new_send_codec.maxBitrate == 0) { in SetSendCodec()
220 new_send_codec.maxBitrate = (static_cast<int>(send_codec->height) * in SetSendCodec()
224 if (send_codec->startBitrate > new_send_codec.maxBitrate) { in SetSendCodec()
227 new_send_codec.maxBitrate = send_codec->startBitrate; in SetSendCodec()
231 if (new_send_codec.startBitrate > new_send_codec.maxBitrate) in SetSendCodec()
232 new_send_codec.startBitrate = new_send_codec.maxBitrate; in SetSendCodec()
235 reset_required = RequiresEncoderReset(new_send_codec); in SetSendCodec()
238 memcpy(&send_codec_, &new_send_codec, sizeof(send_codec_)); in SetSendCodec()
[all …]