Home | History | Annotate | Download | only in src

Lines Matching refs:extra_idx

4617                 int extra_idx = 0;
4627 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4628 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4629 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4630 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4632 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4634 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4635 plane[extra_idx].data_offset = 0;
4636 } else if (extra_idx >= VIDEO_MAX_PLANES) {
4637 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);
5273 int extra_idx = 0;
5554 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
5555 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
5556 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
5557 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
5559 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
5561 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
5562 plane[extra_idx].data_offset = 0;
5563 } else if (extra_idx >= VIDEO_MAX_PLANES) {
5564 DEBUG_PRINT_ERROR("Extradata index higher than allowed: %d", extra_idx);
6416 int extra_idx = 0;
6429 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
6430 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
6431 plane[extra_idx].bytesused = 0;
6432 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
6433 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_ctx.extradata_info.buffer_size);
6435 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
6437 plane[extra_idx].reserved[1] = nPortIndex * drv_ctx.extradata_info.buffer_size;
6438 plane[extra_idx].data_offset = 0;
6439 } else if (extra_idx >= VIDEO_MAX_PLANES) {
6440 DEBUG_PRINT_ERROR("Extradata index higher than expected: %d", extra_idx);
8149 int extra_idx = 0;
8157 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
8158 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
8159 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
8160 } else if (extra_idx >= VIDEO_MAX_PLANES) {
8161 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);
10028 int extra_idx = 0;
10043 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
10044 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
10045 plane[extra_idx].bytesused = 0;
10046 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
10047 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + nPortIndex * drv_ctx.extradata_info.buffer_size);
10048 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
10049 plane[extra_idx].reserved[1] = nPortIndex * drv_ctx.extradata_info.buffer_size;
10050 plane[extra_idx].data_offset = 0;
10051 } else if (extra_idx >= VIDEO_MAX_PLANES) {
10052 DEBUG_PRINT_ERROR("Extradata index higher than expected: %d", extra_idx);
10141 int extra_idx = 0;
10269 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
10270 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
10271 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
10272 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr
10274 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
10275 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
10276 plane[extra_idx].data_offset = 0;
10277 } else if (extra_idx >= VIDEO_MAX_PLANES) {
10278 DEBUG_PRINT_ERROR("Extradata index higher than allowed: %d", extra_idx);