OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:playback_rate
(Results
1 - 20
of
20
) sorted by null
/external/chromium_org/media/base/
audio_renderer.h
78
virtual void SetPlaybackRate(float
playback_rate
) = 0;
video_renderer.h
92
virtual void SetPlaybackRate(float
playback_rate
) = 0;
clock.cc
40
void Clock::SetPlaybackRate(float
playback_rate
) {
42
playback_rate_ =
playback_rate
;
clock.h
52
void SetPlaybackRate(float
playback_rate
);
mock_filters.h
36
MOCK_METHOD1(SetPlaybackRate, void(float
playback_rate
));
127
MOCK_METHOD1(SetPlaybackRate, void(float
playback_rate
));
151
MOCK_METHOD1(SetPlaybackRate, void(float
playback_rate
));
pipeline.h
154
void SetPlaybackRate(float
playback_rate
);
284
void PlaybackRateChangedTask(float
playback_rate
);
pipeline_unittest.cc
707
float
playback_rate
= 1.0f;
local
708
EXPECT_CALL(*video_renderer_, SetPlaybackRate(
playback_rate
));
709
EXPECT_CALL(*audio_renderer_, SetPlaybackRate(
playback_rate
));
710
pipeline_->SetPlaybackRate(
playback_rate
);
744
float
playback_rate
= 1.0f;
local
745
EXPECT_CALL(*audio_renderer_, SetPlaybackRate(
playback_rate
));
746
pipeline_->SetPlaybackRate(
playback_rate
);
878
float
playback_rate
= 1.0f;
local
879
EXPECT_CALL(*audio_renderer_, SetPlaybackRate(
playback_rate
));
880
pipeline_->SetPlaybackRate(
playback_rate
);
[
all
...]
pipeline.cc
125
void Pipeline::SetPlaybackRate(float
playback_rate
) {
126
if (
playback_rate
< 0.0f)
130
playback_rate_ =
playback_rate
;
134
playback_rate
));
804
void Pipeline::PlaybackRateChangedTask(float
playback_rate
) {
813
clock_->SetPlaybackRate(
playback_rate
);
/external/chromium_org/content/renderer/media/
buffered_resource_loader.cc
55
// if one wants to play at |
playback_rate
| * the natural playback speed.
57
static void ComputeTargetBufferWindow(float
playback_rate
, int bitrate,
74
if (
playback_rate
< 0.0f) {
76
playback_rate
*= -1.0f;
79
playback_rate
= std::max(
playback_rate
, 1.0f);
80
playback_rate
= std::min(
playback_rate
, kMaxPlaybackRate);
82
int bytes_per_second = (bitrate / 8.0) *
playback_rate
;
104
float
playback_rate
,
[
all
...]
buffered_resource_loader.h
87
// |
playback_rate
| is the current playback rate of the media.
95
float
playback_rate
,
188
void SetPlaybackRate(float
playback_rate
);
buffered_data_source.cc
195
void BufferedDataSource::MediaPlaybackRateChanged(float
playback_rate
) {
199
if (
playback_rate
< 0.0f)
202
playback_rate_ =
playback_rate
;
203
loader_->SetPlaybackRate(
playback_rate
);
buffered_data_source.h
78
void MediaPlaybackRateChanged(float
playback_rate
);
/external/chromium_org/media/filters/
audio_renderer_impl.cc
77
if (algorithm_->
playback_rate
() != 0)
497
void AudioRendererImpl::SetPlaybackRate(float
playback_rate
) {
498
DVLOG(1) << __FUNCTION__ << "(" <<
playback_rate
<< ")";
local
500
DCHECK_GE(
playback_rate
, 0);
506
// Play: current_playback_rate == 0 &&
playback_rate
!= 0
507
// Pause: current_playback_rate != 0 &&
playback_rate
== 0
508
float current_playback_rate = algorithm_->
playback_rate
();
509
if (current_playback_rate == 0 &&
playback_rate
!= 0)
511
else if (current_playback_rate != 0 &&
playback_rate
== 0)
514
algorithm_->SetPlaybackRate(
playback_rate
);
541
float
playback_rate
= algorithm_->
playback_rate
();
local
[
all
...]
video_renderer_impl.h
81
virtual void SetPlaybackRate(float
playback_rate
) OVERRIDE;
113
float
playback_rate
);
audio_renderer_algorithm_unittest.cc
157
void TestPlaybackRate(double
playback_rate
) {
163
playback_rate
, kDefaultBufferSize, kDefaultFramesRequested);
166
void TestPlaybackRate(double
playback_rate
,
171
algorithm_.SetPlaybackRate(static_cast<float>(
playback_rate
));
175
if (
playback_rate
== 0.0) {
188
<< ", playing at " <<
playback_rate
;
local
208
if (
playback_rate
== 1.0) {
218
// down playback, and for
playback_rate
> 1, playback rate generally gets
223
EXPECT_NEAR(
playback_rate
, actual_playback_rate,
playback_rate
/ 100.0)
[
all
...]
audio_renderer_algorithm.h
67
float
playback_rate
() const { return playback_rate_; }
function in class:media::AudioRendererAlgorithm
video_renderer_impl.cc
121
void VideoRendererImpl::SetPlaybackRate(float
playback_rate
) {
124
playback_rate_ =
playback_rate
;
506
float
playback_rate
) {
514
static_cast<int64>(sleep.InMicroseconds() /
playback_rate
));
audio_renderer_impl_unittest.cc
333
void EndOfStreamTest(float
playback_rate
) {
337
renderer_->SetPlaybackRate(
playback_rate
);
348
const float kEpsilon = 0.20 * (total_frames /
playback_rate
);
349
EXPECT_NEAR(frames_filled, total_frames /
playback_rate
, kEpsilon);
/external/chromium/webkit/glue/media/
buffered_data_source.h
35
virtual void SetPlaybackRate(float
playback_rate
);
93
void SetPlaybackRateTask(float
playback_rate
);
buffered_data_source.cc
153
void BufferedDataSource::SetPlaybackRate(float
playback_rate
) {
156
playback_rate
));
366
void BufferedDataSource::SetPlaybackRateTask(float
playback_rate
) {
371
media_is_paused_ = (
playback_rate
== 0.0);
Completed in 111 milliseconds