Searched refs:mV4l2Format (Results 1 – 2 of 2) sorted by relevance
/packages/services/DeviceAsWebcam/jni/ |
D | UVCProvider.cpp | 531 memset(&mV4l2Format, 0, sizeof(mV4l2Format)); in commitControls() 532 mV4l2Format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in commitControls() 533 mV4l2Format.fmt.pix.width = commitFrame.width; in commitControls() 534 mV4l2Format.fmt.pix.height = commitFrame.height; in commitControls() 535 mV4l2Format.fmt.pix.pixelformat = commitFormat.fcc; in commitControls() 536 mV4l2Format.fmt.pix.field = V4L2_FIELD_ANY; in commitControls() 537 mV4l2Format.fmt.pix.sizeimage = mCommit.dwMaxVideoFrameSize; in commitControls() 540 if (ioctl(mUVCFd.get(), VIDIOC_S_FMT, &mV4l2Format) < 0) { in commitControls() 547 __FUNCTION__, mV4l2Format.fmt.pix.width, mV4l2Format.fmt.pix.height, in commitControls() 548 mV4l2Format.fmt.pix.pixelformat, mV4l2Format.fmt.pix.sizeimage, mFps, V4L2_PIX_FMT_MJPEG); in commitControls() [all …]
|
D | UVCProvider.h | 180 struct v4l2_format mV4l2Format {}; struct
|