Searched defs:v4l2_buf (Results 1 - 11 of 11) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Dvideo_encoder_device_copper.cpp170 struct v4l2_buffer v4l2_buf ={0}; local
186 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
187 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
188 v4l2_buf.length = 1;
189 v4l2_buf.m.planes = &plane;
190 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf);
197 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index;
198 venc_msg.buf.len= v4l2_buf.m.planes->bytesused;
199 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1];
200 venc_msg.buf.ptrbuffer = (OMX_U8 *)omx_venc_base->m_pOutput_pmem[v4l2_buf
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp289 struct v4l2_buffer v4l2_buf; local
295 memset(&v4l2_buf, 0, sizeof(v4l2_buf));
338 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
339 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
340 v4l2_buf.length = omx->handle->num_planes;
341 v4l2_buf.m.planes = plane;
343 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
346 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index;
347 venc_msg.buf.len= v4l2_buf
[all...]
/hardware/qcom/media/msm8996/videopp/src/
H A Domx_vdpp.cpp114 struct v4l2_buffer v4l2_buf; local
122 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
148 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
149 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
150 v4l2_buf.length = omx->drv_ctx.output_num_planes;
151 v4l2_buf.m.planes = plane;
152 while(!ioctl(pfd[0].fd, VIDIOC_DQBUF, &v4l2_buf)) {
156 vdpp_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
165 vdpp_msg.msgdata.output_frame.len= v4l2_buf
294 struct v4l2_buffer v4l2_buf; local
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec_copper.cpp131 struct v4l2_buffer v4l2_buf ={0}; local
150 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
151 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
152 v4l2_buf.length = 1;
153 v4l2_buf.m.planes = &plane;
154 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf);
162 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
168 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
169 v4l2_buf
7398 struct v4l2_buffer v4l2_buf ={0}; local
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp144 struct v4l2_buffer v4l2_buf; local
145 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
164 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
165 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
166 v4l2_buf.length = omx->drv_ctx.num_planes;
167 v4l2_buf.m.planes = plane;
168 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
171 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
174 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf
2145 struct v4l2_buffer v4l2_buf; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp135 struct v4l2_buffer v4l2_buf; local
136 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
156 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
157 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
158 v4l2_buf.length = omx->drv_ctx.num_planes;
159 v4l2_buf.m.planes = plane;
160 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
163 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
166 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf
2692 struct v4l2_buffer v4l2_buf; local
[all...]
H A Domx_vdec_msm8974.cpp146 struct v4l2_buffer v4l2_buf; local
147 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
168 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
169 v4l2_buf.length = omx->drv_ctx.num_planes;
170 v4l2_buf.m.planes = plane;
171 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
174 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
177 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf
2632 struct v4l2_buffer v4l2_buf; local
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp140 struct v4l2_buffer v4l2_buf; local
141 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
160 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
161 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
162 v4l2_buf.length = omx->drv_ctx.num_planes;
163 v4l2_buf.m.planes = plane;
164 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
167 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
170 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf
2124 struct v4l2_buffer v4l2_buf; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp129 struct v4l2_buffer v4l2_buf; local
130 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
151 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
152 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
153 v4l2_buf.length = omx->drv_ctx.num_planes;
154 v4l2_buf.m.planes = plane;
155 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) {
158 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
161 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf
2723 struct v4l2_buffer v4l2_buf; local
[all...]
H A Domx_vdec_v4l2.cpp157 struct v4l2_buffer v4l2_buf; local
158 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf));
184 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
185 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
186 v4l2_buf.length = omx->drv_ctx.num_planes;
187 v4l2_buf.m.planes = plane;
188 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) {
191 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
194 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf
3081 struct v4l2_buffer v4l2_buf; local
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp313 struct v4l2_buffer v4l2_buf; local
323 memset(&v4l2_buf, 0, sizeof(v4l2_buf));
372 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
373 v4l2_buf.memory = V4L2_MEMORY_USERPTR;
374 v4l2_buf.length = omx->handle->num_output_planes;
375 v4l2_buf.m.planes = plane;
377 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) {
380 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index;
381 int extra_idx = EXTRADATA_IDX(v4l2_buf
[all...]

Completed in 79 milliseconds