Searched refs:rb (Results 1 – 3 of 3) sorted by relevance
236 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in UseBuffersPreview()237 mVideoInfo->rb.memory = V4L2_MEMORY_MMAP; in UseBuffersPreview()238 mVideoInfo->rb.count = num; in UseBuffersPreview()240 ret = ioctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb); in UseBuffersPreview()
37 struct v4l2_requestbuffers rb; member
498 int rb[2]; in crop_to_rect() member505 vis.rb[0] = vis_rect.right; vis.rb[1] = vis_rect.bottom; in crop_to_rect()520 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] || in crop_to_rect()522 win.xy[c] >= vis.rb[c] || in crop_to_rect()536 if (win.xy[c] + win.wh[c] > vis.rb[c]) { in crop_to_rect()537 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c]; in crop_to_rect()538 win.wh[c] = vis.rb[c] - win.xy[c]; in crop_to_rect()