| 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 |
| 11 // This file contains the class RtpFormatVp8TestHelper. The class is | 11 // This file contains the class RtpFormatVp8TestHelper. The class is |
| 12 // responsible for setting up a fake VP8 bitstream according to the | 12 // responsible for setting up a fake VP8 bitstream according to the |
| 13 // RTPVideoHeaderVP8 header, and partition information. After initialization, | 13 // RTPVideoHeaderVP8 header, and partition information. After initialization, |
| 14 // an RTPFragmentationHeader is provided so that the tester can create a | 14 // an RTPFragmentationHeader is provided so that the tester can create a |
| 15 // packetizer. The packetizer can then be provided to this helper class, which | 15 // packetizer. The packetizer can then be provided to this helper class, which |
| 16 // will then extract all packets and compare to the expected outcome. | 16 // will then extract all packets and compare to the expected outcome. |
| 17 | 17 |
| 18 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_TEST_HELPER_H_ | 18 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_TEST_HELPER_H_ |
| 19 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_TEST_HELPER_H_ | 19 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_TEST_HELPER_H_ |
| 20 | 20 |
| 21 #include "webrtc/base/constructormagic.h" | 21 #include "webrtc/base/constructormagic.h" |
| 22 #include "webrtc/modules/interface/module_common_types.h" | 22 #include "webrtc/modules/include/module_common_types.h" |
| 23 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h" |
| 24 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 | 27 |
| 28 namespace test { | 28 namespace test { |
| 29 | 29 |
| 30 class RtpFormatVp8TestHelper { | 30 class RtpFormatVp8TestHelper { |
| 31 public: | 31 public: |
| 32 explicit RtpFormatVp8TestHelper(const RTPVideoHeaderVP8* hdr); | 32 explicit RtpFormatVp8TestHelper(const RTPVideoHeaderVP8* hdr); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 bool inited_; | 66 bool inited_; |
| 67 | 67 |
| 68 RTC_DISALLOW_COPY_AND_ASSIGN(RtpFormatVp8TestHelper); | 68 RTC_DISALLOW_COPY_AND_ASSIGN(RtpFormatVp8TestHelper); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace test | 71 } // namespace test |
| 72 | 72 |
| 73 } // namespace webrtc | 73 } // namespace webrtc |
| 74 | 74 |
| 75 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_TEST_HELPER_H_ | 75 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP8_TEST_HELPER_H_ |
| OLD | NEW |