KerwinMa / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ARGBInterpolate corrupts 4 pixels per row #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The interpolation extrudes the last pixel of a row, as it was intended for 
filtering.
Solution is to do a custom function, or preserve the last 16 bytes somehow.

As a work around/optimization, if all 3 images are the same size, call the 
function with width * height, 1 for dimensions and provide 16 extra bytes at 
the end of buffer.

Original issue reported on code.google.com by fbarch...@google.com on 12 Jul 2012 at 6:07

GoogleCodeExporter commented 9 years ago
fixed in r303 by saving the last16 bytes per row.

Original comment by fbarch...@google.com on 13 Jul 2012 at 1:59