DLPU110B April   2021  – August 2022 DLPC6540

 

  1.   Programmer's Guide
  2.   Trademarks
  3. Scope
  4. References
  5. Acronyms
  6. System Boot
    1. 4.1 Data In flash
    2. 4.2 Bootloader Application
    3. 4.3 Main Application
    4. 4.4 Commands supported by Bootloader and Main Applications
    5. 4.5 Debug Terminal
    6. 4.6 HOST_IRQ/SYSTEM_BUSY
    7. 4.7 Heartbeat
    8. 4.8 Low-level Fault
  7. System Status
  8. Version
  9. Power Modes
  10. Display Modes
  11. Source Detection and Configuration
  12. 10Internal sources
    1. 10.1 Test Patterns (TPG)
    2. 10.2 Solid Field (SFG) Color
    3. 10.3 Curtain
  13. 11Display Formatting
  14. 12Image Processing
  15. 13Illumination Control
  16. 14Peripherals
    1. 14.1 GPIO
  17. 15Interface Protocol
    1. 15.1 Supported Interfaces
    2. 15.2 I2C Target
    3. 15.3 USB
  18. 16Command Protocol
    1. 16.1 Command Packet
    2. 16.2 Response Packet
    3. 16.3 Destination Details
    4. 16.4 Error Handling and Recovery
    5. 16.5 System Busy - I2C scenarios
      1. 16.5.1 GPIO implementation
      2. 16.5.2 Short Status response
    6. 16.6 Support for Variable Data Size
  19. 17Auto-Initilization Batch File
  20. 18Command Descriptions
  21. 19 System Commands
    1. 19.1  3D
    2. 19.2  Administrative
    3. 19.3  Autolock
    4. 19.4  Blending
    5. 19.5  Bootloader
    6. 19.6  Calibration
    7. 19.7  Debug Internal
    8. 19.8  Debug
    9. 19.9  General Operation
    10. 19.10 Illumination
    11. 19.11 Image Processing
    12. 19.12 Peripherals
    13. 19.13 Warping
    14. 19.14 Manual WPC
  22. 20Revision History

Image Processing

Image Processing

Table 19-92 Image Algorithm Enable [Opcode: 40h | Destination: 4]
Set Image Algorithm Enable
Write Parameter(s)
Byte Description
Byte 0

Chroma Transient Improvement Enable

bit 0: Chroma Transient Improvement Enable Bit

Byte 1

Gamma Correction Enable

bit 0: Gamma Correction Enable Bit

Byte 2

Color Coordinate Adjustment Enable

bit 0: Color Coordinate Adjustment Enable Bit

Byte 3

Brilliant Color Enable

bit 0: Brilliant Color Enable Bit

Byte 4

White Point Correction Enable

bit 0: White Point Correction Enable Bit

Byte 5

Dynamic Black Enable

bit 0: Dynamic Black Enable Bit

Byte 6

HDR Enable

bit 0: HDR Enable Bit

Sets enable flag for all Image Algorithms.

0 = Disable

1 = Enable

Chroma Transient Improvement :

This function enables/disables the Chroma Transient Improvement (CTI) function which filters the 4 : 4 : 4 sampled, chrominance (Cr and Cb) data on the B and C data channels. The chroma transient functions performs band pass filtering (supports two center frequencies) and median filtering for ringing minimization. It performs limiting and coring functions for the filtered output.

Gamma Correction :

This function enables/disables the Gamma Correction function which implements the removal of gamma transfer function applied at the source, via table lookup process called de-gamma. When enabled, perform de-gamma translation of the 10-bit RGB input to the common 12-bit floating point (S0M8E4) RGB output. When disabled, the full 10 bits of each data input to the Gamma Correction function are zero padded and MSB-aligned to 12-bits and passed through unmodified.

Color Coordinate Adjustment :

This function enables/disables the Spatially Adaptive Seven Primaries Color Correction Function Enable. When Disable forces 3x3 CSC (Color Space Conversion) with identity.

Brilliant Color :

This function enables/disables the BrilliantColor technology, Brilliant Color uses up to five colors, instead of just the three primary colors, red, green and blue, to improve color accuracy and brightens of secondary colors. This results in a new level of color performance that increases the brightness of the colors.

White Point Correction :

