Function rs2_gl_create_yuy_decoder
Defined in File rs_processing_gl.h
Function Documentation
-
rs2_processing_block *rs2_gl_create_yuy_decoder(int api_version, rs2_error **error)
Creates a processing block that can efficiently convert YUY image format to RGB variants This is specifically useful for rendering the RGB frame to the screen (since the output is ready for rendering on the GPU)
- 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