umlaeute / Gem

Graphics Environment for Multimedia (official repository)
https://gem.iem.at
Other
103 stars 29 forks source link

YUV->RGBA conversion broken #378

Closed umlaeute closed 9 months ago

umlaeute commented 1 year ago

on apple (macOS/Sierra; amd64), sending converting from YUV to RGBA is broken.

it seems that both Red/Green and Blue/Alpha are swapped (the image is reported as GL_BGRA, but it obviously really is GL_ARGB

ARGB

umlaeute commented 9 months ago

actually it's also broken on Linux/amd64, where red and blue are swapped.

umlaeute commented 9 months ago

and the red/green resp blue/alpha swapping on macOS is true for both amd64 and arm64