Function rs2_gl_create_y411_decoder

Function Documentation

rs2_processing_block *rs2_gl_create_y411_decoder(int api_version, rs2_error **error)

Creates y411 decoder processing block. This block accepts raw y411 frames and outputs frames in RGB8. https://www.fourcc.org/pixel-format/yuv-y411/ Y411 is disguised as NV12 to allow Linux compatibility. Both are 12bpp encodings that allow high-resolution modes in the camera to still fit within the USB3 limits (YUY wasn’t enough).

Parameters:
  • api_version[in] Users are expected to pass their version of RS2_API_VERSION to make sure they are running the correct librealsense version.

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored