You’ve provided almost no info here. What do you want to do with it? How do you want to address it? Why do you want GL to know about it in this format (which isn’t natively supported)?
If this is purely an OpenSceneGraph usage question, see their support forum and code for details.
If GL, you could consider creating a WxH LUMINANCE8 (or R8) texture for the Y plane and a (W/2)x(H/2) LUMINANCE8_ALPHA8 (or RG8) texture for the interleaved UV plane.