/dev/nvhost-vic 25 Inappropriate ioctl for device

can I use v4l2 plain api, like open() and ioctl() with video converter device?

I’m asking because the following code fails with the error above.

static bool test()
{
   const char* name_device = "/dev/nvhost-vic";
   int fd = open(name_device
      , O_RDWR
      , 0
   );

   if (-1 == fd)
   {
      return false;
   }

   struct v4l2_capability cap;

   int ret = ioctl(fd
      , VIDIOC_QUERYCAP
      , &cap
   );

   if (0 != ret)
   {
      int err = errno;
   
      printf("%s %d %s\n"
         , name_device
         , err
         , strerror(err)
      );
      return false;
   }

   return true;
}

Hi,

It is not supported. Please utilize NvBuffer APIs in nvbuf_utils.h