Home
last modified time | relevance | path

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

/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/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/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/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/msm8974/mm-video-v4l2/vidc/vdec/src/
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 …]