diff options
author | Frank Barchard <fbarchard@google.com> | 2019-07-17 16:05:26 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-18 02:13:02 +0000 |
commit | f1c00932dfbc6bec9a48da90ca36ebd0101f16ce (patch) | |
tree | ce809d8d199f56548f2d5f7ed5ae0427d795ebd6 /docs | |
parent | f9aacffa029ff3a32f0408f78e2588663271f1b1 (diff) | |
download | libyuv-f1c00932dfbc6bec9a48da90ca36ebd0101f16ce.tar.gz |
NV21 unittest and benchmark
BUG=libyuv:809
Change-Id: I75afb5612dcd05820479848a90ad16b07a7981bc
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/1707229
Reviewed-by: richard winterton <rrwinterton@gmail.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/rotation.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/rotation.md b/docs/rotation.md index fb84fce5..a08430fd 100644 --- a/docs/rotation.md +++ b/docs/rotation.md @@ -100,4 +100,8 @@ Inverting can be achieved with almost any libyuv function by passing a negative I420Mirror and ARGBMirror can also be used to rotate by 180 degrees by passing a negative height. +# Cropping - Vertical Flip +When cropping from a subsampled format like NV21, the method of setting the start pointers wont work for odd crop start y on the UV plane. +If the height after cropping will be odd, invert the source - point to the last row, negate the strides, and pass negative height, which +will re-invert the image as the conversion outputs. |