/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
H A 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() 198 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 204 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in async_venc_message_thread() 205 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 206 v4l2_buf.m.planes = &plane; in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 261 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 271 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 321 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 323 v4l2_buf.m.planes = plane; in async_venc_message_thread() 334 …venc_msg.buf.timestamp = (int64_t) v4l2_buf.timestamp.tv_sec * (int64_t) 1000000 + (int64_t) v4l2_… in async_venc_message_thread() 344 if (v4l2_buf.flags & V4L2_BUF_FLAG_PFRAME) { in async_venc_message_thread() 353 if (v4l2_buf.flags & V4L2_BUF_FLAG_EOS) in async_venc_message_thread() 374 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 375 v4l2_buf.m.planes = plane; in async_venc_message_thread() 391 bufIndex, v4l2_buf.index); in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/media/msm8996/videopp/src/ |
H A 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() 149 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 151 v4l2_buf.m.planes = plane; 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() 189 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 191 v4l2_buf.m.planes = plane; in async_message_thread() 294 struct v4l2_buffer v4l2_buf; in async_message_thread() local 295 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 319 v4l2_buf.index = ident; in async_message_thread() [all …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A 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() 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() 353 …venc_msg.buf.timestamp = (uint64_t) v4l2_buf.timestamp.tv_sec * (uint64_t) 1000000 + (uint64_t) v4… in async_venc_message_thread() 362 if (v4l2_buf.flags & V4L2_BUF_FLAG_KEYFRAME) in async_venc_message_thread() 368 if (v4l2_buf.flags & V4L2_QCOM_BUF_FLAG_EOS) in async_venc_message_thread() 388 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 389 v4l2_buf.m.planes = plane; in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A 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() 389 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 391 v4l2_buf.m.planes = plane; in async_venc_message_thread() 408 …venc_msg.buf.timestamp = (uint64_t) v4l2_buf.timestamp.tv_sec * (uint64_t) 1000000 + (uint64_t) v4… in async_venc_message_thread() 417 if (v4l2_buf.flags & V4L2_BUF_FLAG_KEYFRAME) in async_venc_message_thread() 423 if (v4l2_buf.flags & V4L2_QCOM_BUF_FLAG_EOS) in async_venc_message_thread() 444 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 445 v4l2_buf.m.planes = plane; in async_venc_message_thread() 461 bufIndex, v4l2_buf.index); in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
H A 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() 287 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 289 v4l2_buf.m.planes = plane; in async_venc_message_thread() 300 …venc_msg.buf.timestamp = (uint64_t) v4l2_buf.timestamp.tv_sec * (uint64_t) 1000000 + (uint64_t) v4… in async_venc_message_thread() 309 if (v4l2_buf.flags & V4L2_BUF_FLAG_KEYFRAME) in async_venc_message_thread() 312 if (v4l2_buf.flags & V4L2_BUF_FLAG_PFRAME) { in async_venc_message_thread() 342 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 343 v4l2_buf.m.planes = plane; in async_venc_message_thread() 359 bufIndex, v4l2_buf.index); in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
H A 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() 365 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 367 v4l2_buf.m.planes = plane; in async_venc_message_thread() 378 …venc_msg.buf.timestamp = (uint64_t) v4l2_buf.timestamp.tv_sec * (uint64_t) 1000000 + (uint64_t) v4… in async_venc_message_thread() 387 if (v4l2_buf.flags & V4L2_BUF_FLAG_KEYFRAME) in async_venc_message_thread() 390 if (v4l2_buf.flags & V4L2_BUF_FLAG_PFRAME) { in async_venc_message_thread() 420 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 421 v4l2_buf.m.planes = plane; in async_venc_message_thread() 437 bufIndex, v4l2_buf.index); in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 270 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 280 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 330 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 332 v4l2_buf.m.planes = plane; in async_venc_message_thread() 343 …venc_msg.buf.timestamp = (uint64_t) v4l2_buf.timestamp.tv_sec * (uint64_t) 1000000 + (uint64_t) v4… in async_venc_message_thread() 353 if (v4l2_buf.flags & V4L2_BUF_FLAG_PFRAME) { in async_venc_message_thread() 362 if (v4l2_buf.flags & V4L2_QCOM_BUF_FLAG_EOS) in async_venc_message_thread() 383 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 384 v4l2_buf.m.planes = plane; in async_venc_message_thread() 400 bufIndex, v4l2_buf.index); in async_venc_message_thread() [all …]
|
/aosp12/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_v4l2.cpp | 152 struct v4l2_buffer v4l2_buf; in async_message_thread() local 153 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 180 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 182 v4l2_buf.m.planes = plane; in async_message_thread() 202 v4l2_buf.length = 1; in async_message_thread() 203 v4l2_buf.m.planes = plane; in async_message_thread() 301 v4l2_buf.m.planes = plane; in async_message_thread() 302 v4l2_buf.index = ptr[5]; in async_message_thread() 303 v4l2_buf.flags = 0; in async_message_thread() 2645 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A 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() 157 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 159 v4l2_buf.m.planes = plane; in async_message_thread() 184 v4l2_buf.length = 1; in async_message_thread() 185 v4l2_buf.m.planes = plane; in async_message_thread() 248 v4l2_buf.m.planes = plane; in async_message_thread() 249 v4l2_buf.index = ptr[5]; in async_message_thread() 250 v4l2_buf.flags = 0; in async_message_thread() 2692 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
H A 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() 168 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 170 v4l2_buf.m.planes = plane; in async_message_thread() 197 v4l2_buf.length = 1; in async_message_thread() 198 v4l2_buf.m.planes = plane; in async_message_thread() 280 v4l2_buf.m.planes = plane; in async_message_thread() 281 v4l2_buf.index = ptr[5]; in async_message_thread() 282 v4l2_buf.flags = 0; in async_message_thread() 2633 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
H A 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() 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() 175 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() 191 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 192 v4l2_buf.length = 1; in async_message_thread() 193 v4l2_buf.m.planes = plane; in async_message_thread() 2145 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A 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() 152 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 154 v4l2_buf.m.planes = plane; in async_message_thread() 179 v4l2_buf.length = 1; in async_message_thread() 180 v4l2_buf.m.planes = plane; in async_message_thread() 246 v4l2_buf.m.planes = plane; in async_message_thread() 247 v4l2_buf.index = ptr[5]; in async_message_thread() 248 v4l2_buf.flags = 0; in async_message_thread() 2723 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
H A 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() 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() 171 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() 187 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 188 v4l2_buf.length = 1; in async_message_thread() 189 v4l2_buf.m.planes = plane; in async_message_thread() 2124 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
H A 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() 186 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 188 v4l2_buf.m.planes = plane; in async_message_thread() 215 v4l2_buf.length = 1; in async_message_thread() 216 v4l2_buf.m.planes = plane; in async_message_thread() 308 v4l2_buf.m.planes = plane; in async_message_thread() 309 v4l2_buf.index = ptr[5]; in async_message_thread() 310 v4l2_buf.flags = 0; in async_message_thread() 3099 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
H A 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() 222 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 224 v4l2_buf.m.planes = plane; in async_message_thread() 244 v4l2_buf.length = 1; in async_message_thread() 245 v4l2_buf.m.planes = plane; in async_message_thread() 436 v4l2_buf.m.planes = plane; in async_message_thread() 437 v4l2_buf.index = ptr[5]; in async_message_thread() 438 v4l2_buf.flags = 0; in async_message_thread() 3150 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
H A 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() 201 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 203 v4l2_buf.m.planes = plane; in async_message_thread() 223 v4l2_buf.length = 1; in async_message_thread() 224 v4l2_buf.m.planes = plane; in async_message_thread() 330 v4l2_buf.m.planes = plane; in async_message_thread() 331 v4l2_buf.index = ptr[5]; in async_message_thread() 332 v4l2_buf.flags = 0; in async_message_thread() 3322 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
/aosp12/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_v4l2.cpp | 216 struct v4l2_buffer v4l2_buf; in async_message_thread() local 217 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 244 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 246 v4l2_buf.m.planes = plane; in async_message_thread() 266 v4l2_buf.length = 1; in async_message_thread() 267 v4l2_buf.m.planes = plane; in async_message_thread() 459 v4l2_buf.m.planes = plane; in async_message_thread() 460 v4l2_buf.index = ptr[5]; in async_message_thread() 461 v4l2_buf.flags = 0; in async_message_thread() 3291 struct v4l2_buffer v4l2_buf; in execute_omx_flush() local [all …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
H A 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() 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() 170 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_message_thread() [all …]
|