Emby Emby Emby Learn
  • Emby Home
  • Video
  • Audio
  • Media Files
    • Subtitles and captions
    • Photos and images
    • Metadata and discovery
    • Libraries and media collections
    • Playback and streaming
    • Media hardware acceleration
    • Displays and AV connections
    • Live TV and recording
  1. Emby Learn
  2. Video
  3. Tone mapping
  4. Tone-mapping curves
  5. General-purpose curves
  6. Linear
Search Results for

    Show / Hide Table of Contents

    Tone Mapping Curve: Linear

    Linear tone mapping scales a source range into an output range, with the result depending on the space in which that scaling is performed.

    Divide each linear-light input by the peak ratio, and the source range fits proportionally. For a ratio of eight, T(x) = x/8:

    Input Output
    0.8 0.1
    1 0.125
    4 0.5
    8 1

    The output preserves the ratios of these light values. It also darkens every lower value by the same factor, which can spend too little brightness on ordinary objects when the source has only a small very bright highlight.

    Linear-light scaling and a proportional PQ-space mapping shown on linear-light axes.

    Peak ratio 8:1. Green scales linear light; blue follows libplacebo's PQ-space stretch with output white 203 nits. Both axes show relative linear light; gain is one and black is zero.

    Why the blue proportional mapping bends

    PQ coordinates are nonlinear with respect to light. The blue operation proportionally changes those coordinates, then the figure converts its result back to linear light. The operation is linear in its selected representation, while its plotted light relationship is curved.

    This distinction occurs in software: FFmpeg's CPU linear mapper operates on linear-light samples; libplacebo distinguishes its PQ-space linear option from linearlight. The selected space is part of the method, not a minor naming detail.

    A useful Emby comparison therefore starts with the implementation, source range, target, and working space. For the green example, input 4 and input 8 stay distinct at 0.5 and one. Clipping would merge both at one. That retained separation is what proportional fitting buys, and the lower-value arithmetic shows what it costs.

    See Also

    • What a Tone-Mapping Curve Controls
    • Tone Mapping Curve: Clip
    • Perceptual Quantizer (PQ): SMPTE ST 2084

    References

    • FFmpeg 8.1: linear tonemap implementation
    • libplacebo 7.360.1: linear and linearlight functions
    • ITU-R BT.2100: HDR signal representations
    On this Page
    2026 © EMBY LLC. Please see our terms of use and privacy policy.
    Back to Top