OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 27 matching lines...) Expand all Loading... |
38 _packetRequestCallback(NULL), | 38 _packetRequestCallback(NULL), |
39 render_buffer_callback_(NULL), | 39 render_buffer_callback_(NULL), |
40 _decoder(NULL), | 40 _decoder(NULL), |
41 #ifdef DEBUG_DECODER_BIT_STREAM | 41 #ifdef DEBUG_DECODER_BIT_STREAM |
42 _bitStreamBeforeDecoder(NULL), | 42 _bitStreamBeforeDecoder(NULL), |
43 #endif | 43 #endif |
44 _frameFromFile(), | 44 _frameFromFile(), |
45 _scheduleKeyRequest(false), | 45 _scheduleKeyRequest(false), |
46 max_nack_list_size_(0), | 46 max_nack_list_size_(0), |
47 pre_decode_image_callback_(NULL), | 47 pre_decode_image_callback_(NULL), |
48 _codecDataBase(NULL), | 48 _codecDataBase(nullptr, nullptr), |
49 _receiveStatsTimer(1000, clock_), | 49 _receiveStatsTimer(1000, clock_), |
50 _retransmissionTimer(10, clock_), | 50 _retransmissionTimer(10, clock_), |
51 _keyRequestTimer(500, clock_) { | 51 _keyRequestTimer(500, clock_) { |
52 assert(clock_); | 52 assert(clock_); |
53 #ifdef DEBUG_DECODER_BIT_STREAM | 53 #ifdef DEBUG_DECODER_BIT_STREAM |
54 _bitStreamBeforeDecoder = fopen("decoderBitStream.bit", "wb"); | 54 _bitStreamBeforeDecoder = fopen("decoderBitStream.bit", "wb"); |
55 #endif | 55 #endif |
56 } | 56 } |
57 | 57 |
58 VideoReceiver::~VideoReceiver() { | 58 VideoReceiver::~VideoReceiver() { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 } | 569 } |
570 | 570 |
571 void VideoReceiver::RegisterPreDecodeImageCallback( | 571 void VideoReceiver::RegisterPreDecodeImageCallback( |
572 EncodedImageCallback* observer) { | 572 EncodedImageCallback* observer) { |
573 CriticalSectionScoped cs(_receiveCritSect); | 573 CriticalSectionScoped cs(_receiveCritSect); |
574 pre_decode_image_callback_ = observer; | 574 pre_decode_image_callback_ = observer; |
575 } | 575 } |
576 | 576 |
577 } // namespace vcm | 577 } // namespace vcm |
578 } // namespace webrtc | 578 } // namespace webrtc |
OLD | NEW |