Searched refs:extra_idx (Results 1 – 9 of 9) sorted by relevance
1863 int extra_idx = 0; in venc_get_buf_req() local1927 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() local1994 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 …]
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 …]
2066 int extra_idx = 0; in venc_get_buf_req() local2158 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() local2235 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 …]
4617 int extra_idx = 0; in use_output_buffer() local4627 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 …]
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 …]
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 …]
5990 int extra_idx = 0; in use_output_buffer() local6212 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 …]
5473 unsigned int extra_idx = 0; in fill_this_buffer_proxy() local5486 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 …]