[Libva] VA VPP scaling problem with target sizes not aligned to 16/8 pixels
Xiang, Haihao
haihao.xiang at intel.com
Thu Jun 28 18:45:55 PDT 2012
On Thu, 2012-06-28 at 14:01 +0000, Verbeiren, David wrote:
> 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?
Could you file a bug to track this issue ? I would appreciate if you can
provide a simple case to reproduce this issue.
Thanks
Haihao
>
>
> 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
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
More information about the Libva
mailing list