Lines Matching full:resolution
39 void AppendResolution(const VideoResolution& resolution, in AppendResolution() argument
41 builder << "_" << resolution.width() << "x" << resolution.height() << "_" in AppendResolution()
42 << resolution.fps(); in AppendResolution()
103 const VideoResolution& resolution)> video_frame_writer_factory) in VideoDumpOptions()
120 const VideoResolution& resolution) const { in CreateInputDumpVideoFrameWriter()
122 GetInputDumpFileName(stream_label, resolution), resolution); in CreateInputDumpVideoFrameWriter()
124 GetInputFrameIdsDumpFileName(stream_label, resolution); in CreateInputDumpVideoFrameWriter()
135 const VideoResolution& resolution) const { in CreateOutputDumpVideoFrameWriter()
137 GetOutputDumpFileName(stream_label, receiver, resolution), resolution); in CreateOutputDumpVideoFrameWriter()
139 GetOutputFrameIdsDumpFileName(stream_label, receiver, resolution); in CreateOutputDumpVideoFrameWriter()
149 const VideoResolution& resolution) { in Y4mVideoFrameWriterFactory() argument
151 std::string(file_name_prefix) + ".y4m", resolution.width(), in Y4mVideoFrameWriterFactory()
152 resolution.height(), resolution.fps()); in Y4mVideoFrameWriterFactory()
157 const VideoResolution& resolution) const { in GetInputDumpFileName()
160 AppendResolution(resolution, file_name); in GetInputDumpFileName()
166 const VideoResolution& resolution) const { in GetInputFrameIdsDumpFileName()
170 return GetInputDumpFileName(stream_label, resolution) + ".frame_ids.txt"; in GetInputFrameIdsDumpFileName()
176 const VideoResolution& resolution) const { in GetOutputDumpFileName()
179 AppendResolution(resolution, file_name); in GetOutputDumpFileName()
186 const VideoResolution& resolution) const { in GetOutputFrameIdsDumpFileName()
190 return GetOutputDumpFileName(stream_label, receiver, resolution) + in GetOutputFrameIdsDumpFileName()
202 VideoConfig::VideoConfig(const VideoResolution& resolution) in VideoConfig() argument
203 : width(resolution.width()), in VideoConfig()
204 height(resolution.height()), in VideoConfig()
205 fps(resolution.fps()) { in VideoConfig()
206 RTC_CHECK(resolution.IsRegular()); in VideoConfig()
245 for (const VideoResolution& resolution : resolutions) { in GetMaxResolution() local
246 if (max_resolution.width() < resolution.width()) { in GetMaxResolution()
247 max_resolution.set_width(resolution.width()); in GetMaxResolution()
249 if (max_resolution.height() < resolution.height()) { in GetMaxResolution()
250 max_resolution.set_height(resolution.height()); in GetMaxResolution()
252 if (max_resolution.fps() < resolution.fps()) { in GetMaxResolution()
253 max_resolution.set_fps(resolution.fps()); in GetMaxResolution()
269 VideoResolution resolution) { in SubscribeToPeer() argument
270 peers_resolution_[std::string(peer_name)] = resolution; in SubscribeToPeer()
275 VideoResolution resolution) { in SubscribeToAllPeers() argument
276 default_resolution_ = resolution; in SubscribeToAllPeers()
307 for (const auto& [peer_name, resolution] : peers_resolution_) { in ToString()
308 out << "[" << peer_name << ": " << resolution.ToString() << "], "; in ToString()