Skip to content

Add all 32-bit packed little endian 10-bit RGB colour formats

Quantum requested to merge quantum/pipewire:new-formats into master

Given that 10-bit colour is now becoming supported on Wayland, PipeWire should be able to represent all the possible colour formats in order for screen capture to work.

This commit adds all possible orderings of 10-bit RGB channels and 2 extra bits used for nothing or alpha in little endian to enum spa_video_format. Note that Wayland only uses little endian for its 10-bit colour formats, and these are not the same as the big endian formats in reverse order.

cc @emersion @columbarius

Edited by Quantum

Merge request reports