Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 25 of 36) sorted by relevance

12

/hardware/qcom/display/msm8226/liboverlay/
Doverlay.h263 int avail = 0; in availablePipes() local
273 avail++; in availablePipes()
276 return avail; in availablePipes()
280 int avail = 0; in availablePipes() local
288 avail++; in availablePipes()
291 return avail; in availablePipes()
295 int avail = 0; in availablePipes() local
301 avail++; in availablePipes()
304 return avail; in availablePipes()
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.h255 int avail = 0; in availablePipes() local
265 avail++; in availablePipes()
268 return avail; in availablePipes()
272 int avail = 0; in availablePipes() local
280 avail++; in availablePipes()
283 return avail; in availablePipes()
287 int avail = 0; in availablePipes() local
293 avail++; in availablePipes()
296 return avail; in availablePipes()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.h282 int avail = 0; in availablePipes() local
292 avail++; in availablePipes()
295 return avail; in availablePipes()
299 int avail = 0; in availablePipes() local
307 avail++; in availablePipes()
310 return avail; in availablePipes()
314 int avail = 0; in availablePipes() local
320 avail++; in availablePipes()
323 return avail; in availablePipes()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp387 unsigned avail, bufsize; in RecordingThreadEntry() local
481 avail = pcm_avail(musbRecordingHandle); in RecordingThreadEntry()
482 if (avail < musbRecordingHandle->sw_p->avail_min) { in RecordingThreadEntry()
492 if (x.frames > avail) in RecordingThreadEntry()
493 frames = avail; in RecordingThreadEntry()
517 avail = pcm_avail(mproxyRecordingHandle); in RecordingThreadEntry()
518 if (avail < mproxyRecordingHandle->sw_p->avail_min) { in RecordingThreadEntry()
776 unsigned avail, xfer, bufsize; in PlaybackThreadEntry() local
896 avail = pcm_avail(mproxyPlaybackHandle); in PlaybackThreadEntry()
898 if (avail < mproxyPlaybackHandle->sw_p->avail_min && !mkillPlayBackThread) { in PlaybackThreadEntry()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c181 int r, avail; in record_file() local
298 avail = pcm_avail(pcm); in record_file()
300 fprintf(stderr, "Arec:avail 1 = %d frames = %ld\n",avail, frames); in record_file()
301 if (avail < 0) in record_file()
302 return avail; in record_file()
303 if (avail < pcm->sw_p->avail_min) { in record_file()
307 if (x.frames > avail) in record_file()
308 frames = avail; in record_file()
Dalsa_pcm.c403 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr; in pcm_avail() local
404 if (avail < 0) in pcm_avail()
405 avail += pcm->sw_p->boundary; in pcm_avail()
406 return avail; in pcm_avail()
408 …long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ?… in pcm_avail() local
409 if (avail < 0) in pcm_avail()
410 avail += pcm->sw_p->boundary; in pcm_avail()
411 else if ((unsigned long) avail >= pcm->sw_p->boundary) in pcm_avail()
412 avail -= pcm->sw_p->boundary; in pcm_avail()
413 return avail; in pcm_avail()
Daplay.c172 long avail; in play_file() local
306 avail = pcm_avail(pcm); in play_file()
307 if (avail < 0) { in play_file()
310 return avail; in play_file()
312 if (avail < pcm->sw_p->avail_min) { in play_file()
325 fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames); in play_file()
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.h161 int avail = 0; in availablePipes() local
165 avail++; in availablePipes()
168 return avail; in availablePipes()
/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c107 off_t avail = buf.st_size - pos; in read_state() local
108 if (avail <= 0) { in read_state()
109 ALOGD("avail %ld", avail); in read_state()
113 char * state = (char *)calloc(avail+1, sizeof(char)); in read_state()
117 ssize_t bytes=read(fd, state, avail); in read_state()
/hardware/qcom/msm8x26/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8x84/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
Dasound.h410 snd_pcm_uframes_t avail; /* number of frames available */ member
593 size_t avail; /* available bytes */ member
/hardware/qcom/msm8x26/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
Dasound.h399 snd_pcm_uframes_t avail; member
590 size_t avail; member
/hardware/qcom/msm8994/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8996/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp852 int avail; in onFlush_sm() local
853 while ((avail = outputDelayRingBufferSamplesAvailable()) > 0) { in onFlush_sm()
854 if (avail > mStreamInfo->frameSize * mStreamInfo->numChannels) { in onFlush_sm()
855 avail = mStreamInfo->frameSize * mStreamInfo->numChannels; in onFlush_sm()
857 int32_t ns = outputDelayRingBufferGetSamples(nullptr, avail); in onFlush_sm()
858 if (ns != avail) { in onFlush_sm()
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8998/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/audio/hal/
Daudio_hw.c3225 int avail = sizeof(value) - cursor; in stream_get_parameter_rates() local
3226 ret = snprintf(value + cursor, avail, "%s%d", in stream_get_parameter_rates()
3229 if (ret < 0 || ret >= avail) { in stream_get_parameter_rates()
3481 unsigned int avail; in out_write() local
3483 ret = compress_get_hpointer(out->compr, &avail, &tstamp); in out_write()
3486 avail = bytes; in out_write()
3488 if (avail == 0) { in out_write()
3493 if (!was_in_standby && avail == out->kernel_buffer_size) { in out_write()
3498 if (avail > bytes) { in out_write()
3499 avail = bytes; in out_write()
[all …]

12