mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 20:07:04 +00:00
swscale: [loongarch] Fix undeclared functions prob.
Compile with '--disable-lasx', ‘lumRangeFromJpeg_lasx’ undeclared. Reviewed-by: 金波 <jinbo@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
544acfa2c0
commit
6b35fcacdb
@ -41,6 +41,7 @@ av_cold void ff_sws_init_range_convert_loongarch(SwsContext *c)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if HAVE_LASX
|
||||||
if (have_lasx(cpu_flags)) {
|
if (have_lasx(cpu_flags)) {
|
||||||
if (c->srcRange != c->dstRange && !isAnyRGB(c->dstFormat)) {
|
if (c->srcRange != c->dstRange && !isAnyRGB(c->dstFormat)) {
|
||||||
if (c->dstBpc <= 14) {
|
if (c->dstBpc <= 14) {
|
||||||
@ -54,6 +55,7 @@ av_cold void ff_sws_init_range_convert_loongarch(SwsContext *c)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // #if HAVE_LASX
|
||||||
}
|
}
|
||||||
|
|
||||||
av_cold void ff_sws_init_swscale_loongarch(SwsContext *c)
|
av_cold void ff_sws_init_swscale_loongarch(SwsContext *c)
|
||||||
|
Loading…
Reference in New Issue
Block a user