Home
last modified time | relevance | path

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

/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1881 int extra_idx = 0; in venc_get_buf_req() local
1945 extra_idx = EXTRADATA_IDX(num_input_planes); in venc_get_buf_req()
1947 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1948 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
1949 } else if (extra_idx >= VIDEO_MAX_PLANES) { in venc_get_buf_req()
1950 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx); in venc_get_buf_req()
1957 unsigned int extra_idx = 0; in venc_get_buf_req() local
2012 extra_idx = EXTRADATA_IDX(num_output_planes); in venc_get_buf_req()
2014 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
2015 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1683 int extra_idx = 0; in venc_get_buf_req() local
1750 extra_idx = EXTRADATA_IDX(num_input_planes); in venc_get_buf_req()
1752 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1753 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
1754 } else if (extra_idx >= VIDEO_MAX_PLANES) { in venc_get_buf_req()
1755 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx); in venc_get_buf_req()
1763 unsigned int extra_idx = 0; in venc_get_buf_req() local
1805 extra_idx = EXTRADATA_IDX(num_output_planes); in venc_get_buf_req()
1807 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1808 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/msm8996/videopp/src/
Domx_vdpp.cpp109 int extra_idx = 0; in async_message_thread() local
161 extra_idx = EXTRADATA_IDX(omx->drv_ctx.output_num_planes); in async_message_thread()
162 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in async_message_thread()
165 ….msgdata.output_frame.len= v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].bytesused; in async_message_thread()
198 extra_idx = EXTRADATA_IDX(omx->drv_ctx.input_num_planes); in async_message_thread()
199 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in async_message_thread()
200 …ata.output_frame.len=v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].bytesused; // u… in async_message_thread()
3886 int extra_idx = 0; in use_output_buffer() local
4855 int extra_idx = 0; in allocate_output_buffer() local
5564 int extra_idx = 0; in empty_this_buffer_proxy() local
[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 …]
Domx_vdec_hevc.cpp3629 int extra_idx = 0; in use_output_buffer() local
3807 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
3808 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
3809 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; 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()
3812 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
3814 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
3815 plane[extra_idx].data_offset = 0; in use_output_buffer()
3816 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
3817 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
Domx_vdec_v4l2.cpp5566 int extra_idx = 0; in use_output_buffer() local
5788 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in use_output_buffer()
5789 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in use_output_buffer()
5790 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; in use_output_buffer()
5791 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extra… in use_output_buffer()
5793 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd; in use_output_buffer()
5795 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size; in use_output_buffer()
5796 plane[extra_idx].data_offset = 0; in use_output_buffer()
5797 } else if (extra_idx >= VIDEO_MAX_PLANES) { in use_output_buffer()
5798 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in use_output_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1241 unsigned int extra_idx = 0; in venc_get_buf_req() local
1276 extra_idx = EXTRADATA_IDX(num_planes); in venc_get_buf_req()
1278 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_get_buf_req()
1279 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage; in venc_get_buf_req()
1280 } else if (extra_idx >= VIDEO_MAX_PLANES) { in venc_get_buf_req()
1281 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx); in venc_get_buf_req()
2509 unsigned int extra_idx; in venc_use_buf() local
2531 extra_idx = EXTRADATA_IDX(num_planes); in venc_use_buf()
2533 if ((num_planes > 1) && (extra_idx)) { in venc_use_buf()
2551 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in venc_use_buf()
[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 …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp7930 unsigned int extra_idx = 0; in fill_this_buffer_proxy() local
7943 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes); in fill_this_buffer_proxy()
7944 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) { in fill_this_buffer_proxy()
7945 plane[extra_idx].bytesused = 0; in fill_this_buffer_proxy()
7946 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size; in fill_this_buffer_proxy()
7947 …plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + bufIndex * drv_ct… in fill_this_buffer_proxy()
7949 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.data_fd; in fill_this_buffer_proxy()
7951 plane[extra_idx].reserved[1] = bufIndex * drv_ctx.extradata_info.buffer_size; in fill_this_buffer_proxy()
7952 plane[extra_idx].data_offset = 0; in fill_this_buffer_proxy()
7953 } else if (extra_idx >= VIDEO_MAX_PLANES) { in fill_this_buffer_proxy()
[all …]