vah264enc: Avoid precision lost by just rounding up.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 17 Sep 2022 08:14:40 +0000 (10:14 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 17 Sep 2022 08:14:40 +0000 (10:14 +0200)
commita8387fdc6b6ee67c35bb587abc631563185490f4
treea87161deced6c28a89ba6f97d4d91e3729480ea2
parent69c75f9827158d2a1c1782d813330f140f37977e
vah264enc: Avoid precision lost by just rounding up.

The code where dividing by 16 and later multiplying by 16, which is
spurious and a potential loose of precision.
subprojects/gst-plugins-bad/sys/va/gstvah264enc.c