• Home
  • Raw
  • Download

Lines Matching refs:ctrl

10     struct v4l2_control ctrl;  in DevSetCtrl()  local
19 ctrl.id = V4L2_CID_2D_BLEND_OP; in DevSetCtrl()
20 ctrl.value = m_SrcBlndCfg.blop; in DevSetCtrl()
21 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
27 ctrl.id = V4L2_CID_GLOBAL_ALPHA; in DevSetCtrl()
28 ctrl.value = m_SrcBlndCfg.globalalpha.val; in DevSetCtrl()
29 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
34 ctrl.id = V4L2_CID_GLOBAL_ALPHA; in DevSetCtrl()
35 ctrl.value = 0xff; in DevSetCtrl()
36 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
45 ctrl.id = V4L2_CID_CSC_EQ; in DevSetCtrl()
46 ctrl.value = is_bt709; in DevSetCtrl()
47 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
53 ctrl.id = V4L2_CID_CSC_RANGE; in DevSetCtrl()
54 ctrl.value = m_SrcBlndCfg.cscspec.wide; in DevSetCtrl()
55 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
62 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_FMT; in DevSetCtrl()
63 ctrl.value = m_SrcBlndCfg.srcblendfmt; in DevSetCtrl()
64 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
70 ctrl.id = V4L2_CID_2D_SRC_BLEND_FMT_PREMULTI; in DevSetCtrl()
71 ctrl.value = m_SrcBlndCfg.srcblendpremulti; in DevSetCtrl()
72 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
78 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_STRIDE; in DevSetCtrl()
79 ctrl.value = m_SrcBlndCfg.srcblendstride; in DevSetCtrl()
80 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
86 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_H_POS; in DevSetCtrl()
87 ctrl.value = m_SrcBlndCfg.srcblendhpos; in DevSetCtrl()
88 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
94 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_V_POS; in DevSetCtrl()
95 ctrl.value = m_SrcBlndCfg.srcblendvpos; in DevSetCtrl()
96 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
102 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_WIDTH; in DevSetCtrl()
103 ctrl.value = m_SrcBlndCfg.srcblendwidth; in DevSetCtrl()
104 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()
110 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_HEIGHT; in DevSetCtrl()
111 ctrl.value = m_SrcBlndCfg.srcblendheight; in DevSetCtrl()
112 if (ioctl(m_fdScaler, VIDIOC_S_CTRL, &ctrl) < 0) { in DevSetCtrl()