Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 31) sorted by relevance

12

/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c83 int frames = 0; in audio_vbuffer_write() local
85 frames = in audio_vbuffer_write()
88 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
96 frames * audio_vbuffer->frame_size); in audio_vbuffer_write()
97 audio_vbuffer->live += frames; in audio_vbuffer_write()
98 frames_written += frames; 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()
114 int frames = 0; in audio_vbuffer_read() local
117 frames = in audio_vbuffer_read()
[all …]
Daudio_hw.c266 int frames = audio_vbuffer_read(&out->buffer, buffer, buffer_frames); in out_write_worker() local
269 buffer, ext_pcm_frames_to_bytes(ext_pcm, frames)); in out_write_worker()
343 const size_t frames = bytes / audio_stream_out_frame_size(stream); in out_write() local
364 size_t frames_written = frames; in out_write()
369 frames_written = audio_vbuffer_write(&out->buffer, buffer, frames); in out_write()
374 out->frames_written += frames; in out_write()
375 out->frames_rendered += frames; in out_write()
376 out->frames_total_buffered += frames; in out_write()
383 int frames_sleep = out->frames_total_buffered < out->buffer.frame_count ? 0 : frames; in out_write()
404 if (frames_written < frames) { in out_write()
[all …]
Dext_pcm.h51 unsigned int frames);
Dext_pcm.c189 unsigned int frames) { in ext_pcm_frames_to_bytes() argument
194 return pcm_frames_to_bytes(ext_pcm->pcm, frames); in ext_pcm_frames_to_bytes()
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c324 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() argument
326 return frames * pcm->config.channels * in pcm_frames_to_bytes()
402 unsigned int frames) in pcm_areas_copy() argument
404 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy()
425 unsigned int pcm_offset, frames, count = 0; in pcm_mmap_transfer_areas() local
428 frames = size; in pcm_mmap_transfer_areas()
429 pcm_mmap_begin(pcm, &pcm_areas, &pcm_offset, &frames); in pcm_mmap_transfer_areas()
430 pcm_areas_copy(pcm, pcm_offset, buf, offset, frames); in pcm_mmap_transfer_areas()
431 commit = pcm_mmap_commit(pcm, pcm_offset, frames); in pcm_mmap_transfer_areas()
433 oops(pcm, commit, "failed to commit %d frames\n", frames); in pcm_mmap_transfer_areas()
[all …]
Dasoundlib.h203 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);
236 unsigned int *frames);
237 int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames);
/device/google/cuttlefish_common/guest/hals/audio/
Daudio_hw.c125 int frames = 0; in audio_vbuffer_write() local
127 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
129 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
136 frames*audio_vbuffer->frame_size); in audio_vbuffer_write()
137 audio_vbuffer->live += frames; in audio_vbuffer_write()
138 frames_written += frames; in audio_vbuffer_write()
139 frame_count -= frames; in audio_vbuffer_write()
140 audio_vbuffer->head = (audio_vbuffer->head + frames) % audio_vbuffer->frame_count; in audio_vbuffer_write()
152 int frames = 0; in audio_vbuffer_read() local
155 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c122 int frames = 0; in audio_vbuffer_write() local
124 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write()
126 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
133 frames*audio_vbuffer->frame_size); in audio_vbuffer_write()
134 audio_vbuffer->live += frames; in audio_vbuffer_write()
135 frames_written += frames; in audio_vbuffer_write()
136 frame_count -= frames; in audio_vbuffer_write()
137 audio_vbuffer->head = (audio_vbuffer->head + frames) % audio_vbuffer->frame_count; in audio_vbuffer_write()
149 int frames = 0; in audio_vbuffer_read() local
152 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcgitb.py117 frames = []
169 frames.append('''
181 return head + ''.join(frames) + ''.join(exception) + '''
205 frames = []
243 frames.append('\n%s\n' % '\n'.join(rows))
251 return head + ''.join(frames) + ''.join(exception) + '''
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_sys_setprofile.py27 self.frames = []
42 frameno = self.frames.index(frame)
44 frameno = len(self.frames)
45 self.frames.append(frame)
52 self.frames = None
/device/google/vrservices/vrcore/sepolicy/
Dvr_hwc.te2 # frames to VrCore.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dredemo.py72 self.frames = []
83 self.frames.append(frame)
/device/linaro/bootloader/edk2/StdLib/Efi/StdLib/etc/
Dprotocols44 ax.25 93 AX.25 # AX.25 frames
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dasound.h495 snd_pcm_uframes_t frames; member
501 snd_pcm_uframes_t frames; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dasound.h390 snd_pcm_uframes_t frames; member
395 snd_pcm_uframes_t frames; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dasound.h495 snd_pcm_uframes_t frames; member
501 snd_pcm_uframes_t frames; member
/device/linaro/poplar/audio/
Daudio_hw.c291 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
302 *frames = signed_frames; in out_get_presentation_position()
/device/google/bonito/sdm710/kernel-headers/sound/
Dasound.h390 snd_pcm_uframes_t frames; member
395 snd_pcm_uframes_t frames; member
/device/linaro/hikey/audio/
Daudio_hw.c470 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
481 *frames = signed_frames; in out_get_presentation_position()
/device/linaro/bootloader/arm-trusted-firmware/docs/plat/
Dpoplar.rst12 video at 60 frames per second.
/device/google/marlin/
Dsystem.prop125 #property to specify the number of frames to skip before setting hint
DWCNSS_qcom_cfg.ini494 …t tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
/device/google/marlin/camera/
DQCamera_Intf.h333 mm_camera_wnr_frame_info_t frames[MM_CAMEAR_MAX_STRAEM_BUNDLE]; member
/device/google/muskie/
DWCNSS_qcom_cfg.ini545 …t tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
/device/google/taimen/
DWCNSS_qcom_cfg.ini545 …t tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.

12