Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2019-05-09 21:39:08 +0300
committerHenrik Gramner <henrik@gramner.com>2019-05-10 00:35:04 +0300
commit8d2dd439005f72e2f73fc6155f0c2245cbf3227f (patch)
tree53ccb8ad8bd2fb4839eaf1e9f0e06596e4b7ccb1 /src/looprestoration_tmpl.c
parentd400361524ce739db30d552a9e54809d812710c6 (diff)
Add __attribute__((cold)) to rarely used functions
Diffstat (limited to 'src/looprestoration_tmpl.c')
-rw-r--r--src/looprestoration_tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/looprestoration_tmpl.c b/src/looprestoration_tmpl.c
index 08af2b0..20ed670 100644
--- a/src/looprestoration_tmpl.c
+++ b/src/looprestoration_tmpl.c
@@ -573,7 +573,7 @@ static void selfguided_c(pixel *p, const ptrdiff_t p_stride,
}
}
-void bitfn(dav1d_loop_restoration_dsp_init)(Dav1dLoopRestorationDSPContext *const c) {
+COLD void bitfn(dav1d_loop_restoration_dsp_init)(Dav1dLoopRestorationDSPContext *const c) {
c->wiener = wiener_c;
c->selfguided = selfguided_c;