Skip to content

access/rdp: map the format to known chromas

Steve Lhomme requested to merge robUx4/vlc:rdp_pix_fmt into master

According to the color definitions in [1]. And the naming matches the memory order:

The format naming scheme is based on byte position in memory.

Given it's a Windows protocol the 15/16-bit variants are assumed to be Little-Endian.

The pixel formats should be the one we set in postConnectHandler, but we map all of them just in case.

[1} https://github.com/FreeRDP/FreeRDP/blob/b608be19e4f83586ed1518a85ba100c770008014/include/freerdp/codec/color.h

Merge request reports