projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc5e8d
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 29 Apr 2023 13:12:31 +0000
(14:12 +0100)
committer
IkiWiki
<ikiwiki.info>
Sat, 29 Apr 2023 13:12:31 +0000
(14:12 +0100)
openpower/sv/twin_butterfly.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/twin_butterfly.mdwn
b/openpower/sv/twin_butterfly.mdwn
index e35862b1bb76efa8adcfa29192f03f2b6ce6141b..7bf1310b249fbad4197d931d65d2a7a56931eb2a 100644
(file)
--- 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.