| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |