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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // Implements VCMReceiveCallback. | 61 // Implements VCMReceiveCallback. |
62 int32_t FrameToRender(VideoFrame& video_frame) override; // NOLINT | 62 int32_t FrameToRender(VideoFrame& video_frame) override; // NOLINT |
63 int32_t ReceivedDecodedReferenceFrame(const uint64_t picture_id) override; | 63 int32_t ReceivedDecodedReferenceFrame(const uint64_t picture_id) override; |
64 void OnIncomingPayloadType(int payload_type) override; | 64 void OnIncomingPayloadType(int payload_type) override; |
65 void OnDecoderImplementationName(const char* implementation_name) override; | 65 void OnDecoderImplementationName(const char* implementation_name) override; |
66 | 66 |
67 // Implements VCMReceiveStatisticsCallback. | 67 // Implements VCMReceiveStatisticsCallback. |
68 void OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) override; | 68 void OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) override; |
69 void OnDiscardedPacketsUpdated(int discarded_packets) override; | 69 void OnDiscardedPacketsUpdated(int discarded_packets) override; |
70 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; | 70 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; |
71 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override; | |
72 void OnFrameBufferTimingsUpdated(int decode_ms, | |
73 int max_decode_ms, | |
74 int current_delay_ms, | |
75 int target_delay_ms, | |
76 int jitter_buffer_ms, | |
77 int min_playout_delay_ms, | |
78 int render_delay_ms) override; | |
79 | 71 |
80 // Implements VCMDecoderTimingCallback. | 72 // Implements VCMDecoderTimingCallback. |
81 void OnDecoderTiming(int decode_ms, | 73 void OnDecoderTiming(int decode_ms, |
82 int max_decode_ms, | 74 int max_decode_ms, |
83 int current_delay_ms, | 75 int current_delay_ms, |
84 int target_delay_ms, | 76 int target_delay_ms, |
85 int jitter_buffer_ms, | 77 int jitter_buffer_ms, |
86 int min_playout_delay_ms, | 78 int min_playout_delay_ms, |
87 int render_delay_ms) override; | 79 int render_delay_ms) override; |
88 | 80 |
(...skipping 11 matching lines...) Expand all Loading... |
100 | 92 |
101 ReceiveStatisticsProxy* const receive_stats_callback_; | 93 ReceiveStatisticsProxy* const receive_stats_callback_; |
102 rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_; | 94 rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_; |
103 | 95 |
104 int64_t last_rtt_ms_ GUARDED_BY(crit_); | 96 int64_t last_rtt_ms_ GUARDED_BY(crit_); |
105 }; | 97 }; |
106 | 98 |
107 } // namespace webrtc | 99 } // namespace webrtc |
108 | 100 |
109 #endif // WEBRTC_VIDEO_VIDEO_STREAM_DECODER_H_ | 101 #endif // WEBRTC_VIDEO_VIDEO_STREAM_DECODER_H_ |
OLD | NEW |