VCU encoder and decoder supports encoding and decoding of GRAY8 and GRAY10 format support at gstreamer level from release 2021.1 onwards. Sample serial (encode + decode) test case pipelines are as follows:
gst-launch-1.0 -v videotestsrc ! video/x-raw, width=1920, height=1080,
format=GRAY8, framerate=30/1 ! queue ! omxh265enc target-bitrate=6250 num-slices=8
control-rate=low-latency ! video/x-h265, alignment=au ! queue max-size-buffers=0 !
omxh265dec ! queue max-size-bytes=0 ! fpsdisplaysink name=fpssink text-overlay=false
video-sink="kmssink bus-id="fd4a0000.display" fullscreen-overlay=1" -v
gst-launch-1.0 -v videotestsrc ! video/x-raw, width=1920, height=1080,
format=GRAY10_LE32, framerate=30/1 ! queue ! omxh265enc target-bitrate=6250
num-slices=8 control-rate=low-latency ! video/x-h265, alignment=au ! queue
max-size-buffers=0 ! omxh265dec ! queue max-size-bytes=0 ! fpsdisplaysink
name=fpssink text-overlay=false video-sink="kmssink bus-id="fd4a0000.display"
fullscreen-overlay=1" -v