Home
last modified time | relevance | path

Searched refs:userptr (Results 1 – 25 of 28) 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/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/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.cpp197 m_v4l2SrcPlanes[i].m.userptr = reinterpret_cast<unsigned long>(buffers[i]); in SetImageBuffer()
258 m_v4l2SrcPlanes[i].m.userptr = reinterpret_cast<unsigned long>(buffers[ibuf]); in SetImageBuffer2()
302 m_v4l2DstPlanes[0].m.userptr = reinterpret_cast<unsigned long>(buffer); in SetJpegBuffer()
326 m_v4l2DstPlanes[1].m.userptr = reinterpret_cast<unsigned long>(buffer); in SetJpegBuffer2()
691 buffers[i] = reinterpret_cast<char *>(m_v4l2SrcBuffer.m.planes[i].m.userptr); in GetImageBuffers()
718 *buffer = reinterpret_cast<char *>(m_v4l2DstBuffer.m.planes[0].m.userptr); in GetJpegBuffer()
839 m_v4l2DstBuffer.m.userptr = reinterpret_cast<unsigned long>(buffer); in SetImageBuffer()
921 buf.m.userptr = reinterpret_cast<unsigned long>(buffer); in QBufAndWait()
DLibScalerForJpeg.cpp208 buffer.m.planes[i].m.userptr = reinterpret_cast<unsigned long>(buf[i]); in queueBuffer()
/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/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2554 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
2568 plane[0].m.userptr = index; in venc_empty_buf()
2918 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
2926 plane[0].m.userptr = (unsigned long) bufhdr->pBuffer; in venc_empty_buf()
2997 plane[extra_idx].m.userptr = (unsigned long)input_extradata_info.ion[index].uaddr; in venc_empty_buf()
3043 (OMX_U64)input_extradata_info.ion[index].uaddr, (unsigned int)plane[index].m.userptr); in venc_empty_buf()
3044 venc_extradata_log_buffers((char *)plane[extra_idx].m.userptr, index, true); in venc_empty_buf()
3108 plane[0].m.userptr = index; in venc_empty_batch()
3163 plane[0].m.userptr = (unsigned long)meta_buf; in venc_empty_batch()
3176 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/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/msm8x84/kernel-headers/linux/
Dvideodev2.h457 unsigned long userptr; member
480 unsigned long userptr; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dvideodev2.h459 unsigned long userptr; member
481 unsigned long userptr; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dvideodev2.h623 unsigned long userptr; member
675 unsigned long userptr; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dvideodev2.h626 unsigned long userptr; member
678 unsigned long userptr; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dvideodev2.h399 unsigned long userptr; member
417 unsigned long userptr; member
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.cpp638 device_buffer.m.userptr = reinterpret_cast<unsigned long>(data); in EnqueueRequest()
/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/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 …]
/hardware/qcom/msm8960/kernel-headers/linux/
Dvideodev2.h451 unsigned long userptr; member
472 unsigned long userptr; member
/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()

12