diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2019-10-10 15:26:36 -0700 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-10-11 16:37:31 +0000 |
commit | 40bcefcb3ba4c250ac26a4f504cd17b427bc1802 (patch) | |
tree | 8c3a7982d81600b134ca23daab7b6d5beee382c7 /tests | |
parent | 58a512b7c5aa671fd264146d3660633bd8cde47e (diff) | |
download | gstreamer-vaapi-40bcefcb3ba4c250ac26a4f504cd17b427bc1802.tar.gz |
vaapipostproc: fix off-by-one coord translations
When translating navigation x,y coordinates for
video-direction, it is necessary to subtract 1
when using the video dimensions to compute the
new x,y coordinates. That is, a 100x200 image
should map coordinates in x=[0-99],y=[0-199].
This issue was found with unit tests provided
in !182.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions