OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_H_ | 25 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_H_ |
26 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_H_ | 26 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_H_ |
27 | 27 |
28 #include <queue> | 28 #include <queue> |
29 #include <string> | 29 #include <string> |
30 #include <vector> | 30 #include <vector> |
31 | 31 |
32 #include "webrtc/base/constructormagic.h" | 32 #include "webrtc/base/constructormagic.h" |
33 #include "webrtc/modules/interface/module_common_types.h" | 33 #include "webrtc/modules/include/module_common_types.h" |
34 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" | 34 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" |
35 #include "webrtc/typedefs.h" | 35 #include "webrtc/typedefs.h" |
36 | 36 |
37 namespace webrtc { | 37 namespace webrtc { |
38 | 38 |
39 enum VP8PacketizerMode { | 39 enum VP8PacketizerMode { |
40 kStrict = 0, // Split partitions if too large; | 40 kStrict = 0, // Split partitions if too large; |
41 // never aggregate, balance size. | 41 // never aggregate, balance size. |
42 kAggregate, // Split partitions if too large; aggregate whole partitions. | 42 kAggregate, // Split partitions if too large; aggregate whole partitions. |
43 kEqualSize, // Split entire payload without considering partition limits. | 43 kEqualSize, // Split entire payload without considering partition limits. |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 class RtpDepacketizerVp8 : public RtpDepacketizer { | 219 class RtpDepacketizerVp8 : public RtpDepacketizer { |
220 public: | 220 public: |
221 virtual ~RtpDepacketizerVp8() {} | 221 virtual ~RtpDepacketizerVp8() {} |
222 | 222 |
223 bool Parse(ParsedPayload* parsed_payload, | 223 bool Parse(ParsedPayload* parsed_payload, |
224 const uint8_t* payload_data, | 224 const uint8_t* payload_data, |
225 size_t payload_data_length) override; | 225 size_t payload_data_length) override; |
226 }; | 226 }; |
227 } // namespace webrtc | 227 } // namespace webrtc |
228 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_H_ | 228 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_H_ |
OLD | NEW |