Home
last modified time | relevance | path

Searched refs:v4l2_buf (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp170 struct v4l2_buffer v4l2_buf ={0}; in async_venc_message_thread() local
186 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread()
187 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread()
188 v4l2_buf.length = 1; in async_venc_message_thread()
189 v4l2_buf.m.planes = &plane; in async_venc_message_thread()
190 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_venc_message_thread()
197 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread()
198 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread()
199 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1]; in async_venc_message_thread()
200 … venc_msg.buf.ptrbuffer = (OMX_U8 *)omx_venc_base->m_pOutput_pmem[v4l2_buf.index].buffer; in async_venc_message_thread()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp261 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local
271 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread()
320 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread()
321 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread()
322 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread()
323 v4l2_buf.m.planes = plane; in async_venc_message_thread()
325 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread()
328 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread()
329 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread()
330 venc_msg.buf.offset = v4l2_buf.m.planes->data_offset; in async_venc_message_thread()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp329 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local
339 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread()
388 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread()
389 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread()
390 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread()
391 v4l2_buf.m.planes = plane; in async_venc_message_thread()
393 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread()
396 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread()
397 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); in async_venc_message_thread()
399 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; in async_venc_message_thread()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp270 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local
280 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread()
329 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread()
330 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread()
331 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread()
332 v4l2_buf.m.planes = plane; in async_venc_message_thread()
334 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread()
337 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread()
338 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread()
339 venc_msg.buf.offset = v4l2_buf.m.planes->data_offset; in async_venc_message_thread()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp152 struct v4l2_buffer v4l2_buf; in async_message_thread() local
153 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread()
179 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread()
180 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread()
181 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread()
182 v4l2_buf.m.planes = plane; in async_message_thread()
183 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
186 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread()
189 …vdec_msg.msgdata.output_frame.time_stamp= ((int64_t)v4l2_buf.timestamp.tv_sec * (int64_t)1000000) + in async_message_thread()
190 (int64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp135 struct v4l2_buffer v4l2_buf; in async_message_thread() local
136 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread()
156 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread()
157 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread()
158 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread()
159 v4l2_buf.m.planes = plane; in async_message_thread()
160 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
163 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread()
166 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread()
167 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread()
[all …]
Domx_vdec_msm8974.cpp146 struct v4l2_buffer v4l2_buf; in async_message_thread() local
147 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread()
167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread()
168 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread()
169 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread()
170 v4l2_buf.m.planes = plane; in async_message_thread()
171 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
174 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread()
177 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread()
178 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread()
[all …]
Domx_vdec_hevc.cpp144 struct v4l2_buffer v4l2_buf; in async_message_thread() local
145 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread()
164 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread()
165 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread()
166 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread()
167 v4l2_buf.m.planes = plane; in async_message_thread()
168 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
171 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread()
174 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread()
175 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp129 struct v4l2_buffer v4l2_buf; in async_message_thread() local
130 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread()
151 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread()
152 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread()
153 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread()
154 v4l2_buf.m.planes = plane; in async_message_thread()
155 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
158 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread()
161 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread()
162 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp173 struct v4l2_buffer v4l2_buf; in async_message_thread() local
174 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread()
200 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread()
201 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread()
202 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread()
203 v4l2_buf.m.planes = plane; in async_message_thread()
204 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
207 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread()
210 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread()
211 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread()
[all …]