• Wim Taymans's avatar
    video: add option to unpack and truncate the range · a18c098f
    Wim Taymans authored
    Add an unpack option to specify what to do with the least significant bits of
    the destination when the source format has less bits than the destination. By
    default we will now copy the most significant bits of the source into the least
    significant bits of the destination so that the full color range is represented.
    Add an option to leave the extra destination bits 0, which may be faster and
    could be compensated for in the element algorithm.
    a18c098f
video-format.h 17.6 KB