Home | History | Annotate | Download | only in src

Lines Matching refs:extra_idx

3650     int extra_idx = 0;
3828 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
3829 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
3830 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
3831 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
3833 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
3835 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
3836 plane[extra_idx].data_offset = 0;
3837 } else if (extra_idx >= VIDEO_MAX_PLANES) {
3838 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);
4397 int extra_idx = 0;
4640 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4641 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4642 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4643 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4645 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4647 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4648 plane[extra_idx].data_offset = 0;
4649 } else if (extra_idx >= VIDEO_MAX_PLANES) {
4650 DEBUG_PRINT_ERROR("Extradata index higher than allowed: %d", extra_idx);
5344 int extra_idx = 0;
5357 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
5358 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
5359 plane[extra_idx].bytesused = 0;
5360 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
5361 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_ctx.extradata_info.buffer_size);
5363 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
5365 plane[extra_idx].reserved[1] = nPortIndex * drv_ctx.extradata_info.buffer_size;
5366 plane[extra_idx].data_offset = 0;
5367 } else if (extra_idx >= VIDEO_MAX_PLANES) {
5368 DEBUG_PRINT_ERROR("Extradata index higher than expected: %d", extra_idx);
7163 int extra_idx = 0;
7166 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
7167 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
7168 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
7169 } else if (extra_idx >= VIDEO_MAX_PLANES) {
7170 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);