From c64b58f451f9fe326065a359e9210cb0eb8fbef4 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 29 Apr 2023 14:12:31 +0100 Subject: [PATCH] --- openpower/sv/twin_butterfly.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpower/sv/twin_butterfly.mdwn b/openpower/sv/twin_butterfly.mdwn index e35862b1b..7bf1310b2 100644 --- a/openpower/sv/twin_butterfly.mdwn +++ b/openpower/sv/twin_butterfly.mdwn @@ -35,7 +35,8 @@ For the double-coefficient butterfly instruction. `fdct_round_shift` is defined as `ROUND_POWER_OF_TWO(x, 14)` ``` - #define ROUND_POWER_OF_TWO(value, n) (((value) + (1 << ((n)-1))) >> (n)) + #define ROUND_POWER_OF_TWO(value, n) \ + (((value) + (1 << ((n)-1))) >> (n)) ``` These instructions are at the core of **ALL** FDCT calculations in many major video codecs, including -but not limited to- VP8/VP9, AV1, etc. -- 2.30.2