| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 VCMReceiveStatisticsCallback* receiveStats); | 164 VCMReceiveStatisticsCallback* receiveStats); |
| 165 int32_t RegisterDecoderTimingCallback( | 165 int32_t RegisterDecoderTimingCallback( |
| 166 VCMDecoderTimingCallback* decoderTiming); | 166 VCMDecoderTimingCallback* decoderTiming); |
| 167 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); | 167 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); |
| 168 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); | 168 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); |
| 169 | 169 |
| 170 int32_t Decode(uint16_t maxWaitTimeMs); | 170 int32_t Decode(uint16_t maxWaitTimeMs); |
| 171 | 171 |
| 172 int32_t Decode(const webrtc::VCMEncodedFrame* frame); | 172 int32_t Decode(const webrtc::VCMEncodedFrame* frame); |
| 173 | 173 |
| 174 void PollDecodedFrames(); |
| 175 |
| 174 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; | 176 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; |
| 175 VideoCodecType ReceiveCodec() const; | 177 VideoCodecType ReceiveCodec() const; |
| 176 | 178 |
| 177 int32_t IncomingPacket(const uint8_t* incomingPayload, | 179 int32_t IncomingPacket(const uint8_t* incomingPayload, |
| 178 size_t payloadLength, | 180 size_t payloadLength, |
| 179 const WebRtcRTPHeader& rtpInfo); | 181 const WebRtcRTPHeader& rtpInfo); |
| 180 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); | 182 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); |
| 181 int32_t SetRenderDelay(uint32_t timeMS); | 183 int32_t SetRenderDelay(uint32_t timeMS); |
| 182 int32_t Delay() const; | 184 int32_t Delay() const; |
| 183 uint32_t DiscardedPackets() const; | 185 uint32_t DiscardedPackets() const; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 VCMProcessTimer _receiveStatsTimer; | 231 VCMProcessTimer _receiveStatsTimer; |
| 230 VCMProcessTimer _retransmissionTimer; | 232 VCMProcessTimer _retransmissionTimer; |
| 231 VCMProcessTimer _keyRequestTimer; | 233 VCMProcessTimer _keyRequestTimer; |
| 232 QpParser qp_parser_; | 234 QpParser qp_parser_; |
| 233 ThreadUnsafeOneTimeEvent first_frame_received_; | 235 ThreadUnsafeOneTimeEvent first_frame_received_; |
| 234 }; | 236 }; |
| 235 | 237 |
| 236 } // namespace vcm | 238 } // namespace vcm |
| 237 } // namespace webrtc | 239 } // namespace webrtc |
| 238 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 240 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| OLD | NEW |