Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 35) sorted by relevance

12

/device/google/trout/hal/audio/6.0/
Daudio_vbuffer.c30 size_t frame_size) { in audio_vbuffer_init() argument
34 audio_vbuffer->frame_size = frame_size; in audio_vbuffer_init()
36 size_t bytes = frame_count * frame_size; in audio_vbuffer_init()
94 &audio_vbuffer->data[audio_vbuffer->head * audio_vbuffer->frame_size], in audio_vbuffer_write()
95 &((uint8_t *)buffer)[frames_written * audio_vbuffer->frame_size], in audio_vbuffer_write()
96 frames * audio_vbuffer->frame_size); in audio_vbuffer_write()
125 &((uint8_t *)buffer)[frames_read * audio_vbuffer->frame_size], in audio_vbuffer_read()
126 &audio_vbuffer->data[audio_vbuffer->tail * audio_vbuffer->frame_size], in audio_vbuffer_read()
127 frames * audio_vbuffer->frame_size); in audio_vbuffer_read()
Daudio_vbuffer.h25 size_t frame_size; member
33 size_t frame_size);
/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c30 size_t frame_size) { in audio_vbuffer_init() argument
34 audio_vbuffer->frame_size = frame_size; in audio_vbuffer_init()
36 size_t bytes = frame_count * frame_size; in audio_vbuffer_init()
94 &audio_vbuffer->data[audio_vbuffer->head * audio_vbuffer->frame_size], in audio_vbuffer_write()
95 &((uint8_t *)buffer)[frames_written * audio_vbuffer->frame_size], in audio_vbuffer_write()
96 frames * audio_vbuffer->frame_size); in audio_vbuffer_write()
125 &((uint8_t *)buffer)[frames_read * audio_vbuffer->frame_size], in audio_vbuffer_read()
126 &audio_vbuffer->data[audio_vbuffer->tail * audio_vbuffer->frame_size], in audio_vbuffer_read()
127 frames * audio_vbuffer->frame_size); in audio_vbuffer_read()
Daudio_vbuffer.h25 size_t frame_size; member
33 size_t frame_size);
/device/google/cuttlefish/tools/play_audio/
Dplay_audio.cpp62 auto frame_size = conn->RecvUInt32(); in RecvEncodedAudio() local
68 return {frame_size, std::move(encoded)}; in RecvEncodedAudio()
99 const auto& [frame_size, encoded] = RecvEncodedAudio(&conn); in main()
103 auto decoded = dec.Decode(encoded, frame_size, false); in main()
/device/google/cuttlefish/host/frontend/gcastv2/libsource/
DAudioSource.cpp80 size32_t frame_size; member
104 frame_size(0), in gce_audio_message()
272 || mPrevHeader.frame_size != hdr.frame_size in encode()
280 << hdr.frame_size in encode()
282 << mPrevHeader.frame_size in encode()
299 const size_t numChannels = hdr.frame_size / sizeof(int16_t); in encode()
505 || mPrevHeader.frame_size != hdr.frame_size in encode()
513 << hdr.frame_size in encode()
515 << mPrevHeader.frame_size in encode()
532 mChannelCount = hdr.frame_size / sizeof(int16_t); in encode()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/mixer/
Dxa-mixer.c57 u32 frame_size; member
117 d->pcm_width = 16, d->channels = 2, d->frame_size = 512; in xa_mixer_preinit()
172 for (i = 0; i < d->frame_size; i++) in xa_mixer_do_execute_stereo_16bit()
201 TRACE(PROCESS, _b("produced: %u bytes (%u samples)"), d->produced, d->frame_size); in xa_mixer_do_execute_stereo_16bit()
259 … d->buffer_size = d->channels * d->frame_size * (d->pcm_width == 16 ? sizeof(s16) : sizeof(s32)); in xa_mixer_init()
370 *(WORD32 *)pv_value = d->frame_size; in xa_mixer_get_config_param()
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/
Dxa-class-mixer.c120 u32 frame_size; member
180 u32 frame_size; in xa_mixer_prepare_runtime() local
189 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_FRAME_SIZE, &frame_size); in xa_mixer_prepare_runtime()
195 mixer->frame_duration = frame_size * factor; in xa_mixer_prepare_runtime()
531 … XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_FRAME_SIZE, &mixer->frame_size); in xa_mixer_memtab()
668 track->pts += mixer->frame_size; in xa_mixer_postprocess()
703 mixer->pts += mixer->frame_size; in xa_mixer_postprocess()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsndhdr.py102 frame_size = sample_size * nchannels
103 return type, rate, nchannels, data_size//frame_size, sample_bits
/device/google/coral-kernel/sm8150/kernel-headers/input/
Dtouch_offload.h61 __u32 frame_size; member
/device/google/coral-kernel/sm8150/original-kernel-headers/input/
Dtouch_offload.h99 __u32 frame_size; member
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c78 size_t frame_size; member
86 size_t frame_size) { in audio_vbuffer_init() argument
90 audio_vbuffer->frame_size = frame_size; in audio_vbuffer_init()
92 size_t bytes = frame_count * frame_size; in audio_vbuffer_init()
138 memcpy(&audio_vbuffer->data[audio_vbuffer->head*audio_vbuffer->frame_size], in audio_vbuffer_write()
139 &((uint8_t*)buffer)[frames_written*audio_vbuffer->frame_size], in audio_vbuffer_write()
140 frames*audio_vbuffer->frame_size); in audio_vbuffer_write()
165 memcpy(&((uint8_t*)buffer)[frames_read*audio_vbuffer->frame_size], in audio_vbuffer_read()
166 &audio_vbuffer->data[audio_vbuffer->tail*audio_vbuffer->frame_size], in audio_vbuffer_read()
167 frames*audio_vbuffer->frame_size); in audio_vbuffer_read()
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dcompress_offload.h66 __u32 frame_size; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dcompress_offload.h66 __u32 frame_size; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dcompress_offload.h131 __u32 frame_size; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dcompress_offload.h131 __u32 frame_size; member
/device/amlogic/yukawa/audio/
Daudio_hw.c272 size_t frame_size = audio_stream_out_frame_size(stream); in out_write() local
273 size_t out_frames = bytes / frame_size; in out_write()
296 ret = pcm_write(out->pcm, buffer, out_frames * frame_size); in out_write()
303 info.bytes = out_frames * frame_size; in out_write()
563 size_t frame_size = audio_stream_in_frame_size(stream); in in_read() local
564 size_t in_frames = bytes / frame_size; in in_read()
639 ret = pcm_read(in->pcm, buffer, in_frames * frame_size); in in_read()
/device/google/sunfish-kernel/sm7150/kernel-headers/sound/
Dcompress_offload.h66 __u32 frame_size; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/sound/
Dcompress_offload.h131 __u32 frame_size; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/sound/
Dcompress_offload.h133 __u32 frame_size; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dcompress_offload.h66 __u32 frame_size; member
/device/google/barbet-kernel/sm7250/kernel-headers/sound/
Dcompress_offload.h65 __u32 frame_size; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dcompress_offload.h133 __u32 frame_size; member
/device/google/barbet-kernel/sm7250/original-kernel-headers/sound/
Dcompress_offload.h131 __u32 frame_size; member
/device/google/redbull-kernel/sm7250/kernel-headers/sound/
Dcompress_offload.h65 __u32 frame_size; member

12