watery01 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

ARGB scale mirroring #220

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If passed a negative height, libyuv functions mirror vertically.
This is for the benefit of Windows BMP/DIBs that use last row first, and the 
API at capture does not have a stride, so negative height is used to indicate 
an inverted image.

If passed a negative width, libyuv functions could mirror horizontally?
This would be hard in general, and ARGBMirror is provided.  But for scale, it 
may be possible to implement horizontally mirroring with no performance penalty.

Horizontal mirroring is used for self view.

Original issue reported on code.google.com by fbarch...@chromium.org on 18 Apr 2013 at 7:16

GoogleCodeExporter commented 9 years ago
r681 adds mirror support to convert tool.

out\Debug\convert.exe faces_1280x720_ARGB.raw -s 1280 -720 
faces_640x360_P420.yuv

but only vertical is supported by scale so far.

Original comment by fbarch...@google.com on 30 Apr 2013 at 9:39

GoogleCodeExporter commented 9 years ago
Fixed in r686

Original comment by fbarch...@chromium.org on 6 May 2013 at 6:43