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

1 2 3 4 5 6 7

  /external/chromium_org/media/base/
audio_timestamp_helper.h 37 // Adds |frame_count| to the frame counter.
40 void AddFrames(int frame_count);
46 // Gets the duration if |frame_count| frames were added to the current
50 base::TimeDelta GetFrameDuration(int frame_count) const;
57 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.h 28 // number of buffers must be equal to |channel_count|. |frame_count| is the
29 // number of frames in each buffer. |data| must not be null and |frame_count|
35 int frame_count,
40 // Create an AudioBuffer with |frame_count| frames. Buffer is allocated, but
44 int frame_count);
46 // Create an empty AudioBuffer with |frame_count| frames.
49 int frame_count,
82 int frame_count() const { return adjusted_frame_count_; } function in class:media::AudioBuffer
111 int frame_count,
audio_splicer_unittest.cc 47 int frames = buffer->frame_count();
76 EXPECT_EQ(input_1->frame_count(), output_1->frame_count());
90 EXPECT_EQ(input_2->frame_count(), output_2->frame_count());
96 EXPECT_EQ(input_3->frame_count(), output_3->frame_count());
122 EXPECT_EQ(input_2->frame_count(), output_2->frame_count());
140 EXPECT_EQ(input_1->frame_count(), output_1->frame_count())
    [all...]
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 21 int frame_count,
28 adjusted_frame_count_(frame_count),
30 end_of_stream_(!create_buffer && data == NULL && frame_count == 0),
35 CHECK_GE(frame_count, 0);
38 int data_size = frame_count * bytes_per_channel;
86 int frame_count,
91 CHECK_GT(frame_count, 0); // Otherwise looks like an EOF buffer.
95 frame_count,
105 int frame_count) {
106 CHECK_GT(frame_count, 0); // Otherwise looks like an EOF buffer
    [all...]
audio_splicer.cc 49 DCHECK_GT(input->frame_count(), 0);
100 if (input->frame_count() <= frames_to_skip) {
126 output_timestamp_helper_.AddFrames(buffer->frame_count());
audio_buffer_queue.cc 39 frames_ += buffer_in->frame_count();
86 buffer->frame_count() - current_buffer_offset;
116 if (current_buffer_offset == buffer->frame_count()) {
156 static_cast<double>((*buffer)->frame_count());
  /system/core/libcorkscrew/
test.cpp 9 ssize_t frame_count = unwind_backtrace(frames, 0, MAX_DEPTH); local
10 fprintf(stderr, "frame_count=%d\n", (int) frame_count);
11 if (frame_count <= 0) {
12 return frame_count;
15 backtrace_symbol_t* backtrace_symbols = (backtrace_symbol_t*) malloc(sizeof(backtrace_symbol_t) * frame_count);
16 get_backtrace_symbols(frames, frame_count, backtrace_symbols);
18 for (size_t i = 0; i < (size_t) frame_count; ++i) {
46 free_backtrace_symbols(backtrace_symbols, frame_count);
49 return frame_count;
    [all...]
  /external/srec/audio/AudioIn/UNIX/include/
audioinwrapper.h 35 int AudioRead(short *buffer, int 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.cpp 74 size_t frame_count; member in struct:stack_crawl_state_t
79 : frames(frames), frame_count(0), max_depth(max_depth), have_skipped_self(false) {
112 state->frames[state->frame_count++] = ip;
113 return (state->frame_count >= state->max_depth) ? _URC_END_OF_STACK : _URC_NO_REASON;
119 return state.frame_count;
122 __LIBC_HIDDEN__ void log_backtrace(uintptr_t* frames, size_t frame_count) {
125 frame_count = get_backtrace(self_bt, 16);
132 for (size_t i = 0 ; i < frame_count; ++i) {
debug_stacktrace.h 38 __LIBC_HIDDEN__ void log_backtrace(uintptr_t* stack_frames, size_t frame_count);
  /external/chromium_org/cc/debug/
frame_rate_counter.cc 102 int frame_count = 0; local
123 frame_count++;
125 } else if (frame_count) {
130 if (frame_count) {
132 average_fps = frame_count / frame_times_total;
  /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 19 frame_count(0),
24 size_t frame_count; member in struct:__anon6112::StackCrawlState
49 state->frames[state->frame_count++] = ip;
50 if (state->frame_count >= state->max_depth)
75 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));
test_audio.cc 82 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount( local
85 instance_->pp_instance(), sample_rate, frame_count);
100 ASSERT_EQ(frame_count, audio_config_interface_->GetSampleFrameCount(ac));
124 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount( local
127 instance_->pp_instance(), kSampleRate, frame_count);
154 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount( local
157 instance_->pp_instance(), kSampleRate, frame_count);
204 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount( local
207 instance_->pp_instance(), kSampleRate, frame_count);
240 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount local
278 uint32_t frame_count = audio_config_interface_->RecommendSampleFrameCount( local
    [all...]
  /external/srec/audio/AudioIn/UNIX/src/
audioinwrapper.cpp 125 int AudioRead(short *buffer, int frame_count)
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)
196 int AudioWrite(short *buffer, int frame_count)
  /system/media/audio_utils/
echo_reference.c 82 buffer->frame_count = 0;
86 buffer->frame_count = (buffer->frame_count > er->wr_frames_in) ?
87 er->wr_frames_in : buffer->frame_count;
107 er->wr_frames_in -= buffer->frame_count;
150 ALOGV("echo_reference_write() START trying to write %d frames", buffer->frame_count);
155 //ALOGV("echo_reference_write() %d frames", buffer->frame_count);
181 er->wr_curr_frame_size = buffer->frame_count;
188 size_t wrBufSize = buffer->frame_count;
190 inFrames = buffer->frame_count;
    [all...]
  /system/media/audio_utils/include/audio_utils/
echo_reference.h 28 size_t frame_count; // number of frames in buffer member in struct:echo_reference_buffer
46 * - frame_count is updated with the actual number of frames returned
resampler.h 38 size_t frame_count; member in struct:resampler_buffer
46 * as input: buffer->frame_count is the number of frames requested
47 * as output: buffer->frame_count is the number of frames returned
54 * as input: buffer->frame_count is the number of frames released
  /external/libvpx/libvpx/test/
datarate_test.cc 158 const int frame_count = 40; local
160 30, 1, 0, frame_count);
166 vpx_codec_pts_t last_drop = frame_count;
  /external/chromium_org/media/base/android/
webaudio_media_codec_bridge.cc 170 int frame_count = buf_size / sizeof(*data) / 2; local
172 decoded_data.resize(frame_count);
173 for (int k = 0; k < frame_count; ++k) {
179 count = frame_count * sizeof(*data);
  /external/chromium_org/native_client_sdk/src/libraries/xray/
xray.h 44 int frame_count,
86 int frame_count,

Completed in 480 milliseconds

1 2 3 4 5 6 7