[MPlayer-dev-eng] RGB24 <-> BGR24
Arpi
arpi at thot.banki.hu
Sat Apr 13 00:19:44 CEST 2002
Hi,
Michael, could you implement a fast 24bpp RGB<->BGR converter ?
There is a 32bpp one, but in most cases we need 24bpp, and the
current 24to32 -> rgbtobgr -> 32to24 is a way silly and slow
also, what about rgb24->yuy2 ?
rgb24->yv12->yuy2 is possible, but it's slower and produces worse quality.
hmm. and what about a yuv422p -> yuy2 converter?
yuv422p is similar to yv12, but u,v ar eonly horizontally downscaled,
the height of u,v is teh same as y
the current way, i use, multiply u/v stride by 2, and handle it as yv12
image, but it may produce worse quality. yuv422p is produced by libavcodec,
for yuv 4:2:2 forrmats (mostly mjpeg)
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list