Hi,

I'm using VA post-processing feature to scale and combine multiple surfaces 
(result of decode) onto a target surface which is then displayed using 
vaPutSurface(). This works well but I'm seeing that scaling is only correct for 
target widths that are aligned to 16 pixels and heights aligned to 8 pixels. 
For other target sizes, the final rows or columns show a repeat of the last row 
or column of the last full block of 8 or 16.

I was able to tweak the code so it doesn't do this repeat, but then the final 
rows or columns are plainly missing, so it's not really a solution, especially 
when implementing continuous zoom in/out, as the surface border then jumps by 8 
pixels vertically and 16 horizontally.

Is there a limitation in the "shader" scaling code with regards to target 
dimensions? Is it supposed to handle non 16/8 aligned sizes?

Thanks,
-David
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to