In ultra-low-latency mode, signals are supported that indicate how much an input or output frame has been filled. The encoder can suspend waiting for more data to become available. Also, a frame can be skipped when encoding is running behind.
The VCU2 encoder interprets an eol hardware signal that is signaled every 16 pixel-lines
and an eof hardware signal marking the end of a frame.
This, together with a frame index specifying the frame the encoder is working on, allows
the encoder to suspend operation waiting for more data to become available. When using
ultra-low-latency mode there is a limit of one stream per encoder core (2 are available per VCU2 tile).
video/x-raw\(memory:XLNXLL\)
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 num-buffers=120 ! video/x-raw\(memory:XLNXLL\), width=1920, height=1080, format=NV12, framerate=60/1 ! omxh265enc src-sync=true ! queue ! filesink location = out.hevc
A VCU2 decoder core outputs a 14-bit counter that indicates the progress in number of pixel-lines (in units of 4 pixel-lines).