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

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

Issue 228313002: Cast: Use 2 threads for encoding on capable systems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 float congestion_control_back_off; 65 float congestion_control_back_off;
66 int max_bitrate; 66 int max_bitrate;
67 int min_bitrate; 67 int min_bitrate;
68 int start_bitrate; 68 int start_bitrate;
69 int max_qp; 69 int max_qp;
70 int min_qp; 70 int min_qp;
71 int max_frame_rate; 71 int max_frame_rate;
72 int max_number_of_video_buffers_used; // Max value depend on codec. 72 int max_number_of_video_buffers_used; // Max value depend on codec.
73 transport::VideoCodec codec; 73 transport::VideoCodec codec;
74 int number_of_cores; 74 int number_of_encode_threads;
75 }; 75 };
76 76
77 struct AudioReceiverConfig { 77 struct AudioReceiverConfig {
78 AudioReceiverConfig(); 78 AudioReceiverConfig();
79 79
80 uint32 feedback_ssrc; 80 uint32 feedback_ssrc;
81 uint32 incoming_ssrc; 81 uint32 incoming_ssrc;
82 82
83 int rtcp_interval; 83 int rtcp_interval;
84 std::string rtcp_c_name; 84 std::string rtcp_c_name;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> 150 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)>
151 ReceiveVideoEncodeMemoryCallback; 151 ReceiveVideoEncodeMemoryCallback;
152 typedef base::Callback<void(size_t size, 152 typedef base::Callback<void(size_t size,
153 const ReceiveVideoEncodeMemoryCallback&)> 153 const ReceiveVideoEncodeMemoryCallback&)>
154 CreateVideoEncodeMemoryCallback; 154 CreateVideoEncodeMemoryCallback;
155 155
156 } // namespace cast 156 } // namespace cast
157 } // namespace media 157 } // namespace media
158 158
159 #endif // MEDIA_CAST_CAST_CONFIG_H_ 159 #endif // MEDIA_CAST_CAST_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698