[MPlayer-dev-eng] swscaler - any chance of rgb8 input and yuy2 output?
Arpi
arpi at thot.banki.hu
Fri Oct 11 15:48:22 CEST 2002
Hi,
Currently there are 3 filters to do teh colorspace conversion:
-vop scale - uses swscaler, converts near everything to near everything
-vop yuy2 - converts yv12/422p -> yuy2 (packed yuv)
-vop palette - converts rgb8/bgr8 -> rgb/bgr 15/16/24/32
but only -vop scale is auto-selected by codec/filter initialization.
one, easier way to fix is adding probe for yuy2 and paletet filters too,
when scale fails, but it's a bit messy (load scale, query for best
conversion, unload, load yuy2, query, unload, load palette, query, decide
which is teh best, load it again...)
the other way would be adding rgb/bgr8 input and yuy2 output support to
swscaler. so it could do things like yv12->yuy2 upscaling or rgb8->yv12
in single step... any volunteers?
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