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_BT709 - A macro to determine if an SDL_Colorspace uses BT709 matrix coefficients.

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                   SDL_ISCOLORSPACE_MATRIX_BT709(3)

Macro Parameters

cspace an SDL_Colorspace to check.

Name

       SDL_ISCOLORSPACE_MATRIX_BT709 - A macro to determine if an SDL_Colorspace uses BT709 matrix coefficients.

Return Value

       Returns true if BT709, false otherwise.

Synopsis

#include<SDL3/SDL_pixels.h>#defineSDL_ISCOLORSPACE_MATRIX_BT709(cspace)(SDL_COLORSPACEMATRIX(cspace)==SDL_MATRIX_COEFFICIENTS_BT709)

Thread Safety

       It is safe to call this macro from any thread.

See Also