Searched defs:frame_count (Results 1 - 25 of 80) sorted by relevance

1234

/external/chromium_org/media/base/
H A Daudio_timestamp_helper.h36 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;
H A Daudio_timestamp_helper.cc29 void AudioTimestampHelper::AddFrames(int frame_count) { argument
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;
H A Daudio_timestamp_helper_unittest.cc31 void TestGetFramesToTargetRange(int frame_count, int start, int end) { argument
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);
H A Daudio_buffer.h34 // 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,
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/common/
H A Dfps.h28 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/ppapi/tests/
H A Dtest_audio_config.cc62 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/third_party/libvpx/source/libvpx/
H A Dvideo_writer.c20 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;
23 write_header(FILE *file, const VpxVideoInfo *info, int frame_count) argument
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dstacktrace_android-inl.h55 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;
/external/libvpx/libvpx/
H A Dvideo_writer.c20 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;
23 write_header(FILE *file, const VpxVideoInfo *info, int frame_count) argument
/external/chromium_org/cc/debug/
H A Dframe_rate_counter.cc112 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;
H A Drendering_stats.h39 int64 frame_count; member in struct:cc::RenderingStats::MainThreadRenderingStats
56 int64 frame_count; member in struct:cc::RenderingStats::ImplThreadRenderingStats
/external/chromium_org/chromecast/media/cma/base/
H A Dbuffering_frame_provider_unittest.cc34 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,
58 Configure( size_t frame_count, const std::vector<bool>& provider_delayed_pattern, const std::vector<bool>& consumer_delayed_pattern) argument
[all...]
/external/chromium_org/ui/base/cursor/
H A Dcursor_util.cc92 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/base/debug/
H A Dstack_trace_android.cc25 frame_count(0),
30 size_t frame_count; member in struct:__anon2229::StackCrawlState
45 state->frames[state->frame_count++] = ip;
46 if (state->frame_count >= state->max_depth)
71 count_ = state.frame_count;
/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Dav_streamer_unittest.cc58 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,
88 Configure( size_t frame_count, const std::vector<bool>& provider_delayed_pattern, const std::vector<bool>& consumer_delayed_pattern) argument
/external/chromium_org/media/formats/mp2t/
H A Des_adapter_video_unittest.cc40 size_t frame_count) {
43 StreamParserBuffer::BufferQueue buffers(frame_count);
44 for (size_t k = 0; k < frame_count; k++) {
38 GenerateFakeBuffers(const int* frame_pts_ms, const bool* is_key_frame, size_t frame_count) argument
/external/chromium_org/native_client_sdk/src/libraries/xray/
H A Dxray.h44 int frame_count,
86 int frame_count,
84 XRayInit(int stack_size, int buffer_size, int frame_count, const char* mapfilename) argument
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dfilevideocapturer_unittest.cc73 int frame_count() const { return frame_count_; } function in class:__anon12662::FileVideoCapturerTest::VideoCapturerListener
152 EXPECT_EQ(48, listener.frame_count());
168 listener.frame_count() >= 150, 20000);
171 EXPECT_GE(listener.frame_count(), 150);
187 EXPECT_EQ(1, listener.frame_count());
/external/chromium_org/third_party/libvpx/source/libvpx/examples/
H A Dvp8cx_set_ref.c103 int frame_count = 0; local
169 if (frame_count + 1 == update_frame_num) {
177 encode_frame(&codec, &raw, frame_count++, writer);
185 printf("Processed %d frames.\n", frame_count);
H A Dvp9_lossless_encoder.c66 int frame_count = 0; local
127 encode_frame(&codec, &raw, frame_count++, 0, writer);
135 printf("Processed %d frames.\n", frame_count);
/external/chromium_org/v8/src/
H A Druntime-profiler.cc165 int frame_count = 0; local
168 frame_count++ < frame_count_limit && !it.done();
214 (frame_count > 1 || shared->SourceSize() > kMaxToplevelSourceSize)) {
/external/libvpx/libvpx/examples/
H A Dvp8cx_set_ref.c99 int frame_count = 0; local
164 if (frame_count + 1 == update_frame_num) {
172 encode_frame(&codec, &raw, frame_count++, writer);
178 printf("Processed %d frames.\n", frame_count);
/external/srec/audio/AudioIn/UNIX/src/
H A Daudioinwrapper.cpp125 int AudioRead(short *buffer, int frame_count) argument
129 n = read(audiofd, buffer, frame_count*sizeof(short)*N_CHANNELS);
133 int nreq = frame_count * sizeof(short);
191 int AudioRead(short *buffer, int frame_count) argument
196 int AudioWrite(short *buffer, int frame_count) argument
/external/webrtc/src/modules/audio_processing/test/
H A Dunpack.cc127 int frame_count = 0; local
144 frame_count++;
200 fprintf(settings_file, "Init at frame: %d\n", frame_count);
/external/chromium_org/media/audio/sounds/
H A Dwav_audio_handler.cc75 const int frame_count = data_.size() * 8 / num_channels_ / bits_per_sample_; local
80 frame_count);

Completed in 600 milliseconds

1234