[Libva] [PATCH][G45][2/4] Simplify vaGetImage()
Xiang, Haihao
haihao.xiang at intel.com
Mon Jul 12 19:07:28 PDT 2010
On Tue, 2010-07-13 at 07:20 +0800, Gwenole Beauchesne wrote:
> Hi,
>
> This patch factors out code for get_image_{yv12,nv12}(). A new
> memcpy_pic() function is introduced and the net result is fewer source
> code lines.
1. This patch uses rect->y to calculate address for U/V, however the
original function uses rect->y/2, which one is right?
2. Why is (rect->x & -2) needed for UV data?
Thanks
Haihao
More information about the Libva
mailing list