aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_dv.c
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-09-12 18:53:19 +0300
committerJames Almer <jamrial@gmail.com>2022-09-13 16:50:43 -0300
commitdf2057041b6079bea2fc5e6b31b00756f3da7d54 (patch)
treee35cb750552bb771dfca91299a23ad22c5153124 /libavformat/rtpdec_dv.c
parentff14e3739393147b4596245ea511ec43a4ce6448 (diff)
downloadffmpeg-df2057041b6079bea2fc5e6b31b00756f3da7d54.tar.gz
lavu/riscv: byte-swap operations
If the target supports the Basic bit-manipulation (Zbb) extension, then the REV8 instruction is available to reverse byte order. Note that this instruction only exists at the "XLEN" register size, so we need to right shift the result down to the data width. If Zbb is not supported, then this patchset does nothing. Support for run-time detection is left for the future. Currently, there are no bits in auxv/ELF HWCAP for Z-extensions, so there are no clean ways to do this.
Diffstat (limited to 'libavformat/rtpdec_dv.c')
0 files changed, 0 insertions, 0 deletions