Lines Matching full:settings

77 VCMDecoderMapItem::VCMDecoderMapItem(VideoCodec* settings,  in VCMDecoderMapItem()  argument
80 : settings(settings), in VCMDecoderMapItem()
119 void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { in Codec() argument
120 memset(settings, 0, sizeof(VideoCodec)); in Codec()
123 strncpy(settings->plName, "VP8", 4); in Codec()
124 settings->codecType = kVideoCodecVP8; in Codec()
126 settings->plType = kDefaultPayloadType; in Codec()
127 settings->startBitrate = kDefaultStartBitrateKbps; in Codec()
128 settings->minBitrate = VCM_MIN_BITRATE; in Codec()
129 settings->maxBitrate = 0; in Codec()
130 settings->maxFramerate = VCM_DEFAULT_FRAME_RATE; in Codec()
131 settings->width = VCM_DEFAULT_CODEC_WIDTH; in Codec()
132 settings->height = VCM_DEFAULT_CODEC_HEIGHT; in Codec()
133 settings->numberOfSimulcastStreams = 0; in Codec()
134 settings->qpMax = 56; in Codec()
135 settings->codecSpecific.VP8 = VideoEncoder::GetDefaultVp8Settings(); in Codec()
138 strncpy(settings->plName, "VP9", 4); in Codec()
139 settings->codecType = kVideoCodecVP9; in Codec()
141 settings->plType = kDefaultPayloadType; in Codec()
142 settings->startBitrate = 100; in Codec()
143 settings->minBitrate = VCM_MIN_BITRATE; in Codec()
144 settings->maxBitrate = 0; in Codec()
145 settings->maxFramerate = VCM_DEFAULT_FRAME_RATE; in Codec()
146 settings->width = VCM_DEFAULT_CODEC_WIDTH; in Codec()
147 settings->height = VCM_DEFAULT_CODEC_HEIGHT; in Codec()
148 settings->numberOfSimulcastStreams = 0; in Codec()
149 settings->qpMax = 56; in Codec()
150 settings->codecSpecific.VP9 = VideoEncoder::GetDefaultVp9Settings(); in Codec()
153 strncpy(settings->plName, "H264", 5); in Codec()
154 settings->codecType = kVideoCodecH264; in Codec()
156 settings->plType = kDefaultPayloadType; in Codec()
157 settings->startBitrate = kDefaultStartBitrateKbps; in Codec()
158 settings->minBitrate = VCM_MIN_BITRATE; in Codec()
159 settings->maxBitrate = 0; in Codec()
160 settings->maxFramerate = VCM_DEFAULT_FRAME_RATE; in Codec()
161 settings->width = VCM_DEFAULT_CODEC_WIDTH; in Codec()
162 settings->height = VCM_DEFAULT_CODEC_HEIGHT; in Codec()
163 settings->numberOfSimulcastStreams = 0; in Codec()
164 settings->qpMax = 56; in Codec()
165 settings->codecSpecific.H264 = VideoEncoder::GetDefaultH264Settings(); in Codec()
168 strncpy(settings->plName, "I420", 5); in Codec()
169 settings->codecType = kVideoCodecI420; in Codec()
171 settings->plType = kDefaultPayloadType; in Codec()
173 settings->startBitrate = 3 * VCM_DEFAULT_CODEC_WIDTH * in Codec()
176 settings->maxBitrate = settings->startBitrate; in Codec()
177 settings->maxFramerate = VCM_DEFAULT_FRAME_RATE; in Codec()
178 settings->width = VCM_DEFAULT_CODEC_WIDTH; in Codec()
179 settings->height = VCM_DEFAULT_CODEC_HEIGHT; in Codec()
180 settings->minBitrate = VCM_MIN_BITRATE; in Codec()
181 settings->numberOfSimulcastStreams = 0; in Codec()
549 ptr_decoder = CreateDecoder(decoder_item->settings->codecType); in CreateAndInitDecoder()
560 decoder_item->settings->width = frame.EncodedImage()._encodedWidth; in CreateAndInitDecoder()
561 decoder_item->settings->height = frame.EncodedImage()._encodedHeight; in CreateAndInitDecoder()
563 if (ptr_decoder->InitDecode(decoder_item->settings.get(), in CreateAndInitDecoder()
568 memcpy(new_codec, decoder_item->settings.get(), sizeof(VideoCodec)); in CreateAndInitDecoder()