This function enables/disables the White Point Correction, typically used on LED type illumination systems. Sometimes due to increase in LED operating temperature or LED aging the LEDs output wavelentgh drifts, therefore white point of the system shifts. This algorithm using active light sensor feedback and factory calibrated values help maintaing white point of the system.

Dynamic Black :

Dynamic Black (DB) is an algorithm that reduces the amount of light reaching the projection path by means of LED output power through current control and compensates for reduced light by gaining up the RGB signals.

HDR :

High Dynamic Range (HDR) is an algorithm that maps wider brightness and color range of HDR source to the projector display range. HDR is affected by several factors such as illimuniation characterstics, duty cycle distribution and current running sequence. A valid HDR source should be set by HDR_SetHdrSourceConfiguration() before enabling HDR processing.

Note: Chroma Transient Improvement is applicable to Analog SDTV sources only. DLPC6540 controller doesn't support Analog sources. Even if enabled on DLPC6540 controller, there is no changes in the displayed image when enabled.

Get Image Algorithm Enable
Data returned is in the same format as the Write Parameter(s).

Returns enable flag for all Image Algorithms

'0' - Disabled or algorithm feature not available.

'1' - Enabled

Table 19-93 Image Brightness [Opcode: 41h | Destination: 4]
Set Image Brightness
Write Parameter(s)
Byte Description
Bytes 0-1

Brightness Adjustment

Range = -256.00 to 255.75 with step size .25

Format = s14.2

The brightness control provides the ability to add or subtract a fixed bias from each of the input channels. This may be used to remove any inherent offsets and/or adjust the brightness level. The brightness coefficients are signed, 11-bit (s8.2), 2's complement values between -256 and 255.75, inclusive. Brightness Control is used after Color Space Conversion.

Get Image Brightness
Data returned is in the same format as the Write Parameter(s).

Returns Image Brightness Level.

Table 19-94 Image Contrast [Opcode: 42h | Destination: 4]
Set Image Contrast
Write Parameter(s)
Byte Description
Bytes 0-1

Contrast (%)

Range = 0 to 200 with step size 1

Sets Image Contrast in percentage. Each contrast byte controls the gain applied to the input image data for a given data channel. The contrast gain has a range from 0 to 200 (0% to 200%) with 100 (100%) being nominal (default).

Get Image Contrast
Data returned is in the same format as the Write Parameter(s).

Returns Image Contrast in percentage.

Table 19-95 Image Hue And Color Control [Opcode: 43h | Destination: 4]
Set Image Hue And Color Control
Write Parameter(s)
Byte Description
Byte 0

Hue Adjustment Angle (degrees)

Range = -45 to 45 with step size 1

Bytes 1-2

Color Control Gain (%)

Range = 0 to 200 with step size 1

Sets Image Hue Adjustment angle in degrees and Color Control Gain in percentage.

Get Image Hue And Color Control
Data returned is in the same format as the Write Parameter(s).

Returns Image Hue Adjustment angle in degrees and Color Control Gain in percentage.

Table 19-96 Image Sharpness [Opcode: 44h | Destination: 4]
Set Image Sharpness
Write Parameter(s)
Byte Description
Byte 0

Sharpness value to apply.

Range = 0 to 31 with step size 1

Configures the sharpness filter. A value of 0 is the least sharp (smoothest), while a value of 31 is the sharpest. This filter is in the back end of the data path, so both video and graphics are affected. TI recommends that the sharpness filters be disabled (sharpness=16) for graphics sources.

Get Image Sharpness
Data returned is in the same format as the Write Parameter(s).

Returns the current sharpness value

Table 19-97 Image RGB Offset [Opcode: 45h | Destination: 4]
Set Image RGB Offset
Write Parameter(s)
Byte Description
Bytes 0-1

Red channel offset setting.

Range = -256.00 to 255.75 with step size .25

Format = s14.2

Bytes 2-3

Green channel offset setting.

Range = -256.00 to 255.75 with step size .25

Format = s14.2

Bytes 4-5

Blue channel offset setting.

Range = -256.00 to 255.75 with step size .25

Format = s14.2

Offsets the levels of the RGB channels at a point in the data path after the following image processing functions have been applied - source offset, contrast, RGB Gain, Brightness and Color Space Conversion (including Hue and Color Adjustment).

Get Image RGB Offset
Data returned is in the same format as the Write Parameter(s).

Returns Red, Green and Blue channel offset settings.

