Lines Matching refs:extra_idx

3886     int extra_idx = 0;
4084 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4085 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4086 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4087 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4089 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4091 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4092 plane[extra_idx].data_offset = 0;
4093 } else if (extra_idx >= VIDEO_MAX_PLANES) {
4094 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx);
4660 int extra_idx = 0;
4902 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4903 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4904 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4905 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4907 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4909 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4910 plane[extra_idx].data_offset = 0;
4911 } else if (extra_idx >= VIDEO_MAX_PLANES) {
4912 DEBUG_PRINT_ERROR("Extradata index higher than allowed: %d\n", extra_idx);
5678 int extra_idx = 0;
5691 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
5692 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
5693 plane[extra_idx].bytesused = 0;
5694 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
5695 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_ctx.extradata_info.buffer_size);
5697 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
5699 plane[extra_idx].reserved[1] = nPortIndex * drv_ctx.extradata_info.buffer_size;
5700 plane[extra_idx].data_offset = 0;
5701 } else if (extra_idx >= VIDEO_MAX_PLANES) {
5702 DEBUG_PRINT_ERROR("Extradata index higher than expected: %d\n", extra_idx);
5708 plane[0].reserved[0],plane[extra_idx].reserved[0], plane[extra_idx].reserved[1]);
7510 int extra_idx = 0;
7518 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
7519 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
7520 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
7521 } else if (extra_idx >= VIDEO_MAX_PLANES) {
7522 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d\n", extra_idx);