• Home
  • Raw
  • Download

Lines Matching full:streams

33                                        const std::vector<VideoStream>& streams,  in SetupCodec()  argument
38 if (!SetupCodec(associated_config, streams, codec)) { in SetupCodec()
46 *codec = VideoEncoderConfigToVideoCodec(config, streams); in SetupCodec()
53 const std::vector<VideoStream>& streams) { in VideoEncoderConfigToVideoCodec() argument
55 RTC_DCHECK(!streams.empty()); in VideoEncoderConfigToVideoCodec()
75 static_cast<unsigned char>(streams.size()); in VideoEncoderConfigToVideoCodec()
76 video_codec.minBitrate = streams[0].min_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
78 // Active configuration might not be fully copied to |streams| for SVC yet. in VideoEncoderConfigToVideoCodec()
92 RTC_DCHECK_LE(streams.size(), kMaxSimulcastStreams); in VideoEncoderConfigToVideoCodec()
96 for (size_t i = 0; i < streams.size(); ++i) { in VideoEncoderConfigToVideoCodec()
98 RTC_DCHECK_GT(streams[i].width, 0); in VideoEncoderConfigToVideoCodec()
99 RTC_DCHECK_GT(streams[i].height, 0); in VideoEncoderConfigToVideoCodec()
100 RTC_DCHECK_GT(streams[i].max_framerate, 0); in VideoEncoderConfigToVideoCodec()
101 RTC_DCHECK_GE(streams[i].min_bitrate_bps, 0); in VideoEncoderConfigToVideoCodec()
102 RTC_DCHECK_GE(streams[i].target_bitrate_bps, streams[i].min_bitrate_bps); in VideoEncoderConfigToVideoCodec()
103 RTC_DCHECK_GE(streams[i].max_bitrate_bps, streams[i].target_bitrate_bps); in VideoEncoderConfigToVideoCodec()
104 RTC_DCHECK_GE(streams[i].max_qp, 0); in VideoEncoderConfigToVideoCodec()
106 sim_stream->width = static_cast<uint16_t>(streams[i].width); in VideoEncoderConfigToVideoCodec()
107 sim_stream->height = static_cast<uint16_t>(streams[i].height); in VideoEncoderConfigToVideoCodec()
108 sim_stream->maxFramerate = streams[i].max_framerate; in VideoEncoderConfigToVideoCodec()
109 sim_stream->minBitrate = streams[i].min_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
110 sim_stream->targetBitrate = streams[i].target_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
111 sim_stream->maxBitrate = streams[i].max_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
112 sim_stream->qpMax = streams[i].max_qp; in VideoEncoderConfigToVideoCodec()
114 static_cast<unsigned char>(streams[i].num_temporal_layers.value_or(1)); in VideoEncoderConfigToVideoCodec()
115 sim_stream->active = streams[i].active; in VideoEncoderConfigToVideoCodec()
118 std::max(video_codec.width, static_cast<uint16_t>(streams[i].width)); in VideoEncoderConfigToVideoCodec()
120 std::max(video_codec.height, static_cast<uint16_t>(streams[i].height)); in VideoEncoderConfigToVideoCodec()
123 static_cast<uint16_t>(streams[i].min_bitrate_bps / 1000)); in VideoEncoderConfigToVideoCodec()
124 video_codec.maxBitrate += streams[i].max_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
126 static_cast<unsigned int>(streams[i].max_qp)); in VideoEncoderConfigToVideoCodec()
127 max_framerate = std::max(max_framerate, streams[i].max_framerate); in VideoEncoderConfigToVideoCodec()
152 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()
169 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()
251 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()