[MPlayer-dev-eng] vop scale and yuy2
D Richard Felker III
dalias at aerifal.cx
Thu May 29 21:00:15 CEST 2003
On Thu, May 29, 2003 at 08:31:53PM +0200, Sascha Sommer wrote:
> A few people lately had problems with vo directx and yuy2 output.
> The problem seems to be that some cards support YUY2 and RGB/BGR overlay.
> Therefore I return VFCAP_CSP_SUPPORTED_BY_HW for both of them.
> Vop scale however will always use the RGB/BGR formats first, because they
> are in front of
> the yuv formats in outfmt_list. Is YV12 -> RGB conversion faster than
> YV12 -> YUY2?
No, totally the opposite. YV12->RGB is MUCH slower, since it outputs
twice as many bytes and has to do colorspace transform (matrix
> Otherwise I would propose to reorder outfmt_list so that the yuv formats are
> used before
> the rgb formats or would it be better to handle this in vo directx itself?
Agree, this should be changed for everything, not just directx.
More information about the MPlayer-dev-eng