Searched defs:extra_idx (Results 1 - 9 of 9) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp1240 unsigned int extra_idx = 0; local
1275 extra_idx = EXTRADATA_IDX(num_planes);
1277 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
1278 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
1279 } else if (extra_idx >= VIDEO_MAX_PLANES) {
1280 DEBUG_PRINT_ERROR("Extradata index is more than allowed: %d", extra_idx);
2459 unsigned int extra_idx; local
2481 extra_idx = EXTRADATA_IDX(num_planes);
2483 if ((num_planes > 1) && (extra_idx)) {
2836 unsigned int extra_idx; local
[all...]
/hardware/qcom/media/msm8996/videopp/src/
H A Domx_vdpp.cpp109 int extra_idx = 0; local
161 extra_idx = EXTRADATA_IDX(omx->drv_ctx.output_num_planes);
162 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
165 vdpp_msg.msgdata.output_frame.len= v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].bytesused;
166 //DEBUG_PRINT_HIGH("async_message_thread 2.5 omx->drv_ctx.op_buf.buffer_size = %d, plane[0].bytesused = %d, plane[%d].bytesused = %d\n", omx->drv_ctx.op_buf.buffer_size, v4l2_buf.m.planes[0].bytesused, extra_idx, v4l2_buf.m.planes[extra_idx].bytesused);
198 extra_idx = EXTRADATA_IDX(omx->drv_ctx.input_num_planes);
199 if (extra_idx && (extra_idx < VIDEO_MAX_PLANE
3886 int extra_idx = 0; local
4855 int extra_idx = 0; local
5564 int extra_idx = 0; local
5781 int extra_idx = 0; local
6939 int extra_idx = 0; local
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp3650 int extra_idx = 0; local
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 >
4397 int extra_idx = 0; local
5344 int extra_idx = 0; local
7163 int extra_idx = 0; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp4617 int extra_idx = 0; local
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 >
5273 int extra_idx = 0; local
6416 int extra_idx = 0; local
8149 int extra_idx = 0; local
10028 int extra_idx = 0; local
10141 int extra_idx = 0; local
[all...]
H A Domx_vdec_msm8974.cpp4678 int extra_idx = 0; local
4895 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4896 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4897 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4898 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4900 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4902 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4903 plane[extra_idx].data_offset = 0;
4904 } else if (extra_idx >
5493 int extra_idx = 0; local
6557 unsigned int extra_idx = 0; local
8665 int extra_idx = 0; local
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp3629 int extra_idx = 0; local
3807 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
3808 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
3809 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
3810 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
3812 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
3814 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
3815 plane[extra_idx].data_offset = 0;
3816 } else if (extra_idx >
4376 int extra_idx = 0; local
5314 int extra_idx = 0; local
7127 int extra_idx = 0; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp4814 int extra_idx = 0; local
4824 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
4825 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
4826 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
4827 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
4829 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
4831 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
4832 plane[extra_idx].data_offset = 0;
4833 } else if (extra_idx >
5475 int extra_idx = 0; local
6624 int extra_idx = 0; local
8364 int extra_idx = 0; local
10243 int extra_idx = 0; local
10357 int extra_idx = 0; local
[all...]
H A Domx_vdec_v4l2.cpp5410 int extra_idx = 0; local
5631 extra_idx = EXTRADATA_IDX(drv_ctx.num_planes);
5632 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
5633 plane[extra_idx].length = drv_ctx.extradata_info.buffer_size;
5634 plane[extra_idx].m.userptr = (long unsigned int) (drv_ctx.extradata_info.uaddr + i * drv_ctx.extradata_info.buffer_size);
5636 plane[extra_idx].reserved[0] = drv_ctx.extradata_info.ion.fd_ion_data.fd;
5638 plane[extra_idx].reserved[1] = i * drv_ctx.extradata_info.buffer_size;
5639 plane[extra_idx].data_offset = 0;
5640 } else if (extra_idx >
6226 int extra_idx = 0; local
7252 unsigned int extra_idx = 0; local
8332 unsigned int extra_idx = EXTRADATA_IDX(omx->drv_ctx.num_planes); local
9443 int extra_idx = 0; local
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp381 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); local
382 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
383 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr;
456 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); local
457 if (extra_idx && (extra_idx < VIDEO_MAX_PLANES)) {
458 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr;
1451 int extra_idx = 0; local
1511 extra_idx
1521 unsigned int extra_idx = 0; local
2972 unsigned int extra_idx; local
3165 int rc = 0, extra_idx; local
3535 unsigned int extra_idx; local
[all...]

Completed in 720 milliseconds