Removed maxCLL and maxFALL properties, moved them to SDL_image for HDR image loading
parent
943ab983cb
commit
25fd5da1a7
|
@ -221,17 +221,6 @@ extern DECLSPEC void SDLCALL SDL_DestroySurface(SDL_Surface *surface);
|
||||||
* point formats, SDL_COLORSPACE_HDR10 for 10-bit formats,
|
* point formats, SDL_COLORSPACE_HDR10 for 10-bit formats,
|
||||||
* SDL_COLORSPACE_SRGB for other RGB surfaces and SDL_COLORSPACE_BT709_FULL
|
* SDL_COLORSPACE_SRGB for other RGB surfaces and SDL_COLORSPACE_BT709_FULL
|
||||||
* for YUV textures.
|
* for YUV textures.
|
||||||
* - `SDL_PROP_SURFACE_MAXCLL_NUMBER`: MaxCLL (Maximum Content Light Level)
|
|
||||||
* indicates the maximum light level of any single pixel (in cd/m2 or nits)
|
|
||||||
* of the entire playback sequence. MaxCLL is usually measured off the final
|
|
||||||
* delivered content after mastering. If one uses the full light level of
|
|
||||||
* the HDR mastering display and adds a hard clip at its maximum value,
|
|
||||||
* MaxCLL would be equal to the peak luminance of the mastering monitor.
|
|
||||||
* - `SDL_PROP_SURFACE_MAXFALL_NUMBER`: MaxFALL (Maximum Frame Average Light
|
|
||||||
* Level) indicates the maximum value of the frame average light level (in
|
|
||||||
* cd/m2 or nits) of the entire playback sequence. MaxFALL is calculated by
|
|
||||||
* averaging the decoded luminance values of all the pixels within a frame.
|
|
||||||
* MaxFALL is usually much lower than MaxCLL.
|
|
||||||
* - `SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING`: the tone mapping operator
|
* - `SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING`: the tone mapping operator
|
||||||
* used when converting between different colorspaces. Currently this
|
* used when converting between different colorspaces. Currently this
|
||||||
* supports the form "*=N", where N is a floating point scale factor applied
|
* supports the form "*=N", where N is a floating point scale factor applied
|
||||||
|
@ -249,8 +238,6 @@ extern DECLSPEC void SDLCALL SDL_DestroySurface(SDL_Surface *surface);
|
||||||
extern DECLSPEC SDL_PropertiesID SDLCALL SDL_GetSurfaceProperties(SDL_Surface *surface);
|
extern DECLSPEC SDL_PropertiesID SDLCALL SDL_GetSurfaceProperties(SDL_Surface *surface);
|
||||||
|
|
||||||
#define SDL_PROP_SURFACE_COLORSPACE_NUMBER "SDL.surface.colorspace"
|
#define SDL_PROP_SURFACE_COLORSPACE_NUMBER "SDL.surface.colorspace"
|
||||||
#define SDL_PROP_SURFACE_MAXCLL_NUMBER "SDL.surface.maxCLL"
|
|
||||||
#define SDL_PROP_SURFACE_MAXFALL_NUMBER "SDL.surface.maxFALL"
|
|
||||||
#define SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING "SDL.surface.tonemap"
|
#define SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING "SDL.surface.tonemap"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue