BACKPORT: gallium/auxiliary/vl: Include src region in scale_y calculation

BUG=b:174279032
    b:174876776
    b:174981440
TEST= run tast.video.DecodeAccel.h264*
      (or) run cts android.media.cts.DecodeAccuracyTest.*
      (or) record camera video and playback the same.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3521
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6736>
 (cherry picked from commit 26a83bef7b98899913b19ddb7efadaa1f435b25f)
Signed-off-by: SureshGuttula <sguttula@amd.com>
Change-Id: I75e85b2ce4ab2e50334de6f9bceb0701f68f2198
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/2599676
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
1 file changed