---
title: Implementing tone mapping on reference displays
framework: metal
role: article
role_heading: Article
path: metal/implementing-tone-mapping-on-reference-displays
---

# Implementing tone mapping on reference displays

Detect reference displays and keep your content within the capabilities of the display hardware.

## Overview

Overview Reference displays are calibrated to produce accurate brightness and color values within a specified range, which you use in a controlled environment to create optimized video content. Always establish if you’re using a reference display before you process any data so you can avoid system tone mapping and clamp pixel values to the range the display can accurately produce. To determine if you’re using a reference display, read the screen’s maximumReferenceExtendedDynamicRangeColorComponentValue property. If the display is a reference display, the value of this property is a nonzero value that represents the largest possible pixel value the display can reproduce without clamping or tone mapping. This value may be less than maximumExtendedDynamicRangeColorComponentValue. To guarantee the reference display presents your content accurately, perform your own tone mapping in a linear color space and keep pixel values between 0.0 and the reference maximum. For more information, see Performing your own tone mapping.

## See Also

### High dynamic range content

- [Processing HDR images with Metal](metal/processing-hdr-images-with-metal.md)
- [Displaying HDR content in a Metal layer](metal/displaying-hdr-content-in-a-metal-layer.md)
- [Determining support for EDR values](metal/determining-support-for-edr-values.md)
- [Using color spaces to display HDR content](metal/using-color-spaces-to-display-hdr-content.md)
- [Using system tone mapping on video content](metal/using-system-tone-mapping-on-video-content.md)
- [Performing your own tone mapping](metal/performing-your-own-tone-mapping.md)
