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

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

Issue 1905563002: Add histogram for end-to-end delay. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + add separate histogram for end-to-end delay Created 4 years, 3 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
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 const CodecSpecificInfo* codec_specific_info, 146 const CodecSpecificInfo* codec_specific_info,
147 int64_t /*render_time_ms*/) override; 147 int64_t /*render_time_ms*/) override;
148 148
149 int RegisterDecodeCompleteCallback(DecodedImageCallback* callback) override; 149 int RegisterDecodeCompleteCallback(DecodedImageCallback* callback) override;
150 150
151 int Release() override; 151 int Release() override;
152 152
153 const char* ImplementationName() const override; 153 const char* ImplementationName() const override;
154 154
155 private: 155 private:
156 int ReturnFrame(const vpx_image_t* img, uint32_t timeStamp); 156 int ReturnFrame(const vpx_image_t* img,
157 uint32_t timestamp,
158 int64_t ntp_time_ms);
157 159
158 // Memory pool used to share buffers between libvpx and webrtc. 160 // Memory pool used to share buffers between libvpx and webrtc.
159 Vp9FrameBufferPool frame_buffer_pool_; 161 Vp9FrameBufferPool frame_buffer_pool_;
160 DecodedImageCallback* decode_complete_callback_; 162 DecodedImageCallback* decode_complete_callback_;
161 bool inited_; 163 bool inited_;
162 vpx_codec_ctx_t* decoder_; 164 vpx_codec_ctx_t* decoder_;
163 VideoCodec codec_; 165 VideoCodec codec_;
164 bool key_frame_required_; 166 bool key_frame_required_;
165 }; 167 };
166 } // namespace webrtc 168 } // namespace webrtc
167 169
168 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_IMPL_H_ 170 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698