Searched defs:frames (Results 1 - 6 of 6) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
H A D | sndfile.h | 35 sf_count_t frames; member in struct:__anon1621 64 // Read interleaved frames and return actual number of frames read 69 // Write interleaved frames and return actual number of frames written
|
/system/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 166 uint64_t *frames, struct timespec *timestamp) 175 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size); 182 *frames = signed_frames; 165 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
|
/system/media/audio_utils/ |
H A D | resampler.c | 37 size_t frames_in; // number of frames in input buffer 38 size_t frames_rq; // cached number of output frames 39 size_t frames_needed; // minimum number of input frames to produce 40 // frames_rq output frames 71 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount 72 // with the actual number of frames produced. 88 // update and cache the number of frames needed at the input sampling rate to produce 89 // the number of frames requested at the output sampling rate 99 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at 100 // least the number of frames neede 239 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); local [all...] |
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/core/healthd/ |
H A D | healthd_mode_charger.cpp | 97 struct frame *frames; member in struct:animation 163 .frames = batt_anim_frames, 309 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame]; 386 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time; 397 if (batt_prop->batteryLevel < batt_anim->frames[i].min_capacity) 403 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * 2; 416 /* if we don't have anim frames, we only have one image, so just bump 439 batt_anim->frames[batt_anim->cur_frame].level_only) 714 charger->batt_anim->frames[i].surface = scale_frames[i];
|
Completed in 60 milliseconds