Table 19-98 Image RGB Gain [Opcode: 46h | Destination: 4]
Set Image RGB Gain
Write Parameter(s)
Byte Description
Bytes 0-1

Red channel gain setting.

Range = 0 to 200 with step size 1

Bytes 2-3

Green channel gain setting.

Range = 0 to 200 with step size 1

Bytes 4-5

Blue channel gain setting.

Range = 0 to 200 with step size 1

Adjusts individual R, G and B gains of the source image. Gain is specified as a percentage from 0% - 200%, with 100% being nominal (no gain change). 0% will zero out the channel. This function adjusts R, G and B gains by altering the Color Space Conversion (CSC) coefficients. This function is only applicable to RGB sources.

Get Image RGB Gain
Data returned is in the same format as the Write Parameter(s).

Returns gain setting for Red, Green and Blue color channels in percentage.

Table 19-99 CSC Table [Opcode: 47h | Destination: 4]
Set CSC Table
Write Parameter(s)
Byte Description
Byte 0

Index of the pre-defined CSC table in flash.

Range = 0 to 7 with step size 1

0 = Table Fullrange Rgb

1 = Table Bt601 Yuv Videodecoder

2 = Table Fullrange Yuv1

3 = Table Offset Rgb

4 = Table Bt601 Offset Yuv

5 = Table Fullrange Yuv

6 = Table Bt709 Offset Yuv

7 = Table Smpte 240m

8 = Table Bt2020

9 = Maxtable

Sets the Color Space Conversion Matrix with one of the CSC tables stored in flash.

Get CSC Table
Data returned is in the same format as the Write Parameter(s).

Gets the index of the Color Space Conversion Matrix that is currently cofigured for use.

Table 19-100 Image CCA Coordinates [Opcode: 48h | Destination: 4]
Set Image CCA Coordinates
Write Parameter(s)
Byte Description
Bytes 0-1

Original Coordinate Red x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 2-3

Original Coordinate Red y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 4-5

Original Coordinate Red Lum

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 6-7

Original Coordinate Green x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 8-9

Original Coordinate Green y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 10-11

Original Coordinate Green Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 12-13

Original Coordinate Blue x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 14-15

Original Coordinate Blue y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 16-17

Original Coordinate Blue Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 18-19

Original Coordinate White x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 20-21

Original Coordinate White y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 22-23

Original Coordinate White Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 24-25

Original Coordinate C1 x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 26-27

Original Coordinate C1 y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 28-29

Original Coordinate C1 Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 30-31

Original Coordinate C2 x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 32-33

Original Coordinate C2 y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 34-35

Original Coordinate C2 Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 36-37

Original Coordinate DRA A x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 38-39

Original Coordinate DRA A y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 40-41

Original Coordinate DRA A Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 42-43

Original Coordinate DRA B x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 44-45

Original Coordinate DRA B y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 46-47

Original Coordinate DRA B Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 48-49

Original Coordinate DRA C x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 50-51

Original Coordinate DRA C y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 52-53

Original Coordinate DRA C Luminance

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 54-55

Target Coordinate Red x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 56-57

Target Coordinate Red y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 58-59

Target Coordinate Red Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 60-61

Target Coordinate Green x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 62-63

Target Coordinate Green y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 64-65

Target Coordinate Green Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 66-67

Target Coordinate Blue x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 68-69

Target Coordinate Blue y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 70-71

Target Coordinate Blue Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 72-73

Target Coordinate Cyan x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 74-75

Target Coordinate Cyan y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 76-77

Target Coordinate Cyan Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 78-79

Target Coordinate Magenta x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 80-81

Target Coordinate Magenta y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 82-83

Target Coordinate Magenta Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 84-85

Target Coordinate Yellow x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 86-87

Target Coordinate Yellow y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 88-89

Target Coordinate Yellow Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 90-91

Target Coordinate White x

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 92-93

Target Coordinate White y

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

Bytes 94-95

Target Coordinate White Gain

Range = 0.0 to 1.99996948242 with step size 0.00003051757

Format = u1.15

This Command allows independent adjustment of the primary, secondary and white coordinates.

Note: This call will override any CCA settings performed by prior calls.

Get Image CCA Coordinates
Data returned is in the same format as the Write Parameter(s).

Returns the current color coordinate configuration.

Table 19-101 Image HSG [Opcode: 49h | Destination: 4]
Set Image HSG
Write Parameter(s)
Byte Description
Bytes 0-1

