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

Side by Side Diff: webrtc/api/statstypes.cc

Issue 2341293002: Add new decoding statistics for muted output (Closed)
Patch Set: Updates after reviews 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 | « webrtc/api/statstypes.h ('k') | webrtc/audio/audio_receive_stream.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 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 case kStatsValueNameComponent: 449 case kStatsValueNameComponent:
450 return "googComponent"; 450 return "googComponent";
451 case kStatsValueNameContentName: 451 case kStatsValueNameContentName:
452 return "googContentName"; 452 return "googContentName";
453 case kStatsValueNameCpuLimitedResolution: 453 case kStatsValueNameCpuLimitedResolution:
454 return "googCpuLimitedResolution"; 454 return "googCpuLimitedResolution";
455 case kStatsValueNameDecodingCTSG: 455 case kStatsValueNameDecodingCTSG:
456 return "googDecodingCTSG"; 456 return "googDecodingCTSG";
457 case kStatsValueNameDecodingCTN: 457 case kStatsValueNameDecodingCTN:
458 return "googDecodingCTN"; 458 return "googDecodingCTN";
459 case kStatsValueNameDecodingMutedOutput:
460 return "googDecodingMuted";
459 case kStatsValueNameDecodingNormal: 461 case kStatsValueNameDecodingNormal:
460 return "googDecodingNormal"; 462 return "googDecodingNormal";
461 case kStatsValueNameDecodingPLC: 463 case kStatsValueNameDecodingPLC:
462 return "googDecodingPLC"; 464 return "googDecodingPLC";
463 case kStatsValueNameDecodingCNG: 465 case kStatsValueNameDecodingCNG:
464 return "googDecodingCNG"; 466 return "googDecodingCNG";
465 case kStatsValueNameDecodingPLCCNG: 467 case kStatsValueNameDecodingPLCCNG:
466 return "googDecodingPLCCNG"; 468 return "googDecodingPLCCNG";
467 case kStatsValueNameDer: 469 case kStatsValueNameDer:
468 return "googDerBase64"; 470 return "googDerBase64";
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 // Looks for a report with the given |id|. If one is not found, NULL 772 // Looks for a report with the given |id|. If one is not found, NULL
771 // will be returned. 773 // will be returned.
772 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { 774 StatsReport* StatsCollection::Find(const StatsReport::Id& id) {
773 RTC_DCHECK(thread_checker_.CalledOnValidThread()); 775 RTC_DCHECK(thread_checker_.CalledOnValidThread());
774 Container::iterator it = std::find_if(list_.begin(), list_.end(), 776 Container::iterator it = std::find_if(list_.begin(), list_.end(),
775 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); 777 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); });
776 return it == list_.end() ? nullptr : *it; 778 return it == list_.end() ? nullptr : *it;
777 } 779 }
778 780
779 } // namespace webrtc 781 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/statstypes.h ('k') | webrtc/audio/audio_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698