Searched refs:extra_idx (Results 1 – 6 of 6) sorted by relevance
397 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); in async_venc_message_thread() local398 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() local473 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() local1545 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 …]
109 int extra_idx = 0; in async_message_thread() local161 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() local4855 int extra_idx = 0; in allocate_output_buffer() local5564 int extra_idx = 0; in empty_this_buffer_proxy() local[all …]
4814 int extra_idx = 0; in use_output_buffer() local4824 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 …]
1241 unsigned int extra_idx = 0; in venc_get_buf_req() local1276 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() local2531 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 …]
3650 int extra_idx = 0; in use_output_buffer() local3828 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 …]
4727 int extra_idx = 0; in use_output_buffer() local4945 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 …]