Home
last modified time | relevance | path

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

12

/hardware/qcom/msm8998/json-c/
Dprintbuf.h42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
44 if ((p->size - p->bpos) > bufsize) { \
45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \
46 p->bpos += bufsize; \
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
/hardware/qcom/audio/legacy/libalsa-intf/
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 …]
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 …]
/hardware/qcom/audio/legacy/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/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device_copper.h94 unsigned long bufsize; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_q6vdec.h116 u32 bufsize; member
Dmsm_vidc_enc.h341 unsigned long bufsize; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_q6vdec.h116 u32 bufsize; member
Dmsm_vidc_enc.h371 unsigned long bufsize; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_q6vdec.h96 u32 bufsize; member
Dmsm_vidc_enc.h594 unsigned long bufsize; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_q6vdec.h96 u32 bufsize; member
Dmsm_vidc_enc.h538 unsigned long bufsize; member
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1845 char *buf, uint32 bufsize) in bcmdumpfields() argument
1854 while (bufsize > 1) { in bcmdumpfields()
1857 len = snprintf(buf, bufsize, cur_ptr->nameandfmt, in bcmdumpfields()
1860 if (len < 0 || (uint32)len >= bufsize) in bcmdumpfields()
1861 len = bufsize - 1; in bcmdumpfields()
1863 bufsize -= len; in bcmdumpfields()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h109 unsigned long bufsize; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_vidc_enc.h371 unsigned long bufsize; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_vidc_enc.h594 unsigned long bufsize; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_vidc_enc.h371 unsigned long bufsize; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_vidc_enc.h594 unsigned long bufsize; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_vidc_enc.h594 unsigned long bufsize; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_vidc_enc.h371 unsigned long bufsize; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h115 unsigned long bufsize; member
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h122 unsigned long bufsize; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp475 seq_in.bufsize = buffer_size; in venc_get_seq_hdr()
482 seq_in.bufsize, seq_in.hdrlen); in venc_get_seq_hdr()
494 seq_out.bufsize, seq_out.hdrlen); in venc_get_seq_hdr()
499 seq_out.bufsize, seq_out.hdrlen); in venc_get_seq_hdr()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h122 unsigned long bufsize; member

12