Browse Source

Removed maxCLL and maxFALL properties, moved them to SDL_image for HDR image loading

Sam Lantinga 1 year ago
parent
commit
25fd5da1a7
1 changed files with 0 additions and 13 deletions
  1. 0 13
      include/SDL3/SDL_surface.h

+ 0 - 13
include/SDL3/SDL_surface.h

@@ -221,17 +221,6 @@ extern DECLSPEC void SDLCALL SDL_DestroySurface(SDL_Surface *surface);
  *   point formats, SDL_COLORSPACE_HDR10 for 10-bit formats,
  *   SDL_COLORSPACE_SRGB for other RGB surfaces and SDL_COLORSPACE_BT709_FULL
  *   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
  *   used when converting between different colorspaces. Currently this
  *   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);
 
 #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"
 
 /**