SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(3)
π SDL_ISCOLORSPACE_MATRIX_BT2020_NCL π
okay bestie, so this is the manual page for SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(3) β yes the name is a whole mouthful, but she's iconic and she's from the SDL3 functions squad, so we're obsessed. lowkey this macro is just here to check a vibe, and the vibe is BT2020_NCL matrix coefficients. no cap.
β¨ NAME β¨
SDL_ISCOLORSPACE_MATRIX_BT2020_NCL β a macro to determine if an SDL_Colorspace uses BT2020_NCL matrix coefficients. periodt.
π SYNOPSIS π
#include <SDL3/SDL_pixels.h>
#define SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(cspace) (SDL_COLORSPACEMATRIX(cspace) == SDL_MATRIX_COEFFICIENTS_BT2020_NCL)
π MACRO PARAMETERS π
cspaceβ anSDL_Colorspaceto check. just hand her over and she'll tell you what's tea. π«Ά
π RETURN VALUE π
Returns true if BT2020_NCL, false otherwise. that's it, that's the whole answer. π
π¦ THREAD SAFETY π¦
It is safe to call this macro from any thread. so go off, call it from wherever, she's not gonna panic. β¨
πΈ AVAILABILITY πΈ
This macro is available since SDL 3.2.0. she's been around, she's established, she's giving legacy. π
bestie reminder: this is a macro, so it's doing its little comparison behind the scenes β no sneaky extra behavior, justSDL_COLORSPACEMATRIX(cspace)matching up againstSDL_MATRIX_COEFFICIENTS_BT2020_NCL. iykyk. π
later babes π this page came from Simple Directmedia Layer, version SDL 3.4.18, and the manual name is SDL_ISCOLORSP...IX_BT2020_NCL(3) in case you need to cite her. mwah, slay, bye! πβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms