Skip to content
  • Henrik Gramner's avatar
    Pack palette indices · 72e9c7c0
    Henrik Gramner authored and Henrik Gramner's avatar Henrik Gramner committed
    Pack two indices into each byte instead of storing them separately.
    
    Reduces memory usage by up to 16 kB per sb128 in streams that uses
    screen content tools when frame-threading is enabled, at the cost
    of some additional computational overhead for packing/unpacking.
    72e9c7c0