In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_v48_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:159:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, v, 48);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1366:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_v64_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,           
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1386:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, v, 64, 8, vt, my);
 ^~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_v64_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:160:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, v, 64);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1366:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_v24_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,           
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1388:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, v, 24, 4, vt, my);
 ^~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_v24_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:169:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, v, 24);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1366:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_v32_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,           
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1389:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, v, 32, 4, vt, my);
 ^~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_v32_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:170:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, v, 32);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_hv8_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1410:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(qpel, 8, 8);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_hv8_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:162:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, hv, 8);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_hv16_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1411:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(qpel, 16, 8);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_hv16_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:163:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, hv, 16);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_hv24_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1412:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(qpel, 24, 8);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_hv24_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:164:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, hv, 24);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_hv32_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1413:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(qpel, 32, 8);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_hv32_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:165:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, hv, 32);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_hv48_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1414:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(qpel, 48, 8);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_hv48_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:166:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, hv, 48);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_qpel_hv64_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1415:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(qpel, 64, 8);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_qpel_hv64_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:167:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(qpel, hv, 64);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_hv8_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1417:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(epel, 8, 4);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_hv8_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:172:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, hv, 8);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_hv12_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1418:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(epel, 12, 4);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_hv12_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:173:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, hv, 12);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_hv16_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1419:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(epel, 16, 4);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_hv16_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:174:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, hv, 16);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_hv24_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1420:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(epel, 24, 4);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_hv24_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:175:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, hv, 24);
 ^~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1394:6: error: conflicting types for 'ff_hevc_put_hevc_uni_epel_hv32_8_lsx'
 void ff_hevc_put_hevc_uni_##PEL##_hv##WIDTH##_8_lsx(uint8_t *dst,          
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevc_mc_uni_lsx.c:1421:1: note: in expansion of macro 'UNI_MC_HV'
 UNI_MC_HV(epel, 32, 4);
 ^~~~~~~~~
In file included from libavcodec/loongarch/hevc_mc_uni_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:146:6: note: previous declaration of 'ff_hevc_put_hevc_uni_epel_hv32_8_lsx' was here
 void ff_hevc_put_hevc_uni_##PEL##_##DIR##WIDTH##_8_lsx(uint8_t *dst,         
      ^~~~~~~~~~~~~~~~~~~~~
libavcodec/loongarch/hevcdsp_lsx.h:176:1: note: in expansion of macro 'UNI_MC'
 UNI_MC(epel, hv, 32);
 ^~~~~~
libavcodec/loongarch/hevc_lpf_sao_lsx.c:2365:6: error: conflicting types for 'ff_hevc_sao_edge_filter_8_lsx'
 void ff_hevc_sao_edge_filter_8_lsx(uint8_t *dst, uint8_t *src,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavcodec/loongarch/hevc_lpf_sao_lsx.c:24:
libavcodec/loongarch/hevcdsp_lsx.h:220:6: note: previous declaration of 'ff_hevc_sao_edge_filter_8_lsx' was here
 void ff_hevc_sao_edge_filter_8_lsx(uint8_t *dst, const uint8_t *src,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [ffbuild/common.mak:75: libavcodec/loongarch/hevc_mc_uniw_lsx.o] Error 1
make: *** [ffbuild/common.mak:75: libavcodec/loongarch/hevc_mc_uni_lsx.o] Error 1
make: *** [ffbuild/common.mak:75: libavcodec/loongarch/hevc_lpf_sao_lsx.o] Error 1