| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |