Home
last modified time | relevance | path

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

/external/v4l2_codec2/vda/
Dv4l2_slice_video_decode_accelerator.cc699 struct v4l2_requestbuffers reqbufs; in CreateInputBuffers() local
700 memset(&reqbufs, 0, sizeof(reqbufs)); in CreateInputBuffers()
701 reqbufs.count = kNumInputBuffers; in CreateInputBuffers()
702 reqbufs.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in CreateInputBuffers()
703 reqbufs.memory = V4L2_MEMORY_MMAP; in CreateInputBuffers()
704 IOCTL_OR_ERROR_RETURN_FALSE(VIDIOC_REQBUFS, &reqbufs); in CreateInputBuffers()
705 if (reqbufs.count < kNumInputBuffers) { in CreateInputBuffers()
709 input_buffer_map_.resize(reqbufs.count); in CreateInputBuffers()
821 struct v4l2_requestbuffers reqbufs; in DestroyInputBuffers() local
822 memset(&reqbufs, 0, sizeof(reqbufs)); in DestroyInputBuffers()
[all …]
/external/strace/
Dv4l2.c388 struct v4l2_requestbuffers reqbufs; in print_v4l2_requestbuffers() local
392 if (umove_or_printaddr(tcp, arg, &reqbufs)) in print_v4l2_requestbuffers()
394 tprintf("{count=%u, type=", reqbufs.count); in print_v4l2_requestbuffers()
395 printxval(v4l2_buf_types, reqbufs.type, "V4L2_BUF_TYPE_???"); in print_v4l2_requestbuffers()
397 printxval(v4l2_memories, reqbufs.memory, "V4L2_MEMORY_???"); in print_v4l2_requestbuffers()
403 if (syserror(tcp) || umove(tcp, arg, &reqbufs) < 0) in print_v4l2_requestbuffers()
405 sprintf(outstr, "{count=%u}", reqbufs.count); in print_v4l2_requestbuffers()