Home
last modified time | relevance | path

Searched refs:userptr (Results 1 – 25 of 33) sorted by relevance

12

/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h285 int __get(char **userptr, int *fd, unsigned *offset, ssize_t *size, int type);
295 OMX_ERRORTYPE get(char **userptr, int *fd, unsigned *offset, ssize_t *size);
297 OMX_ERRORTYPE get(void *cookie, char **userptr, int *fd, unsigned *offset, ssize_t *size);
299 OMX_ERRORTYPE put(char *userptr);
301 OMX_ERRORTYPE getForConfig(char **userptr, int *fd, unsigned *offset, ssize_t *size);
303 OMX_ERRORTYPE peek(unsigned index, char **userptr, int *fd, unsigned* offset, ssize_t *size);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp399 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; in async_venc_message_thread()
474 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; in async_venc_message_thread()
622 char *userptr; in handle_input_extradata() local
652 int rc = mInputExtradata.get(buffer, &userptr, &extra_fd, &offset, &extra_size); in handle_input_extradata()
662 char *p_extradata = userptr; in handle_input_extradata()
723 mInputExtradata.put(userptr); in handle_input_extradata()
745 mInputExtradata.put(userptr); in handle_input_extradata()
3222 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
3230 char *userptr; in venc_use_buf() local
3234 int rc = mOutputExtradata.peek(index, &userptr, &fd, &offset, &size); in venc_use_buf()
[all …]
/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-v4l2.cpp253 m_v4l2SrcPlanes[i].m.userptr = reinterpret_cast<unsigned long>(buffers[i]); in SetImageBuffer()
312 m_v4l2SrcPlanes[i].m.userptr = reinterpret_cast<unsigned long>(buffers[ibuf]); in SetImageBuffer2()
354 m_v4l2DstPlanes[0].m.userptr = reinterpret_cast<unsigned long>(buffer); in SetJpegBuffer()
376 m_v4l2DstPlanes[1].m.userptr = reinterpret_cast<unsigned long>(buffer); in SetJpegBuffer2()
719 buffers[i] = reinterpret_cast<char *>(m_v4l2SrcBuffer.m.planes[i].m.userptr); in GetImageBuffers()
744 *buffer = reinterpret_cast<char *>(m_v4l2DstBuffer.m.planes[0].m.userptr); in GetJpegBuffer()
854 m_v4l2DstBuffer.m.userptr = reinterpret_cast<unsigned long>(buffer); in SetImageBuffer()
930 buf.m.userptr = reinterpret_cast<unsigned long>(buffer); in QBufAndWait()
DLibScalerForJpeg.cpp193 buffer.m.planes[i].m.userptr = reinterpret_cast<unsigned long>(buf[i]); in queueBuffer()
/hardware/google/graphics/common/libscaler/
Dm2m1shot.h51 unsigned long userptr; member
Dlibscaler-m2m1shot.cpp207 buf.plane[i].userptr = reinterpret_cast<unsigned long>(addr[i]); in SetAddr()
250 addr[i] = reinterpret_cast<char *>(buf.plane[i].userptr); in GetBuffer()
Dlibscaler-v4l2.cpp383 planes[i].m.userptr = reinterpret_cast<unsigned long>(frm.addr[i]); in QBuf()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h170 v4l2->m.planes[0].m.userptr, v4l2->m.planes[0].reserved[MSM_VIDC_BUFFER_FD], in print_v4l2_buffer()
178 v4l2->m.planes[0].m.userptr, v4l2->m.planes[0].reserved[MSM_VIDC_BUFFER_FD], in print_v4l2_buffer()
/hardware/google/graphics/common/libacryl/local_include/uapi/
Dg2d.h223 void *userptr; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp1453 plane.m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
1480 plane.m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
1589 plane.m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
1594 plane.m.userptr = (unsigned long)bufhdr->pBuffer; in venc_empty_buf()
1671 plane.m.userptr = (unsigned long)pmem_data_buf; in venc_fill_buf()
1676 plane.m.userptr = (unsigned long)bufhdr->pBuffer; in venc_fill_buf()
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Dxe_drm.h562 __u64 userptr; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2572 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
2586 plane[0].m.userptr = index; in venc_empty_buf()
2945 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
2953 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
3024 plane[extra_idx].m.userptr = (unsigned long)input_extradata_info.ion[index].uaddr; in venc_empty_buf()
3070 (OMX_U64)input_extradata_info.ion[index].uaddr, (unsigned int)plane[index].m.userptr); in venc_empty_buf()
3071 venc_extradata_log_buffers((char *)plane[extra_idx].m.userptr, index, true); in venc_empty_buf()
3135 plane[0].m.userptr = index; in venc_empty_batch()
3190 plane[0].m.userptr = (unsigned long)meta_buf; in venc_empty_batch()
3203 plane[extra_idx].m.userptr = (unsigned long)input_extradata_info.ion[v4l2Id].uaddr; in venc_empty_batch()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp246 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp3626 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
3640 …plane[extra_idx].m.userptr = (unsigned long) (input_extradata_info.uaddr + extradata_index * input… in venc_use_buf()
3653 pmem_tmp->fd, plane[0].length, plane[0].m.userptr); in venc_use_buf()
3672 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
3681 …plane[extra_idx].m.userptr = (unsigned long) (output_extradata_info.uaddr + index * output_extrada… in venc_use_buf()
3865 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
3879 plane[0].m.userptr = index; in venc_empty_buf()
4116 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
4124 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
4144 …plane[extra_idx].m.userptr = (unsigned long) (input_extradata_info.uaddr + extradata_index * input… in venc_empty_buf()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp4201 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
4215 plane[0].m.userptr = index; in venc_empty_buf()
4561 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
4569 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
4601 …plane[extra_idx].m.userptr = (unsigned long) (input_extradata_info.uaddr + extradata_index * input… in venc_empty_buf()
4646 …uffer Addr = 0x%x", (OMX_U64)input_extradata_info.uaddr, (unsigned int)plane[extra_idx].m.userptr); in venc_empty_buf()
4647 venc_extradata_log_buffers((char *)plane[extra_idx].m.userptr, true); in venc_empty_buf()
4715 plane[0].m.userptr = index; in venc_empty_batch()
4770 plane[0].m.userptr = (unsigned long)meta_buf; in venc_empty_batch()
4789 …plane[extra_idx].m.userptr = (unsigned long) (input_extradata_info.uaddr + extradata_index * input… in venc_empty_batch()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2519 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
2544 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
2553 …plane[extra_idx].m.userptr = (unsigned long) (extradata_info.uaddr + index * extradata_info.buffer… in venc_use_buf()
2712 plane.m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
2726 plane.m.userptr = index; in venc_empty_buf()
2897 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_fill_buf()
2900 plane[0].m.userptr = (unsigned long)bufhdr->pBuffer; in venc_fill_buf()
2919 …plane[extra_idx].m.userptr = (unsigned long) (extradata_info.uaddr + index * extradata_info.buffer… in venc_fill_buf()
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.cpp638 device_buffer.m.userptr = reinterpret_cast<unsigned long>(data); in EnqueueRequest()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp160 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
4819 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
4827 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
5399 plane.m.userptr = (unsigned long)drv_ctx.ptr_inputbuffer[i].bufferaddr; in allocate_input_buffer()
5751 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in allocate_output_buffer()
5761 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in allocate_output_buffer()
6395 plane.m.userptr = (unsigned long)temp_buffer->bufferaddr - in empty_this_buffer_proxy()
6631 plane[0].m.userptr = in fill_this_buffer_proxy()
6641 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_… in fill_this_buffer_proxy()
10250 plane[0].m.userptr = in fill_this_buffer_proxy_dsp()
[all …]
Domx_vdec_hevc.cpp169 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
3802 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
3810 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
4309 plane.m.userptr = (unsigned long)drv_ctx.ptr_inputbuffer[i].bufferaddr; in allocate_input_buffer()
4612 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in allocate_output_buffer()
4622 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in allocate_output_buffer()
5156 plane.m.userptr = (unsigned long)temp_buffer->bufferaddr - in empty_this_buffer_proxy()
5321 plane[0].m.userptr = in fill_this_buffer_proxy()
5331 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_… in fill_this_buffer_proxy()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp165 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
4622 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
4630 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
5199 plane.m.userptr = (unsigned long)drv_ctx.ptr_inputbuffer[i].bufferaddr; in allocate_input_buffer()
5547 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in allocate_output_buffer()
5557 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in allocate_output_buffer()
6190 plane.m.userptr = (unsigned long)temp_buffer->bufferaddr - in empty_this_buffer_proxy()
6423 plane[0].m.userptr = in fill_this_buffer_proxy()
6433 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_… in fill_this_buffer_proxy()
10035 plane[0].m.userptr = in fill_this_buffer_proxy_dsp()
[all …]
Domx_vdec_hevc.cpp173 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
3823 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
3831 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
4330 plane.m.userptr = (unsigned long)drv_ctx.ptr_inputbuffer[i].bufferaddr; in allocate_input_buffer()
4633 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in allocate_output_buffer()
4643 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in allocate_output_buffer()
5186 plane.m.userptr = (unsigned long)temp_buffer->bufferaddr - in empty_this_buffer_proxy()
5351 plane[0].m.userptr = in fill_this_buffer_proxy()
5361 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_… in fill_this_buffer_proxy()
Domx_vdec_msm8974.cpp176 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
4940 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
4948 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
5483 plane.m.userptr = (unsigned long)drv_ctx.ptr_inputbuffer[i].bufferaddr; in allocate_input_buffer()
5817 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in allocate_output_buffer()
5827 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in allocate_output_buffer()
6392 plane.m.userptr = (unsigned long)temp_buffer->bufferaddr - in empty_this_buffer_proxy()
6656 plane[0].m.userptr = in fill_this_buffer_proxy()
6666 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_… in fill_this_buffer_proxy()
/hardware/google/graphics/common/libacryl/
Dacrylic_g2d.cpp401 i, layer.buffer[i].userptr, in show_g2d_layer()
685 image.buffer[i].userptr = layer.getUserptr(i); in prepareImage()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp290 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
295 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp172 vdpp_msg.msgdata.output_frame.bufferaddr=(void*)v4l2_buf.m.planes[0].m.userptr; in async_message_thread()
329 vdpp_msg.msgdata.output_frame.bufferaddr=(void*)v4l2_buf.m.userptr; in async_message_thread()
5596 plane[0].m.userptr = temp_buffer->pmem_fd; in empty_this_buffer_proxy()
5608 plane[extra_idx].m.userptr = temp_buffer->pmem_fd; in empty_this_buffer_proxy()
5798 plane[0].m.userptr = drv_ctx.ptr_outputbuffer[nPortIndex].pmem_fd; in fill_this_buffer_proxy()
5808 plane[extra_idx].m.userptr = drv_ctx.ptr_outputbuffer[nPortIndex].pmem_fd; in fill_this_buffer_proxy()

12