/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 219 frame_count += (*it)->frame_count() [all...] |
audio_discard_helper.cc | 83 const size_t original_frame_count = decoded_buffer->frame_count(); 98 const size_t decoded_frames = decoded_buffer->frame_count(); 117 const size_t decoded_frames = decoded_buffer->frame_count(); 138 original_frame_count - decoded_buffer->frame_count(); 175 const size_t decoded_frames = decoded_buffer->frame_count(); 195 timestamp_helper_.AddFrames(decoded_buffer->frame_count());
|
/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/srec/audio/AudioIn/UNIX/include/ |
audioinwrapper.h | 35 int AudioRead(short *buffer, int frame_count);
|
/external/chromium_org/cc/debug/ |
rendering_stats.cc | 11 : frame_count(0), 18 record_data->SetInteger("frame_count", frame_count); 27 frame_count += other.frame_count; 35 : frame_count(0), 44 record_data->SetInteger("frame_count", frame_count); 54 frame_count += other.frame_count; [all...] |
rendering_stats.h | 19 int64 frame_count; member in struct:cc::MainThreadRenderingStats 34 int64 frame_count; member in struct:cc::ImplThreadRenderingStats
|
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;
|
/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;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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/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:__anon6823::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/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)
|
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/ |
rendering_stats.py | 21 def __init__(self, frame_count): 23 'Only %i frame timestamps were collected ' % frame_count + 89 if 'data' in event.args and event.args['data']['frame_count'] == 1: 93 if 'data' in event.args and event.args['data']['frame_count'] == 1: 177 frame_count = event.args['data']['frame_count'] 178 if frame_count > 1: 180 if frame_count == 1:
|
/system/media/audio_utils/ |
echo_reference.c | 84 buffer->frame_count = 0; 88 buffer->frame_count = (buffer->frame_count > er->wr_frames_in) ? 89 er->wr_frames_in : buffer->frame_count; 109 er->wr_frames_in -= buffer->frame_count; 152 ALOGV("echo_reference_write() START trying to write %zu frames", buffer->frame_count); 157 //ALOGV("echo_reference_write() %d frames", buffer->frame_count); 183 er->wr_curr_frame_size = buffer->frame_count; 190 size_t wrBufSize = buffer->frame_count; 192 inFrames = buffer->frame_count; [all...] |