Home
last modified time | relevance | path

Searched refs:extra_idx (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1863 int extra_idx = 0; in venc_get_buf_req() local
1927 extra_idx = EXTRADATA_IDX(num_input_planes); in venc_get_buf_req()
1929 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1930 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
1931 } else if (extra_idx >= VIDEO_MAX_PLANES) { in venc_get_buf_req()
1932 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx); in venc_get_buf_req()
1939 unsigned int extra_idx = 0; in venc_get_buf_req() local
1994 extra_idx = EXTRADATA_IDX(num_output_planes); in venc_get_buf_req()
1996 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1997 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp397 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); in async_venc_message_thread() local
398 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in async_venc_message_thread()
399 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; in async_venc_message_thread()
472 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); in async_venc_message_thread() local
473 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in async_venc_message_thread()
474 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; in async_venc_message_thread()
1484 int extra_idx = 0; in venc_get_buf_req() local
1545 extra_idx = EXTRADATA_IDX(num_input_planes); in venc_get_buf_req()
1547 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1548 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2066 int extra_idx = 0; in venc_get_buf_req() local
2158 extra_idx = EXTRADATA_IDX(num_input_planes); in venc_get_buf_req()
2160 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
2161 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
2162 } else if (extra_idx >= VIDEO_MAX_PLANES) { in venc_get_buf_req()
2163 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx); in venc_get_buf_req()
2171 unsigned int extra_idx = 0; in venc_get_buf_req() local
2235 extra_idx = EXTRADATA_IDX(num_output_planes); in venc_get_buf_req()
2237 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
2238 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp4617 int extra_idx = 0; in use_output_buffer() local
4627 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
4628 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
4629 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 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()
4632 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
4634 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
4635 plane[extra_idx].data_offset = 0; in use_output_buffer()
4636 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
4637 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
Domx_vdec_hevc.cpp3650 int extra_idx = 0; in use_output_buffer() local
3828 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
3829 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
3830 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 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()
3833 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
3835 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
3836 plane[extra_idx].data_offset = 0; in use_output_buffer()
3837 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
3838 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
Domx_vdec_msm8974.cpp4727 int extra_idx = 0; in use_output_buffer() local
4945 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
4946 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
4947 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 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()
4950 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
4952 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
4953 plane[extra_idx].data_offset = 0; in use_output_buffer()
4954 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
4955 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp4814 int extra_idx = 0; in use_output_buffer() local
4824 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
4825 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
4826 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 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()
4829 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
4831 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
4832 plane[extra_idx].data_offset = 0; in use_output_buffer()
4833 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
4834 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp5990 int extra_idx = 0; in use_output_buffer() local
6212 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
6213 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
6214 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; in use_output_buffer()
6215 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
6217 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
6219 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
6220 plane[extra_idx].data_offset = 0; in use_output_buffer()
6221 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
6222 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp5473 unsigned int extra_idx = 0; in fill_this_buffer_proxy() local
5486 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in fill_this_buffer_proxy()
5487 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in fill_this_buffer_proxy()
5488 plane[extra_idx].bytesused = drv_ctx.extradata_info.buffer_size; in fill_this_buffer_proxy()
5489 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; in fill_this_buffer_proxy()
5490 plane[extra_idx].m.userptr = (long unsigned int)drv_ctx.extradata_info.ion[bufIndex].uaddr; in fill_this_buffer_proxy()
5492 … plane[extra_idx].reserved[MSM_VIDC_BUFFER_FD] = drv_ctx.extradata_info.ion[bufIndex].data_fd; in fill_this_buffer_proxy()
5494 plane[extra_idx].reserved[MSM_VIDC_DATA_OFFSET] = 0; in fill_this_buffer_proxy()
5495 plane[extra_idx].data_offset = 0; in fill_this_buffer_proxy()
5496 } else if (extra_idx >= VIDEO_MAX_PLANES) { in fill_this_buffer_proxy()
[all …]