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

Side by Side Diff: chromecast/media/cma/pipeline/audio_pipeline_impl.h

Issue 1776353006: [Chromecast] Add metrics for logging platform A/V bitrate estimates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting issue Created 4 years, 9 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 4
5 #ifndef CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_ 6 #define CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 28 matching lines...) Expand all
39 // AvPipelineImpl implementation: 39 // AvPipelineImpl implementation:
40 void UpdateStatistics() override; 40 void UpdateStatistics() override;
41 41
42 private: 42 private:
43 // AvPipelineImpl implementation: 43 // AvPipelineImpl implementation:
44 void OnUpdateConfig(StreamId id, 44 void OnUpdateConfig(StreamId id,
45 const ::media::AudioDecoderConfig& audio_config, 45 const ::media::AudioDecoderConfig& audio_config,
46 const ::media::VideoDecoderConfig& video_config) override; 46 const ::media::VideoDecoderConfig& video_config) override;
47 47
48 MediaPipelineBackend::AudioDecoder* const audio_decoder_; 48 MediaPipelineBackend::AudioDecoder* const audio_decoder_;
49 base::Time last_sample_time_;
50 base::TimeDelta elapsed_time_delta_;
halliwell 2016/03/10 17:57:54 include headers for time classes
ejason 2016/03/11 00:24:45 Done.
51 int audio_bytes_for_bitrate_estimation_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(AudioPipelineImpl); 53 DISALLOW_COPY_AND_ASSIGN(AudioPipelineImpl);
51 }; 54 };
52 55
53 } // namespace media 56 } // namespace media
54 } // namespace chromecast 57 } // namespace chromecast
55 58
56 #endif // CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_ 59 #endif // CHROMECAST_MEDIA_CMA_BASE_AUDIO_PIPELINE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698