Searched refs:frames (Results 1 - 18 of 18) sorted by relevance

/system/core/libmemunreachable/
H A DLeak.h36 hash_combine(seed, key.frames[i]);
54 memcmp(lhs.frames, rhs.frames, lhs.num_frames * sizeof(lhs.frames[0])) == 0;
H A Dbionic.h31 extern ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
H A DMemUnreachable.cpp162 leak->backtrace.frames, leak->backtrace.max_frames);
465 oss << backtrace_string(backtrace.frames, backtrace.num_frames);
/system/media/audio_utils/include/audio_utils/
H A Dconversion.h32 * \param buf buffer of frames
35 * \param frames number of frames in buffer
43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
H A Dsndfile.h37 sf_count_t frames; member in struct:__anon1854
67 * Read interleaved frames
68 * \return actual number of frames read
75 * Write interleaved frames
76 * \return actual number of frames written
H A Dprimitives.h387 * \param count Number of stereo frames to downmix
412 * \param count Number of stereo frames to downmix
442 * \return the total number of non-zero stereo frames, where a frame is considered non-zero
445 size_t nonZeroStereo32(const int32_t *frames, size_t count);
448 * \return the total number of non-zero stereo frames, where a frame is considered non-zero
451 size_t nonZeroStereo16(const int16_t *frames, size_t count);
454 * Copy frames, selecting source samples based on a source channel mask to fit
465 * \param count Number of frames to copy
474 * Copy frames, selecting source samples based on an index array (idxary).
504 * \param count Number of frames t
[all...]
/system/media/audio_utils/
H A Dconversion.cpp26 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 Dprimitives.c277 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...]
H A Dresampler.c37 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 Decho_reference.c50 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 Dtinysndfile.c35 size_t remaining; // frames unread for SFM_READ, frames written for SFM_WRITE
244 handle->info.frames = handle->remaining;
/system/extras/tests/workloads/
H A Dsystemapps.sh80 frames=$5
95 curFrames=$(eval "echo \$${label}frames")
118 ((curFrames=curFrames+${frames:=0}))
119 eval "${label}frames=$curFrames"
133 $(eval "echo \$${label}frames") $(eval "echo \$${label}janks") \
184 frames=$1
195 ((frames=frames+systemFrames))
204 if [ $frames -eq 0 ]; then
208 ((jankPct=100*janks/frames))
[all...]
/system/media/audio_utils/tests/
H A Dfifo_tests.cpp78 short *inputBuffer = new short[sfinfoin.frames * sfinfoin.channels];
79 sf_count_t actualRead = sf_readf_short(sfin, inputBuffer, sfinfoin.frames);
80 if (actualRead != sfinfoin.frames) {
87 short *outputBuffer = new short[sfinfoin.frames * sfinfoin.channels];
96 size_t framesToWrite = sfinfoin.frames - framesWritten;
97 size_t framesToRead = sfinfoin.frames - framesRead;
/system/media/alsa_utils/include/
H A Dalsa_device_proxy.h32 uint64_t transferred; /* the total frames transferred, not cleared on standby */
47 uint64_t *frames, struct timespec *timestamp);
/system/core/libmemunreachable/include/memunreachable/
H A Dmemunreachable.h48 uintptr_t frames[max_frames]; member in struct:Leak::Backtrace
/system/core/healthd/
H A Dhealthd_mode_charger.cpp97 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)
717 charger->batt_anim->frames[i].surface = scale_frames[i];
/system/media/alsa_utils/
H A Dalsa_device_proxy.c181 uint64_t *frames, struct timespec *timestamp)
190 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size);
197 *frames = signed_frames;
180 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c117 uint64_t frames_presented; // frames written, never reset
118 uint64_t frames_rendered; // frames written, reset on standby
632 const size_t frames = bytes / audio_stream_out_frame_size(stream); local
633 out->frames_rendered += frames;
634 out->frames_presented += frames;
680 const size_t mixer_unit_size = 16 /* frames */ * 4 /* framesize */;
829 uint64_t *frames, struct timespec *timestamp)
834 if (stream == NULL || frames == NULL || timestamp == NULL)
841 *frames = out->frames_presented - latency_frames;
828 out_get_presentation_position(const struct audio_stream_out *stream, uint64_t *frames, struct timespec *timestamp) argument

Completed in 708 milliseconds