• Home
  • Raw
  • Download

Lines Matching refs:ctrl

365     struct v4l2_control ctrl;  in m_gsc_m2m_stop()  local
367 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in m_gsc_m2m_stop()
368 ctrl.value = 0; in m_gsc_m2m_stop()
369 if (ioctl(gsc->gsc_fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_stop()
458 struct v4l2_control ctrl; in m_gsc_m2m_run_core() local
460 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in m_gsc_m2m_run_core()
461 ctrl.value = is_drm; in m_gsc_m2m_run_core()
462 if (ioctl(gsc->gsc_fd,VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_run_core()
493 struct v4l2_control ctrl; in m_gsc_m2m_run_core() local
495 ctrl.id = V4L2_CID_CSC_EQ_MODE; in m_gsc_m2m_run_core()
496 ctrl.value = gsc->eq_auto; in m_gsc_m2m_run_core()
497 if (ioctl(gsc->gsc_fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_run_core()
502 ctrl.id = V4L2_CID_CSC_EQ; in m_gsc_m2m_run_core()
503 ctrl.value = gsc->v4l2_colorspace; in m_gsc_m2m_run_core()
504 if (ioctl(gsc->gsc_fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_run_core()
509 ctrl.id = V4L2_CID_CSC_RANGE; in m_gsc_m2m_run_core()
510 ctrl.value = gsc->range_full; in m_gsc_m2m_run_core()
511 if (ioctl(gsc->gsc_fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_m2m_run_core()
684 struct v4l2_control ctrl; in m_gsc_set_format() local
686 ctrl.id = V4L2_CID_ROTATE; in m_gsc_set_format()
687 ctrl.value = info->rotation; in m_gsc_set_format()
688 if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_set_format()
693 ctrl.id = V4L2_CID_VFLIP; in m_gsc_set_format()
694 ctrl.value = info->flip_horizontal; in m_gsc_set_format()
695 if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_set_format()
700 ctrl.id = V4L2_CID_HFLIP; in m_gsc_set_format()
701 ctrl.value = info->flip_vertical; in m_gsc_set_format()
702 if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_set_format()
730 ctrl.id = V4L2_CID_CACHEABLE; in m_gsc_set_format()
731 ctrl.value = info->cacheable; in m_gsc_set_format()
732 if (ioctl(fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_set_format()
1115 struct v4l2_control ctrl; in m_gsc_out_config() local
1117 ctrl.id = V4L2_CID_ROTATE; in m_gsc_out_config()
1118 ctrl.value = rotate; in m_gsc_out_config()
1119 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1125 ctrl.id = V4L2_CID_HFLIP; in m_gsc_out_config()
1126 ctrl.value = vflip; in m_gsc_out_config()
1127 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1133 ctrl.id = V4L2_CID_VFLIP; in m_gsc_out_config()
1134 ctrl.value = hflip; in m_gsc_out_config()
1135 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1141 ctrl.id = V4L2_CID_CACHEABLE; in m_gsc_out_config()
1142 ctrl.value = 1; in m_gsc_out_config()
1143 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1149 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in m_gsc_out_config()
1150 ctrl.value = gsc->src_img.drmMode; in m_gsc_out_config()
1151 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1157 ctrl.id = V4L2_CID_CSC_EQ_MODE; in m_gsc_out_config()
1158 ctrl.value = gsc->eq_auto; in m_gsc_out_config()
1159 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1164 ctrl.id = V4L2_CID_CSC_EQ; in m_gsc_out_config()
1165 ctrl.value = gsc->v4l2_colorspace; in m_gsc_out_config()
1166 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1171 ctrl.id = V4L2_CID_CSC_RANGE; in m_gsc_out_config()
1172 ctrl.value = gsc->range_full; in m_gsc_out_config()
1173 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_out_config()
1260 struct v4l2_control ctrl; in m_gsc_cap_config() local
1262 ctrl.id = V4L2_CID_ROTATE; in m_gsc_cap_config()
1263 ctrl.value = rotate; in m_gsc_cap_config()
1264 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_cap_config()
1270 ctrl.id = V4L2_CID_HFLIP; in m_gsc_cap_config()
1271 ctrl.value = vflip; in m_gsc_cap_config()
1272 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_cap_config()
1278 ctrl.id = V4L2_CID_VFLIP; in m_gsc_cap_config()
1279 ctrl.value = hflip; in m_gsc_cap_config()
1280 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_cap_config()
1286 ctrl.id = V4L2_CID_CACHEABLE; in m_gsc_cap_config()
1287 ctrl.value = 1; in m_gsc_cap_config()
1288 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_cap_config()
1294 ctrl.id = V4L2_CID_CONTENT_PROTECTION; in m_gsc_cap_config()
1295 ctrl.value = gsc->src_img.drmMode; in m_gsc_cap_config()
1296 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_cap_config()
1302 ctrl.id = V4L2_CID_CSC_RANGE; in m_gsc_cap_config()
1303 ctrl.value = gsc->range_full; in m_gsc_cap_config()
1304 if (ioctl(gsc->mdev.gsc_vd_entity->fd, VIDIOC_S_CTRL, &ctrl) < 0) { in m_gsc_cap_config()