external_ffmpeg/libswscale
fangyibo de5cd3cb7c ffmpeg: fix scale build error in specific product
CC:  ffmpeg/libavformat/rtp.c 1 warning generated.
ffmpeg/libswscale/utils.c:701:33: error: use of undeclared identifier 'AV_CPU_FLAG__TIE_xt_FP_LSX'
    if (have_lasx(cpu_flags) || have_lsx(cpu_flags)) {
                                ^
ffmpeg/libavutil/loongarch/cpu.h:28:25: note: expanded from macro 'have_lsx'
#define have_lsx(flags) CPUEXT(flags, LSX)
                        ^
ffmpeg/libavutil/cpu_internal.h:43:31: note: expanded from macro 'CPUEXT'
#define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
                              ^
ffmpeg/libavutil/cpu_internal.h:27:46: note: expanded from macro 'CPUEXT_SUFFIX'
    (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
                                             ^
<scratch space>:186:1: note: expanded from here
AV_CPU_FLAG__TIE_xt_FP_LSX
^
ffmpeg/libswscale/utils.c:701:33: error: use of undeclared identifier 'HAVE__TIE_xt_FP_LSX'; did you mean '_TIE_xt_FP_LSX'?
ffmpeg/libavutil/loongarch/cpu.h:28:25: note: expanded from macro 'have_lsx'
#define have_lsx(flags) CPUEXT(flags, LSX)
                        ^
ffmpeg/libavutil/cpu_internal.h:43:31: note: expanded from macro 'CPUEXT'
#define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
                              ^
ffmpeg/libavutil/cpu_internal.h:27:6: note: expanded from macro 'CPUEXT_SUFFIX'
    (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
     ^
<scratch space>:185:1: note: expanded from here
HAVE__TIE_xt_FP_LSX
^
/workdir/prebuilts/clang/linux/xtensa/bin/../config/../hifi4_bes_asic_newlib/xtensa-elf/arch/include/xtensa/tie/xt_FP.h:156:16: note: '_TIE_xt_FP_LSX' declared here
extern xtfloat _TIE_xt_FP_LSX(const xtfloat * a /*in*/, int off /*in*/);
               ^
ffmpeg/libswscale/utils.c:1865:37: error: use of undeclared identifier 'AV_CPU_FLAG__TIE_xt_FP_LSX'
                                    have_lsx(cpu_flags)    ? 8 :
                                    ^
ffmpeg/libavutil/loongarch/cpu.h:28:25: note: expanded from macro 'have_lsx'
#define have_lsx(flags) CPUEXT(flags, LSX)
                        ^
ffmpeg/libavutil/cpu_internal.h:43:31: note: expanded from macro 'CPUEXT'
#define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
                              ^
ffmpeg/libavutil/cpu_internal.h:27:46: note: expanded from macro 'CPUEXT_SUFFIX'
    (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
                                             ^
<scratch space>:57:1: note: expanded from here
AV_CPU_FLAG__TIE_xt_FP_LSX
^
ffmpeg/libswscale/utils.c:1865:37: error: use of undeclared identifier 'HAVE__TIE_xt_FP_LSX'; did you mean '_TIE_xt_FP_LSX'?
ffmpeg/libavutil/loongarch/cpu.h:28:25: note: expanded from macro 'have_lsx'
#define have_lsx(flags) CPUEXT(flags, LSX)
                        ^
ffmpeg/libavutil/cpu_internal.h:43:31: note: expanded from macro 'CPUEXT'
#define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
                              ^
ffmpeg/libavutil/cpu_internal.h:27:6: note: expanded from macro 'CPUEXT_SUFFIX'
    (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
     ^
<scratch space>:56:1: note: expanded from here
HAVE__TIE_xt_FP_LSX
^
/workdir/prebuilts/clang/linux/xtensa/bin/../config/../hifi4_bes_asic_newlib/xtensa-elf/arch/include/xtensa/tie/xt_FP.h:156:16: note: '_TIE_xt_FP_LSX' declared here
extern xtfloat _TIE_xt_FP_LSX(const xtfloat * a /*in*/, int off /*in*/);

Signed-off-by: fangyibo <fangyibo@xiaomi.com>
2026-04-20 20:58:13 +08:00
..
aarch64 ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
arm ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
loongarch ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
ppc ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
riscv ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
tests ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
x86 ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
Makefile ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
alphablend.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
bayer_template.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
gamma.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
half2float.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
hscale.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
hscale_fast_bilinear.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
input.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
libswscale.v ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
log2_tab.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
options.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
output.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
rgb2rgb.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
rgb2rgb.h ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
rgb2rgb_template.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
slice.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
swscale.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
swscale.h ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
swscale_internal.h ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
swscale_unscaled.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
swscaleres.rc ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
utils.c ffmpeg: fix scale build error in specific product 2026-04-20 20:58:13 +08:00
version.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
version.h ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
version_major.h ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
vscale.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00
yuv2rgb.c ffmpeg7: fixed amix format when graph load 2026-04-20 20:57:53 +08:00