Home
last modified time | relevance | path

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

/hardware/qcom/audio/libalsa-intf/
Darec.c180 unsigned xfer, bufsize; in record_file() local
250 bufsize = pcm->period_size; in record_file()
252 fprintf(stderr, "Arec:bufsize = %d\n", bufsize); in record_file()
269 frames = bufsize / 2; in record_file()
271 frames = bufsize / 8; in record_file()
273 frames = bufsize / 12; in record_file()
275 frames = bufsize / 4; in record_file()
320 if (write(fd, dst_addr, bufsize) != bufsize) { in record_file()
321 fprintf(stderr, "Arec:could not write %d bytes\n", bufsize); in record_file()
334 rec_size += bufsize; in record_file()
[all …]
Daplay.c170 unsigned bufsize; in play_file() local
274 bufsize = pcm->period_size; in play_file()
276 fprintf(stderr, "Aplay:bufsize = %d\n", bufsize); in play_file()
281 frames = (pcm->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in play_file()
336 memset(dst_addr, 0x0, bufsize); in play_file()
339 if (remainingData < bufsize) { in play_file()
340 bufsize = remainingData; in play_file()
345 err = read(fd, dst_addr , bufsize); in play_file()
352 remainingData -= bufsize; in play_file()
434 bufsize = pcm->period_size; in play_file()
[all …]
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp66 int bufsize; member
74 dest->free_in_buffer = dest->bufsize; in libjpeg_init_destination()
82 dest->free_in_buffer = dest->bufsize; in libjpeg_empty_output_buffer()
88 dest->jpegsize = dest->bufsize - dest->free_in_buffer; in libjpeg_term_destination()
97 this->bufsize = size; in libjpeg_destination_mgr()
/hardware/qcom/audio/alsa_sound/
DAudioUsbALSA.cpp387 unsigned avail, bufsize; in RecordingThreadEntry() local
429 bufsize = musbRecordingHandle->period_size; in RecordingThreadEntry()
432 frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in RecordingThreadEntry()
433 x.frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in RecordingThreadEntry()
530 memset(dstProxy_addr, 0x0, bufsize); in RecordingThreadEntry()
534 memcpy(dstProxy_addr, srcUsb_addr, bufsize ); in RecordingThreadEntry()
776 unsigned avail, xfer, bufsize; in PlaybackThreadEntry() local
/hardware/ti/omap3/dspbridge/libbridge/inc/
Drms_sh.h93 RMS_WORD bufsize; /* Buffer size (in DSP words) */ member
/hardware/ti/omap3/dspbridge/inc/
Drms_sh.h93 RMS_WORD bufsize; /* Buffer size (in DSP words) */ member
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c1652 char *buf, uint32 bufsize) in bcmdumpfields() argument
1661 while (bufsize > 1) { in bcmdumpfields()
1664 len = snprintf(buf, bufsize, cur_ptr->nameandfmt, in bcmdumpfields()
1667 if (len < 0 || (uint32)len >= bufsize) in bcmdumpfields()
1668 len = bufsize - 1; in bcmdumpfields()
1670 bufsize -= len; in bcmdumpfields()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1762 char *buf, uint32 bufsize) in bcmdumpfields() argument
1771 while (bufsize > 1) { in bcmdumpfields()
1774 len = snprintf(buf, bufsize, cur_ptr->nameandfmt, in bcmdumpfields()
1777 if (len < 0 || (uint32)len >= bufsize) in bcmdumpfields()
1778 len = bufsize - 1; in bcmdumpfields()
1780 bufsize -= len; in bcmdumpfields()
/hardware/qcom/media/mm-video/vidc/venc/inc/
Dvideo_encoder_device_copper.h94 unsigned long bufsize; member
/hardware/qcom/media/mm-video/vidc/venc/src/
Dvideo_encoder_device.cpp476 seq_in.bufsize = buffer_size; in venc_get_seq_hdr()
483 seq_in.bufsize, seq_in.hdrlen); in venc_get_seq_hdr()
495 seq_out.bufsize, seq_out.hdrlen); in venc_get_seq_hdr()
500 seq_out.bufsize, seq_out.hdrlen); in venc_get_seq_hdr()
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmutils.h687 char *buf, uint32 bufsize);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h751 char *buf, uint32 bufsize);