Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Side by Side Diff: media/cast/cast_config.cc

Issue 906403006: [Cast] Size-Adaptable platform video encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed hubbe's comments. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/cast_config.h" 5 #include "media/cast/cast_config.h"
6 6
7 namespace media { 7 namespace media {
8 namespace cast { 8 namespace cast {
9 9
10 // TODO(miu): Revisit code factoring of these structs. There are a number of 10 // TODO(miu): Revisit code factoring of these structs. There are a number of
(...skipping 11 matching lines...) Expand all
22 // these classes to centralize the logic? 22 // these classes to centralize the logic?
23 23
24 VideoSenderConfig::VideoSenderConfig() 24 VideoSenderConfig::VideoSenderConfig()
25 : ssrc(0), 25 : ssrc(0),
26 receiver_ssrc(0), 26 receiver_ssrc(0),
27 rtcp_interval(kDefaultRtcpIntervalMs), 27 rtcp_interval(kDefaultRtcpIntervalMs),
28 max_playout_delay( 28 max_playout_delay(
29 base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs)), 29 base::TimeDelta::FromMilliseconds(kDefaultRtpMaxDelayMs)),
30 rtp_payload_type(0), 30 rtp_payload_type(0),
31 use_external_encoder(false), 31 use_external_encoder(false),
32 width(0),
33 height(0),
34 congestion_control_back_off(kDefaultCongestionControlBackOff), 32 congestion_control_back_off(kDefaultCongestionControlBackOff),
35 max_bitrate(5000000), 33 max_bitrate(5000000),
36 min_bitrate(1000000), 34 min_bitrate(1000000),
37 start_bitrate(5000000), 35 start_bitrate(5000000),
38 max_qp(kDefaultMaxQp), 36 max_qp(kDefaultMaxQp),
39 min_qp(kDefaultMinQp), 37 min_qp(kDefaultMinQp),
40 max_frame_rate(kDefaultMaxFrameRate), 38 max_frame_rate(kDefaultMaxFrameRate),
41 max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers), 39 max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers),
42 codec(CODEC_VIDEO_VP8), 40 codec(CODEC_VIDEO_VP8),
43 number_of_encode_threads(1) {} 41 number_of_encode_threads(1) {}
(...skipping 23 matching lines...) Expand all
67 rtp_payload_type(0), 65 rtp_payload_type(0),
68 rtp_timebase(0), 66 rtp_timebase(0),
69 channels(0), 67 channels(0),
70 target_frame_rate(0), 68 target_frame_rate(0),
71 codec(CODEC_UNKNOWN) {} 69 codec(CODEC_UNKNOWN) {}
72 70
73 FrameReceiverConfig::~FrameReceiverConfig() {} 71 FrameReceiverConfig::~FrameReceiverConfig() {}
74 72
75 } // namespace cast 73 } // namespace cast
76 } // namespace media 74 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698