Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvwriter.cpp39 const size_t bytes_written = fwrite(buffer, 1, length, file_); in Write() local
41 return (bytes_written == length) ? 0 : -1; in Write()
Dmkvmuxer.cpp1816 const uint64 bytes_written = WriteVoidElement(writer, size_left); in Finalize() local
1817 if (!bytes_written) in Finalize()
1833 const uint64 bytes_written = WriteVoidElement(writer, size + entry_size); in Write() local
1834 if (!bytes_written) in Write()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dring_buffer.cpp157 unsigned int bytes_written = 0; // bytes written into rb so far in rb_write() local
228 while (bytes_written < length) { in rb_write()
245 (length - bytes_written)); in rb_write()
286 (buf + bytes_written), in rb_write()
318 bytes_written += cur_copy_len; in rb_write()
322 rbc->total_bytes_written += bytes_written - total_push_in_rd_ptr; in rb_write()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp388 int bytes_written; in RecordingThreadEntry() local
559bytes_written = mproxyRecordingHandle->sync_ptr->c.control.appl_ptr - mproxyRecordingHandle->sync_… in RecordingThreadEntry()
560 …if ((bytes_written >= mproxyRecordingHandle->sw_p->start_threshold) && (!mproxyRecordingHandle->st… in RecordingThreadEntry()
775 int bytes_written; in PlaybackThreadEntry() local
1008bytes_written = musbPlaybackHandle->sync_ptr->c.control.appl_ptr - musbPlaybackHandle->sync_ptr->s… in PlaybackThreadEntry()
1009 …andle->sync_ptr->c.control.appl_ptr, musbPlaybackHandle->sync_ptr->s.status.hw_ptr, bytes_written); in PlaybackThreadEntry()
1016 if (bytes_written <= usbPeriod && musbPlaybackHandle->start) { in PlaybackThreadEntry()
1022 …if ((bytes_written >= musbPlaybackHandle->sw_p->start_threshold) && (!musbPlaybackHandle->start)) { in PlaybackThreadEntry()
/hardware/intel/common/libmix/mix_audio/src/
Dmixaudio.c181 self->bytes_written=0; in mix_audio_init()
305 g_debug("_finalized(). bytes written=%" G_GUINT64_FORMAT, mix->bytes_written); in mix_audio_finalize()
604 mix->bytes_written = 0; in mix_audio_deinitialize_default()
915 ts = mix->bytes_written * 8000 / MIX_ACP_BITRATE(mix->audioconfigparams); in mix_audio_get_timestamp_default()
1507 if (written >= 0) mix->bytes_written += written; in mix_audio_SST_writev()
1508 g_debug("writev() returned %d. Total %" G_GUINT64_FORMAT, written, mix->bytes_written); in mix_audio_SST_writev()
1523 if (written > 0) mix->bytes_written += written; in mix_audio_SST_writev()
1524 g_debug("writev() returned %d. Total %" G_GUINT64_FORMAT, written, mix->bytes_written); in mix_audio_SST_writev()
1630 mix->bytes_written += written; in mix_audio_SST_STREAM_DECODE()
1634 …("stub STREAM_DECODE (writev) returned %d. Total %" G_GUINT64_FORMAT, written, mix->bytes_written); in mix_audio_SST_STREAM_DECODE()
[all …]
Dmixaudio.h212 guint64 bytes_written; member
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c530 int bytes_written; in pcm_write_mmap() local
554 bytes_written = pcm->sync_ptr->c.control.appl_ptr - pcm->sync_ptr->s.status.hw_ptr; in pcm_write_mmap()
555 if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) { in pcm_write_mmap()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp739 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; in fbd_thread() local
847 bytes_written = 0; in fbd_thread()
865bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
874bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
883 bytes_written = fwrite_helper((const char *)pBuffer->pBuffer, in fbd_thread()
886 if (bytes_written < 0) { in fbd_thread()
890 bytes_written); in fbd_thread()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp617 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; in fbd_thread() local
727 bytes_written = fwrite((const char *)pBuffer->pBuffer, in fbd_thread()
729 if (bytes_written < 0) { in fbd_thread()
734 bytes_written); in fbd_thread()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp141 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1664 int bytes_written = 0; in log_output_buffers() local
1669 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1675 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
7228 int bytes_written = 0; in dump_buffer() local
7232 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7234 if (bytes_written >0) in dump_buffer()
7235 bytes += bytes_written * width; in dump_buffer()
7240 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7242 if (bytes_written >0) in dump_buffer()
[all …]
Domx_vdec_hevc.cpp150 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5940 int bytes_written = 0; in fill_buffer_done() local
5942bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
5948bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
Domx_vdec_msm8974.cpp152 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1550 int bytes_written = 0; in log_output_buffers() local
1552 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1558 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()