[Mesa-dev] VDPAU scaling rather than cropping 1088 -> 1080

Christian König deathsimple at vodafone.de
Sun Aug 28 04:59:36 PDT 2011

Hey Andy,

the attached patch should fix your issue.

Please test it.


Am Mittwoch, den 17.08.2011, 12:52 +0100 schrieb Andy Furniss:
> Maybe this is already known/just not complete yet, but as I've 
> previously written that r600 -vo vdpau without decode looked OK I ought 
> to mention it as I've just noticed.
> 1080 height mpeg2 or h264 "internally" is 1088, the bottom 8 lines 
> should be cropped off, which is what -vo x11/gl/xv/xvmc do.
> vdpau is not doing this, but is scaling 1088 to 1080.
> Depending on the source material this may not be very noticeable, 
> possibly just extra black at the bottom + scale, which is only really 
> obvious with vertres test type patterns. Some h264 I've tried do result 
> in a more irritating distorted green band at the bottom of the picture.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

More information about the mesa-dev mailing list