[MPlayer-dev-eng] YUV support in vo_quartz, status update

Romain Dolbeau dolbeaur at club-internet.fr
Sat Apr 24 20:16:17 CEST 2004


Romain Dolbeau <dolbeau at irisa.fr> wrote:

> Too bad something else is wrong and the OS convert
> YUV to RGB behind my back :-(

Apparently, on my tibook, QuickTime insist upon converting to a format
identified as "2VUY", using functions with beautiful names like:

YUV422_UC_To2VUY_W1x

That particular one takes as input what mplayer calls "Packed YUY2", or
IMGFMT_YUY2. I currently have support for IMGFMT_YUY2 , IMGFMT_UYVY,
IMGFMT_YV12, IMGFMT_IYUV and IMGFMT_I420. All of them are converted,
apparently (eating up CPU cycles, naturally).

The "best" part is that IMGFMT_UYVY is decoded by something identified
as k422YpCbCr8CodecType, a constant defined as '2vuy'. Apparently it
ain't the same as the 2VUY above, because about 9% of mplayer CPU is
spent in _YUV422_UC_To2VUY_W1x (yes, different format, same function).

Of course, I haven't the faintest idea of what could 2VUY could possibly
be in AppleLanguage, but it doesn't seem any supported decoder can
generate it :-(

I love MacOSX, but sometimes I really wonder _why_ :-)

-- 
Romain Dolbeau




More information about the MPlayer-dev-eng mailing list