I am working on an image processing algorithm working across different codecs and using OpenGL for rendering. I have come across this Hardware decoder that supports 12-bit RGB (interleaved with no padding for rounding) as its optimal decoding format.
Now I know that GL supports a GL_RGB12 but I don’t know what “type” of data will handle this non-aligned format (i.e. what to pass to glTexImage and other texture functions).
Can anyone guide me as to how to optimally handle this texture format using opengl.