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

Side by Side Diff: media/cast/logging/logging_impl.h

Issue 228603006: Cast: Log whether the video frame is a key frame in kVideoFrameEncoded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win x64 compile Created 6 years, 8 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 | « media/cast/logging/logging_defines.cc ('k') | media/cast/logging/logging_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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ 4 #ifndef MEDIA_CAST_LOGGING_LOGGING_IMPL_H_
5 #define MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ 5 #define MEDIA_CAST_LOGGING_LOGGING_IMPL_H_
6 6
7 // Generic class that handles event logging for the cast library. 7 // Generic class that handles event logging for the cast library.
8 // Logging has three possible optional forms: 8 // Logging has three possible optional forms:
9 // 1. Raw data and stats accessible by the application. 9 // 1. Raw data and stats accessible by the application.
10 // 2. Tracing of raw events. 10 // 2. Tracing of raw events.
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 LoggingImpl(); 23 LoggingImpl();
24 ~LoggingImpl(); 24 ~LoggingImpl();
25 25
26 // Note: All methods below should be called from the same thread. 26 // Note: All methods below should be called from the same thread.
27 27
28 void InsertFrameEvent(const base::TimeTicks& time_of_event, 28 void InsertFrameEvent(const base::TimeTicks& time_of_event,
29 CastLoggingEvent event, uint32 rtp_timestamp, 29 CastLoggingEvent event, uint32 rtp_timestamp,
30 uint32 frame_id); 30 uint32 frame_id);
31 31
32 void InsertFrameEventWithSize(const base::TimeTicks& time_of_event, 32 void InsertEncodedFrameEvent(const base::TimeTicks& time_of_event,
33 CastLoggingEvent event, uint32 rtp_timestamp, 33 CastLoggingEvent event, uint32 rtp_timestamp,
34 uint32 frame_id, int frame_size); 34 uint32 frame_id, int frame_size, bool key_frame);
35 35
36 void InsertFrameEventWithDelay(const base::TimeTicks& time_of_event, 36 void InsertFrameEventWithDelay(const base::TimeTicks& time_of_event,
37 CastLoggingEvent event, uint32 rtp_timestamp, 37 CastLoggingEvent event, uint32 rtp_timestamp,
38 uint32 frame_id, base::TimeDelta delay); 38 uint32 frame_id, base::TimeDelta delay);
39 39
40 void InsertSinglePacketEvent(const base::TimeTicks& time_of_event, 40 void InsertSinglePacketEvent(const base::TimeTicks& time_of_event,
41 CastLoggingEvent event, 41 CastLoggingEvent event,
42 const Packet& packet); 42 const Packet& packet);
43 43
44 void InsertPacketListEvent(const base::TimeTicks& time_of_event, 44 void InsertPacketListEvent(const base::TimeTicks& time_of_event,
(...skipping 18 matching lines...) Expand all
63 base::ThreadChecker thread_checker_; 63 base::ThreadChecker thread_checker_;
64 LoggingRaw raw_; 64 LoggingRaw raw_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(LoggingImpl); 66 DISALLOW_COPY_AND_ASSIGN(LoggingImpl);
67 }; 67 };
68 68
69 } // namespace cast 69 } // namespace cast
70 } // namespace media 70 } // namespace media
71 71
72 #endif // MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ 72 #endif // MEDIA_CAST_LOGGING_LOGGING_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/logging/logging_defines.cc ('k') | media/cast/logging/logging_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698