Skip to content

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 (merged).

Merge request reports