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

Side by Side Diff: webrtc/modules/video_coding/main/source/video_coding_impl.h

Issue 1340623002: Add stats for average QP per frame for VP8 (for received video streams). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: address comment Created 5 years, 2 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) 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
11 #ifndef WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
13 13
14 #include "webrtc/modules/video_coding/main/interface/video_coding.h" 14 #include "webrtc/modules/video_coding/main/interface/video_coding.h"
15 15
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/thread_annotations.h" 18 #include "webrtc/base/thread_annotations.h"
19 #include "webrtc/base/thread_checker.h" 19 #include "webrtc/base/thread_checker.h"
20 #include "webrtc/modules/video_coding/main/source/codec_database.h" 20 #include "webrtc/modules/video_coding/main/source/codec_database.h"
21 #include "webrtc/modules/video_coding/main/source/frame_buffer.h" 21 #include "webrtc/modules/video_coding/main/source/frame_buffer.h"
22 #include "webrtc/modules/video_coding/main/source/generic_decoder.h" 22 #include "webrtc/modules/video_coding/main/source/generic_decoder.h"
23 #include "webrtc/modules/video_coding/main/source/generic_encoder.h" 23 #include "webrtc/modules/video_coding/main/source/generic_encoder.h"
24 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h" 24 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h"
25 #include "webrtc/modules/video_coding/main/source/media_optimization.h" 25 #include "webrtc/modules/video_coding/main/source/media_optimization.h"
26 #include "webrtc/modules/video_coding/main/source/receiver.h" 26 #include "webrtc/modules/video_coding/main/source/receiver.h"
27 #include "webrtc/modules/video_coding/main/source/timing.h" 27 #include "webrtc/modules/video_coding/main/source/timing.h"
28 #include "webrtc/modules/video_coding/utility/include/qp_parser.h"
28 #include "webrtc/system_wrappers/interface/clock.h" 29 #include "webrtc/system_wrappers/interface/clock.h"
29 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" 30 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
30 31
31 namespace webrtc { 32 namespace webrtc {
32 33
33 class EncodedFrameObserver; 34 class EncodedFrameObserver;
34 35
35 namespace vcm { 36 namespace vcm {
36 37
37 class VCMProcessTimer { 38 class VCMProcessTimer {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 #endif 232 #endif
232 VCMFrameBuffer _frameFromFile; 233 VCMFrameBuffer _frameFromFile;
233 bool _scheduleKeyRequest GUARDED_BY(process_crit_sect_); 234 bool _scheduleKeyRequest GUARDED_BY(process_crit_sect_);
234 size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_); 235 size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_);
235 EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect); 236 EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect);
236 237
237 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); 238 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect);
238 VCMProcessTimer _receiveStatsTimer; 239 VCMProcessTimer _receiveStatsTimer;
239 VCMProcessTimer _retransmissionTimer; 240 VCMProcessTimer _retransmissionTimer;
240 VCMProcessTimer _keyRequestTimer; 241 VCMProcessTimer _keyRequestTimer;
242 QpParser qp_parser_;
241 }; 243 };
242 244
243 } // namespace vcm 245 } // namespace vcm
244 } // namespace webrtc 246 } // namespace webrtc
245 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 247 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698