sylvain121 / SimpleRemoteDesktop

Remote desktop client based on h264 steam. like splashtop and other

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pixel depth assumptions

grabya opened this issue · comments

The capture assumes x display has 4 bytes per pixel (e.g. memcpy size of width * height * 4)
The encoder assumes 4 bytes per pixel (i.e. RGBA)

Hi,
Yes, XImage return by X11 server always have 4 bytes per pixel in the BGRA format