/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 1566 int extra_idx = 0; local 1632 extra_idx = EXTRADATA_IDX(num_input_planes); 1634 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 1635 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; 1636 } else if (extra_idx >= VIDEO_MAX_PLANES) { 1637 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx); 1645 unsigned int extra_idx = 0; local 1687 extra_idx = EXTRADATA_IDX(num_output_planes); 1689 if (extra_idx 3445 unsigned int extra_idx; local 3681 int rc = 0, extra_idx; local 4041 int rc = 0, extra_idx, numBufs; local 4204 unsigned int extra_idx; local [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 392 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); local 393 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 394 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; 467 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); local 468 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 469 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; 1463 int extra_idx = 0; local 1524 extra_idx 1534 unsigned int extra_idx = 0; local 3182 unsigned int extra_idx; local 3375 int rc = 0, extra_idx; local 3826 unsigned int extra_idx; local [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc_swvdec.cpp | 4617 int extra_idx = 0; local 4627 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 4628 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 4629 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 4630 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 4632 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 4634 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 4635 plane[extra_idx].data_offset = 0; 4636 } else if (extra_idx > 5273 int extra_idx = 0; local 6416 int extra_idx = 0; local 8149 int extra_idx = 0; local 10028 int extra_idx = 0; local 10141 int extra_idx = 0; local [all...] |
H A D | omx_vdec_hevc.cpp | 3650 int extra_idx = 0; local 3828 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 3829 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 3830 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 3831 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 3833 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 3835 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 3836 plane[extra_idx].data_offset = 0; 3837 } else if (extra_idx > 4397 int extra_idx = 0; local 5344 int extra_idx = 0; local 7163 int extra_idx = 0; local [all...] |
H A D | omx_vdec_msm8974.cpp | 4726 int extra_idx = 0; local 4943 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 4944 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 4945 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 4946 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 4948 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 4950 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 4951 plane[extra_idx].data_offset = 0; 4952 } else if (extra_idx > 5554 int extra_idx = 0; local 6629 unsigned int extra_idx = 0; local 8737 int extra_idx = 0; local [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc_swvdec.cpp | 4814 int extra_idx = 0; local 4824 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 4825 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 4826 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 4827 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 4829 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 4831 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 4832 plane[extra_idx].data_offset = 0; 4833 } else if (extra_idx > 5475 int extra_idx = 0; local 6624 int extra_idx = 0; local 8364 int extra_idx = 0; local 10243 int extra_idx = 0; local 10357 int extra_idx = 0; local [all...] |
H A D | omx_vdec_hevc.cpp | 3629 int extra_idx = 0; local 3807 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 3808 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 3809 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 3810 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 3812 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 3814 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 3815 plane[extra_idx].data_offset = 0; 3816 } else if (extra_idx > 4376 int extra_idx = 0; local 5314 int extra_idx = 0; local 7127 int extra_idx = 0; local [all...] |
H A D | omx_vdec_v4l2.cpp | 5519 int extra_idx = 0; local 5740 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 5741 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 5742 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 5743 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 5745 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 5747 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 5748 plane[extra_idx].data_offset = 0; 5749 } else if (extra_idx > 6357 int extra_idx = 0; local 7395 unsigned int extra_idx = 0; local 8511 unsigned int extra_idx = EXTRADATA_IDX(omx->drv_ctx.num_planes); local 9622 int extra_idx = 0; local [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc_swvdec.cpp | 4814 int extra_idx = 0; local 4824 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 4825 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 4826 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 4827 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 4829 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 4831 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 4832 plane[extra_idx].data_offset = 0; 4833 } else if (extra_idx > 5475 int extra_idx = 0; local 6624 int extra_idx = 0; local 8364 int extra_idx = 0; local 10243 int extra_idx = 0; local 10357 int extra_idx = 0; local [all...] |
H A D | omx_vdec_hevc.cpp | 3629 int extra_idx = 0; local 3807 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 3808 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 3809 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 3810 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 3812 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 3814 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 3815 plane[extra_idx].data_offset = 0; 3816 } else if (extra_idx > 4376 int extra_idx = 0; local 5314 int extra_idx = 0; local 7127 int extra_idx = 0; local [all...] |
H A D | omx_vdec_v4l2.cpp | 5817 int extra_idx = 0; local 6038 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); 6039 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 6040 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 6041 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size); 6043 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; 6045 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; 6046 plane[extra_idx].data_offset = 0; 6047 } else if (extra_idx > 6664 int extra_idx = 0; local 7718 unsigned int extra_idx = 0; local 8830 unsigned int extra_idx = EXTRADATA_IDX(omx->drv_ctx.num_planes); local 10053 int extra_idx = 0; local [all...] |
/hardware/qcom/media/msm8996/videopp/src/ |
H A D | omx_vdpp.cpp | 109 int extra_idx = 0; local 161 extra_idx = EXTRADATA_IDX(omx->drv_ctx.output_num_planes); 162 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 165 vdpp_msg.msgdata.output_frame.len= v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].bytesused; 166 //DEBUG_PRINT_HIGH("async_message_thread 2.5 omx->drv_ctx.op_buf.buffer_size = %d, plane[0].bytesused = %d, plane[%d].bytesused = %d\n", omx->drv_ctx.op_buf.buffer_size, v4l2_buf.m.planes[0].bytesused, extra_idx, v4l2_buf.m.planes[extra_idx].bytesused); 198 extra_idx = EXTRADATA_IDX(omx->drv_ctx.input_num_planes); 199 if (extra_idx && (extra_idx < VIDEO_MAX_PLANE 3886 int extra_idx = 0; local 4855 int extra_idx = 0; local 5564 int extra_idx = 0; local 5781 int extra_idx = 0; local 6939 int extra_idx = 0; local [all...] |
/hardware/qcom/media/msm8998/videopp/src/ |
H A D | omx_vdpp.cpp | 109 int extra_idx = 0; local 161 extra_idx = EXTRADATA_IDX(omx->drv_ctx.output_num_planes); 162 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 165 vdpp_msg.msgdata.output_frame.len= v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].bytesused; 166 //DEBUG_PRINT_HIGH("async_message_thread 2.5 omx->drv_ctx.op_buf.buffer_size = %d, plane[0].bytesused = %d, plane[%d].bytesused = %d\n", omx->drv_ctx.op_buf.buffer_size, v4l2_buf.m.planes[0].bytesused, extra_idx, v4l2_buf.m.planes[extra_idx].bytesused); 198 extra_idx = EXTRADATA_IDX(omx->drv_ctx.input_num_planes); 199 if (extra_idx && (extra_idx < VIDEO_MAX_PLANE 3886 int extra_idx = 0; local 4855 int extra_idx = 0; local 5564 int extra_idx = 0; local 5781 int extra_idx = 0; local 6939 int extra_idx = 0; local [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 1241 unsigned int extra_idx = 0; local 1276 extra_idx = EXTRADATA_IDX(num_planes); 1278 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { 1279 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; 1280 } else if (extra_idx >= VIDEO_MAX_PLANES) { 1281 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); 2508 unsigned int extra_idx; local 2530 extra_idx = EXTRADATA_IDX(num_planes); 2532 if ((num_planes > 1) && (extra_idx)) { 2885 unsigned int extra_idx; local [all...] |