Lines Matching refs:ctrl
144 struct v4l2_control ctrl; in SetCtrl() local
150 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in SetCtrl()
151 ctrl.value = TestFlag(m_fStatus, SCF_DRM); in SetCtrl()
152 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
166 ctrl.id = V4L2_CID_ROTATE; in SetCtrl()
167 ctrl.value = m_nRotDegree; in SetCtrl()
168 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
173 ctrl.id = V4L2_CID_VFLIP; in SetCtrl()
174 ctrl.value = TestFlag(m_fStatus, SCF_HFLIP); in SetCtrl()
175 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
180 ctrl.id = V4L2_CID_HFLIP; in SetCtrl()
181 ctrl.value = TestFlag(m_fStatus, SCF_VFLIP); in SetCtrl()
182 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
198 ctrl.id = LIBSC_V4L2_CID_DNOISE_FT; in SetCtrl()
199 ctrl.value = m_filter; in SetCtrl()
200 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
210 ctrl.id = V4L2_CID_CSC_RANGE; in SetCtrl()
211 ctrl.value = TestFlag(m_fStatus, SCF_CSC_WIDE) ? 1 : 0; in SetCtrl()
212 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
217 ctrl.id = V4L2_CID_CSC_EQ; in SetCtrl()
218 ctrl.value = m_colorspace; in SetCtrl()
219 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()
230 ctrl.id = SC_CID_FRAMERATE; in SetCtrl()
231 ctrl.value = m_frameRate; in SetCtrl()
232 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in SetCtrl()