Home | History | Annotate | Download | only in src

Lines Matching refs:extra_idx

4297     int extra_idx = 0;
4500 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4501 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4502 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4503 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4505 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4507 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4508 plane[extra_idx].data_offset = 0;
4509 } else if (extra_idx >= VIDEO_MAX_PLANES) {
4510 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);
5081 int extra_idx = 0;
5326 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
5327 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
5328 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
5329 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
5331 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
5333 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
5334 plane[extra_idx].data_offset = 0;
5335 } else if (extra_idx >= VIDEO_MAX_PLANES) {
5336 DEBUG_PRINT_ERROR("Extradata index higher than allowed: %d", extra_idx);
6094 int extra_idx = 0;
6107 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
6108 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
6109 plane[extra_idx].bytesused = 0;
6110 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
6111 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_ctx.extradata_info.buffer_size);
6113 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
6115 plane[extra_idx].reserved[1] = nPortIndex * drv_ctx.extradata_info.buffer_size;
6116 plane[extra_idx].data_offset = 0;
6117 } else if (extra_idx >= VIDEO_MAX_PLANES) {
6118 DEBUG_PRINT_ERROR("Extradata index higher than expected: %d", extra_idx);
6124 plane[0].reserved[0],plane[extra_idx].reserved[0], plane[extra_idx].reserved[1]);
8167 int extra_idx = 0;
8175 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
8176 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
8177 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
8178 } else if (extra_idx >= VIDEO_MAX_PLANES) {
8179 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);