aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mccdec.c
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-10-05 19:12:54 +0300
committerLynne <dev@lynne.ee>2022-10-10 02:22:12 +0200
commitf59a767ccd56ba1b82ae94e2229f9151936f8b7c (patch)
treee8bdb02a278a3895ca6e5db1e4dc1a89fce28069 /libavformat/mccdec.c
parent8009581912d0e5d6ecfa650cd0ce90c58c515b69 (diff)
downloadffmpeg-f59a767ccd56ba1b82ae94e2229f9151936f8b7c.tar.gz
lavu/riscv: helper macro for VTYPE encoding
On most cases, the vector type (VTYPE) for the RISC-V Vector extension is supplied as an immediate value, with either of the VSETVLI or VSETIVLI instructions. There is however a third instruction VSETVL which takes the vector type from a general purpose register. That is so the type can be selected at run-time. This introduces a macro to load a (valid) vector type into a register. The syntax follows that of VSETVLI and VSETIVLI, with element size, group multiplier, then tail and mask policies.
Diffstat (limited to 'libavformat/mccdec.c')
0 files changed, 0 insertions, 0 deletions