Skip to content
Snippets Groups Projects
  • Mark Thompson's avatar
    22afa87a
    kmsgrab: Fix DRM format definitions · 22afa87a
    Mark Thompson authored
    All DRM formats are defined in terms of little-endian words, so RGB formats
    like XRGB actually have the elements in the opposite order order in memory
    to the order they are in the name.
    
    This does not affect YUYV and similar YUV 4:2:2 formats, which are in the
    expected order.
    22afa87a
    History
    kmsgrab: Fix DRM format definitions
    Mark Thompson authored
    All DRM formats are defined in terms of little-endian words, so RGB formats
    like XRGB actually have the elements in the opposite order order in memory
    to the order they are in the name.
    
    This does not affect YUYV and similar YUV 4:2:2 formats, which are in the
    expected order.