HSG Red Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 2-3

HSG Red Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 4-5

HSG Red Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 6-7

HSG Green Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 8-9

HSG Green Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 10-11

HSG Green Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 12-13

HSG Blue Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 14-15

HSG Blue Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 16-17

HSG Blue Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 18-19

HSG Cyan Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 20-21

HSG Cyan Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 22-23

HSG Cyan Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 24-25

HSG Magenta Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 26-27

HSG Magenta Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 28-29

HSG Magenta Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 30-31

HSG Yellow Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 32-33

HSG Yellow Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 34-35

HSG Yellow Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 36-37

HSG White Red Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 38-39

HSG White Green Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 40-41

HSG White Blue Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

This command applies the given Hue, Saturation and Gain values for all colors. It does not affect colors having a gain of zero.

Note: This call will override any CCA settings performed by prior calls.

Get Image HSG
Data returned is in the same format as the Write Parameter(s).

This command returns the currently applied Hue, Saturation and Gain values for all the colors. If Gain for a color is zero then the HSG is not applied on the color.

Table 19-102 Image Gamma LUT [Opcode: 4Ah | Destination: 4]
Set Image Gamma LUT
Write Parameter(s)
Byte Description
Byte 0

Gamma look-up table to load.

This command loads the specified Gamma look-up table into memory from flash. A single load is accomplished by loading data for red, green and blue look-up tables.

Get Image Gamma LUT
Data returned is in the same format as the Write Parameter(s).

Returns the table number of the Gamma look-up table currently loaded in memory.

Table 19-103 Image Gamma Curve Shift [Opcode: 4Bh | Destination: 4]
Set Image Gamma Curve Shift
Write Parameter(s)
Byte Description
Byte 0

Red Gamma curve shift.

Range = -128 to 127 with step size 1

Byte 1

Green Gamma curve shift.

Range = -128 to 127 with step size 1

Byte 2

Blue Gamma curve shift.

Range = -128 to 127 with step size 1

Byte 3

Broadcasted shift to Gamma curves of all color.

Range = -128 to 127 with step size 1

Used to specify the shifts in the Gamma curve of Red, Green and Blue. A left shift is a positive offset and a right shift is a negative offset. The effective brightness is increased with a left shift and decreased with a right shift.

Get Image Gamma Curve Shift
Data returned is in the same format as the Write Parameter(s).

Returns Image Gamma Shift for red, green and blue as well as shift to be broadcasted to all colors

Table 19-104 Img White Peaking Factor [Opcode: 4Ch | Destination: 4]
Set Img White Peaking Factor
Write Parameter(s)
Byte Description
Byte 0

Amount of white processing. Range 0 to 10).

Get Img White Peaking Factor
Data returned is in the same format as the Write Parameter(s).
Table 19-105 XPR Filter Strength Command [Opcode: 4Dh | Destination: 4]
Set XPR Filter Strength Command
Write Parameter(s)
Byte Description
Byte 0

Filter Strength setting determines how much of high frequency content is filtered out. Valid range 0-7Setting of 0 means least filtering of high frequency content (sharpest image; more flicker) Setting of 7 means most filtering of high frequency content (smoothest image; least flicker)

Get XPR Filter Strength Command
Data returned is in the same format as the Write Parameter(s).
Table 19-106 HDR Source Configuration [Opcode: 4Eh | Destination: 4]
Set HDR Source Configuration
Write Parameter(s)
Byte Description
Byte 0

Transfer Function

0 = Reserved

1 = Reserved

2 = PQ

3 = HLG

Bytes 1-4

Master Display Black Level (nits)

Range = 0.0000 to 10000.0

Format = u16.16

Bytes 5-8

Master Display White Level (nits)

Range = 0.0000 to 10000.0

Format = u16.16

Bytes 9-10

Master Display Color Gamut Red x

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 11-12

Master Display Color Gamut Red y

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 13-14

Master Display Color Gamut Green x

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 15-16

Master Display Color Gamut Green y

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 17-18

Master Display Color Gamut Blue x

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 19-20

Master Display Color Gamut Blue y

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 21-22

Master Display Color Gamut White x

Range = 0.0000 to 1.0000

Format = u1.15

Bytes 23-24

Master Display Color Gamut White y

Range = 0.0000 to 1.0000

Format = u1.15

