Searched refs:selection_arg (Results 1 – 2 of 2) sorted by relevance
512 struct v4l2_selection selection_arg; in configureInputFormat() local513 memset(&selection_arg, 0, sizeof(selection_arg)); in configureInputFormat()514 selection_arg.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in configureInputFormat()515 selection_arg.target = V4L2_SEL_TGT_CROP; in configureInputFormat()516 selection_arg.r = rect; in configureInputFormat()517 if (mDevice->ioctl(VIDIOC_S_SELECTION, &selection_arg) == 0) { in configureInputFormat()518 visibleRectangle = Rect(selection_arg.r.left, selection_arg.r.top, in configureInputFormat()519 selection_arg.r.left + selection_arg.r.width, in configureInputFormat()520 selection_arg.r.top + selection_arg.r.height); in configureInputFormat()
681 struct v4l2_selection selection_arg; in getVisibleRect() local682 memset(&selection_arg, 0, sizeof(selection_arg)); in getVisibleRect()683 selection_arg.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in getVisibleRect()684 selection_arg.target = V4L2_SEL_TGT_COMPOSE; in getVisibleRect()686 if (mDevice->ioctl(VIDIOC_G_SELECTION, &selection_arg) == 0) { in getVisibleRect()688 visible_rect = &selection_arg.r; in getVisibleRect()