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 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); | 136 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); |
137 int32_t RegisterReceiveStatisticsCallback( | 137 int32_t RegisterReceiveStatisticsCallback( |
138 VCMReceiveStatisticsCallback* receiveStats); | 138 VCMReceiveStatisticsCallback* receiveStats); |
139 int32_t RegisterDecoderTimingCallback( | 139 int32_t RegisterDecoderTimingCallback( |
140 VCMDecoderTimingCallback* decoderTiming); | 140 VCMDecoderTimingCallback* decoderTiming); |
141 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); | 141 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); |
142 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); | 142 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); |
143 | 143 |
144 int32_t Decode(uint16_t maxWaitTimeMs); | 144 int32_t Decode(uint16_t maxWaitTimeMs); |
145 | 145 |
| 146 int32_t Decode(const webrtc::VCMEncodedFrame* frame); |
| 147 |
146 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; | 148 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; |
147 VideoCodecType ReceiveCodec() const; | 149 VideoCodecType ReceiveCodec() const; |
148 | 150 |
149 int32_t IncomingPacket(const uint8_t* incomingPayload, | 151 int32_t IncomingPacket(const uint8_t* incomingPayload, |
150 size_t payloadLength, | 152 size_t payloadLength, |
151 const WebRtcRTPHeader& rtpInfo); | 153 const WebRtcRTPHeader& rtpInfo); |
152 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); | 154 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); |
153 int32_t SetRenderDelay(uint32_t timeMS); | 155 int32_t SetRenderDelay(uint32_t timeMS); |
154 int32_t Delay() const; | 156 int32_t Delay() const; |
155 uint32_t DiscardedPackets() const; | 157 uint32_t DiscardedPackets() const; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 VCMProcessTimer _receiveStatsTimer; | 203 VCMProcessTimer _receiveStatsTimer; |
202 VCMProcessTimer _retransmissionTimer; | 204 VCMProcessTimer _retransmissionTimer; |
203 VCMProcessTimer _keyRequestTimer; | 205 VCMProcessTimer _keyRequestTimer; |
204 QpParser qp_parser_; | 206 QpParser qp_parser_; |
205 ThreadUnsafeOneTimeEvent first_frame_received_; | 207 ThreadUnsafeOneTimeEvent first_frame_received_; |
206 }; | 208 }; |
207 | 209 |
208 } // namespace vcm | 210 } // namespace vcm |
209 } // namespace webrtc | 211 } // namespace webrtc |
210 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 212 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |