Hardware video split

Hello everybody!
We have /dev/video0 on jetson tx2 with picture like this:

Is there any way to split this 4 squares to different /dev/video1 video2 video3 video4? Or am I naive?

Or may be there is a way to create a pipeline to split video0 and process 4 splitted streams on GPU separately?

Any help would be appreciated!

Hi kossharov.ilya,
You may refer to the sample tegra_multimedia_api\samples\12_camera_v4l2_cuda

for your case, you can create another four 1280x720 NvBuffers and use CUDA code to process the 2560x1440 NvBuffer into four 1280x720.

Here is the document https://developer.nvidia.com/embedded/dlc/l4t-multimedia-api-reference-28-1