HomeSort by relevance Sort by last modified time
    Searched refs:frame_count (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /external/chromium_org/media/base/
audio_timestamp_helper.h 36 int64 frame_count() const { return frame_count_; } function in class:media::AudioTimestampHelper
38 // Adds |frame_count| to the frame counter.
41 void AddFrames(int frame_count);
47 // Gets the duration if |frame_count| frames were added to the current
51 base::TimeDelta GetFrameDuration(int frame_count) const;
58 base::TimeDelta ComputeTimestamp(int64 frame_count) const;
audio_timestamp_helper.cc 29 void AudioTimestampHelper::AddFrames(int frame_count) {
30 DCHECK_GE(frame_count, 0);
32 frame_count_ += frame_count;
39 base::TimeDelta AudioTimestampHelper::GetFrameDuration(int frame_count) const {
40 DCHECK_GE(frame_count, 0);
41 base::TimeDelta end_timestamp = ComputeTimestamp(frame_count_ + frame_count);
68 int64 frame_count) const {
69 DCHECK_GE(frame_count, 0);
71 double frames_us = microseconds_per_frame_ * frame_count;
audio_buffer_unittest.cc 47 EXPECT_EQ(frames, buffer->frame_count());
62 EXPECT_EQ(frames - trim_length, buffer->frame_count());
66 buffer->ReadFrames(buffer->frame_count(), 0, 0, bus.get());
70 buffer->frame_count() - trim_start,
79 EXPECT_EQ(frames - 2 * trim_length, buffer->frame_count());
83 buffer->ReadFrames(buffer->frame_count(), 0, 0, bus.get());
87 buffer->frame_count() - trim_start,
95 EXPECT_EQ(frames - 3 * trim_length, buffer->frame_count());
99 buffer->ReadFrames(buffer->frame_count(), 0, 0, bus.get());
103 buffer->frame_count() - trim_start
    [all...]
audio_buffer.h 34 // number of buffers must be equal to |channel_count|. |frame_count| is the
35 // number of frames in each buffer. |data| must not be null and |frame_count|
41 int frame_count,
45 // Create an AudioBuffer with |frame_count| frames. Buffer is allocated, but
51 int frame_count);
53 // Create an empty AudioBuffer with |frame_count| frames.
58 int frame_count,
94 int frame_count() const { return adjusted_frame_count_; } function in class:media::AudioBuffer
125 int frame_count,
audio_timestamp_helper_unittest.cc 31 void TestGetFramesToTargetRange(int frame_count, int start, int end) {
33 EXPECT_EQ(frame_count, FramesToTarget(i)) << " Failure for timestamp "
75 int frame_count = 5; local
78 base::TimeDelta duration = helper_.GetFrameDuration(frame_count);
82 helper_.AddFrames(frame_count);
audio_buffer.cc 24 int frame_count,
32 adjusted_frame_count_(frame_count),
34 end_of_stream_(!create_buffer && data == NULL && frame_count == 0),
41 CHECK_GE(frame_count, 0);
47 int data_size = frame_count * bytes_per_channel;
99 int frame_count,
103 CHECK_GT(frame_count, 0); // Otherwise looks like an EOF buffer.
109 frame_count,
121 int frame_count) {
122 CHECK_GT(frame_count, 0); // Otherwise looks like an EOF buffer
    [all...]
audio_splicer.cc 39 wrapper->set_frames(buffer->frame_count());
58 void ResetTimestampState(int64 frame_count, base::TimeDelta base_timestamp);
105 void AudioStreamSanitizer::ResetTimestampState(int64 frame_count,
110 if (frame_count > 0)
111 output_timestamp_helper_.AddFrames(frame_count);
125 DCHECK_GT(input->frame_count(), 0);
184 if (input->frame_count() <= frames_to_skip) {
211 output_timestamp_helper_.AddFrames(buffer->frame_count());
216 int frame_count = 0; local
218 frame_count += buffer->frame_count()
    [all...]
audio_discard_helper.cc 84 const size_t original_frame_count = decoded_buffer->frame_count();
99 const size_t decoded_frames = decoded_buffer->frame_count();
126 const size_t decoded_frames = decoded_buffer->frame_count();
139 const size_t decoded_frames = decoded_buffer->frame_count();
160 original_frame_count - decoded_buffer->frame_count();
196 const size_t decoded_frames = decoded_buffer->frame_count();
238 timestamp_helper_.AddFrames(decoded_buffer->frame_count());
audio_splicer_unittest.cc 56 int frames = buffer->frame_count();
73 EXPECT_EQ(input->frame_count(), output->frame_count());
85 EXPECT_EQ(expected_pre_splice_size, pre_splice_output->frame_count());
100 EXPECT_EQ(expected_crossfade_size, crossfade_output->frame_count());
109 const int frames = crossfade_output->frame_count();
139 input->frame_count(),
251 EXPECT_EQ(kGapSize, output_2->frame_count());
323 const int kOverlapSize = input_1->frame_count() / 4;
325 input_timestamp_helper_.AddFrames(input_1->frame_count() - kOverlapSize)
    [all...]
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/common/
fps.h 28 int frame_count; member in struct:FpsState
36 state->frame_count = 0;
49 state->frame_count++;
54 *out_fps = state->frame_count / (current_time - state->last_time);
56 state->frame_count = 0;
  /external/chromium_org/third_party/libvpx/source/libvpx/
video_writer.c 20 int frame_count; member in struct:VpxVideoWriterStruct
24 int frame_count) {
31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count);
47 writer->frame_count = 0;
63 write_header(writer->file, &writer->info, writer->frame_count);
77 ++writer->frame_count;
  /external/libvpx/libvpx/
video_writer.c 20 int frame_count; member in struct:VpxVideoWriterStruct
24 int frame_count) {
31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count);
47 writer->frame_count = 0;
63 write_header(writer->file, &writer->info, writer->frame_count);
77 ++writer->frame_count;
  /external/chromium_org/third_party/tcmalloc/chromium/src/
stacktrace_android-inl.h 55 size_t frame_count; member in struct:stack_crawl_state_t
62 frame_count(0),
93 state->frames[state->frame_count++] = ip;
94 if (state->frame_count >= state->max_depth)
120 return state.frame_count;
  /bionic/libc/bionic/
debug_stacktrace.h 38 __LIBC_HIDDEN__ void log_backtrace(uintptr_t* stack_frames, size_t frame_count);
debug_stacktrace.cpp 86 size_t frame_count; member in struct:stack_crawl_state_t
91 : frames(frames), frame_count(0), max_depth(max_depth), have_skipped_self(false) {
124 state->frames[state->frame_count++] = ip;
125 return (state->frame_count >= state->max_depth) ? _URC_END_OF_STACK : _URC_NO_REASON;
133 return state.frame_count;
136 __LIBC_HIDDEN__ void log_backtrace(uintptr_t* frames, size_t frame_count) {
141 frame_count = get_backtrace(self_bt, 16);
148 for (size_t i = 0 ; i < frame_count; ++i) {
  /external/chromium_org/chromecast/media/cma/base/
buffering_frame_provider_unittest.cc 34 size_t frame_count,
59 size_t frame_count,
62 DCHECK_GE(frame_count, 1u);
65 std::vector<FrameGeneratorForTest::FrameSpec> frame_specs(frame_count);
120 const size_t frame_count = 100u; local
122 frame_count,
141 const size_t frame_count = 100u; local
143 frame_count,
169 const size_t frame_count = 100u; local
171 frame_count,
    [all...]
  /external/chromium_org/cc/debug/
rendering_stats.cc 32 : frame_count(0), painted_pixel_count(0), recorded_pixel_count(0) {
42 record_data->SetInteger("frame_count", frame_count);
52 frame_count += other.frame_count;
60 : frame_count(0),
73 record_data->SetInteger("frame_count", frame_count);
108 frame_count += other.frame_count;
    [all...]
frame_rate_counter.cc 112 int frame_count = 0; local
133 frame_count++;
135 } else if (frame_count) {
140 if (frame_count) {
142 average_fps = frame_count / frame_times_total;
rendering_stats.h 39 int64 frame_count; member in struct:cc::RenderingStats::MainThreadRenderingStats
56 int64 frame_count; member in struct:cc::RenderingStats::ImplThreadRenderingStats
  /external/chromium_org/content/browser/speech/endpointer/
endpointer_unittest.cc 38 for (int frame_count = 0; frame_count < kNumFrames; ++frame_count) {
41 if ((frame_count >= 50) && (frame_count < 100)) {
57 if (20 == frame_count)
59 if (70 == frame_count)
61 if (120 == frame_count)
  /external/chromium_org/base/debug/
stack_trace_android.cc 25 frame_count(0),
30 size_t frame_count; member in struct:__anon6854::StackCrawlState
45 state->frames[state->frame_count++] = ip;
46 if (state->frame_count >= state->max_depth)
71 count_ = state.frame_count;
  /external/chromium_org/ppapi/tests/
test_audio_config.cc 62 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount( local
64 ASSERT_TRUE(frame_count >= PP_AUDIOMINSAMPLEFRAMECOUNT);
65 ASSERT_TRUE(frame_count <= PP_AUDIOMAXSAMPLEFRAMECOUNT);
68 instance_->pp_instance(), sample_rate, frame_count);
72 ASSERT_EQ(frame_count, audio_config_interface_->GetSampleFrameCount(ac));
  /external/chromium_org/ui/base/cursor/
cursor_util.cc 92 int frame_count = total_width / frame_width; local
93 DCHECK_GT(frame_count, 0);
95 bitmaps->resize(frame_count);
97 for (int frame = 0; frame < frame_count; ++frame) {
  /external/chromium_org/chromecast/media/cma/ipc_streamer/
av_streamer_unittest.cc 58 size_t frame_count,
89 size_t frame_count,
94 frame_specs.resize(frame_count);
185 const size_t frame_count = 100u; local
187 frame_count,
206 const size_t frame_count = 100u; local
208 frame_count,
235 const size_t frame_count = 100u; local
237 frame_count,
  /external/chromium_org/third_party/libvpx/source/libvpx/examples/
twopass_encoder.c 134 int frame_count = 0; local
142 ++frame_count;
143 get_frame_stats(&codec, raw, frame_count, 1, 0, VPX_DL_GOOD_QUALITY,
148 while (get_frame_stats(&codec, NULL, frame_count, 1, 0,
151 printf("Pass 0 complete. Processed %d frames.\n", frame_count);
171 int frame_count = 0; local
182 ++frame_count;
183 encode_frame(&codec, raw, frame_count, 1, 0, VPX_DL_GOOD_QUALITY, writer);
196 printf("Pass 1 complete. Processed %d frames.\n", frame_count);

Completed in 1483 milliseconds

1 2 3 4 5