diff options
author | Martin Storsjö <martin@martin.st> | 2020-02-04 22:03:18 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-02-11 11:43:43 +0300 |
commit | 96da9cc232b4b238bcd215025d075039a5b0a86f (patch) | |
tree | 5fd75169cc44e0db1bc0b9264347afa82bf85f7f /src/looprestoration.h | |
parent | 8fb306575cef9c1882cfc693b1c47e68e27fc71a (diff) |
looprestoration: Add a bpc parameter to the init func
This allows using completely different codepaths for 10 and 12 bpc,
or just adding SIMD functions for either of them.
Diffstat (limited to 'src/looprestoration.h')
-rw-r--r-- | src/looprestoration.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/looprestoration.h b/src/looprestoration.h index 2d16df8..539a76b 100644 --- a/src/looprestoration.h +++ b/src/looprestoration.h @@ -72,8 +72,8 @@ typedef struct Dav1dLoopRestorationDSPContext { selfguided_fn selfguided; } Dav1dLoopRestorationDSPContext; -bitfn_decls(void dav1d_loop_restoration_dsp_init, Dav1dLoopRestorationDSPContext *c); -bitfn_decls(void dav1d_loop_restoration_dsp_init_arm, Dav1dLoopRestorationDSPContext *c); +bitfn_decls(void dav1d_loop_restoration_dsp_init, Dav1dLoopRestorationDSPContext *c, int bpc); +bitfn_decls(void dav1d_loop_restoration_dsp_init_arm, Dav1dLoopRestorationDSPContext *c, int bpc); bitfn_decls(void dav1d_loop_restoration_dsp_init_x86, Dav1dLoopRestorationDSPContext *c); bitfn_decls(void dav1d_loop_restoration_dsp_init_ppc, Dav1dLoopRestorationDSPContext *c); |