logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ISCOLORSPACE_MATRIX_BT2020_NCL - A macro to determine if an SDL_Colorspace

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10              SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(3)

Header File

       Defined in SDL3/SDL_pixels.h

Name

       SDL_ISCOLORSPACE_MATRIX_BT2020_NCL - A macro to determine if an SDL_Colorspace
        uses BT2020_NCL matrix coefficients.

Return Value

       Returns true if BT2020_NCL, false otherwise.

Synopsis

#include"SDL3/SDL.h"#defineSDL_ISCOLORSPACE_MATRIX_BT2020_NCL(cspace)(SDL_COLORSPACEMATRIX(cspace)==SDL_MATRIX_COEFFICIENTS_BT2020_NCL)

Thread Safety

       It is safe to call this macro from any thread.

See Also