/system/media/audio_utils/ |
H A D | mono_blend.cpp | 26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { argument 33 for (size_t i = 0; i < frames; ++i) { 48 for (size_t i = 0; i < frames; ++i) {
|
H A D | resampler.c | 38 size_t frames_in; // number of frames in input buffer 39 size_t frames_rq; // cached number of output frames 40 size_t frames_needed; // minimum number of input frames to produce 41 // frames_rq output frames 72 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount 73 // with the actual number of frames produced. 89 // update and cache the number of frames needed at the input sampling rate to produce 90 // the number of frames requested at the output sampling rate 100 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at 101 // least the number of frames neede 240 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); local [all...] |
H A D | PowerLog.cpp | 61 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) argument 66 while (frames > 0) { 69 size_t process = std::min(required, frames); 102 frames -= process; 244 const void *buffer, size_t frames, int64_t now_ns) 249 reinterpret_cast<PowerLog *>(power_log)->log(buffer, frames, now_ns); 243 power_log_log(power_log_t *power_log, const void *buffer, size_t frames, int64_t now_ns) argument
|
H A D | echo_reference.c | 50 size_t buf_size; // main buffer size in frames 51 size_t frames_in; // number of frames in main buffer 53 size_t wr_buf_size; // size of conversion buffer in frames 54 size_t wr_frames_in; // number of frames in conversion buffer 55 size_t wr_curr_frame_size; // number of frames given to current write() function 152 ALOGV("echo_reference_write() START trying to write %zu frames", buffer->frame_count); 157 //ALOGV("echo_reference_write() %d frames", buffer->frame_count); 215 size_t frames = buffer->frame_count; local 216 while (frames--) { 242 // resampler to get new frames [all...] |
H A D | primitives.c | 277 void downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) argument 279 while (frames--) { 285 void upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) argument 287 while (frames--) { 317 size_t nonZeroStereo32(const int32_t *frames, size_t count) argument 321 if (frames[0] != 0 || frames[1] != 0) { 324 frames += 2; 329 size_t nonZeroStereo16(const int16_t *frames, size_t count) argument 333 if (frames[ [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | sndfile.h | 37 sf_count_t frames; member in struct:__anon1871 67 * Read interleaved frames 68 * \return actual number of frames read 75 * Write interleaved frames 76 * \return actual number of frames written
|
/system/core/libmemunreachable/include/memunreachable/ |
H A D | memunreachable.h | 48 uintptr_t frames[max_frames]; member in struct:Leak::Backtrace
|
/system/core/healthd/ |
H A D | AnimationParser.cpp | 89 std::vector<animation::frame> frames; local 121 frames.push_back(std::move(frame)); 128 if (anim->animation_file.empty() || frames.empty()) { 134 anim->num_frames = frames.size(); 135 anim->frames = new animation::frame[frames.size()]; 136 std::copy(frames.begin(), frames.end(), anim->frames);
|
H A D | animation.h | 59 frame* frames; member in struct:android::animation
|
/system/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 208 uint64_t *frames, struct timespec *timestamp) 217 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size); 224 *frames = signed_frames; 207 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
|
/system/media/audio_utils/tests/ |
H A D | primitives_tests.cpp | 110 size_t frames = size/3; local 111 for (size_t i = 1; i < frames; ++i) {
|
/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 125 uint64_t frames_presented; // frames written, never reset 126 uint64_t frames_rendered; // frames written, reset on standby 885 const size_t frames = bytes / audio_stream_out_frame_size(stream); local 886 out->frames_rendered += frames; 887 out->frames_presented += frames; 1011 // of 16 frames. 1247 uint64_t* frames, 1252 if (stream == NULL || frames == NULL || timestamp == NULL) return -EINVAL; 1259 *frames = out->frames_presented - latency_frames; 1246 out_get_presentation_position(const struct audio_stream_out* stream, uint64_t* frames, struct timespec* timestamp) argument
|