HDR maps wider brightness and color range of HDR sources to projector brightness and color range. The mapping requires multiple source groups and system groups to define the HDR source and projection device properties respectively. This command sets the source properties and based on this information selects nearest source group for mapping.

Get HDR Source Configuration
Data returned is in the same format as the Write Parameter(s).

Includes the metadata information.

Table 19-107 HDR Strength Setting [Opcode: 4Fh | Destination: 4]
Set HDR Strength Setting
Write Parameter(s)
Byte Description
Byte 0

HDR Strength

Range = 0 to 10

Sets HDR strength which adjusts the electro-optical transfer function that is applied on the input HDR video signal. HDR strength can vary with the ambient brightness level.HDR strength is not applicable for HLG transfer function set by HDR source configuration.

Get HDR Strength Setting
Data returned is in the same format as the Write Parameter(s).
Table 19-108 System Brightness Range Setting [Opcode: 50h | Destination: 4]
Set System Brightness Range Setting
Write Parameter(s)
Byte Description
Bytes 0-3

Min Brightness (nits)

Range = 0.0000 to 10000.0

Format = u16.16

Bytes 4-7

Max Brightness (nits)

Range = 0.0000 to 10000.0

Format = u16.16

Sets the system brightness range in nits. These are used in determining the appropriate EOTF and OOTF function to be applied on the HDR source. This need to set only for HDR functionality.

Get System Brightness Range Setting
Data returned is in the same format as the Write Parameter(s).
Table 19-109 Image Color Profile [Opcode: 51h | Destination: 4]
Set Image Color Profile
Write Parameter(s)
Byte Description
Byte 0

Color Profile

Sets pre-configured Gamma table index and HSG settings as stored in the flash image.

Table 19-110 Image Point HSG [Opcode: 52h | Destination: 4]
Set Image Point HSG
Write Parameter(s)
Byte Description
Byte 0

Point

0 = Row0 Col0

1 = Row0 Col1

2 = Row0 Col2

3 = Row0 Col3

4 = Row0 Col4

5 = Row1 Col0

6 = Row1 Col1

7 = Row1 Col2

8 = Row1 Col3

9 = Row1 Col4

10 = Row2 Col0

11 = Row2 Col1

12 = Row2 Col2

13 = Row2 Col3

14 = Row2 Col4

Bytes 1-2

HSG Red Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 3-4

HSG Red Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 5-6

HSG Red Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 7-8

HSG Green Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 9-10

HSG Green Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 11-12

HSG Green Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 13-14

HSG Blue Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 15-16

HSG Blue Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 17-18

HSG Blue Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 19-20

HSG Cyan Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 21-22

HSG Cyan Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 23-24

HSG Cyan Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 25-26

HSG Magenta Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 27-28

HSG Magenta Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 29-30

HSG Magenta Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 31-32

HSG Yellow Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 33-34

HSG Yellow Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 35-36

HSG Yellow Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 37-38

HSG White Red Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 39-40

HSG White Green Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 41-42

HSG White Blue Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

This command applies the given hue, saturation and gain values for all colors, for a specified sample point. Point is a number 0-15 corresponding to one of the the 5 x 3 PCC sample points in raster scan order. It does not affect colors having a gain of zero. Note : This call will override any CCA settings performed by prior calls.

Get Image Point HSG
Read Parameter(s)
Byte Description
Byte 0

Point

0 = Row0 Col0

1 = Row0 Col1

2 = Row0 Col2

3 = Row0 Col3

4 = Row0 Col4

5 = Row1 Col0

6 = Row1 Col1

7 = Row1 Col2

8 = Row1 Col3

9 = Row1 Col4

10 = Row2 Col0

11 = Row2 Col1

12 = Row2 Col2

13 = Row2 Col3

14 = Row2 Col4

Return Parameter(s)
Byte Description
Bytes 0-1

HSG Red Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 2-3

HSG Red Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 4-5

HSG Red Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 6-7

HSG Green Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 8-9

HSG Green Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 10-11

HSG Green Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 12-13

HSG Blue Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 14-15

HSG Blue Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 16-17

HSG Blue Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 18-19

HSG Cyan Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 20-21

HSG Cyan Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 22-23

HSG Cyan Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 24-25

HSG Magenta Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 26-27

HSG Magenta Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 28-29

HSG Magenta Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 30-31

HSG Yellow Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 32-33

HSG Yellow Saturation

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 34-35

HSG Yellow Hue

Range = -1.0 to 1.0 with step size 0.00006103515

Format = s2.14

Bytes 36-37

HSG White Red Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 38-39

