Home
last modified time | relevance | path

Searched refs:frame_count (Results 1 – 12 of 12) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c29 int audio_vbuffer_init(audio_vbuffer_t *audio_vbuffer, size_t frame_count, in audio_vbuffer_init() argument
35 audio_vbuffer->frame_count = frame_count; in audio_vbuffer_init()
36 size_t bytes = frame_count * frame_size; in audio_vbuffer_init()
72 int dead = audio_vbuffer->frame_count - audio_vbuffer->live; in audio_vbuffer_dead()
78 size_t frame_count) { in audio_vbuffer_write() argument
82 while (frame_count != 0) { in audio_vbuffer_write()
86 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
88 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
99 frame_count -= frames; in audio_vbuffer_write()
101 (audio_vbuffer->head + frames) % audio_vbuffer->frame_count; in audio_vbuffer_write()
[all …]
Daudio_vbuffer.h26 size_t frame_count; member
32 int audio_vbuffer_init(audio_vbuffer_t *audio_vbuffer, size_t frame_count,
42 size_t frame_count);
45 size_t frame_count);
Daudio_hw.c383 int frames_sleep = out->frames_total_buffered < out->buffer.frame_count ? 0 : frames; in out_write()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxa_profiler.h63 int frame_count; member
80 p_prof->frame_count++; in xa_compute_mcps()
86 if (p_prof->frame_count > 1) { in xa_compute_mcps()
88 Ave = p_prof->Sum / (p_prof->frame_count-1); in xa_compute_mcps()
92 p_prof->Peak_frame = (p_prof->frame_count); in xa_compute_mcps()
105 p_prof->frame_count, (uint32_t)minutes, (uint32_t)seconds, (uint32_t)msec, in xa_compute_mcps()
109 p_prof->frame_count, gen_strm_pos, minutes, seconds, msec, in xa_compute_mcps()
131 …fprintf(stdout,"%5s Average MCPS = %f\n", x.id, (x.frame_count < 2) ? 0 : (x.Sum/(x.frame_count-1)…
/device/linaro/dragonboard/audio/
Daudio_hw.c76 size_t frame_count; member
82 static int audio_vbuffer_init (audio_vbuffer_t * audio_vbuffer, size_t frame_count, in audio_vbuffer_init() argument
88 audio_vbuffer->frame_count = frame_count; in audio_vbuffer_init()
89 size_t bytes = frame_count * frame_size; in audio_vbuffer_init()
121 …_t audio_vbuffer_write (audio_vbuffer_t * audio_vbuffer, const void * buffer, size_t frame_count) { in audio_vbuffer_write() argument
125 while (frame_count != 0) { in audio_vbuffer_write()
128 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
130 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
140 frame_count -= frames; in audio_vbuffer_write()
141 audio_vbuffer->head = (audio_vbuffer->head + frames) % audio_vbuffer->frame_count; in audio_vbuffer_write()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c79 size_t frame_count; member
85 static int audio_vbuffer_init (audio_vbuffer_t * audio_vbuffer, size_t frame_count, in audio_vbuffer_init() argument
91 audio_vbuffer->frame_count = frame_count; in audio_vbuffer_init()
92 size_t bytes = frame_count * frame_size; in audio_vbuffer_init()
124 …_t audio_vbuffer_write (audio_vbuffer_t * audio_vbuffer, const void * buffer, size_t frame_count) { in audio_vbuffer_write() argument
128 while (frame_count != 0) { in audio_vbuffer_write()
131 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
133 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
143 frame_count -= frames; in audio_vbuffer_write()
144 audio_vbuffer->head = (audio_vbuffer->head + frames) % audio_vbuffer->frame_count; in audio_vbuffer_write()
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_mdp.h694 uint32_t frame_count; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_mdp.h893 uint32_t frame_count; member
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_mdp.h694 uint32_t frame_count; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_mdp.h695 uint32_t frame_count; member
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_mdp.h892 uint32_t frame_count; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_mdp.h892 uint32_t frame_count; member