mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pipewiresrc: Add mapping for 10bit BGRA/ARGB
These format are to allow streaming HDR video from Weston pipewire renderer.
This commit is contained in:
parent
91ebfac75b
commit
3537c7e143
1 changed files with 9 additions and 0 deletions
|
|
@ -130,6 +130,15 @@ static const uint32_t video_format_map[] = {
|
||||||
SPA_VIDEO_FORMAT_I422_12LE,
|
SPA_VIDEO_FORMAT_I422_12LE,
|
||||||
SPA_VIDEO_FORMAT_Y444_12BE,
|
SPA_VIDEO_FORMAT_Y444_12BE,
|
||||||
SPA_VIDEO_FORMAT_Y444_12LE,
|
SPA_VIDEO_FORMAT_Y444_12LE,
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_GRAY10_LE32 */
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_NV12_10LE32 */
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_NV16_10LE32 */
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_NV12_10LE40 */
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_Y210 */
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_Y410 */
|
||||||
|
SPA_VIDEO_FORMAT_UNKNOWN, /* GST_VIDEO_FORMAT_VUYA */
|
||||||
|
SPA_VIDEO_FORMAT_BGRx_102LE,
|
||||||
|
SPA_VIDEO_FORMAT_RGBx_102LE,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint32_t color_range_map[] = {
|
static const uint32_t color_range_map[] = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue