| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); | 142 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); |
| 143 int32_t RegisterReceiveStatisticsCallback( | 143 int32_t RegisterReceiveStatisticsCallback( |
| 144 VCMReceiveStatisticsCallback* receiveStats); | 144 VCMReceiveStatisticsCallback* receiveStats); |
| 145 int32_t RegisterDecoderTimingCallback( | 145 int32_t RegisterDecoderTimingCallback( |
| 146 VCMDecoderTimingCallback* decoderTiming); | 146 VCMDecoderTimingCallback* decoderTiming); |
| 147 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); | 147 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); |
| 148 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); | 148 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); |
| 149 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback); | 149 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback); |
| 150 | 150 |
| 151 int32_t Decode(uint16_t maxWaitTimeMs); | 151 int32_t Decode(uint16_t maxWaitTimeMs); |
| 152 int32_t ResetDecoder(); | |
| 153 | 152 |
| 154 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; | 153 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; |
| 155 VideoCodecType ReceiveCodec() const; | 154 VideoCodecType ReceiveCodec() const; |
| 156 | 155 |
| 157 int32_t IncomingPacket(const uint8_t* incomingPayload, | 156 int32_t IncomingPacket(const uint8_t* incomingPayload, |
| 158 size_t payloadLength, | 157 size_t payloadLength, |
| 159 const WebRtcRTPHeader& rtpInfo); | 158 const WebRtcRTPHeader& rtpInfo); |
| 160 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); | 159 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); |
| 161 int32_t SetRenderDelay(uint32_t timeMS); | 160 int32_t SetRenderDelay(uint32_t timeMS); |
| 162 int32_t Delay() const; | 161 int32_t Delay() const; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 VCMPacketRequestCallback* _packetRequestCallback | 200 VCMPacketRequestCallback* _packetRequestCallback |
| 202 GUARDED_BY(process_crit_sect_); | 201 GUARDED_BY(process_crit_sect_); |
| 203 VCMRenderBufferSizeCallback* render_buffer_callback_ | 202 VCMRenderBufferSizeCallback* render_buffer_callback_ |
| 204 GUARDED_BY(process_crit_sect_); | 203 GUARDED_BY(process_crit_sect_); |
| 205 VCMGenericDecoder* _decoder; | 204 VCMGenericDecoder* _decoder; |
| 206 #ifdef DEBUG_DECODER_BIT_STREAM | 205 #ifdef DEBUG_DECODER_BIT_STREAM |
| 207 FILE* _bitStreamBeforeDecoder; | 206 FILE* _bitStreamBeforeDecoder; |
| 208 #endif | 207 #endif |
| 209 VCMFrameBuffer _frameFromFile; | 208 VCMFrameBuffer _frameFromFile; |
| 210 bool _scheduleKeyRequest GUARDED_BY(process_crit_sect_); | 209 bool _scheduleKeyRequest GUARDED_BY(process_crit_sect_); |
| 210 bool drop_frames_until_keyframe_ GUARDED_BY(process_crit_sect_); |
| 211 size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_); | 211 size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_); |
| 212 |
| 213 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); |
| 212 EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect); | 214 EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect); |
| 213 | 215 |
| 214 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); | |
| 215 VCMProcessTimer _receiveStatsTimer; | 216 VCMProcessTimer _receiveStatsTimer; |
| 216 VCMProcessTimer _retransmissionTimer; | 217 VCMProcessTimer _retransmissionTimer; |
| 217 VCMProcessTimer _keyRequestTimer; | 218 VCMProcessTimer _keyRequestTimer; |
| 218 QpParser qp_parser_; | 219 QpParser qp_parser_; |
| 219 }; | 220 }; |
| 220 | 221 |
| 221 } // namespace vcm | 222 } // namespace vcm |
| 222 } // namespace webrtc | 223 } // namespace webrtc |
| 223 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 224 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| OLD | NEW |