/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 170 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/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 114 struct v4l2_buffer v4l2_buf; in async_message_thread() local 122 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 148 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 149 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 150 v4l2_buf.length = omx->drv_ctx.output_num_planes; in async_message_thread() 151 v4l2_buf.m.planes = plane; in async_message_thread() 152 while(!ioctl(pfd[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 156 vdpp_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 165 …vdpp_msg.msgdata.output_frame.len= v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].b… in async_message_thread() 169 vdpp_msg.msgdata.output_frame.len=v4l2_buf.m.planes[0].bytesused; in async_message_thread() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 290 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 296 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 339 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 340 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 341 v4l2_buf.length = omx->handle->num_planes; in async_venc_message_thread() 342 v4l2_buf.m.planes = plane; in async_venc_message_thread() 344 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread() 347 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 348 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 349 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/ |
D | video_encoder_device_v4l2.cpp | 329 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/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 227 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 237 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 286 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 287 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 288 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread() 289 v4l2_buf.m.planes = plane; in async_venc_message_thread() 291 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread() 294 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 295 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 296 venc_msg.buf.offset = v4l2_buf.m.planes->data_offset; in async_venc_message_thread() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 305 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 315 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 364 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 365 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 366 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread() 367 v4l2_buf.m.planes = plane; in async_venc_message_thread() 369 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread() 372 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 373 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 374 venc_msg.buf.offset = v4l2_buf.m.planes->data_offset; in async_venc_message_thread() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 256 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 266 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 315 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 316 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 317 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread() 318 v4l2_buf.m.planes = plane; in async_venc_message_thread() 320 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread() 323 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 324 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 325 venc_msg.buf.offset = v4l2_buf.m.planes->data_offset; in async_venc_message_thread() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 135 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 …]
|
D | omx_vdec_msm8974.cpp | 146 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 …]
|
D | omx_vdec_hevc.cpp | 144 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/ |
D | omx_vdec_hevc_swvdec.cpp | 129 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 …]
|
D | omx_vdec_hevc.cpp | 140 struct v4l2_buffer v4l2_buf; in async_message_thread() local 141 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 160 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 161 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 162 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 163 v4l2_buf.m.planes = plane; in async_message_thread() 164 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 167 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 170 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 171 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
D | omx_vdec_v4l2.cpp | 158 struct v4l2_buffer v4l2_buf; in async_message_thread() local 159 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 185 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 186 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 187 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 188 v4l2_buf.m.planes = plane; in async_message_thread() 189 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 192 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 195 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 196 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 198 struct v4l2_buffer v4l2_buf; in async_message_thread() local 199 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 225 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 226 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 227 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 228 v4l2_buf.m.planes = plane; in async_message_thread() 229 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 232 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 235 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 236 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 194 struct v4l2_buffer v4l2_buf; in async_message_thread() local 195 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 221 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 222 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 223 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 224 v4l2_buf.m.planes = plane; in async_message_thread() 225 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 228 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 231 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 232 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 173 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 …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 131 struct v4l2_buffer v4l2_buf ={0}; in async_message_thread() local 150 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 151 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 152 v4l2_buf.length = 1; in async_message_thread() 153 v4l2_buf.m.planes = &plane; in async_message_thread() 154 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_message_thread() 162 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in async_message_thread() 168 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 169 v4l2_buf.m.planes = &plane; in async_message_thread() [all …]
|