summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2019-10-10 15:26:36 -0700
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-10-11 16:37:31 +0000
commit40bcefcb3ba4c250ac26a4f504cd17b427bc1802 (patch)
tree8c3a7982d81600b134ca23daab7b6d5beee382c7 /tests
parent58a512b7c5aa671fd264146d3660633bd8cde47e (diff)
downloadgstreamer-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