| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #ifndef NETEQTEST_RTPPACKET_H | 11 #ifndef NETEQTEST_RTPPACKET_H |
| 12 #define NETEQTEST_RTPPACKET_H | 12 #define NETEQTEST_RTPPACKET_H |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <stdio.h> | 15 #include <stdio.h> |
| 16 #include "webrtc/typedefs.h" | 16 #include "webrtc/typedefs.h" |
| 17 #include "webrtc/modules/interface/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
| 18 | 18 |
| 19 enum stereoModes { | 19 enum stereoModes { |
| 20 stereoModeMono, | 20 stereoModeMono, |
| 21 stereoModeSample1, | 21 stereoModeSample1, |
| 22 stereoModeSample2, | 22 stereoModeSample2, |
| 23 stereoModeFrame, | 23 stereoModeFrame, |
| 24 stereoModeDuplicate | 24 stereoModeDuplicate |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 class NETEQTEST_RTPpacket | 27 class NETEQTEST_RTPpacket |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 uint8_t **payloadPtr = NULL) const; | 95 uint8_t **payloadPtr = NULL) const; |
| 96 uint16_t parseRTPheader(uint8_t **payloadPtr = NULL) | 96 uint16_t parseRTPheader(uint8_t **payloadPtr = NULL) |
| 97 { return parseRTPheader(&_rtpInfo, payloadPtr);}; | 97 { return parseRTPheader(&_rtpInfo, payloadPtr);}; |
| 98 int calcPadLength(int i_P) const; | 98 int calcPadLength(int i_P) const; |
| 99 void splitStereoSample(NETEQTEST_RTPpacket* slaveRtp, int stride); | 99 void splitStereoSample(NETEQTEST_RTPpacket* slaveRtp, int stride); |
| 100 void splitStereoFrame(NETEQTEST_RTPpacket* slaveRtp); | 100 void splitStereoFrame(NETEQTEST_RTPpacket* slaveRtp); |
| 101 void splitStereoDouble(NETEQTEST_RTPpacket* slaveRtp); | 101 void splitStereoDouble(NETEQTEST_RTPpacket* slaveRtp); |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 #endif //NETEQTEST_RTPPACKET_H | 104 #endif //NETEQTEST_RTPPACKET_H |
| OLD | NEW |