Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.h

Issue 1688143003: Update histogram "WebRTC.Video.OnewayDelayInMs" to use the estimated one-way delay. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 const CodecSpecificInfo* codec_specific_info, 145 const CodecSpecificInfo* codec_specific_info,
146 int64_t /*render_time_ms*/) override; 146 int64_t /*render_time_ms*/) override;
147 147
148 int RegisterDecodeCompleteCallback(DecodedImageCallback* callback) override; 148 int RegisterDecodeCompleteCallback(DecodedImageCallback* callback) override;
149 149
150 int Release() override; 150 int Release() override;
151 151
152 const char* ImplementationName() const override; 152 const char* ImplementationName() const override;
153 153
154 private: 154 private:
155 int ReturnFrame(const vpx_image_t* img, uint32_t timeStamp); 155 int ReturnFrame(const vpx_image_t* img,
156 uint32_t timestamp,
157 int64_t ntp_time_ms);
156 158
157 // Memory pool used to share buffers between libvpx and webrtc. 159 // Memory pool used to share buffers between libvpx and webrtc.
158 Vp9FrameBufferPool frame_buffer_pool_; 160 Vp9FrameBufferPool frame_buffer_pool_;
159 DecodedImageCallback* decode_complete_callback_; 161 DecodedImageCallback* decode_complete_callback_;
160 bool inited_; 162 bool inited_;
161 vpx_codec_ctx_t* decoder_; 163 vpx_codec_ctx_t* decoder_;
162 VideoCodec codec_; 164 VideoCodec codec_;
163 bool key_frame_required_; 165 bool key_frame_required_;
164 }; 166 };
165 } // namespace webrtc 167 } // namespace webrtc
166 168
167 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_IMPL_H_ 169 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('j') | webrtc/video/receive_statistics_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698