Home
last modified time | relevance | path

Searched refs:reqbufs (Results 1 – 3 of 3) sorted by relevance

/external/v4l2_codec2/accel/
Dv4l2_video_decode_accelerator.cc350 struct v4l2_requestbuffers reqbufs; in AssignPictureBuffersTask() local
351 memset(&reqbufs, 0, sizeof(reqbufs)); in AssignPictureBuffersTask()
352 reqbufs.count = buffers.size(); in AssignPictureBuffersTask()
353 reqbufs.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in AssignPictureBuffersTask()
354 reqbufs.memory = V4L2_MEMORY_DMABUF; in AssignPictureBuffersTask()
355 IOCTL_OR_ERROR_RETURN(VIDIOC_REQBUFS, &reqbufs); in AssignPictureBuffersTask()
357 if (reqbufs.count < buffers.size()) { in AssignPictureBuffersTask()
1667 struct v4l2_requestbuffers reqbufs; in CreateInputBuffers() local
1668 memset(&reqbufs, 0, sizeof(reqbufs)); in CreateInputBuffers()
1669 reqbufs.count = kInputBufferCount; in CreateInputBuffers()
[all …]
Dv4l2_device.cc807 struct v4l2_requestbuffers reqbufs; in AllocateBuffers() local
808 memset(&reqbufs, 0, sizeof(reqbufs)); in AllocateBuffers()
809 reqbufs.count = count; in AllocateBuffers()
810 reqbufs.type = type_; in AllocateBuffers()
811 reqbufs.memory = memory; in AllocateBuffers()
814 ret = device_->Ioctl(VIDIOC_REQBUFS, &reqbufs); in AllocateBuffers()
819 DVQLOGF(3) << "queue " << type_ << ": got " << reqbufs.count << " buffers."; in AllocateBuffers()
826 for (size_t i = 0; i < reqbufs.count; i++) { in AllocateBuffers()
862 struct v4l2_requestbuffers reqbufs; in DeallocateBuffers() local
863 memset(&reqbufs, 0, sizeof(reqbufs)); in DeallocateBuffers()
[all …]
/external/strace/
Dv4l2.c383 struct v4l2_requestbuffers reqbufs; in print_v4l2_requestbuffers() local
388 if (umove_or_printaddr(tcp, arg, &reqbufs)) in print_v4l2_requestbuffers()
392 printxval(v4l2_buf_types, reqbufs.type, "V4L2_BUF_TYPE_???"); in print_v4l2_requestbuffers()
394 printxval(v4l2_memories, reqbufs.memory, "V4L2_MEMORY_???"); in print_v4l2_requestbuffers()
395 tprintf(", count=%u", reqbufs.count); in print_v4l2_requestbuffers()
403 if (!umove(tcp, arg, &reqbufs)) in print_v4l2_requestbuffers()
404 tprintf("%u", reqbufs.count); in print_v4l2_requestbuffers()