• Maarten Lankhorst's avatar
    lib/color_encoding: Prepare support for HDR modes, v2. · b0033d93
    Maarten Lankhorst authored
    We're starting to add support for 10, 12 and 16-bits formats that all have
    different values for the Y offset and range. Some 10 bits formats
    go from [0...1023], others go to [0...1023] shifted left by 6. To
    accomodate all formats add a struct definition for all various formats,
    this can be extended further when we add new formats.
    
    Changes since v1:
    - Rebase on top of added yuv changes.
    - Add commit description (swatish)
    - Add missing newline. (swatish)
    Signed-off-by: 's avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> #v1
    b0033d93
igt_color_encoding.h 2.01 KB