Skip to content

glcolorconvert: add support for the NV16 and NV61 formats

NV16/NV61 is basically the same as NV12/NV21 with a higher chroma resolution.
Since only the size of the UV plane/texture is different, the same shaders are used as for NV12/NV21.
Add NV16/N61 also to the supported formats in glmemory and glformat without any functional changes otherwise.

Tested with:

gst-launch-1.0 -e -v videotestsrc ! video/x-raw,width=1920,height=1080,format=NV16,framerate=15/1 ! glimagesink

Merge request reports