HSG White Green Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

Bytes 40-41

HSG White Blue Gain

Range = 0.0 to 1.99993896485 with step size 0.00006103515

Format = s2.14

This command returns the currently applied hue, saturation and gain values for all the colors, for a specified sample point. Point is a number 0-15 corresponding to one of the the 5 x 3 PCC sample points in raster scan order. If gain for a color is zero then the HSG is not applied on the color.

Table 19-111 Spcc Control Points [Opcode: 53h | Destination: 4]
Set Spcc Control Points
Write Parameter(s)
Byte Description
Bytes 0-1

Sets vertical position for (row, col) sample points (1,0), (1,1), (1,2), (1,3), (1,4)

(pixels)

Bytes 2-3

Sets horizontal position for (row, col) sample points (0,1), (1,1), (2,1)

(pixels)

Bytes 4-5

Sets horizontal position for (row, col) sample points (0,3), (1,3), (2,3)

(pixels)

Sets positions of control points for Multipoint sPCC.

Get Spcc Control Points
Data returned is in the same format as the Write Parameter(s).

Returns positions of control points for Multipoint sPCC

Table 19-112 Pcc Coefficients Direct [Opcode: 54h | Destination: 4]
Set Pcc Coefficients Direct
Write Parameter(s)
Byte Description
Byte 0

Point

0 = Row0 Col0

1 = Row0 Col1

2 = Row0 Col2

3 = Row0 Col3

4 = Row0 Col4

5 = Row1 Col0

6 = Row1 Col1

7 = Row1 Col2

8 = Row1 Col3

9 = Row1 Col4

10 = Row2 Col0

11 = Row2 Col1

12 = Row2 Col2

13 = Row2 Col3

14 = Row2 Col4

Bytes 1-2

Pcc Red R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 3-4

Pcc Red G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 5-6

Pcc Red B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 7-8

Pcc Green R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 9-10

Pcc Green G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 11-12

Pcc Green B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 13-14

Pcc Blue R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 15-16

Pcc Blue G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 17-18

Pcc Blue B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 19-20

Pcc Cyan R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 21-22

Pcc Cyan G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 23-24

Pcc Cyan B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 25-26

Pcc Magenta R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 27-28

Pcc Magenta G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 29-30

Pcc Magenta B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 31-32

Pcc Yellow R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 33-34

Pcc Yellow G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 35-36

Pcc Yellow B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 37-38

Pcc White R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 39-40

Pcc White G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 41-42

Pcc White B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

This command applies raw PCC Coefficients for all colors through direct access, for a specified sample point. Point is a number 0-15 corresponding to one of the the 5 x 3 PCC sample points in raster scan order.

Note : This call will override any CCA settings performed by prior calls.

Get Pcc Coefficients Direct
Read Parameter(s)
Byte Description
Byte 0

Point

0 = Row0 Col0

1 = Row0 Col1

2 = Row0 Col2

3 = Row0 Col3

4 = Row0 Col4

5 = Row1 Col0

6 = Row1 Col1

7 = Row1 Col2

8 = Row1 Col3

9 = Row1 Col4

10 = Row2 Col0

11 = Row2 Col1

12 = Row2 Col2

13 = Row2 Col3

14 = Row2 Col4

Return Parameter(s)
Byte Description
Bytes 0-1

Pcc Red R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 2-3

Pcc Red G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 4-5

Pcc Red B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 6-7

Pcc Green R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 8-9

Pcc Green G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 10-11

Pcc Green B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 12-13

Pcc Blue R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 14-15

Pcc Blue G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 16-17

Pcc Blue B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 18-19

Pcc Cyan R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 20-21

Pcc Cyan G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 22-23

Pcc Cyan B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 24-25

Pcc Magenta R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 26-27

Pcc Magenta G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 28-29

Pcc Magenta B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 30-31

Pcc Yellow R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 32-33

Pcc Yellow G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 34-35

Pcc Yellow B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 36-37

Pcc White R

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 38-39

Pcc White G

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

Bytes 40-41

Pcc White B

Range = 0.0 to 1.99951171875 with step size 0.00006103515

Format = s2.14

This command gets raw PCC Coefficients for all colors through direct access, for a specified sample point. Point is a number 0-15 corresponding to one of the the 5 x 3 PCC sample points in raster scan order.

Note : This call will override any CCA settings performed by prior calls.