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

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

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.gyp ('k') | media/cast/cast_config.cc » ('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 #ifndef MEDIA_CAST_CAST_CONFIG_H_ 5 #ifndef MEDIA_CAST_CAST_CONFIG_H_
6 #define MEDIA_CAST_CAST_CONFIG_H_ 6 #define MEDIA_CAST_CAST_CONFIG_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // transmit/retransmit, receive, decode, and render; given its run-time 80 // transmit/retransmit, receive, decode, and render; given its run-time
81 // environment (sender/receiver hardware performance, network conditions, 81 // environment (sender/receiver hardware performance, network conditions,
82 // etc.). 82 // etc.).
83 base::TimeDelta min_playout_delay; 83 base::TimeDelta min_playout_delay;
84 base::TimeDelta max_playout_delay; 84 base::TimeDelta max_playout_delay;
85 85
86 // RTP payload type enum: Specifies the type/encoding of frame data. 86 // RTP payload type enum: Specifies the type/encoding of frame data.
87 int rtp_payload_type; 87 int rtp_payload_type;
88 88
89 bool use_external_encoder; 89 bool use_external_encoder;
90 int width; // Incoming frames will be scaled to this size.
91 int height;
92 90
93 float congestion_control_back_off; 91 float congestion_control_back_off;
94 int max_bitrate; 92 int max_bitrate;
95 int min_bitrate; 93 int min_bitrate;
96 int start_bitrate; 94 int start_bitrate;
97 int max_qp; 95 int max_qp;
98 int min_qp; 96 int min_qp;
99 int max_frame_rate; // TODO(miu): Should be double, not int. 97 int max_frame_rate; // TODO(miu): Should be double, not int.
100 98
101 // This field is used differently by various encoders. It defaults to 1. 99 // This field is used differently by various encoders. It defaults to 1.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> 189 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)>
192 ReceiveVideoEncodeMemoryCallback; 190 ReceiveVideoEncodeMemoryCallback;
193 typedef base::Callback<void(size_t size, 191 typedef base::Callback<void(size_t size,
194 const ReceiveVideoEncodeMemoryCallback&)> 192 const ReceiveVideoEncodeMemoryCallback&)>
195 CreateVideoEncodeMemoryCallback; 193 CreateVideoEncodeMemoryCallback;
196 194
197 } // namespace cast 195 } // namespace cast
198 } // namespace media 196 } // namespace media
199 197
200 #endif // MEDIA_CAST_CAST_CONFIG_H_ 198 #endif // MEDIA_CAST_CAST_CONFIG_H_
OLDNEW
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/cast_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698