[MPlayer-dev-eng] YUV in vo_quartz, should be there soon

Romain Dolbeau dolbeau at irisa.fr
Thu Apr 29 17:46:09 CEST 2004


Hello all,

I finally found my problems. YV12 is not hw-accel,
but it no longer goes to RGB. The reason ? A small
square in the bottom-right corner for resize. With
it, QuickTime goes to RGB because the output is
not square. Without it, it doesn't, and rescaling
is done entirely in hardware... It's _much_ faster
than before, although still slower than a real YV12
overlay.

The reason I had different behavior on my laptop
and the G5 was the screen resolution. vo_quartz
try to compute the aspect ratio with my screen
resolution, with 3:2 aspect, but a monitor aspect
of 4:3. So it tried to scale. Of course, If I
disabled scaling, the picture didn't fit the
window... and avoided the aforementioned square,
so was hw-accelerated... while the G5 with
a 4:3 ratio alwas add the square problem. Freaky.

I only need to fix the aspect ratio in fullscreen
(ATM I take over *all* the screen), and it should
be OK (I also added a draw_alpha for uyvy).

-- 
Romain Dolbeau




More information about the MPlayer-dev-eng mailing list