/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 229 memset(&extradata_info, 0, sizeof(extradata_info)); in venc_dev() 525 if (!extradata_info.uaddr) { in handle_extradata() 533 if (extradata_info.buffer_size > in handle_extradata() 548 extradata_info.uaddr + index * extradata_info.buffer_size); in handle_extradata() 620 if (extradata_info.allocated) { in allocate_extradata() 627 if (extradata_info.buffer_size) { in allocate_extradata() 628 if (extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 629 munmap((void *)extradata_info.uaddr, extradata_info.size); in allocate_extradata() 630 close(extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 631 venc_handle->free_ion_memory(&extradata_info.ion); in allocate_extradata() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1165 OMX_ERRORTYPE venc_dev::allocate_extradata(struct extradata_buffer_info *extradata_info, int flags) in allocate_extradata() argument 1167 if (extradata_info->allocated) in allocate_extradata() 1170 if (!extradata_info->buffer_size || !extradata_info->count) { in allocate_extradata() 1172 extradata_info->buffer_size, extradata_info->count, extradata_info->port_index); in allocate_extradata() 1178 for (int i = 0; i < extradata_info->count; i++) { in allocate_extradata() 1179 if (extradata_info->ion[i].data_fd != -1) { in allocate_extradata() 1180 venc_handle->ion_unmap(extradata_info->ion[i].data_fd, in allocate_extradata() 1181 (void *)extradata_info->ion[i].uaddr, extradata_info->buffer_size); in allocate_extradata() 1182 venc_handle->free_ion_memory(&extradata_info->ion[i]); in allocate_extradata() 1189 extradata_info->buffer_size, &extradata_info->ion[i], flags); in allocate_extradata() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 587 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 3568 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 3569 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 3570 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 3571 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 3572 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() 3574 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() 3575 DEBUG_PRINT_HIGH("allocate extradata memory size %d", drv_ctx.extradata_info.size); in allocate_extradata() 3576 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 3577 drv_ctx.extradata_info.size, 4096, in allocate_extradata() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 675 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 4512 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 4513 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 4514 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 4515 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 4516 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() 4518 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() 4519 DEBUG_PRINT_HIGH("allocate extradata memory size %d", drv_ctx.extradata_info.size); in allocate_extradata() 4526 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 4527 drv_ctx.extradata_info.size, 4096, in allocate_extradata() [all …]
|
D | omx_vdec_v4l2.cpp | 658 drv_ctx.extradata_info.ion.fd_ion_data.fd = -1; in omx_vdec() 758 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 4064 … drv_ctx.extradata_info.count = drv_ctx.op_buf.actualcount; in set_parameter() 4065 … drv_ctx.extradata_info.size = drv_ctx.extradata_info.count * in set_parameter() 4066 drv_ctx.extradata_info.buffer_size; in set_parameter() 5496 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 5497 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 5498 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 5499 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 5500 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 592 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 3589 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 3590 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 3591 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 3592 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 3593 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() 3595 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() 3596 DEBUG_PRINT_HIGH("allocate extradata memory size %d", drv_ctx.extradata_info.size); in allocate_extradata() 3597 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 3598 drv_ctx.extradata_info.size, 4096, in allocate_extradata() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 667 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 4319 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 4320 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 4321 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 4322 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 4323 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() 4325 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() 4326 DEBUG_PRINT_HIGH("allocate extradata memory size %d", drv_ctx.extradata_info.size); in allocate_extradata() 4331 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 4332 drv_ctx.extradata_info.size, 4096, in allocate_extradata() [all …]
|
D | omx_vdec_msm8974.cpp | 684 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 3438 … drv_ctx.extradata_info.count = drv_ctx.op_buf.actualcount; in set_parameter() 3439 … drv_ctx.extradata_info.size = drv_ctx.extradata_info.count * in set_parameter() 3440 drv_ctx.extradata_info.buffer_size; in set_parameter() 4657 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 4658 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 4659 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 4660 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 4661 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() 4663 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 992 OMX_ERRORTYPE venc_dev::allocate_extradata(struct extradata_buffer_info *extradata_info, int flags) in allocate_extradata() argument 994 if (extradata_info->allocated) { in allocate_extradata() 995 DEBUG_PRINT_HIGH("2nd allocation return for port = %d",extradata_info->port_index); in allocate_extradata() 1001 if (extradata_info->buffer_size) { in allocate_extradata() 1002 if (extradata_info->ion.ion_alloc_data.handle) { in allocate_extradata() 1003 munmap((void *)extradata_info->uaddr, extradata_info->size); in allocate_extradata() 1004 close(extradata_info->ion.fd_ion_data.fd); in allocate_extradata() 1005 venc_handle->free_ion_memory(&extradata_info->ion); in allocate_extradata() 1008 extradata_info->size = (extradata_info->size + 4095) & (~4095); in allocate_extradata() 1010 extradata_info->ion.ion_device_fd = venc_handle->alloc_map_ion_memory( in allocate_extradata() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 677 drv_ctx.extradata_info.ion.fd_ion_data.fd = -1; in omx_vdec() 787 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 5921 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 5922 if (drv_ctx.extradata_info.ion.ion_alloc_data.handle) { in allocate_extradata() 5923 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size); in allocate_extradata() 5924 close(drv_ctx.extradata_info.ion.fd_ion_data.fd); in allocate_extradata() 5925 free_ion_memory(&drv_ctx.extradata_info.ion); in allocate_extradata() 5927 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() 5928 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 5929 drv_ctx.extradata_info.size, 4096, in allocate_extradata() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1310 OMX_ERRORTYPE venc_dev::allocate_extradata(struct extradata_buffer_info *extradata_info, int flags) in allocate_extradata() argument 1312 if (extradata_info->allocated) { in allocate_extradata() 1313 DEBUG_PRINT_HIGH("2nd allocation return for port = %d",extradata_info->port_index); in allocate_extradata() 1319 if (extradata_info->buffer_size) { in allocate_extradata() 1320 if (extradata_info->ion.data_fd != -1) { in allocate_extradata() 1321 …venc_handle->ion_unmap(extradata_info->ion.data_fd, (void *)extradata_info->uaddr, extradata_info-… in allocate_extradata() 1322 venc_handle->free_ion_memory(&extradata_info->ion); in allocate_extradata() 1324 extradata_info->size = (extradata_info->size + 4095) & (~4095); in allocate_extradata() 1330 extradata_info->size, &extradata_info->ion, flags); in allocate_extradata() 1337 extradata_info->uaddr = (char *)venc_handle->ion_map(extradata_info->ion.data_fd, in allocate_extradata() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 601 drv_ctx.extradata_info.ion[i].data_fd = -1; in omx_vdec() 602 drv_ctx.extradata_info.ion[i].dev_fd = -1; in omx_vdec() 3551 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 3555 for (int i = 0; i < drv_ctx.extradata_info.count; i++) { in allocate_extradata() 3556 … drv_ctx.extradata_info.buffer_size = (drv_ctx.extradata_info.buffer_size + 4095) & (~4095); in allocate_extradata() 3559 drv_ctx.extradata_info.buffer_size, &drv_ctx.extradata_info.ion[i], 0); in allocate_extradata() 3565 drv_ctx.extradata_info.buffer_size, drv_ctx.extradata_info.ion[i].data_fd); in allocate_extradata() 3566 drv_ctx.extradata_info.ion[i].uaddr = ion_map(drv_ctx.extradata_info.ion[i].data_fd, in allocate_extradata() 3567 drv_ctx.extradata_info.buffer_size); in allocate_extradata() 3568 if (drv_ctx.extradata_info.ion[i].uaddr == MAP_FAILED) { in allocate_extradata() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 372 OMX_ERRORTYPE allocate_extradata(struct extradata_buffer_info *extradata_info, int flags); 374 void free_extradata(struct extradata_buffer_info *extradata_info);
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 414 OMX_ERRORTYPE allocate_extradata(struct extradata_buffer_info *extradata_info, int flags); 416 void free_extradata(struct extradata_buffer_info *extradata_info);
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 467 OMX_ERRORTYPE allocate_extradata(struct extradata_buffer_info *extradata_info, int flags); 469 void free_extradata(struct extradata_buffer_info *extradata_info);
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 772 drv_ctx.extradata_info.ion.data_fd = -1; in omx_vdec() 773 drv_ctx.extradata_info.ion.dev_fd = -1; in omx_vdec() 5878 if (drv_ctx.extradata_info.buffer_size) { in allocate_extradata() 5879 if (drv_ctx.extradata_info.ion.data_fd >= 0) { in allocate_extradata() 5883 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095); in allocate_extradata() 5886 drv_ctx.extradata_info.size, &drv_ctx.extradata_info.ion, 0); in allocate_extradata() 5892 drv_ctx.extradata_info.size, drv_ctx.extradata_info.ion.data_fd); in allocate_extradata() 5893 drv_ctx.extradata_info.uaddr = ion_map(drv_ctx.extradata_info.ion.data_fd, in allocate_extradata() 5894 drv_ctx.extradata_info.size); in allocate_extradata() 5895 if (drv_ctx.extradata_info.uaddr == MAP_FAILED) { in allocate_extradata() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 297 struct extradata_buffer_info extradata_info; member 333 struct extradata_info { struct 487 struct extradata_info m_extradata_info;
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 436 struct extradata_buffer_info extradata_info; variable
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 494 struct extradata_buffer_info extradata_info; member 534 struct extradata_info { struct 709 struct extradata_info m_extradata_info;
|
/hardware/qcom/media/msm8996/videopp/inc/ |
D | omx_vdpp.h | 372 struct extradata_buffer_info extradata_info; member
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec_hevc.h | 251 struct extradata_buffer_info extradata_info; member
|
D | omx_vdec_hevc_swvdec.h | 281 struct extradata_buffer_info extradata_info; member
|
D | omx_vdec.h | 294 struct extradata_buffer_info extradata_info; member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec_hevc.h | 250 struct extradata_buffer_info extradata_info; member
|
D | omx_vdec.h | 286 struct extradata_buffer_info extradata_info; member
|