Searched defs:bytes_written (Results 1 - 16 of 16) sorted by relevance

/hardware/interfaces/bluetooth/1.0/default/test/
H A Dbluetooth_address_test.cc63 size_t bytes_written = write(fd, string, length); local
65 EXPECT_EQ(length, bytes_written) << strerror(errno);
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dring_buffer.cpp158 unsigned int bytes_written = 0; // bytes written into rb so far local
229 while (bytes_written < length) {
246 (length - bytes_written));
287 (buf + bytes_written),
319 bytes_written += cur_copy_len;
323 rbc->total_bytes_written += bytes_written - total_push_in_rd_ptr;
/hardware/intel/common/libmix/mix_audio/src/
H A Dmixaudio.h212 guint64 bytes_written; member in struct:_MixAudio
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp388 int bytes_written; local
559 bytes_written = mproxyRecordingHandle->sync_ptr->c.control.appl_ptr - mproxyRecordingHandle->sync_ptr->s.status.hw_ptr;
560 if ((bytes_written >= mproxyRecordingHandle->sw_p->start_threshold) && (!mproxyRecordingHandle->start)) {
775 int bytes_written; local
1008 bytes_written = musbPlaybackHandle->sync_ptr->c.control.appl_ptr - musbPlaybackHandle->sync_ptr->s.status.hw_ptr;
1009 ALOGE("Appl ptr %d , hw_ptr %d, difference %d",musbPlaybackHandle->sync_ptr->c.control.appl_ptr, musbPlaybackHandle->sync_ptr->s.status.hw_ptr, bytes_written);
1016 if (bytes_written <= usbPeriod && musbPlaybackHandle->start) {
1022 if ((bytes_written >= musbPlaybackHandle->sw_p->start_threshold) && (!musbPlaybackHandle->start)) {
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_pcm.c526 int bytes_written; local
550 bytes_written = pcm->sync_ptr->c.control.appl_ptr - pcm->sync_ptr->s.status.hw_ptr;
551 if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_swvenc_hevc.cpp1168 int bytes_written = 0; local
1172 bytes_written = fwrite(temp, width, 1, pFile);
1174 if (bytes_written >0)
1175 bytes += bytes_written * width;
1180 bytes_written = fwrite(temp, width, 1, pFile);
1182 if (bytes_written >0)
1183 bytes += bytes_written * width;
1186 DEBUG_PRINT_ERROR("stride %d, scanlines %d, frame_height %d bytes_written %d",
/hardware/qcom/media/msm8996/videopp/src/
H A Domx_vdpp.cpp301 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
5535 int bytes_written = 0; local
5537 bytes_written = write(inputBufferFile, temp, drv_ctx.video_resolution_input.frame_width);
5543 bytes_written += write(inputBufferFile, temp, drv_ctx.video_resolution_input.frame_width);
6325 int bytes_written = 0; local
6327 bytes_written = write(outputBufferFile, temp, drv_ctx.video_resolution_output.frame_width);
6333 bytes_written += write(outputBufferFile, temp, drv_ctx.video_resolution_output.frame_width);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
H A Domx_vdec_test.cpp617 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; local
727 bytes_written = fwrite((const char *)pBuffer->pBuffer,
729 if (bytes_written < 0) {
734 bytes_written);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp150 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
5940 int bytes_written = 0; local
5942 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1);
5948 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1);
H A Domx_vdec_hevc_swvdec.cpp141 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
1664 int bytes_written = 0; local
1669 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
1675 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
7228 int bytes_written = 0; local
7232 bytes_written = fwrite(temp, width, 1, pFile);
7234 if (bytes_written >0)
7235 bytes += bytes_written * width;
7240 bytes_written = fwrite(temp, width, 1, pFile);
7242 if (bytes_written >
[all...]
H A Domx_vdec_msm8974.cpp152 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
1551 int bytes_written = 0; local
1553 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
1559 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
H A Domx_vdec_test.cpp739 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; local
847 bytes_written = 0;
865 bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile);
874 bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile);
883 bytes_written = fwrite_helper((const char *)pBuffer->pBuffer,
886 if (bytes_written < 0) {
890 bytes_written);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp146 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
5904 int bytes_written = 0; local
5906 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1);
5912 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1);
H A Domx_vdec_hevc_swvdec.cpp135 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
1681 int bytes_written = 0; local
1686 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
1692 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
7443 int bytes_written = 0; local
7447 bytes_written = fwrite(temp, width, 1, pFile);
7449 if (bytes_written >0)
7450 bytes += bytes_written * width;
7455 bytes_written = fwrite(temp, width, 1, pFile);
7457 if (bytes_written >
[all...]
H A Domx_vdec_v4l2.cpp166 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
1935 int bytes_written = 0; local
1951 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file);
1957 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file);
1974 int bytes_written = 0; local
1976 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
1982 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp181 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; local
2139 int bytes_written = 0; local
2155 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file);
2161 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file);
2178 int bytes_written = 0; local
2180 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);
2186 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile);

Completed in 366 milliseconds