CC libavdevice/alldevices.o CC libavdevice/dv1394.o CC libavdevice/fbdev_enc.o CC libavdevice/fbdev_dec.o CC libavdevice/avdevice.o CC libavdevice/fbdev_common.o CC libavdevice/lavfi.o CC libavdevice/oss.o CC libavdevice/oss_dec.o CC libavdevice/oss_enc.o CC libavdevice/timefilter.o CC libavdevice/utils.o CC libavdevice/v4l2-common.o CC libavdevice/v4l2.o CC libavdevice/v4l2enc.o CC libavfilter/af_adelay.o CC libavfilter/aeval.o CC libavfilter/af_aecho.o CC libavfilter/af_afade.o CC libavfilter/af_aformat.o CC libavfilter/af_amerge.o /home/fate/ffmpeg/libavfilter/aeval.c: In function 'aeval_query_formats': /home/fate/ffmpeg/libavfilter/aeval.c:360:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 360 | if (!layouts) | ^~ /home/fate/ffmpeg/libavfilter/aeval.c:362:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 362 | ff_set_common_channel_layouts(ctx, layouts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavfilter/af_amix.o CC libavfilter/af_anull.o CC libavfilter/af_apad.o CC libavfilter/af_aphaser.o CC libavfilter/af_aresample.o CC libavfilter/af_asetnsamples.o CC libavfilter/af_asetrate.o CC libavfilter/af_ashowinfo.o CC libavfilter/af_astats.o CC libavfilter/af_astreamsync.o CC libavfilter/af_asyncts.o CC libavfilter/af_atempo.o CC libavfilter/af_biquads.o CC libavfilter/af_channelmap.o CC libavfilter/af_channelsplit.o CC libavfilter/af_chorus.o CC libavfilter/af_compand.o CC libavfilter/af_dcshift.o CC libavfilter/af_dynaudnorm.o CC libavfilter/af_earwax.o CC libavfilter/af_join.o CC libavfilter/af_flanger.o CC libavfilter/af_pan.o CC libavfilter/af_replaygain.o CC libavfilter/af_resample.o CC libavfilter/af_sidechaincompress.o CC libavfilter/af_silencedetect.o CC libavfilter/af_silenceremove.o CC libavfilter/af_volume.o CC libavfilter/af_volumedetect.o CC libavfilter/allfilters.o CC libavfilter/asink_anullsink.o CC libavfilter/asrc_anullsrc.o CC libavfilter/asrc_sine.o CC libavfilter/audio.o CC libavfilter/avcodec.o CC libavfilter/avf_aphasemeter.o CC libavfilter/avf_avectorscope.o CC libavfilter/avf_concat.o CC libavfilter/avf_showcqt.o CC libavfilter/avf_showfreqs.o CC libavfilter/avf_showspectrum.o CC libavfilter/avf_showvolume.o CC libavfilter/avf_showwaves.o CC libavfilter/avfilter.o CC libavfilter/bbox.o CC libavfilter/avfiltergraph.o CC libavfilter/buffer.o CC libavfilter/buffersink.o CC libavfilter/drawutils.o CC libavfilter/buffersrc.o CC libavfilter/dualinput.o CC libavfilter/f_drawgraph.o /home/fate/ffmpeg/libavfilter/buffersrc.c: In function 'av_buffersrc_buffer': /home/fate/ffmpeg/libavfilter/buffersrc.c:304:5: warning: 'av_buffersrc_add_ref' is deprecated [-Wdeprecated-declarations] 304 | return av_buffersrc_add_ref(ctx, buf, 0); | ^~~~~~ /home/fate/ffmpeg/libavfilter/buffersrc.c:205:5: note: declared here 205 | int av_buffersrc_add_ref(AVFilterContext *ctx, AVFilterBufferRef *buf, | ^~~~~~~~~~~~~~~~~~~~ CC libavfilter/f_ebur128.o CC libavfilter/f_interleave.o CC libavfilter/f_perms.o CC libavfilter/f_reverse.o /home/fate/ffmpeg/libavfilter/avfiltergraph.c: In function 'query_formats': /home/fate/ffmpeg/libavfilter/avfiltergraph.c:529:82: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 529 | snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d", | ^~ /home/fate/ffmpeg/libavfilter/avfiltergraph.c:529:60: note: directive argument in the range [0, 2147483647] 529 | snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/avassert.h:31, from /home/fate/ffmpeg/libavfilter/avfiltergraph.c:27: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 23 and 32 bytes into a destination of size 30 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavfilter/avfiltergraph.c:544:85: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 544 | snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d", | ^~ /home/fate/ffmpeg/libavfilter/avfiltergraph.c:544:60: note: directive argument in the range [0, 2147483647] 544 | snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/avassert.h:31, from /home/fate/ffmpeg/libavfilter/avfiltergraph.c:27: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 26 and 35 bytes into a destination of size 30 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavfilter/f_select.o CC libavfilter/f_sendcmd.o CC libavfilter/fifo.o CC libavfilter/formats.o CC libavfilter/framesync.o CC libavfilter/generate_wave_table.o CC libavfilter/graphdump.o CC libavfilter/graphparser.o CC libavfilter/lavfutils.o CC libavfilter/lswsutils.o CC libavfilter/pthread.o CC libavfilter/setpts.o CC libavfilter/opencl_allkernels.o CC libavfilter/settb.o CC libavfilter/split.o CC libavfilter/src_movie.o CC libavfilter/transform.o CC libavfilter/trim.o CC libavfilter/vf_alphamerge.o CC libavfilter/vf_aspect.o CC libavfilter/vf_atadenoise.o CC libavfilter/vf_bbox.o CC libavfilter/vf_blackdetect.o CC libavfilter/vf_blackframe.o CC libavfilter/vf_blend.o CC libavfilter/vf_boxblur.o CC libavfilter/vf_codecview.o CC libavfilter/vf_colorbalance.o CC libavfilter/vf_colorchannelmixer.o CC libavfilter/vf_colorkey.o CC libavfilter/vf_colorlevels.o CC libavfilter/vf_colormatrix.o CC libavfilter/vf_copy.o CC libavfilter/vf_cover_rect.o CC libavfilter/vf_crop.o CC libavfilter/vf_cropdetect.o CC libavfilter/vf_curves.o CC libavfilter/vf_dctdnoiz.o CC libavfilter/vf_deband.o CC libavfilter/vf_decimate.o CC libavfilter/vf_dejudder.o CC libavfilter/vf_delogo.o CC libavfilter/vf_deshake.o CC libavfilter/vf_detelecine.o CC libavfilter/vf_drawbox.o CC libavfilter/vf_edgedetect.o CC libavfilter/vf_elbg.o CC libavfilter/vf_eq.o CC libavfilter/vf_fade.o CC libavfilter/vf_extractplanes.o /home/fate/ffmpeg/libavfilter/vf_edgedetect.c: In function 'gaussian_blur': /home/fate/ffmpeg/libavfilter/vf_edgedetect.c:125:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 125 | if (h > 1) | ^~ /home/fate/ffmpeg/libavfilter/vf_edgedetect.c:126:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 126 | memcpy(dst, src, w); dst += dst_linesize; src += src_linesize; | ^~~ /home/fate/ffmpeg/libavfilter/vf_edgedetect.c:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 159 | if (h > 2) | ^~ /home/fate/ffmpeg/libavfilter/vf_edgedetect.c:160:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 160 | memcpy(dst, src, w); dst += dst_linesize; src += src_linesize; | ^~~ CC libavfilter/vf_fftfilt.o CC libavfilter/vf_field.o CC libavfilter/vf_fieldmatch.o CC libavfilter/vf_fieldorder.o CC libavfilter/vf_find_rect.o CC libavfilter/vf_format.o CC libavfilter/vf_fps.o CC libavfilter/vf_framepack.o CC libavfilter/vf_framerate.o CC libavfilter/vf_framestep.o /home/fate/ffmpeg/libavfilter/vf_find_rect.c: In function 'search.constprop': /home/fate/ffmpeg/libavfilter/vf_find_rect.c:170:54: warning: array subscript 7 is above array bounds of 'AVFrame *[5]' [-Warray-bounds] 170 | float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:42:14: note: while referencing 'haystack_frame' 42 | AVFrame *haystack_frame[MAX_MIPMAPS]; | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:170:79: warning: array subscript 7 is above array bounds of 'AVFrame *[5]' [-Warray-bounds] 170 | float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); | ~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:41:14: note: while referencing 'needle_frame' 41 | AVFrame *needle_frame[MAX_MIPMAPS]; | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:170:54: warning: array subscript 6 is above array bounds of 'AVFrame *[5]' [-Warray-bounds] 170 | float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:42:14: note: while referencing 'haystack_frame' 42 | AVFrame *haystack_frame[MAX_MIPMAPS]; | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:170:79: warning: array subscript 6 is above array bounds of 'AVFrame *[5]' [-Warray-bounds] 170 | float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); | ~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:41:14: note: while referencing 'needle_frame' 41 | AVFrame *needle_frame[MAX_MIPMAPS]; | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:170:54: warning: array subscript 5 is above array bounds of 'AVFrame *[5]' [-Warray-bounds] 170 | float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); | ~~~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:42:14: note: while referencing 'haystack_frame' 42 | AVFrame *haystack_frame[MAX_MIPMAPS]; | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:170:79: warning: array subscript 5 is above array bounds of 'AVFrame *[5]' [-Warray-bounds] 170 | float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); | ~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavfilter/vf_find_rect.c:41:14: note: while referencing 'needle_frame' 41 | AVFrame *needle_frame[MAX_MIPMAPS]; | ^~~~~~~~~~~~ CC libavfilter/vf_fspp.o CC libavfilter/vf_geq.o CC libavfilter/vf_gradfun.o CC libavfilter/vf_hflip.o CC libavfilter/vf_histeq.o CC libavfilter/vf_histogram.o CC libavfilter/vf_hqdn3d.o CC libavfilter/vf_hqx.o CC libavfilter/vf_hue.o CC libavfilter/vf_idet.o CC libavfilter/vf_il.o CC libavfilter/vf_interlace.o CC libavfilter/vf_kerndeint.o CC libavfilter/vf_lenscorrection.o CC libavfilter/vf_lut.o CC libavfilter/vf_lut3d.o CC libavfilter/vf_mcdeint.o CC libavfilter/vf_mergeplanes.o CC libavfilter/vf_mpdecimate.o CC libavfilter/vf_neighbor.o CC libavfilter/vf_noise.o /home/fate/ffmpeg/libavfilter/vf_mcdeint.c: In function 'config_props': /home/fate/ffmpeg/libavfilter/vf_mcdeint.c:135:9: warning: 'me_method' is deprecated [-Wdeprecated-declarations] 135 | enc_ctx->me_method = ME_ITER; | ^~~~~~~ In file included from /home/fate/ffmpeg/libavfilter/vf_mcdeint.c:52: /home/fate/ffmpeg/libavcodec/avcodec.h:1739:30: note: declared here 1739 | attribute_deprecated int me_method; | ^~~~~~~~~ /home/fate/ffmpeg/libavfilter/vf_mcdeint.c: In function 'filter_frame': /home/fate/ffmpeg/libavfilter/vf_mcdeint.c:194:5: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 194 | frame_dec = mcdeint->enc_ctx->coded_frame; | ^~~~~~~~~ In file included from /home/fate/ffmpeg/libavfilter/vf_mcdeint.c:52: /home/fate/ffmpeg/libavcodec/avcodec.h:3034:35: note: declared here 3034 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ CC libavfilter/vf_null.o CC libavfilter/vf_overlay.o CC libavfilter/vf_owdenoise.o CC libavfilter/vf_pad.o CC libavfilter/vf_palettegen.o CC libavfilter/vf_paletteuse.o CC libavfilter/vf_perspective.o CC libavfilter/vf_phase.o CC libavfilter/vf_pixdesctest.o CC libavfilter/vf_pp.o CC libavfilter/vf_pp7.o CC libavfilter/vf_pullup.o CC libavfilter/vf_psnr.o CC libavfilter/vf_qp.o CC libavfilter/vf_random.o CC libavfilter/vf_removegrain.o CC libavfilter/vf_removelogo.o CC libavfilter/vf_repeatfields.o CC libavfilter/vf_rotate.o CC libavfilter/vf_sab.o CC libavfilter/vf_scale.o CC libavfilter/vf_separatefields.o CC libavfilter/vf_setfield.o CC libavfilter/vf_showinfo.o CC libavfilter/vf_showpalette.o In file included from /home/fate/ffmpeg/libavutil/common.h:466, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavfilter/avfilter.h:39, from /home/fate/ffmpeg/libavfilter/vf_scale.c:29: /home/fate/ffmpeg/libavfilter/vf_scale.c: In function 'scale_slice': /home/fate/ffmpeg/libavfilter/vf_scale.c:469:65: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 469 | in[i] = FF_PTR_ADD(cur_pic->data[i], ((y>>vsub)+field) * cur_pic->linesize[i]); /home/fate/ffmpeg/libavutil/internal.h:168:32: note: in definition of macro 'FF_PTR_ADD' 168 | #define FF_PTR_ADD(ptr, off) ((off) ? (ptr) + (off) : (ptr)) | ^~~ /home/fate/ffmpeg/libavfilter/vf_scale.c:470:65: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 470 | out[i] = FF_PTR_ADD(out_buf->data[i], field * out_buf->linesize[i]); /home/fate/ffmpeg/libavutil/internal.h:168:32: note: in definition of macro 'FF_PTR_ADD' 168 | #define FF_PTR_ADD(ptr, off) ((off) ? (ptr) + (off) : (ptr)) | ^~~ CC libavfilter/vf_shuffleplanes.o CC libavfilter/vf_signalstats.o /home/fate/ffmpeg/libavfilter/vf_paletteuse.c: In function 'set_frame': /home/fate/ffmpeg/libavfilter/vf_paletteuse.c:442:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 442 | if (left) src[ src_linesize + x - 1] = dither_color(src[ src_linesize + x - 1], er, eg, eb, 2, 4); | ^~ /home/fate/ffmpeg/libavfilter/vf_paletteuse.c:443:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 443 | src[ src_linesize + x ] = dither_color(src[ src_linesize + x ], er, eg, eb, 3, 4); | ^~~ CC libavfilter/vf_smartblur.o CC libavfilter/vf_spp.o CC libavfilter/vf_ssim.o CC libavfilter/vf_stack.o CC libavfilter/vf_stereo3d.o CC libavfilter/vf_super2xsai.o CC libavfilter/vf_telecine.o CC libavfilter/vf_swapuv.o CC libavfilter/vf_thumbnail.o CC libavfilter/vf_tile.o CC libavfilter/vf_tinterlace.o CC libavfilter/vf_unsharp.o CC libavfilter/vf_transpose.o CC libavfilter/vf_uspp.o CC libavfilter/vf_vectorscope.o CC libavfilter/vf_vflip.o CC libavfilter/vf_vignette.o CC libavfilter/vf_w3fdif.o /home/fate/ffmpeg/libavfilter/vf_uspp.c: In function 'filter': /home/fate/ffmpeg/libavfilter/vf_uspp.c:253:9: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 253 | p->frame_dec = p->avctx_enc[i]->coded_frame; | ^ In file included from /home/fate/ffmpeg/libavfilter/internal.h:34, from /home/fate/ffmpeg/libavfilter/vf_uspp.c:34: /home/fate/ffmpeg/libavcodec/avcodec.h:3034:35: note: declared here 3034 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ CC libavfilter/vf_waveform.o CC libavfilter/vf_yadif.o CC libavfilter/vf_xbr.o CC libavfilter/vf_zoompan.o CC libavfilter/video.o CC libavfilter/vsink_nullsink.o CC libavfilter/vsrc_cellauto.o CC libavfilter/vsrc_life.o CC libavfilter/vsrc_mandelbrot.o CC libavfilter/vsrc_mptestsrc.o CC libavfilter/vsrc_testsrc.o CC libavformat/4xm.o CC libavformat/a64.o CC libavformat/aacdec.o CC libavformat/aadec.o CC libavformat/ac3dec.o CC libavformat/act.o CC libavformat/adp.o In file included from /usr/mips-linux-gnu/include/string.h:535, from /home/fate/ffmpeg/libavutil/common.h:40, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/samplefmt.h:24, from /home/fate/ffmpeg/libavcodec/avcodec.h:31, from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/aadec.c:26: In function 'strncpy', inlined from 'aa_read_header' at /home/fate/ffmpeg/libavformat/aadec.c:117:13: /usr/mips-linux-gnu/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/adtsenc.o CC libavformat/adxdec.o CC libavformat/aea.o CC libavformat/afc.o CC libavformat/aiffdec.o CC libavformat/aiffenc.o CC libavformat/allformats.o CC libavformat/amr.o CC libavformat/anm.o CC libavformat/apc.o CC libavformat/ape.o CC libavformat/apetag.o CC libavformat/apngdec.o CC libavformat/apngenc.o CC libavformat/aqtitledec.o CC libavformat/asf.o CC libavformat/asfcrypt.o CC libavformat/asfdec_f.o CC libavformat/asfdec_o.o CC libavformat/asfenc.o CC libavformat/assdec.o CC libavformat/assenc.o CC libavformat/ast.o CC libavformat/astdec.o CC libavformat/astenc.o CC libavformat/au.o CC libavformat/async.o CC libavformat/audiointerleave.o CC libavformat/avc.o CC libavformat/avidec.o CC libavformat/avienc.o CC libavformat/avlanguage.o CC libavformat/avio.o CC libavformat/aviobuf.o CC libavformat/avr.o CC libavformat/avs.o CC libavformat/bethsoftvid.o CC libavformat/bink.o CC libavformat/bfi.o CC libavformat/bintext.o CC libavformat/bmv.o CC libavformat/bit.o CC libavformat/boadec.o CC libavformat/brstm.o CC libavformat/cache.o CC libavformat/c93.o CC libavformat/caf.o CC libavformat/cafdec.o CC libavformat/cafenc.o CC libavformat/cavsvideodec.o CC libavformat/cdg.o CC libavformat/cdxl.o CC libavformat/cinedec.o CC libavformat/concat.o CC libavformat/concatdec.o CC libavformat/crcenc.o CC libavformat/crypto.o CC libavformat/cutils.o CC libavformat/dashenc.o CC libavformat/data_uri.o CC libavformat/dauddec.o CC libavformat/daudenc.o CC libavformat/dfa.o CC libavformat/diracdec.o CC libavformat/dnxhddec.o CC libavformat/dsfdec.o CC libavformat/dsicin.o CC libavformat/dss.o CC libavformat/dtsdec.o CC libavformat/dtshddec.o /home/fate/ffmpeg/libavformat/dashenc.c: In function 'write_manifest': /home/fate/ffmpeg/libavformat/dashenc.c:446:55: warning: '.tmp' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 446 | snprintf(temp_filename, sizeof(temp_filename), "%s.tmp", s->filename); | ^~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c: In function 'dash_flush': /home/fate/ffmpeg/libavformat/dashenc.c:823:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 823 | snprintf(full_path, sizeof(full_path), "%s%s", c->dirname, os->initfile); | ^~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c:817:55: warning: '.tmp' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 817 | snprintf(temp_path, sizeof(temp_path), "%s.tmp", full_path); | ^~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c:854:61: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 854 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->segments[j]->file); | ^~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c: In function 'dash_write_trailer': /home/fate/ffmpeg/libavformat/dashenc.c:968:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 968 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile); | ^~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c: In function 'dash_write_header': /home/fate/ffmpeg/libavformat/dashenc.c:633:65: warning: '-stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 633 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.m4s", basename, i); | ^~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c:633:62: note: directive argument in the range [0, 2147483647] 633 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.m4s", basename, i); | ^~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 13 and 1045 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/dashenc.c:637:49: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 637 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile); | ^~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/libavformat/dashenc.c:30: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/dump.o CC libavformat/dv.o CC libavformat/dvbsub.o CC libavformat/dvenc.o CC libavformat/dxa.o CC libavformat/eacdata.o CC libavformat/electronicarts.o CC libavformat/epafdec.o CC libavformat/ffmenc.o CC libavformat/ffmdec.o CC libavformat/ffmetadec.o CC libavformat/ffmetaenc.o CC libavformat/file.o CC libavformat/filmstripdec.o CC libavformat/filmstripenc.o CC libavformat/flac_picture.o CC libavformat/flacdec.o CC libavformat/flacenc.o CC libavformat/flacenc_header.o /home/fate/ffmpeg/libavformat/ffmdec.c: In function 'ffm_close': /home/fate/ffmpeg/libavformat/ffmdec.c:243:9: warning: 'rc_eq' is deprecated [-Wdeprecated-declarations] 243 | av_freep(&s->streams[i]->codec->rc_eq); | ^~~~~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:2606:17: note: declared here 2606 | const char *rc_eq; | ^~~~~ /home/fate/ffmpeg/libavformat/ffmdec.c: In function 'ffm2_read_header': /home/fate/ffmpeg/libavformat/ffmdec.c:382:13: warning: 'rc_eq' is deprecated [-Wdeprecated-declarations] 382 | codec->rc_eq = av_strdup(rc_eq_buf); | ^~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:2606:17: note: declared here 2606 | const char *rc_eq; | ^~~~~ /home/fate/ffmpeg/libavformat/ffmdec.c:395:13: warning: 'me_method' is deprecated [-Wdeprecated-declarations] 395 | codec->me_method = avio_rb32(pb); | ^~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:1739:30: note: declared here 1739 | attribute_deprecated int me_method; | ^~~~~~~~~ /home/fate/ffmpeg/libavformat/ffmdec.c:399:13: warning: 'rc_buffer_aggressivity' is deprecated [-Wdeprecated-declarations] 399 | codec->rc_buffer_aggressivity = av_int2double(avio_rb64(pb)); | ^~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:2628:11: note: declared here 2628 | float rc_buffer_aggressivity; | ^~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/ffmdec.c: In function 'ffm_read_header': /home/fate/ffmpeg/libavformat/ffmdec.c:579:13: warning: 'rc_eq' is deprecated [-Wdeprecated-declarations] 579 | codec->rc_eq = av_strdup(rc_eq_buf); | ^~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:2606:17: note: declared here 2606 | const char *rc_eq; | ^~~~~ /home/fate/ffmpeg/libavformat/ffmdec.c:592:13: warning: 'me_method' is deprecated [-Wdeprecated-declarations] 592 | codec->me_method = avio_rb32(pb); | ^~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:1739:30: note: declared here 1739 | attribute_deprecated int me_method; | ^~~~~~~~~ /home/fate/ffmpeg/libavformat/ffmdec.c:596:13: warning: 'rc_buffer_aggressivity' is deprecated [-Wdeprecated-declarations] 596 | codec->rc_buffer_aggressivity = av_int2double(avio_rb64(pb)); | ^~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffmdec.c:31: /home/fate/ffmpeg/libavcodec/avcodec.h:2628:11: note: declared here 2628 | float rc_buffer_aggressivity; | ^~~~~~~~~~~~~~~~~~~~~~ CC libavformat/flic.o CC libavformat/flvdec.o CC libavformat/flvenc.o CC libavformat/format.o CC libavformat/framecrcenc.o CC libavformat/framehash.o CC libavformat/frmdec.o CC libavformat/ftp.o CC libavformat/g722.o /home/fate/ffmpeg/libavformat/format.c: In function 'av_probe_input_format3': /home/fate/ffmpeg/libavformat/format.c:182:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | lpd.buf = zerobuffer; | ^ CC libavformat/g723_1.o CC libavformat/g729dec.o CC libavformat/gif.o CC libavformat/gifdec.o CC libavformat/gopher.o CC libavformat/gsmdec.o CC libavformat/gxf.o CC libavformat/gxfenc.o CC libavformat/h261dec.o CC libavformat/h263dec.o /home/fate/ffmpeg/libavformat/ftp.c: In function 'ftp_move': /home/fate/ffmpeg/libavformat/ftp.c:1091:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4091 [-Wformat-truncation=] 1091 | snprintf(command, sizeof(command), "RNTO %s\r\n", path); | ^~ ~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/log.h:25, from /home/fate/ffmpeg/libavutil/timer.h:39, from /home/fate/ffmpeg/libavutil/internal.h:42, from /home/fate/ffmpeg/libavformat/ftp.c:22: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/h264dec.o CC libavformat/hdsenc.o CC libavformat/hevc.o CC libavformat/hevcdec.o CC libavformat/hls.o CC libavformat/hlsenc.o CC libavformat/hlsproto.o CC libavformat/hnm.o /home/fate/ffmpeg/libavformat/hdsenc.c: In function 'write_manifest': /home/fate/ffmpeg/libavformat/hdsenc.c:170:45: warning: '/index.f4m' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 170 | snprintf(filename, sizeof(filename), "%s/index.f4m", s->filename); | ^~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c:171:55: warning: '/index.f4m.tmp' directive output may be truncated writing 14 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 171 | snprintf(temp_filename, sizeof(temp_filename), "%s/index.f4m.tmp", s->filename); | ^~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 15 and 1038 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c: In function 'write_abst': /home/fate/ffmpeg/libavformat/hdsenc.c:238:17: warning: '/stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 238 | "%s/stream%d.abst", s->filename, index); | ^~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 1047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c:240:17: warning: '/stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 240 | "%s/stream%d.abst.tmp", s->filename, index); | ^~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c: In function 'hds_flush': /home/fate/ffmpeg/libavformat/hdsenc.c:480:17: warning: '/stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 480 | "%s/stream%dSeg1-Frag%d", s->filename, index, os->fragment_index); | ^~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 19 and 1062 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c: In function 'hds_write_trailer': /home/fate/ffmpeg/libavformat/hdsenc.c:553:49: warning: '/index.f4m' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 553 | snprintf(filename, sizeof(filename), "%s/index.f4m", s->filename); | ^~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c:556:53: warning: '/stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 556 | snprintf(filename, sizeof(filename), "%s/stream%d.abst", s->filename, i); | ^~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c:556:50: note: directive argument in the range [0, 2147483647] 556 | snprintf(filename, sizeof(filename), "%s/stream%d.abst", s->filename, i); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 1046 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c: In function 'hds_write_header': /home/fate/ffmpeg/libavformat/hdsenc.c:415:21: warning: '/stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 415 | "%s/stream%d_temp", s->filename, i); | ^~~~~~~ /home/fate/ffmpeg/libavformat/hdsenc.c:415:18: note: directive argument in the range [0, 2147483647] 415 | "%s/stream%d_temp", s->filename, i); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/hdsenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 1046 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/http.o CC libavformat/httpauth.o CC libavformat/icecast.o CC libavformat/icodec.o CC libavformat/icoenc.o CC libavformat/id3v1.o /home/fate/ffmpeg/libavformat/hls.c:582:12: warning: 'open_in' defined but not used [-Wunused-function] 582 | static int open_in(HLSContext *c, AVIOContext **in, const char *url) | ^~~~~~~ In file included from /usr/mips-linux-gnu/include/string.h:535, from /home/fate/ffmpeg/libavutil/common.h:40, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/avassert.h:31, from /home/fate/ffmpeg/libavformat/hls.c:30: In function 'strncpy', inlined from 'new_rendition' at /home/fate/ffmpeg/libavformat/hls.c:505:13, inlined from 'parse_playlist' at /home/fate/ffmpeg/libavformat/hls.c:748:13: /usr/mips-linux-gnu/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying between 2 and 62 bytes from a string of length 63 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/id3v2.o CC libavformat/id3v2enc.o CC libavformat/idcin.o CC libavformat/idroqenc.o CC libavformat/iff.o CC libavformat/idroqdec.o CC libavformat/ilbc.o CC libavformat/img2.o CC libavformat/img2_alias_pix.o CC libavformat/img2_brender_pix.o CC libavformat/img2dec.o CC libavformat/ingenientdec.o CC libavformat/img2enc.o CC libavformat/ipmovie.o CC libavformat/ircam.o CC libavformat/ircamdec.o CC libavformat/ircamenc.o CC libavformat/isom.o CC libavformat/iss.o CC libavformat/iv8.o In file included from /usr/mips-linux-gnu/include/sys/stat.h:25, from /home/fate/ffmpeg/libavformat/img2dec.c:24: /usr/mips-linux-gnu/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ CC libavformat/ivfdec.o CC libavformat/ivfenc.o CC libavformat/jacosubdec.o CC libavformat/jacosubenc.o CC libavformat/jvdec.o CC libavformat/latmenc.o CC libavformat/lmlm4.o CC libavformat/loasdec.o CC libavformat/lrc.o CC libavformat/lrcdec.o CC libavformat/lvfdec.o CC libavformat/lrcenc.o CC libavformat/lxfdec.o CC libavformat/matroska.o CC libavformat/m4vdec.o CC libavformat/matroskadec.o CC libavformat/matroskaenc.o CC libavformat/md5enc.o CC libavformat/md5proto.o CC libavformat/metadata.o CC libavformat/mgsts.o CC libavformat/microdvddec.o CC libavformat/microdvdenc.o CC libavformat/mkvtimestamp_v2.o CC libavformat/mlvdec.o CC libavformat/mmf.o CC libavformat/mms.o CC libavformat/mm.o CC libavformat/mmsh.o CC libavformat/mmst.o CC libavformat/mov_chan.o CC libavformat/mov.o CC libavformat/movenc.o CC libavformat/movenchint.o CC libavformat/mp3dec.o /home/fate/ffmpeg/libavformat/matroskaenc.c: In function 'mkv_write_trailer': /home/fate/ffmpeg/libavformat/matroskaenc.c:2069:62: warning: '%012.9f' directive output may be truncated writing between 12 and 320 bytes into a region of size between 8 and 14 [-Wformat-truncation=] 2069 | snprintf(duration_string, 20, "%02d:%02d:%012.9f", | ^~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavformat/avio.h:31, from /home/fate/ffmpeg/libavformat/avc.h:26, from /home/fate/ffmpeg/libavformat/matroskaenc.c:24: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 19 and 333 bytes into a destination of size 20 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/mp3enc.o CC libavformat/mpc.o CC libavformat/mpc8.o CC libavformat/mpeg.o CC libavformat/mpegenc.o CC libavformat/mpegts.o CC libavformat/mpegtsenc.o CC libavformat/mpegvideodec.o CC libavformat/mpjpeg.o CC libavformat/mpjpegdec.o CC libavformat/mpl2dec.o CC libavformat/mpsubdec.o CC libavformat/msnwc_tcp.o CC libavformat/mtv.o CC libavformat/mux.o CC libavformat/mvdec.o CC libavformat/mxf.o CC libavformat/mvi.o CC libavformat/mxfdec.o CC libavformat/mxfenc.o CC libavformat/mxg.o CC libavformat/ncdec.o CC libavformat/network.o CC libavformat/nistspheredec.o CC libavformat/nsvdec.o CC libavformat/nullenc.o CC libavformat/nut.o CC libavformat/nutdec.o CC libavformat/nutenc.o CC libavformat/nuv.o CC libavformat/oggdec.o CC libavformat/oggenc.o CC libavformat/oggparsecelt.o CC libavformat/oggparseflac.o CC libavformat/oggparsedirac.o CC libavformat/oggparseogm.o CC libavformat/oggparseopus.o CC libavformat/oggparseskeleton.o CC libavformat/oggparsespeex.o CC libavformat/oggparsevorbis.o CC libavformat/oggparsetheora.o CC libavformat/omadec.o CC libavformat/oggparsevp8.o CC libavformat/oma.o CC libavformat/omaenc.o CC libavformat/options.o CC libavformat/os_support.o CC libavformat/paf.o CC libavformat/pcm.o CC libavformat/pcmdec.o CC libavformat/pcmenc.o CC libavformat/pjsdec.o CC libavformat/pmpdec.o CC libavformat/psxstr.o CC libavformat/pva.o CC libavformat/pvfdec.o CC libavformat/qcp.o CC libavformat/r3d.o CC libavformat/rawdec.o CC libavformat/rawenc.o CC libavformat/rawvideodec.o CC libavformat/rdt.o CC libavformat/realtextdec.o CC libavformat/redspark.o CC libavformat/replaygain.o CC libavformat/riff.o CC libavformat/riffdec.o CC libavformat/riffenc.o CC libavformat/rl2.o CC libavformat/rm.o CC libavformat/rmdec.o CC libavformat/rmenc.o CC libavformat/rmsipr.o CC libavformat/rpl.o CC libavformat/rsd.o CC libavformat/rso.o CC libavformat/rsodec.o CC libavformat/rsoenc.o CC libavformat/rtmphttp.o CC libavformat/rtmppkt.o CC libavformat/rtmpproto.o CC libavformat/rtp.o CC libavformat/rtpdec.o CC libavformat/rtpdec_ac3.o CC libavformat/rtpdec_amr.o CC libavformat/rtpdec_asf.o CC libavformat/rtpdec_dv.o CC libavformat/rtpdec_g726.o CC libavformat/rtpdec_h261.o CC libavformat/rtpdec_h263.o CC libavformat/rtpdec_h264.o CC libavformat/rtpdec_h263_rfc2190.o CC libavformat/rtpdec_hevc.o CC libavformat/rtpdec_ilbc.o CC libavformat/rtpdec_jpeg.o CC libavformat/rtpdec_latm.o CC libavformat/rtpdec_mpa_robust.o CC libavformat/rtpdec_mpeg12.o CC libavformat/rtpdec_mpeg4.o CC libavformat/rtpdec_qcelp.o CC libavformat/rtpdec_mpegts.o CC libavformat/rtpdec_qdm2.o CC libavformat/rtpdec_qt.o CC libavformat/rtpdec_svq3.o CC libavformat/rtpdec_vp8.o CC libavformat/rtpdec_vp9.o CC libavformat/rtpdec_xiph.o CC libavformat/rtpenc.o CC libavformat/rtpenc_aac.o CC libavformat/rtpenc_amr.o CC libavformat/rtpenc_chain.o CC libavformat/rtpenc_h261.o CC libavformat/rtpenc_h263.o CC libavformat/rtpenc_h263_rfc2190.o CC libavformat/rtpenc_h264_hevc.o CC libavformat/rtpenc_jpeg.o CC libavformat/rtpenc_latm.o CC libavformat/rtpenc_mpegts.o CC libavformat/rtpenc_mpv.o CC libavformat/rtpenc_vp8.o CC libavformat/rtpenc_xiph.o CC libavformat/rtpproto.o CC libavformat/rtsp.o CC libavformat/rtspdec.o CC libavformat/rtspenc.o CC libavformat/samidec.o CC libavformat/sapdec.o CC libavformat/sapenc.o CC libavformat/sauce.o CC libavformat/sbgdec.o CC libavformat/sdp.o /home/fate/ffmpeg/libavformat/rtspdec.c: In function 'rtsp_read_packet': /home/fate/ffmpeg/libavformat/rtspdec.c:831:40: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] 831 | "Unsubscribe: %s\r\n", | ^~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/rtspdec.c:27: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/segafilm.o CC libavformat/sdr2.o CC libavformat/segment.o CC libavformat/sierravmd.o CC libavformat/siff.o CC libavformat/smacker.o CC libavformat/smjpeg.o CC libavformat/smjpegdec.o CC libavformat/smjpegenc.o CC libavformat/smoothstreamingenc.o /home/fate/ffmpeg/libavformat/rtsp.c: In function 'rtp_read_header': /home/fate/ffmpeg/libavformat/rtsp.c:2425:32: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size 486 [-Wformat-truncation=] 2425 | "v=0\r\nc=IN IP%d %s\r\nm=%s %d RTP/AVP %d\r\n", | ^~ 2426 | addr.ss_family == AF_INET ? 4 : 6, host, | ~~~~ /home/fate/ffmpeg/libavformat/rtsp.c:2425:14: note: directive argument in the range [0, 127] 2425 | "v=0\r\nc=IN IP%d %s\r\nm=%s %d RTP/AVP %d\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/avassert.h:31, from /home/fate/ffmpeg/libavformat/rtsp.c:22: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 38 and 555 bytes into a destination of size 500 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/rtsp.c: In function 'ff_rtsp_make_setup_request': /home/fate/ffmpeg/libavformat/rtsp.c:1523:30: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2037 [-Wformat-truncation=] 1523 | "Transport: %s\r\n", | ^~ 1524 | transport); | ~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/avassert.h:31, from /home/fate/ffmpeg/libavformat/rtsp.c:22: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 2061 bytes into a destination of size 2048 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/smush.o CC libavformat/sol.o CC libavformat/soxdec.o CC libavformat/soxenc.o CC libavformat/spdif.o CC libavformat/spdifdec.o CC libavformat/spdifenc.o CC libavformat/srtenc.o CC libavformat/srtdec.o CC libavformat/srtp.o /home/fate/ffmpeg/libavformat/smoothstreamingenc.c: In function 'write_manifest': /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:221:45: warning: '/Manifest' directive output may be truncated writing 9 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 221 | snprintf(filename, sizeof(filename), "%s/Manifest", s->filename); | ^~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:222:55: warning: '/Manifest.tmp' directive output may be truncated writing 13 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 222 | snprintf(temp_filename, sizeof(temp_filename), "%s/Manifest.tmp", s->filename); | ^~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/smoothstreamingenc.c: In function 'ism_flush': /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:525:49: warning: '/temp' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 525 | snprintf(filename, sizeof(filename), "%s/temp", os->dirname); | ^~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:541:63: warning: '/FragmentInfo(' directive output may be truncated writing 14 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 541 | snprintf(header_filename, sizeof(header_filename), "%s/FragmentInfo(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts); | ^~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:542:63: warning: '/Fragments(' directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 542 | snprintf(target_filename, sizeof(target_filename), "%s/Fragments(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts); | ^~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 1038) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/smoothstreamingenc.c: In function 'ism_write_trailer': /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:609:49: warning: '/Manifest' directive output may be truncated writing 9 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 609 | snprintf(filename, sizeof(filename), "%s/Manifest", s->filename); | ^~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavformat/smoothstreamingenc.c: In function 'ism_write_header': /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:324:55: warning: '/QualityLevels(' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 324 | snprintf(os->dirname, sizeof(os->dirname), "%s/QualityLevels(%d)", s->filename, s->streams[i]->codec->bit_rate); | ^~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavformat/avformat.h:317, from /home/fate/ffmpeg/libavformat/smoothstreamingenc.c:28: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavformat/srtpproto.o CC libavformat/stldec.o CC libavformat/subfile.o CC libavformat/subtitles.o CC libavformat/subviewer1dec.o CC libavformat/supdec.o CC libavformat/subviewerdec.o CC libavformat/swf.o CC libavformat/swfdec.o CC libavformat/swfenc.o CC libavformat/takdec.o CC libavformat/tcp.o CC libavformat/tedcaptionsdec.o CC libavformat/tee.o CC libavformat/thp.o CC libavformat/tiertexseq.o CC libavformat/tmv.o CC libavformat/tta.o CC libavformat/tty.o CC libavformat/txd.o CC libavformat/udp.o CC libavformat/uncodedframecrcenc.o /home/fate/ffmpeg/libavformat/tty.c:174:23: warning: initialization of 'int (*)(AVProbeData *)' from incompatible pointer type 'int (*)(const AVProbeData *)' [-Wincompatible-pointer-types] 174 | .read_probe = read_probe, | ^~~~~~~~~~ /home/fate/ffmpeg/libavformat/tty.c:174:23: note: (near initialization for 'ff_tty_demuxer.read_probe') CC libavformat/unix.o CC libavformat/url.o CC libavformat/urldecode.o CC libavformat/utils.o CC libavformat/vc1test.o CC libavformat/vivo.o CC libavformat/vc1testenc.o CC libavformat/voc.o In file included from /usr/mips-linux-gnu/include/time.h:25, from /home/fate/ffmpeg/libavformat/avformat.h:316, from /home/fate/ffmpeg/libavformat/udp.c:29: /usr/mips-linux-gnu/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ CC libavformat/vocdec.o CC libavformat/vocenc.o CC libavformat/vorbiscomment.o CC libavformat/vplayerdec.o /home/fate/ffmpeg/libavformat/vivo.c: In function 'vivo_read_header': /home/fate/ffmpeg/libavformat/vivo.c:168:17: warning: '%s' directive argument is null [-Wformat-overflow=] 168 | av_log(s, AV_LOG_WARNING, "missing colon in key:value pair '%s'\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | value); | ~~~~~~ CC libavformat/vqf.o CC libavformat/w64.o CC libavformat/wavdec.o CC libavformat/wavenc.o CC libavformat/webm_chunk.o CC libavformat/wc3movie.o CC libavformat/webmdashenc.o CC libavformat/webpenc.o CC libavformat/webvttdec.o CC libavformat/webvttenc.o CC libavformat/westwood_aud.o CC libavformat/westwood_vqa.o CC libavformat/wtv_common.o CC libavformat/wtvdec.o CC libavformat/wtvenc.o CC libavformat/wv.o CC libavformat/wvdec.o CC libavformat/wvenc.o CC libavformat/xa.o CC libavformat/xmv.o CC libavformat/xwma.o CC libavformat/yop.o CC libavformat/yuv4mpegdec.o CC libavformat/yuv4mpegenc.o CC libavresample/audio_convert.o CC libavresample/audio_data.o CC libavresample/audio_mix.o CC libavresample/audio_mix_matrix.o CC libavresample/dither.o CC libavresample/options.o CC libavresample/resample.o CC libavresample/utils.o /home/fate/ffmpeg/libavformat/utils.c: In function 'avformat_find_stream_info': /home/fate/ffmpeg/libavformat/utils.c:3131:9: warning: 'max_analyze_duration' is deprecated [-Wdeprecated-declarations] 3131 | max_analyze_duration = ic->max_analyze_duration; | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavformat/audiointerleave.h:27, from /home/fate/ffmpeg/libavformat/utils.c:42: /home/fate/ffmpeg/libavformat/avformat.h:1421:9: note: declared here 1421 | int max_analyze_duration; | ^~~~~~~~~~~~~~~~~~~~ CC libpostproc/postprocess.o CC libswresample/audioconvert.o CC libswresample/dither.o CC libswresample/options.o CC libswresample/rematrix.o CC libswresample/resample.o CC libswresample/resample_dsp.o CC libswresample/swresample.o CC libswresample/swresample_frame.o CC libswscale/alphablend.o CC libswscale/hscale.o CC libswscale/gamma.o CC libswscale/hscale_fast_bilinear.o CC libswscale/input.o CC libswscale/options.o CC libswscale/rgb2rgb.o CC libswscale/output.o CC libswscale/slice.o CC libswscale/swscale.o /home/fate/ffmpeg/libswscale/slice.c: In function 'ff_init_slice_from_src': /home/fate/ffmpeg/libswscale/slice.c:178:56: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | s->plane[i].line[start[i] - first + j] = src_[i] + j * stride[i]; | ^ /home/fate/ffmpeg/libswscale/slice.c:184:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | s->plane[i].line[j] = src_[i] + j * stride[i]; | ^ CC libswscale/swscale_unscaled.o CC libswscale/utils.o /home/fate/ffmpeg/libswscale/swscale.c:55:13: warning: 'gamma_convert' defined but not used [-Wunused-function] 55 | static void gamma_convert(uint8_t * src[], int width, uint16_t *gamma) | ^~~~~~~~~~~~~ CC libswscale/vscale.o CC libswscale/yuv2rgb.o HOSTCC doc/print_options.o In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:94:1: warning: 'me_method' is deprecated [-Wdeprecated-declarations] 94 | {"me_method", "set motion estimation method", OFFSET(me_method), AV_OPT_TYPE_INT, {.i64 = ME_EPZS }, INT_MIN, INT_MAX, V|E, "me_method"}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:1739:30: note: declared here 1739 | attribute_deprecated int me_method; | ^~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:126:1: warning: 'rc_strategy' is deprecated [-Wdeprecated-declarations] 126 | {"rc_strategy", "ratecontrol method", OFFSET(rc_strategy), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:1803:30: note: declared here 1803 | attribute_deprecated int rc_strategy; | ^~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:181:1: warning: 'rc_qsquish' is deprecated [-Wdeprecated-declarations] 181 | {"qsquish", "deprecated, use encoder private options instead", OFFSET(rc_qsquish), AV_OPT_TYPE_FLOAT, {.dbl = DEFAULT }, 0, 99, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2578:11: note: declared here 2578 | float rc_qsquish; | ^~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:182:1: warning: 'rc_qmod_amp' is deprecated [-Wdeprecated-declarations] 182 | {"rc_qmod_amp", "deprecated, use encoder private options instead", OFFSET(rc_qmod_amp), AV_OPT_TYPE_FLOAT, {.dbl = DEFAULT }, -FLT_MAX, FLT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2581:11: note: declared here 2581 | float rc_qmod_amp; | ^~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:183:1: warning: 'rc_qmod_freq' is deprecated [-Wdeprecated-declarations] 183 | {"rc_qmod_freq", "deprecated, use encoder private options instead", OFFSET(rc_qmod_freq), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2583:9: note: declared here 2583 | int rc_qmod_freq; | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:187:1: warning: 'rc_eq' is deprecated [-Wdeprecated-declarations] 187 | {"rc_eq", "deprecated, use encoder private options instead", OFFSET(rc_eq), AV_OPT_TYPE_STRING, {.str = NULL}, CHAR_MIN, CHAR_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2606:17: note: declared here 2606 | const char *rc_eq; | ^~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:194:1: warning: 'rc_buffer_aggressivity' is deprecated [-Wdeprecated-declarations] 194 | {"rc_buf_aggressivity", "deprecated, use encoder private options instead", OFFSET(rc_buffer_aggressivity), AV_OPT_TYPE_FLOAT, {.dbl = 1.0 }, -FLT_MAX, FLT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2628:11: note: declared here 2628 | float rc_buffer_aggressivity; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:199:1: warning: 'rc_initial_cplx' is deprecated [-Wdeprecated-declarations] 199 | {"rc_init_cplx", "deprecated, use encoder private options instead", OFFSET(rc_initial_cplx), AV_OPT_TYPE_FLOAT, {.dbl = DEFAULT }, -FLT_MAX, FLT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2631:11: note: declared here 2631 | float rc_initial_cplx; | ^~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:306:1: warning: 'dtg_active_format' is deprecated [-Wdeprecated-declarations] 306 | {"dtg_active_format", NULL, OFFSET(dtg_active_format), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2007:30: note: declared here 2007 | attribute_deprecated int dtg_active_format; | ^~~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:310:1: warning: 'intra_quant_bias' is deprecated [-Wdeprecated-declarations] 310 | {"ibias", "intra quant bias", OFFSET(intra_quant_bias), AV_OPT_TYPE_INT, {.i64 = FF_DEFAULT_QUANT_BIAS }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2030:30: note: declared here 2030 | attribute_deprecated int intra_quant_bias; | ^~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:311:1: warning: 'inter_quant_bias' is deprecated [-Wdeprecated-declarations] 311 | {"pbias", "inter quant bias", OFFSET(inter_quant_bias), AV_OPT_TYPE_INT, {.i64 = FF_DEFAULT_QUANT_BIAS }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2036:30: note: declared here 2036 | attribute_deprecated int inter_quant_bias; | ^~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:325:1: warning: 'xvmc_acceleration' is deprecated [-Wdeprecated-declarations] 325 | {"xvmc_acceleration", NULL, OFFSET(xvmc_acceleration), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2056:30: note: declared here 2056 | attribute_deprecated int xvmc_acceleration; | ^~~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:332:1: warning: 'stream_codec_tag' is deprecated [-Wdeprecated-declarations] 332 | {"stream_codec_tag", NULL, OFFSET(stream_codec_tag), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:1551:18: note: declared here 1551 | unsigned int stream_codec_tag; | ^~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:336:1: warning: 'lmin' is deprecated [-Wdeprecated-declarations] 336 | {"lmin", "deprecated, use encoder private options instead", OFFSET(lmin), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2681:9: note: declared here 2681 | int lmin; | ^~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:337:1: warning: 'lmax' is deprecated [-Wdeprecated-declarations] 337 | {"lmax", "deprecated, use encoder private options instead", OFFSET(lmax), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2687:9: note: declared here 2687 | int lmax; | ^~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:343:1: warning: 'error_rate' is deprecated [-Wdeprecated-declarations] 343 | {"error", NULL, OFFSET(error_rate), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:3255:9: note: declared here 3255 | int error_rate; | ^~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:348:1: warning: 'me_threshold' is deprecated [-Wdeprecated-declarations] 348 | {"me_threshold", "motion estimation threshold", OFFSET(me_threshold), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2103:9: note: declared here 2103 | int me_threshold; | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:349:1: warning: 'mb_threshold' is deprecated [-Wdeprecated-declarations] 349 | {"mb_threshold", "macroblock threshold", OFFSET(mb_threshold), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2109:9: note: declared here 2109 | int mb_threshold; | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:384:1: warning: 'border_masking' is deprecated [-Wdeprecated-declarations] 384 | {"border_mask", "deprecated, use encoder private options instead", OFFSET(border_masking), AV_OPT_TYPE_FLOAT, {.dbl = DEFAULT }, -FLT_MAX, FLT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2138:11: note: declared here 2138 | float border_masking; | ^~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:406:1: warning: 'scenechange_factor' is deprecated [-Wdeprecated-declarations] 406 | {"sc_factor", "multiplied by qscale for each frame and added to scene_change_score", OFFSET(scenechange_factor), AV_OPT_TYPE_INT, {.i64 = 6 }, 0, INT_MAX, V|E}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2203:30: note: declared here 2203 | attribute_deprecated int scenechange_factor; | ^~~~~~~~~~~~~~~~~~ In file included from /home/fate/ffmpeg/doc/print_options.c:36: /home/fate/ffmpeg/libavcodec/options_table.h:415:1: warning: 'request_channels' is deprecated [-Wdeprecated-declarations] 415 | {"request_channels", "set desired number of audio channels", OFFSET(request_channels), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, A|D}, | ^ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/doc/print_options.c:33: /home/fate/ffmpeg/libavcodec/avcodec.h:2325:30: note: declared here 2325 | attribute_deprecated int request_channels; | ^~~~~~~~~~~~~~~~ CC ffmpeg.o /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb14be_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:902:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 902 | rgb9plus_planar_funcs_endian(nbits, be, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:907:1: note: in expansion of macro 'rgb9plus_planar_funcs' 907 | rgb9plus_planar_funcs(14) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb14le_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:901:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 901 | rgb9plus_planar_funcs_endian(nbits, le, 0) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:907:1: note: in expansion of macro 'rgb9plus_planar_funcs' 907 | rgb9plus_planar_funcs(14) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb12be_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:902:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 902 | rgb9plus_planar_funcs_endian(nbits, be, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:906:1: note: in expansion of macro 'rgb9plus_planar_funcs' 906 | rgb9plus_planar_funcs(12) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb12le_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:901:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 901 | rgb9plus_planar_funcs_endian(nbits, le, 0) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:906:1: note: in expansion of macro 'rgb9plus_planar_funcs' 906 | rgb9plus_planar_funcs(12) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb10be_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:902:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 902 | rgb9plus_planar_funcs_endian(nbits, be, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:905:1: note: in expansion of macro 'rgb9plus_planar_funcs' 905 | rgb9plus_planar_funcs(10) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb10le_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:901:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 901 | rgb9plus_planar_funcs_endian(nbits, le, 0) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:905:1: note: in expansion of macro 'rgb9plus_planar_funcs' 905 | rgb9plus_planar_funcs(10) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb9be_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:902:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 902 | rgb9plus_planar_funcs_endian(nbits, be, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:904:1: note: in expansion of macro 'rgb9plus_planar_funcs' 904 | rgb9plus_planar_funcs(9) | ^~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:889:13: warning: 'planar_rgb9le_to_a' defined but not used [-Wunused-function] 889 | static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \ | ^~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:901:5: note: in expansion of macro 'rgb9plus_planar_funcs_endian' 901 | rgb9plus_planar_funcs_endian(nbits, le, 0) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libswscale/input.c:904:1: note: in expansion of macro 'rgb9plus_planar_funcs' 904 | rgb9plus_planar_funcs(9) | ^~~~~~~~~~~~~~~~~~~~~ CC cmdutils.o In file included from /usr/mips-linux-gnu/include/inttypes.h:25, from /home/fate/ffmpeg/libswscale/utils.c:25: /usr/mips-linux-gnu/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ CC ffmpeg_opt.o CC ffmpeg_filter.o In file included from /usr/mips-linux-gnu/include/string.h:535, from /home/fate/ffmpeg/cmdutils.c:22: In function 'strncpy', inlined from 'print_buildconf.constprop' at /home/fate/ffmpeg/cmdutils.c:1123:9: /usr/mips-linux-gnu/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_buildconf.constprop' at /home/fate/ffmpeg/cmdutils.c:1129:9: /usr/mips-linux-gnu/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC ffprobe.o In file included from /home/fate/ffmpeg/ffmpeg.h:32, from /home/fate/ffmpeg/ffmpeg_filter.c:23: /home/fate/ffmpeg/ffmpeg_filter.c: In function 'configure_output_audio_filter.isra': /home/fate/ffmpeg/cmdutils.h:587:34: warning: '%llx' directive output may be truncated writing between 1 and 16 bytes into a region of size 14 [-Wformat-truncation=] 587 | snprintf(name, sizeof(name), "0x%"PRIx64, ch_layout); | ^~~~~ /home/fate/ffmpeg/ffmpeg_filter.c:154:9: note: in expansion of macro 'GET_CH_LAYOUT_NAME' 154 | get_name(ost->enc_ctx->var); \ | ^~~~~~~~ /home/fate/ffmpeg/ffmpeg_filter.c:185:1: note: in expansion of macro 'DEF_CHOOSE_FORMAT' 185 | DEF_CHOOSE_FORMAT(uint64_t, channel_layout, channel_layouts, 0, | ^~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/cmdutils.h:587:37: note: format string is defined here 587 | snprintf(name, sizeof(name), "0x%"PRIx64, ch_layout); /home/fate/ffmpeg/cmdutils.h:587:34: note: directive argument in the range [1, 18446744073709551615] 587 | snprintf(name, sizeof(name), "0x%"PRIx64, ch_layout); | ^~~~~ /home/fate/ffmpeg/ffmpeg_filter.c:154:9: note: in expansion of macro 'GET_CH_LAYOUT_NAME' 154 | get_name(ost->enc_ctx->var); \ | ^~~~~~~~ /home/fate/ffmpeg/ffmpeg_filter.c:185:1: note: in expansion of macro 'DEF_CHOOSE_FORMAT' 185 | DEF_CHOOSE_FORMAT(uint64_t, channel_layout, channel_layouts, 0, | ^~~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/ffmpeg.h:25, from /home/fate/ffmpeg/ffmpeg_filter.c:23: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 4 and 19 bytes into a destination of size 16 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC ffserver.o CC ffserver_config.o /home/fate/ffmpeg/ffmpeg_opt.c: In function 'show_hwaccels': /home/fate/ffmpeg/ffmpeg_opt.c:174:19: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 174 | for (i = 0; i < FF_ARRAY_ELEMS(hwaccels) - 1; i++) { | ^ AR libavdevice/libavdevice.a AR libavfilter/libavfilter.a /home/fate/ffmpeg/ffmpeg.c: In function 'sigterm_handler': /home/fate/ffmpeg/ffmpeg.c:330:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 330 | write(2/*STDERR_FILENO*/, "Received > 3 system signals, hard exiting\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | strlen("Received > 3 system signals, hard exiting\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR libavformat/libavformat.a CC libavcodec/012v.o /home/fate/ffmpeg/ffserver_config.c: In function 'add_codec': /home/fate/ffmpeg/ffserver_config.c:290:13: warning: 'rc_eq' is deprecated [-Wdeprecated-declarations] 290 | av->rc_eq = av_strdup("tex^qComp"); | ^~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffm.h:26, from /home/fate/ffmpeg/ffserver_config.c:29: /home/fate/ffmpeg/libavcodec/avcodec.h:2606:17: note: declared here 2606 | const char *rc_eq; | ^~~~~ /home/fate/ffmpeg/ffserver_config.c:292:13: warning: 'rc_eq' is deprecated [-Wdeprecated-declarations] 292 | WARNING("Setting default value for video rate control equation = " | ^~~~~~~ In file included from /home/fate/ffmpeg/libavformat/avformat.h:318, from /home/fate/ffmpeg/libavformat/ffm.h:26, from /home/fate/ffmpeg/ffserver_config.c:29: /home/fate/ffmpeg/libavcodec/avcodec.h:2606:17: note: declared here 2606 | const char *rc_eq; | ^~~~~ /home/fate/ffmpeg/ffserver_config.c: In function 'ffserver_parse_ffconfig': /home/fate/ffmpeg/ffserver_config.c:712:24: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 712 | "/tmp/%s.ffm", feed->filename); | ^~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/libavutil/common.h:38, from /home/fate/ffmpeg/libavutil/avutil.h:288, from /home/fate/ffmpeg/libavutil/opt.h:31, from /home/fate/ffmpeg/ffserver_config.c:22: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavcodec/4xm.o CC libavcodec/8bps.o CC libavcodec/8svx.o CC libavcodec/a64multienc.o CC libavcodec/aac_ac3_parser.o CC libavcodec/aac_adtstoasc_bsf.o CC libavcodec/aac_parser.o CC libavcodec/aacadtsdec.o CC libavcodec/aaccoder.o /home/fate/ffmpeg/ffserver.c: In function 'main': /home/fate/ffmpeg/ffserver.c:3820:12: warning: braces around scalar initializer 3820 | struct sigaction sigact = { { 0 } }; | ^~~~~~~~~ /home/fate/ffmpeg/ffserver.c:3820:12: note: (near initialization for 'sigact.sa_flags') /home/fate/ffmpeg/ffserver.c: In function 'find_rtp_session_with_url': /home/fate/ffmpeg/ffserver.c:3149:37: warning: '/streamid=' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 3149 | snprintf(buf, sizeof(buf), "%s/streamid=%d", | ^~~~~~~~~~ /home/fate/ffmpeg/ffserver.c:3149:34: note: directive argument in the range [0, 2147483647] 3149 | snprintf(buf, sizeof(buf), "%s/streamid=%d", | ^~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/ffserver.c:32: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 1044 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/ffserver.c: In function 'http_parse_request': /home/fate/ffmpeg/ffserver.c:1686:68: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 993 [-Wformat-truncation=] 1686 | snprintf(msg, sizeof(msg), "Input stream corresponding to '%s' not found", url); | ^~ ~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/ffserver.c:32: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 43 and 1066 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/ffserver.c:1408:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] 1408 | snprintf(msg, sizeof(msg), "File '%s' not found", url); | ^~ ~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/ffserver.c:32: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/ffserver.c: In function 'rtsp_parse_request': /home/fate/ffmpeg/ffserver.c:3017:43: warning: '/streamid=' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 3017 | snprintf(buf, sizeof(buf), "%s/streamid=%d", | ^~~~~~~~~~ /home/fate/ffmpeg/ffserver.c:3017:40: note: directive argument in the range [0, 2147483647] 3017 | snprintf(buf, sizeof(buf), "%s/streamid=%d", | ^~~~~~~~~~~~~~~~ In file included from /usr/mips-linux-gnu/include/stdio.h:894, from /home/fate/ffmpeg/ffserver.c:32: /usr/mips-linux-gnu/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 1044 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC libavcodec/aacdec.o CC libavcodec/aacdec_fixed.o CC libavcodec/aacenc.o CC libavcodec/aacenc_is.o CC libavcodec/aacenc_pred.o CC libavcodec/aacenc_tns.o CC libavcodec/aacenctab.o CC libavcodec/aacps_fixed.o CC libavcodec/aacps_float.o CC libavcodec/aacpsdsp_fixed.o In file included from /home/fate/ffmpeg/libavcodec/aacdec.c:259: In function 'decode_channel_map', inlined from 'decode_pce.isra' at /home/fate/ffmpeg/libavcodec/aacdec_template.c:763:5: /home/fate/ffmpeg/libavcodec/aacdec_template.c:709:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 709 | layout_map[0][0] = syn_ele; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/fate/ffmpeg/libavcodec/aacdec_template.c:711:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | layout_map[0][2] = type; | ~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavcodec/aacdec_template.c:709:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 709 | layout_map[0][0] = syn_ele; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/fate/ffmpeg/libavcodec/aacdec_template.c:711:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | layout_map[0][2] = type; | ~~~~~~~~~~~~~~~~~^~~~~~ CC libavcodec/aacpsdsp_float.o CC libavcodec/aacpsy.o CC libavcodec/aacsbr.o CC libavcodec/aacsbr_fixed.o In file included from /home/fate/ffmpeg/libavcodec/aacdec_fixed.c:446: In function 'decode_channel_map', inlined from 'decode_pce.isra' at /home/fate/ffmpeg/libavcodec/aacdec_template.c:763:5: /home/fate/ffmpeg/libavcodec/aacdec_template.c:709:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 709 | layout_map[0][0] = syn_ele; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/fate/ffmpeg/libavcodec/aacdec_template.c:711:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | layout_map[0][2] = type; | ~~~~~~~~~~~~~~~~~^~~~~~ /home/fate/ffmpeg/libavcodec/aacdec_template.c:709:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 709 | layout_map[0][0] = syn_ele; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/fate/ffmpeg/libavcodec/aacdec_template.c:711:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | layout_map[0][2] = type; | ~~~~~~~~~~~~~~~~~^~~~~~ CC libavcodec/aactab.o CC libavcodec/aandcttab.o CC libavcodec/aasc.o CC libavcodec/ac3.o CC libavcodec/ac3_parser.o CC libavcodec/ac3dec_data.o CC libavcodec/ac3dec_fixed.o CC libavcodec/ac3dec_float.o CC libavcodec/ac3dsp.o CC libavcodec/ac3enc.o CC libavcodec/ac3enc_fixed.o In file included from /home/fate/ffmpeg/libavcodec/aacsbr.c:47: /home/fate/ffmpeg/libavcodec/mips/aacsbr_mips.h:62:13: warning: 'sbr_qmf_analysis_mips' defined but not used [-Wunused-function] 62 | static void sbr_qmf_analysis_mips(AVFloatDSPContext *fdsp, FFTContext *mdct, | ^~~~~~~~~~~~~~~~~~~~~ CC libavcodec/ac3enc_float.o CC libavcodec/ac3tab.o CC libavcodec/acelp_filters.o CC libavcodec/acelp_pitch_delay.o CC libavcodec/acelp_vectors.o CC libavcodec/adpcm.o CC libavcodec/adpcm_data.o CC libavcodec/adpcmenc.o CC libavcodec/adx.o CC libavcodec/adx_parser.o CC libavcodec/adxdec.o CC libavcodec/adxenc.o CC libavcodec/aic.o CC libavcodec/alac.o CC libavcodec/alac_data.o CC libavcodec/alacenc.o CC libavcodec/aliaspixdec.o CC libavcodec/aliaspixenc.o CC libavcodec/allcodecs.o CC libavcodec/alsdec.o CC libavcodec/amrnbdec.o CC libavcodec/amrwbdec.o CC libavcodec/anm.o CC libavcodec/ansi.o CC libavcodec/apedec.o CC libavcodec/ass.o CC libavcodec/ass_split.o CC libavcodec/assdec.o CC libavcodec/assenc.o CC libavcodec/asv.o CC libavcodec/asvdec.o CC libavcodec/asvenc.o CC libavcodec/atrac.o CC libavcodec/atrac1.o CC libavcodec/atrac3.o CC libavcodec/atrac3plus.o CC libavcodec/atrac3plusdec.o CC libavcodec/atrac3plusdsp.o CC libavcodec/audio_frame_queue.o CC libavcodec/audioconvert.o CC libavcodec/audiodsp.o CC libavcodec/aura.o CC libavcodec/avfft.o CC libavcodec/avdct.o CC libavcodec/avpacket.o CC libavcodec/avpicture.o CC libavcodec/avrndec.o CC libavcodec/avs.o CC libavcodec/avuidec.o CC libavcodec/avuienc.o CC libavcodec/bethsoftvideo.o CC libavcodec/bfi.o CC libavcodec/bgmc.o CC libavcodec/bink.o CC libavcodec/binkaudio.o CC libavcodec/binkdsp.o CC libavcodec/bintext.o CC libavcodec/bitstream.o CC libavcodec/bitstream_filter.o CC libavcodec/blockdsp.o CC libavcodec/bmp.o CC libavcodec/bmp_parser.o CC libavcodec/bmpenc.o CC libavcodec/bmvaudio.o CC libavcodec/bmvvideo.o CC libavcodec/brenderpix.o CC libavcodec/bswapdsp.o CC libavcodec/c93.o CC libavcodec/cabac.o CC libavcodec/canopus.o CC libavcodec/cavs.o CC libavcodec/cavs_parser.o CC libavcodec/cavsdata.o CC libavcodec/cavsdec.o CC libavcodec/cavsdsp.o CC libavcodec/ccaption_dec.o CC libavcodec/cdgraphics.o CC libavcodec/cdxl.o CC libavcodec/celp_filters.o CC libavcodec/celp_math.o CC libavcodec/cga_data.o CC libavcodec/chomp_bsf.o CC libavcodec/cinepak.o CC libavcodec/cinepakenc.o CC libavcodec/cljrdec.o CC libavcodec/cljrenc.o CC libavcodec/cllc.o CC libavcodec/cngdec.o CC libavcodec/cngenc.o CC libavcodec/codec_desc.o CC libavcodec/cook.o CC libavcodec/cook_parser.o CC libavcodec/cpia.o CC libavcodec/cscd.o CC libavcodec/cyuv.o CC libavcodec/dca.o CC libavcodec/dca_exss.o CC libavcodec/dca_parser.o CC libavcodec/dca_xll.o CC libavcodec/dcadata.o CC libavcodec/dcadec.o CC libavcodec/dcadsp.o CC libavcodec/dcaenc.o CC libavcodec/dct.o CC libavcodec/dct32_fixed.o CC libavcodec/dct32_float.o CC libavcodec/dds.o CC libavcodec/dfa.o CC libavcodec/dirac.o CC libavcodec/dirac_arith.o CC libavcodec/dirac_dwt.o CC libavcodec/dirac_parser.o CC libavcodec/diracdec.o CC libavcodec/diracdsp.o CC libavcodec/dnxhd_parser.o CC libavcodec/dnxhddata.o CC libavcodec/dnxhddec.o CC libavcodec/dnxhdenc.o CC libavcodec/dpcm.o CC libavcodec/dpx.o CC libavcodec/dpx_parser.o CC libavcodec/dpxenc.o CC libavcodec/dsddec.o CC libavcodec/dsicinaudio.o CC libavcodec/dsicinvideo.o CC libavcodec/dss_sp.o CC libavcodec/dump_extradata_bsf.o CC libavcodec/dv.o CC libavcodec/dv_profile.o CC libavcodec/dvbsub.o CC libavcodec/dvbsub_parser.o CC libavcodec/dvbsubdec.o CC libavcodec/dvd_nav_parser.o CC libavcodec/dvdata.o CC libavcodec/dvdec.o CC libavcodec/dvdsub_parser.o CC libavcodec/dvdsubdec.o CC libavcodec/dvdsubenc.o CC libavcodec/dvenc.o CC libavcodec/dxtory.o CC libavcodec/eac3_data.o CC libavcodec/eac3enc.o CC libavcodec/eacmv.o CC libavcodec/eaidct.o CC libavcodec/eamad.o CC libavcodec/eatgq.o CC libavcodec/eatgv.o CC libavcodec/eatqi.o CC libavcodec/elbg.o /home/fate/ffmpeg/libavcodec/dvenc.c: In function 'dvvideo_encode_frame': /home/fate/ffmpeg/libavcodec/dvenc.c:724:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 724 | s->frame = frame; | ^ CC libavcodec/error_resilience.o CC libavcodec/escape124.o CC libavcodec/escape130.o CC libavcodec/evrcdec.o CC libavcodec/exif.o CC libavcodec/faandct.o CC libavcodec/faanidct.o CC libavcodec/faxcompr.o CC libavcodec/fdctdsp.o CC libavcodec/fft_fixed.o CC libavcodec/fft_fixed_32.o CC libavcodec/fft_float.o CC libavcodec/fft_init_table.o CC libavcodec/ffv1.o CC libavcodec/ffv1dec.o CC libavcodec/ffv1enc.o CC libavcodec/ffwavesynth.o CC libavcodec/fic.o CC libavcodec/flac.o CC libavcodec/flac_parser.o CC libavcodec/flacdata.o CC libavcodec/flacdec.o CC libavcodec/flacdsp.o CC libavcodec/flicvideo.o CC libavcodec/flacenc.o CC libavcodec/flvdec.o CC libavcodec/flvenc.o CC libavcodec/fmtconvert.o CC libavcodec/frame_thread_encoder.o CC libavcodec/fraps.o CC libavcodec/frwu.o CC libavcodec/g722.o CC libavcodec/g722dec.o CC libavcodec/g722dsp.o CC libavcodec/g722enc.o CC libavcodec/g723_1.o CC libavcodec/g726.o CC libavcodec/g729_parser.o CC libavcodec/g729dec.o CC libavcodec/g729postfilter.o CC libavcodec/gif.o CC libavcodec/gifdec.o CC libavcodec/golomb.o CC libavcodec/gsm_parser.o CC libavcodec/gsmdec.o CC libavcodec/gsmdec_data.o CC libavcodec/h261.o CC libavcodec/h261_parser.o CC libavcodec/h261data.o CC libavcodec/h261dec.o CC libavcodec/h261enc.o CC libavcodec/h263.o CC libavcodec/h263_parser.o CC libavcodec/h263data.o CC libavcodec/h263dec.o CC libavcodec/h263dsp.o CC libavcodec/h264.o CC libavcodec/h264_cabac.o CC libavcodec/h264_cavlc.o CC libavcodec/h264_direct.o CC libavcodec/h264_loopfilter.o CC libavcodec/h264_mb.o CC libavcodec/h264_mp4toannexb_bsf.o CC libavcodec/h264_parser.o /home/fate/ffmpeg/libavcodec/ffv1enc.c: In function 'encode_frame': /home/fate/ffmpeg/libavcodec/ffv1enc.c:1268:5: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 1268 | avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/ffv1enc.c:35: /home/fate/ffmpeg/libavcodec/avcodec.h:3034:35: note: declared here 3034 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ CC libavcodec/h264_picture.o CC libavcodec/h264_ps.o CC libavcodec/h264_refs.o CC libavcodec/h264_sei.o CC libavcodec/h264_slice.o CC libavcodec/h264chroma.o CC libavcodec/h264dsp.o CC libavcodec/h264idct.o In file included from /home/fate/ffmpeg/libavcodec/h264_loopfilter.c:30: /home/fate/ffmpeg/libavcodec/h264_loopfilter.c: In function 'filter_mb_dir': /home/fate/ffmpeg/libavcodec/internal.h:54:30: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 54 | # define ff_tlog(ctx, ...) while(0) | ^~~~~ /home/fate/ffmpeg/libavcodec/h264_loopfilter.c:529:17: note: in expansion of macro 'ff_tlog' 529 | ff_tlog(h->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d ls:%d uvls:%d", mb_x, mb_y, dir, edge, qp, tmp_linesize, tmp_uvlinesize); | ^~~~~~~ /home/fate/ffmpeg/libavcodec/h264_loopfilter.c:530:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 530 | { int i; for (i = 0; i < 4; i++) ff_tlog(h->avctx, " bS[%d]:%d", i, bS[i]); ff_tlog(h->avctx, "\n"); } | ^ In file included from /home/fate/ffmpeg/libavcodec/h264_loopfilter.c:30: /home/fate/ffmpeg/libavcodec/h264_loopfilter.c: In function 'ff_h264_filter_mb': /home/fate/ffmpeg/libavcodec/internal.h:54:30: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 54 | # define ff_tlog(ctx, ...) while(0) | ^~~~~ /home/fate/ffmpeg/libavcodec/h264_loopfilter.c:793:9: note: in expansion of macro 'ff_tlog' 793 | ff_tlog(h->avctx, "filter mb:%d/%d MBAFF, QPy:%d/%d, QPb:%d/%d QPr:%d/%d ls:%d uvls:%d", mb_x, mb_y, qp[0], qp[1], bqp[0], bqp[1], rqp[0], rqp[1], linesize, uvlinesize); | ^~~~~~~ /home/fate/ffmpeg/libavcodec/h264_loopfilter.c:794:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 794 | { int i; for (i = 0; i < 8; i++) ff_tlog(h->avctx, " bS[%d]:%d", i, bS[i]); ff_tlog(h->avctx, "\n"); } | ^ CC libavcodec/h264pred.o CC libavcodec/h264qpel.o CC libavcodec/hap.o CC libavcodec/hapdec.o CC libavcodec/hevc.o CC libavcodec/hevc_cabac.o CC libavcodec/hevc_data.o CC libavcodec/hevc_filter.o CC libavcodec/hevc_mp4toannexb_bsf.o CC libavcodec/hevc_mvs.o /home/fate/ffmpeg/libavcodec/hevc_mp4toannexb_bsf.c: In function 'hevc_mp4toannexb_filter': /home/fate/ffmpeg/libavcodec/hevc_mp4toannexb_bsf.c:137:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | *poutbuf = buf; | ^ CC libavcodec/hevc_parse.o CC libavcodec/hevc_parser.o CC libavcodec/hevc_ps.o CC libavcodec/hevc_refs.o CC libavcodec/hevc_sei.o CC libavcodec/hevcdsp.o CC libavcodec/hevcpred.o CC libavcodec/hnm4video.o CC libavcodec/hpeldsp.o CC libavcodec/hq_hqa.o CC libavcodec/hq_hqadata.o CC libavcodec/hq_hqadsp.o CC libavcodec/hqx.o CC libavcodec/hqxdsp.o CC libavcodec/hqxvlc.o CC libavcodec/huffman.o CC libavcodec/huffyuv.o CC libavcodec/huffyuvdec.o CC libavcodec/huffyuvdsp.o CC libavcodec/huffyuvenc.o CC libavcodec/huffyuvencdsp.o CC libavcodec/idcinvideo.o CC libavcodec/idctdsp.o CC libavcodec/iff.o CC libavcodec/iirfilter.o CC libavcodec/imc.o CC libavcodec/imdct15.o CC libavcodec/imgconvert.o CC libavcodec/imx_dump_header_bsf.o CC libavcodec/indeo2.o CC libavcodec/indeo3.o CC libavcodec/indeo4.o CC libavcodec/indeo5.o CC libavcodec/intelh263dec.o CC libavcodec/interplayvideo.o CC libavcodec/intrax8.o CC libavcodec/intrax8dsp.o CC libavcodec/ituh263dec.o CC libavcodec/ituh263enc.o CC libavcodec/ivi.o CC libavcodec/ivi_dsp.o CC libavcodec/j2kenc.o CC libavcodec/jacosubdec.o CC libavcodec/jfdctfst.o CC libavcodec/jfdctint.o CC libavcodec/jpeg2000.o /home/fate/ffmpeg/libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_8x8': /home/fate/ffmpeg/libavcodec/ivi_dsp.c:552:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 552 | } else | ^~~~ /home/fate/ffmpeg/libavcodec/ivi_dsp.c:555:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 555 | src++; | ^~~ /home/fate/ffmpeg/libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_4x4': /home/fate/ffmpeg/libavcodec/ivi_dsp.c:592:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 592 | } else | ^~~~ /home/fate/ffmpeg/libavcodec/ivi_dsp.c:595:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 595 | src++; | ^~~ CC libavcodec/jpeg2000dec.o CC libavcodec/jpeg2000dsp.o CC libavcodec/jpeg2000dwt.o CC libavcodec/jpegls.o CC libavcodec/jpeglsdec.o CC libavcodec/jpeglsenc.o CC libavcodec/jpegtables.o CC libavcodec/jrevdct.o CC libavcodec/jvdec.o CC libavcodec/kbdwin.o CC libavcodec/kgv1dec.o CC libavcodec/kmvc.o CC libavcodec/lagarith.o CC libavcodec/lagarithrac.o CC libavcodec/latm_parser.o CC libavcodec/lcldec.o CC libavcodec/ljpegenc.o CC libavcodec/loco.o CC libavcodec/lossless_audiodsp.o CC libavcodec/lossless_videodsp.o CC libavcodec/lpc.o CC libavcodec/lsp.o CC libavcodec/lzw.o CC libavcodec/lzwenc.o CC libavcodec/mace.o CC libavcodec/mathtables.o CC libavcodec/mdct_fixed.o CC libavcodec/mdct_fixed_32.o CC libavcodec/mdct_float.o CC libavcodec/mdec.o CC libavcodec/me_cmp.o CC libavcodec/metasound.o CC libavcodec/metasound_data.o CC libavcodec/microdvddec.o CC libavcodec/mimic.o CC libavcodec/mips/aaccoder_mips.o CC libavcodec/mips/aacdec_mips.o CC libavcodec/mips/aacpsdsp_mips.o /home/fate/ffmpeg/libavcodec/mips/aaccoder_mips.c: In function 'ff_aac_coder_init_mips': /home/fate/ffmpeg/libavcodec/mips/aaccoder_mips.c:2571:29: warning: unused variable 'e' [-Wunused-variable] 2571 | AACCoefficientsEncoder *e = c->coder; | ^ At top level: /home/fate/ffmpeg/libavcodec/mips/aaccoder_mips.c:2447:13: warning: 'codebook_trellis_rate_mips' defined but not used [-Wunused-function] 2447 | static void codebook_trellis_rate_mips(AACEncContext *s, SingleChannelElement *sce, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/aaccoder_mips.c:902:13: warning: 'quantize_and_encode_band_mips' defined but not used [-Wunused-function] 902 | static void quantize_and_encode_band_mips(struct AACEncContext *s, PutBitContext *pb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/aaccoder_mips.c:191:12: warning: 'find_min_book' defined but not used [-Wunused-function] 191 | static int find_min_book(float maxval, int sf) { | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/aaccoder_mips.c:180:14: warning: 'find_max_val' defined but not used [-Wunused-function] 180 | static float find_max_val(int group_len, int swb_size, const float *scaled) { | ^~~~~~~~~~~~ CC libavcodec/mips/aacsbr_mips.o CC libavcodec/mips/ac3dsp_mips.o CC libavcodec/mips/blockdsp_init_mips.o /home/fate/ffmpeg/libavcodec/mips/aacdec_mips.c: In function 'apply_ltp_mips': /home/fate/ffmpeg/libavcodec/mips/aacdec_mips.c:238:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 238 | if (ltp->lag < 1024) | ^~ /home/fate/ffmpeg/libavcodec/mips/aacdec_mips.c:240:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 240 | j = (2048 - num_samples) >> 2; | ^ CC libavcodec/mips/blockdsp_msa.o CC libavcodec/mips/h263dsp_init_mips.o CC libavcodec/mips/h263dsp_msa.o CC libavcodec/mips/h264chroma_init_mips.o CC libavcodec/mips/h264chroma_msa.o CC libavcodec/mips/h264dsp_init_mips.o /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c: In function 'copy_8bit_value_width8_msa': /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:29:5: error: unknown type name 'v16u8' 29 | v16u8 val0; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:31:13: error: 'v16u8' undeclared (first use in this function) 31 | val0 = (v16u8) __msa_fill_b(val); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:31:13: note: each undeclared identifier is reported only once for each function it appears in /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:31:19: error: expected ';' before '__msa_fill_b' 31 | val0 = (v16u8) __msa_fill_b(val); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:32:12: error: implicit declaration of function '__msa_copy_u_d' [-Werror=implicit-function-declaration] 32 | dst0 = __msa_copy_u_d((v2i64) val0, 0); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:32:28: error: 'v2i64' undeclared (first use in this function) 32 | dst0 = __msa_copy_u_d((v2i64) val0, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:32:34: error: expected ')' before 'val0' 32 | dst0 = __msa_copy_u_d((v2i64) val0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:29:11: warning: variable 'val0' set but not used [-Wunused-but-set-variable] 29 | v16u8 val0; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c: In function 'copy_8bit_value_width16_msa': /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:44:5: error: unknown type name 'v16u8' 44 | v16u8 val0; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:46:13: error: 'v16u8' undeclared (first use in this function) 46 | val0 = (v16u8) __msa_fill_b(val); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:46:19: error: expected ';' before '__msa_fill_b' 46 | val0 = (v16u8) __msa_fill_b(val); | ^~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:444:5: note: in expansion of macro 'ST_B' 444 | ST_B(RTYPE, in0, (pdst)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:452:5: note: in expansion of macro 'ST_B2' 452 | ST_B2(RTYPE, in0, in1, (pdst), stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:461:5: note: in expansion of macro 'ST_B4' 461 | ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:445:5: note: in expansion of macro 'ST_B' 445 | ST_B(RTYPE, in1, (pdst) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:452:5: note: in expansion of macro 'ST_B2' 452 | ST_B2(RTYPE, in0, in1, (pdst), stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:461:5: note: in expansion of macro 'ST_B4' 461 | ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:444:5: note: in expansion of macro 'ST_B' 444 | ST_B(RTYPE, in0, (pdst)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:453:5: note: in expansion of macro 'ST_B2' 453 | ST_B2(RTYPE, in2, in3, (pdst) + 2 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:461:5: note: in expansion of macro 'ST_B4' 461 | ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:445:5: note: in expansion of macro 'ST_B' 445 | ST_B(RTYPE, in1, (pdst) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:453:5: note: in expansion of macro 'ST_B2' 453 | ST_B2(RTYPE, in2, in3, (pdst) + 2 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:461:5: note: in expansion of macro 'ST_B4' 461 | ST_B4(RTYPE, in0, in1, in2, in3, pdst, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:444:5: note: in expansion of macro 'ST_B' 444 | ST_B(RTYPE, in0, (pdst)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:452:5: note: in expansion of macro 'ST_B2' 452 | ST_B2(RTYPE, in0, in1, (pdst), stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:462:5: note: in expansion of macro 'ST_B4' 462 | ST_B4(RTYPE, in4, in5, in6, in7, (pdst) + 4 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:445:5: note: in expansion of macro 'ST_B' 445 | ST_B(RTYPE, in1, (pdst) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:452:5: note: in expansion of macro 'ST_B2' 452 | ST_B2(RTYPE, in0, in1, (pdst), stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:462:5: note: in expansion of macro 'ST_B4' 462 | ST_B4(RTYPE, in4, in5, in6, in7, (pdst) + 4 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:444:5: note: in expansion of macro 'ST_B' 444 | ST_B(RTYPE, in0, (pdst)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:453:5: note: in expansion of macro 'ST_B2' 453 | ST_B2(RTYPE, in2, in3, (pdst) + 2 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:462:5: note: in expansion of macro 'ST_B4' 462 | ST_B4(RTYPE, in4, in5, in6, in7, (pdst) + 4 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:445:5: note: in expansion of macro 'ST_B' 445 | ST_B(RTYPE, in1, (pdst) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:453:5: note: in expansion of macro 'ST_B2' 453 | ST_B2(RTYPE, in2, in3, (pdst) + 2 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:462:5: note: in expansion of macro 'ST_B4' 462 | ST_B4(RTYPE, in4, in5, in6, in7, (pdst) + 4 * stride, stride); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:464:21: note: in expansion of macro 'ST_B8' 464 | #define ST_UB8(...) ST_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:49:9: note: in expansion of macro 'ST_UB8' 49 | ST_UB8(val0, val0, val0, val0, val0, val0, val0, val0, src, src_stride); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c: In function 'memset_zero_16width_msa': /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:58:5: error: unknown type name 'v16u8' 58 | v16u8 zero = { 0 }; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:43:25: error: 'v16u8' undeclared (first use in this function) 43 | #define ST_UB(...) ST_B(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:34: note: in definition of macro 'ST_B' 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:61:9: note: in expansion of macro 'ST_UB' 61 | ST_UB(zero, src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:43:20: note: in expansion of macro 'ST_B' 43 | #define ST_UB(...) ST_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:61:9: note: in expansion of macro 'ST_UB' 61 | ST_UB(zero, src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:42:41: error: expected expression before ')' token 42 | #define ST_B(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:43:20: note: in expansion of macro 'ST_B' 43 | #define ST_UB(...) ST_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/blockdsp_msa.c:63:9: note: in expansion of macro 'ST_UB' 63 | ST_UB(zero, src); | ^~~~~ cc1: some warnings being treated as errors make: *** [/home/fate/ffmpeg/common.mak:57: libavcodec/mips/blockdsp_msa.o] Error 1 make: *** Waiting for unfinished jobs.... /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c: In function 'h263_h_loop_filter_msa': /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:5: error: unknown type name 'v16u8' 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:33:5: error: unknown type name 'v8i16' 33 | v8i16 temp0, temp1, temp2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:34:5: error: unknown type name 'v8i16' 34 | v8i16 diff0, diff2, diff4, diff6, diff8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:35:5: error: unknown type name 'v8i16' 35 | v8i16 d0, a_d0, str_x2, str; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:27: error: 'v16u8' undeclared (first use in this function) 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:27: note: each undeclared identifier is reported only once for each function it appears in 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:38:5: note: in expansion of macro 'LD_UB8' 38 | LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2454:5: error: unknown type name 'v16i8' 2454 | v16i8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1424:35: error: 'v16i8' undeclared (first use in this function) 1424 | #define ILVEV_W2_SB(...) ILVEV_W2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1420:13: note: in definition of macro 'ILVEV_W2' 1420 | out0 = (RTYPE) __msa_ilvev_w((v4i32) in1, (v4i32) in0); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2456:5: note: in expansion of macro 'ILVEV_W2_SB' 2456 | ILVEV_W2_SB(in0, in4, in1, in5, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1420:20: error: expected ';' before '__msa_ilvev_w' 1420 | out0 = (RTYPE) __msa_ilvev_w((v4i32) in1, (v4i32) in0); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1424:26: note: in expansion of macro 'ILVEV_W2' 1424 | #define ILVEV_W2_SB(...) ILVEV_W2(v16i8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2456:5: note: in expansion of macro 'ILVEV_W2_SB' 2456 | ILVEV_W2_SB(in0, in4, in1, in5, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1421:20: error: expected ';' before '__msa_ilvev_w' 1421 | out1 = (RTYPE) __msa_ilvev_w((v4i32) in3, (v4i32) in2); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1424:26: note: in expansion of macro 'ILVEV_W2' 1424 | #define ILVEV_W2_SB(...) ILVEV_W2(v16i8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2456:5: note: in expansion of macro 'ILVEV_W2_SB' 2456 | ILVEV_W2_SB(in0, in4, in1, in5, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2457:14: error: implicit declaration of function '__msa_ilvr_b' [-Werror=implicit-function-declaration] 2457 | tmp2_m = __msa_ilvr_b(tmp1_m, tmp0_m); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1420:20: error: expected ';' before '__msa_ilvev_w' 1420 | out0 = (RTYPE) __msa_ilvev_w((v4i32) in1, (v4i32) in0); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1424:26: note: in expansion of macro 'ILVEV_W2' 1424 | #define ILVEV_W2_SB(...) ILVEV_W2(v16i8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2458:5: note: in expansion of macro 'ILVEV_W2_SB' 2458 | ILVEV_W2_SB(in2, in6, in3, in7, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1421:20: error: expected ';' before '__msa_ilvev_w' 1421 | out1 = (RTYPE) __msa_ilvev_w((v4i32) in3, (v4i32) in2); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1424:26: note: in expansion of macro 'ILVEV_W2' 1424 | #define ILVEV_W2_SB(...) ILVEV_W2(v16i8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2458:5: note: in expansion of macro 'ILVEV_W2_SB' 2458 | ILVEV_W2_SB(in2, in6, in3, in7, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1681:20: error: expected ';' before '__msa_ilvr_h' 1681 | out0 = (RTYPE) __msa_ilvr_h((v8i16) in0, (v8i16) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1684:26: note: in expansion of macro 'ILVRL_H2' 1684 | #define ILVRL_H2_SB(...) ILVRL_H2(v16i8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2461:5: note: in expansion of macro 'ILVRL_H2_SB' 2461 | ILVRL_H2_SB(tmp3_m, tmp2_m, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1682:20: error: expected ';' before '__msa_ilvl_h' 1682 | out1 = (RTYPE) __msa_ilvl_h((v8i16) in0, (v8i16) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1684:26: note: in expansion of macro 'ILVRL_H2' 1684 | #define ILVRL_H2_SB(...) ILVRL_H2(v16i8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2461:5: note: in expansion of macro 'ILVRL_H2_SB' 2461 | ILVRL_H2_SB(tmp3_m, tmp2_m, tmp0_m, tmp1_m); \ | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1690:20: error: expected ';' before '__msa_ilvr_w' 1690 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2463:5: note: in expansion of macro 'ILVRL_W2' 2463 | ILVRL_W2(RTYPE, tmp1_m, tmp0_m, out0, out2); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1691:20: error: expected ';' before '__msa_ilvl_w' 1691 | out1 = (RTYPE) __msa_ilvl_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2463:5: note: in expansion of macro 'ILVRL_W2' 2463 | ILVRL_W2(RTYPE, tmp1_m, tmp0_m, out0, out2); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2464:20: error: expected ';' before '__msa_ilvl_d' 2464 | out1 = (RTYPE) __msa_ilvl_d((v2i64) out2, (v2i64) out0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2465:20: error: expected ';' before '__msa_ilvl_d' 2465 | out3 = (RTYPE) __msa_ilvl_d((v2i64) out0, (v2i64) out2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2454:35: warning: variable 'tmp3_m' set but not used [-Wunused-but-set-variable] 2454 | v16i8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \ | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2454:27: warning: variable 'tmp2_m' set but not used [-Wunused-but-set-variable] 2454 | v16i8 tmp0_m, tmp1_m, tmp2_m, tmp3_m; \ | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2467:33: note: in expansion of macro 'TRANSPOSE8x4_UB' 2467 | #define TRANSPOSE8x4_UB_UB(...) TRANSPOSE8x4_UB(v16u8, __VA_ARGS__) | ^~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:39:5: note: in expansion of macro 'TRANSPOSE8x4_UB_UB' 39 | TRANSPOSE8x4_UB_UB(in0, in1, in2, in3, in4, in5, in6, in7, | ^~~~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:42:14: error: 'v8i16' undeclared (first use in this function) 42 | temp0 = (v8i16) __msa_ilvr_b((v16i8) in0, (v16i8) in1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:42:20: error: expected ';' before '__msa_ilvr_b' 42 | temp0 = (v8i16) __msa_ilvr_b((v16i8) in0, (v16i8) in1); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:43:12: error: implicit declaration of function '__msa_hsub_u_h' [-Werror=implicit-function-declaration] 43 | a_d0 = __msa_hsub_u_h((v16u8) temp0, (v16u8) temp0); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:43:34: error: expected ')' before 'temp0' 43 | a_d0 = __msa_hsub_u_h((v16u8) temp0, (v16u8) temp0); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:44:20: error: expected ';' before '__msa_ilvr_b' 44 | temp2 = (v8i16) __msa_ilvr_b((v16i8) in2, (v16i8) in3); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:45:35: error: expected ')' before 'temp2' 45 | temp2 = __msa_hsub_u_h((v16u8) temp2, (v16u8) temp2); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:49:14: error: implicit declaration of function '__msa_fill_h' [-Werror=implicit-function-declaration] 49 | str_x2 = __msa_fill_h(-(strength << 1)); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:51:20: error: expected ';' before '__msa_bmz_v' 51 | diff2 = (v8i16) __msa_bmz_v((v16u8) diff2, (v16u8) temp0, (v16u8) temp0); | ^~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:55:20: error: expected ';' before '__msa_bmnz_v' 55 | diff2 = (v8i16) __msa_bmnz_v((v16u8) diff2, (v16u8) temp2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:59:20: error: expected ';' before '__msa_bmz_v' 59 | diff4 = (v8i16) __msa_bmz_v((v16u8) diff4, (v16u8) temp0, (v16u8) temp0); | ^~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:63:20: error: expected ';' before '__msa_bmnz_v' 63 | diff4 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) temp2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:64:13: error: implicit declaration of function '__msa_clti_s_h' [-Werror=implicit-function-declaration] 64 | temp0 = __msa_clti_s_h(diff0, 0); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:65:17: error: expected ';' before '__msa_bmnz_v' 65 | d0 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) diff2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:68:20: error: expected ';' before '__msa_bmnz_v' 68 | diff8 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) diff2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:73:20: error: expected ';' before '__msa_bmnz_v' 73 | diff6 = (v8i16) __msa_bmnz_v((v16u8) diff6, (v16u8) temp2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:76:20: error: expected ';' before '__msa_bmz_v' 76 | diff2 = (v8i16) __msa_bmz_v((v16u8) diff2, (v16u8) diff8, (v16u8) temp0); | ^~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:78:20: error: expected ';' before '__msa_bmz_v' 78 | diff6 = (v8i16) __msa_bmz_v((v16u8) diff6, (v16u8) diff2, (v16u8) temp0); | ^~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1880:26: note: in expansion of macro 'PCKEV_B2' 1880 | #define PCKEV_B2_SH(...) PCKEV_B2(v8i16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:79:5: note: in expansion of macro 'PCKEV_B2_SH' 79 | PCKEV_B2_SH(a_d0, diff6, a_d0, d0, diff6, d0); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1880:26: note: in expansion of macro 'PCKEV_B2' 1880 | #define PCKEV_B2_SH(...) PCKEV_B2(v8i16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:79:5: note: in expansion of macro 'PCKEV_B2_SH' 79 | PCKEV_B2_SH(a_d0, diff6, a_d0, d0, diff6, d0); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:80:27: error: expected ')' before 'in0' 80 | in0 = (v16u8) ((v16i8) in0 - (v16i8) diff6); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:81:27: error: expected ')' before 'in1' 81 | in1 = (v16u8) ((v16i8) in1 + (v16i8) diff6); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:82:11: error: implicit declaration of function '__msa_xori_b' [-Werror=implicit-function-declaration] 82 | in3 = __msa_xori_b(in3, 128); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:83:18: error: expected ';' before '__msa_adds_s_b' 83 | in3 = (v16u8) __msa_adds_s_b((v16i8) in3, (v16i8) d0); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:85:11: error: implicit declaration of function '__msa_subsus_u_b' [-Werror=implicit-function-declaration] 85 | in2 = __msa_subsus_u_b(in2, (v16i8) d0); | ^~~~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:85:40: error: expected ')' before 'd0' 85 | in2 = __msa_subsus_u_b(in2, (v16i8) d0); | ^~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1538:25: note: in expansion of macro 'ILVR_B2' 1538 | #define ILVR_B2_SH(...) ILVR_B2(v8i16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:86:5: note: in expansion of macro 'ILVR_B2_SH' 86 | ILVR_B2_SH(in3, in0, in1, in2, temp0, temp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1538:25: note: in expansion of macro 'ILVR_B2' 1538 | #define ILVR_B2_SH(...) ILVR_B2(v8i16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:86:5: note: in expansion of macro 'ILVR_B2_SH' 86 | ILVR_B2_SH(in3, in0, in1, in2, temp0, temp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:87:18: error: expected ';' before '__msa_ilvr_h' 87 | in0 = (v16u8) __msa_ilvr_h(temp1, temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:88:18: error: expected ';' before '__msa_ilvl_h' 88 | in3 = (v16u8) __msa_ilvl_h(temp1, temp0); | ^~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:14: error: implicit declaration of function '__msa_copy_u_w' [-Werror=implicit-function-declaration] 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:89:5: note: in expansion of macro 'ST4x4_UB' 89 | ST4x4_UB(in0, in0, 0, 1, 2, 3, src, stride); | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:30: error: 'v4i32' undeclared (first use in this function) 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:89:5: note: in expansion of macro 'ST4x4_UB' 89 | ST4x4_UB(in0, in0, 0, 1, 2, 3, src, stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:89:14: error: expected ')' before 'in0' 89 | ST4x4_UB(in0, in0, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:89:14: error: expected ')' before 'in0' 89 | ST4x4_UB(in0, in0, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:89:19: error: expected ')' before 'in0' 89 | ST4x4_UB(in0, in0, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:89:19: error: expected ')' before 'in0' 89 | ST4x4_UB(in0, in0, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:91:14: error: expected ')' before 'in3' 91 | ST4x4_UB(in3, in3, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:91:14: error: expected ')' before 'in3' 91 | ST4x4_UB(in3, in3, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:91:19: error: expected ')' before 'in3' 91 | ST4x4_UB(in3, in3, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:91:19: error: expected ')' before 'in3' 91 | ST4x4_UB(in3, in3, 0, 1, 2, 3, src, stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:35:11: warning: variable 'd0' set but not used [-Wunused-but-set-variable] 35 | v8i16 d0, a_d0, str_x2, str; | ^~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:33:18: warning: variable 'temp1' set but not used [-Wunused-but-set-variable] 33 | v8i16 temp0, temp1, temp2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:33:11: warning: variable 'temp0' set but not used [-Wunused-but-set-variable] 33 | v8i16 temp0, temp1, temp2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:46: warning: variable 'in7' set but not used [-Wunused-but-set-variable] 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:41: warning: variable 'in6' set but not used [-Wunused-but-set-variable] 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:36: warning: variable 'in5' set but not used [-Wunused-but-set-variable] 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:31: warning: variable 'in4' set but not used [-Wunused-but-set-variable] 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:16: warning: variable 'in1' set but not used [-Wunused-but-set-variable] 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:32:11: warning: variable 'in0' set but not used [-Wunused-but-set-variable] 32 | v16u8 in0, in1, in2, in3, in4, in5, in6, in7; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c: In function 'h263_v_loop_filter_msa': /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:99:5: error: unknown type name 'v16u8' 99 | v16u8 in0, in1, in2, in3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:100:5: error: unknown type name 'v8i16' 100 | v8i16 temp0, temp2, diff0, diff2, diff4, diff6, diff8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:101:5: error: unknown type name 'v8i16' 101 | v8i16 d0, a_d0, str_x2, str; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:27: error: 'v16u8' undeclared (first use in this function) 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:104:5: note: in expansion of macro 'LD_UB4' 104 | LD_UB4(src, stride, in0, in3, in2, in1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:104:5: note: in expansion of macro 'LD_UB4' 104 | LD_UB4(src, stride, in0, in3, in2, in1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:104:5: note: in expansion of macro 'LD_UB4' 104 | LD_UB4(src, stride, in0, in3, in2, in1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:104:5: note: in expansion of macro 'LD_UB4' 104 | LD_UB4(src, stride, in0, in3, in2, in1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:104:5: note: in expansion of macro 'LD_UB4' 104 | LD_UB4(src, stride, in0, in3, in2, in1); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:105:14: error: 'v8i16' undeclared (first use in this function) 105 | temp0 = (v8i16) __msa_ilvr_b((v16i8) in0, (v16i8) in1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:105:20: error: expected ';' before '__msa_ilvr_b' 105 | temp0 = (v8i16) __msa_ilvr_b((v16i8) in0, (v16i8) in1); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:106:34: error: expected ')' before 'temp0' 106 | a_d0 = __msa_hsub_u_h((v16u8) temp0, (v16u8) temp0); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:107:20: error: expected ';' before '__msa_ilvr_b' 107 | temp2 = (v8i16) __msa_ilvr_b((v16i8) in2, (v16i8) in3); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:108:35: error: expected ')' before 'temp2' 108 | temp2 = __msa_hsub_u_h((v16u8) temp2, (v16u8) temp2); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:114:20: error: expected ';' before '__msa_bmz_v' 114 | diff2 = (v8i16) __msa_bmz_v((v16u8) diff2, (v16u8) temp0, (v16u8) temp0); | ^~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:118:20: error: expected ';' before '__msa_bmnz_v' 118 | diff2 = (v8i16) __msa_bmnz_v((v16u8) diff2, (v16u8) temp2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:122:20: error: expected ';' before '__msa_bmz_v' 122 | diff4 = (v8i16) __msa_bmz_v((v16u8) diff4, (v16u8) temp0, (v16u8) temp0); | ^~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:126:20: error: expected ';' before '__msa_bmnz_v' 126 | diff4 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) temp2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:128:17: error: expected ';' before '__msa_bmnz_v' 128 | d0 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) diff2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:131:20: error: expected ';' before '__msa_bmnz_v' 131 | diff8 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) diff2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:136:20: error: expected ';' before '__msa_bmnz_v' 136 | diff6 = (v8i16) __msa_bmnz_v((v16u8) diff6, (v16u8) temp2, (v16u8) temp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:139:20: error: expected ';' before '__msa_bmz_v' 139 | diff2 = (v8i16) __msa_bmz_v((v16u8) diff2, (v16u8) diff8, (v16u8) temp0); | ^~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:141:20: error: expected ';' before '__msa_bmz_v' 141 | diff6 = (v8i16) __msa_bmz_v((v16u8) diff6, (v16u8) diff2, (v16u8) temp0); | ^~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1880:26: note: in expansion of macro 'PCKEV_B2' 1880 | #define PCKEV_B2_SH(...) PCKEV_B2(v8i16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:142:5: note: in expansion of macro 'PCKEV_B2_SH' 142 | PCKEV_B2_SH(a_d0, diff6, a_d0, d0, diff6, d0); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1880:26: note: in expansion of macro 'PCKEV_B2' 1880 | #define PCKEV_B2_SH(...) PCKEV_B2(v8i16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:142:5: note: in expansion of macro 'PCKEV_B2_SH' 142 | PCKEV_B2_SH(a_d0, diff6, a_d0, d0, diff6, d0); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:143:21: error: 'v16i8' undeclared (first use in this function) 143 | in0 = (v16u8) ((v16i8) in0 - (v16i8) diff6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:143:27: error: expected ')' before 'in0' 143 | in0 = (v16u8) ((v16i8) in0 - (v16i8) diff6); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:144:27: error: expected ')' before 'in1' 144 | in1 = (v16u8) ((v16i8) in1 + (v16i8) diff6); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:146:18: error: expected ';' before '__msa_adds_s_b' 146 | in3 = (v16u8) __msa_adds_s_b((v16i8) in3, (v16i8) d0); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:148:40: error: expected ')' before 'd0' 148 | in2 = __msa_subsus_u_b(in2, (v16i8) d0); | ^~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:149:12: error: implicit declaration of function '__msa_copy_u_d' [-Werror=implicit-function-declaration] 149 | res0 = __msa_copy_u_d((v2i64) in0, 0); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:149:28: error: 'v2i64' undeclared (first use in this function) 149 | res0 = __msa_copy_u_d((v2i64) in0, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:149:34: error: expected ')' before 'in0' 149 | res0 = __msa_copy_u_d((v2i64) in0, 0); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:150:34: error: expected ')' before 'in3' 150 | res1 = __msa_copy_u_d((v2i64) in3, 0); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:151:34: error: expected ')' before 'in2' 151 | res2 = __msa_copy_u_d((v2i64) in2, 0); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:152:34: error: expected ')' before 'in1' 152 | res3 = __msa_copy_u_d((v2i64) in1, 0); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:101:11: warning: variable 'd0' set but not used [-Wunused-but-set-variable] 101 | v8i16 d0, a_d0, str_x2, str; | ^~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:100:11: warning: variable 'temp0' set but not used [-Wunused-but-set-variable] 100 | v8i16 temp0, temp2, diff0, diff2, diff4, diff6, diff8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:99:16: warning: variable 'in1' set but not used [-Wunused-but-set-variable] 99 | v16u8 in0, in1, in2, in3; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h263dsp_msa.c:99:11: warning: variable 'in0' set but not used [-Wunused-but-set-variable] 99 | v16u8 in0, in1, in2, in3; | ^~~ cc1: some warnings being treated as errors make: *** [/home/fate/ffmpeg/common.mak:57: libavcodec/mips/h263dsp_msa.o] Error 1 /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_2x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:37:5: error: unknown type name 'v16i8' 37 | v16i8 src0, src1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:38:5: error: unknown type name 'v8u16' 38 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:39:5: error: unknown type name 'v8i16' 39 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:40:5: error: unknown type name 'v16i8' 40 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:41:5: error: unknown type name 'v16i8' 41 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:41:24: error: implicit declaration of function '__msa_fill_b' [-Werror=implicit-function-declaration] 41 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:42:5: error: unknown type name 'v16i8' 42 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:43:5: error: unknown type name 'v16u8' 43 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:43:24: error: 'v16u8' undeclared (first use in this function) 43 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:43:24: note: each undeclared identifier is reported only once for each function it appears in /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:43:31: error: expected ',' or ';' before '__msa_ilvr_b' 43 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:45:12: note: in expansion of macro 'LD_SB' 45 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:45:12: note: in expansion of macro 'LD_SB' 45 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:47:5: note: in expansion of macro 'LD_SB2' 47 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:47:5: note: in expansion of macro 'LD_SB2' 47 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:49:12: error: implicit declaration of function '__msa_vshf_b' [-Werror=implicit-function-declaration] 49 | src0 = __msa_vshf_b(mask, src1, src0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:50:13: error: implicit declaration of function '__msa_dotp_u_h' [-Werror=implicit-function-declaration] 50 | res_r = __msa_dotp_u_h((v16u8) src0, coeff_vec); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:50:35: error: expected ')' before 'src0' 50 | res_r = __msa_dotp_u_h((v16u8) src0, coeff_vec); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:52:14: error: 'v8u16' undeclared (first use in this function) 52 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:52:20: error: expected ';' before '__msa_srari_h' 52 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:53:13: error: implicit declaration of function '__msa_sat_u_h' [-Werror=implicit-function-declaration] 53 | res_r = __msa_sat_u_h(res_r, 7); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:54:12: error: 'v8i16' undeclared (first use in this function) 54 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:54:18: error: expected ';' before '__msa_pckev_b' 54 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:56:12: error: implicit declaration of function '__msa_copy_u_h' [-Werror=implicit-function-declaration] 56 | out0 = __msa_copy_u_h(res, 0); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:43:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 43 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:42:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 42 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:41:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 41 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_2x4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:68:5: error: unknown type name 'v16u8' 68 | v16u8 src0, src1, src2, src3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:69:5: error: unknown type name 'v8u16' 69 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:70:5: error: unknown type name 'v8i16' 70 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:71:5: error: unknown type name 'v16i8' 71 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:72:5: error: unknown type name 'v16i8' 72 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:73:5: error: unknown type name 'v16i8' 73 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:74:5: error: unknown type name 'v16u8' 74 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:74:24: error: 'v16u8' undeclared (first use in this function) 74 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:74:31: error: expected ',' or ';' before '__msa_ilvr_b' 74 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:76:12: note: in expansion of macro 'LD_SB' 76 | mask = LD_SB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:76:12: note: in expansion of macro 'LD_SB' 76 | mask = LD_SB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:78:5: note: in expansion of macro 'LD_UB4' 78 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:78:5: note: in expansion of macro 'LD_UB4' 78 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:78:5: note: in expansion of macro 'LD_UB4' 78 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:78:5: note: in expansion of macro 'LD_UB4' 78 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:80:5: note: in expansion of macro 'VSHF_B2_UB' 80 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:80:5: note: in expansion of macro 'VSHF_B2_UB' 80 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:82:19: error: expected ';' before '__msa_ilvr_d' 82 | src0 = (v16u8) __msa_ilvr_d((v2i64) src2, (v2i64) src0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:86:14: error: 'v8u16' undeclared (first use in this function) 86 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:86:20: error: expected ';' before '__msa_srari_h' 86 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:88:12: error: 'v8i16' undeclared (first use in this function) 88 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:88:18: error: expected ';' before '__msa_pckev_b' 88 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:90:14: error: expected ')' before 'res' 90 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:90:14: error: expected ')' before 'res' 90 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:90:14: error: expected ')' before 'res' 90 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:90:14: error: expected ')' before 'res' 90 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:73:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 73 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:72:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 72 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:71:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 71 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:70:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 70 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:68:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 68 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:68:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 68 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:68:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 68 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_2x8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:5: error: unknown type name 'v16u8' 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:98:5: error: unknown type name 'v8u16' 98 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:99:5: error: unknown type name 'v8i16' 99 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:100:5: error: unknown type name 'v16i8' 100 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:101:5: error: unknown type name 'v16i8' 101 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:102:5: error: unknown type name 'v16i8' 102 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:103:5: error: unknown type name 'v16u8' 103 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:103:24: error: 'v16u8' undeclared (first use in this function) 103 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:103:31: error: expected ',' or ';' before '__msa_ilvr_b' 103 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:105:12: note: in expansion of macro 'LD_SB' 105 | mask = LD_SB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:105:12: note: in expansion of macro 'LD_SB' 105 | mask = LD_SB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:107:5: note: in expansion of macro 'LD_UB8' 107 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:109:5: note: in expansion of macro 'VSHF_B2_UB' 109 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:109:5: note: in expansion of macro 'VSHF_B2_UB' 109 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:110:5: note: in expansion of macro 'VSHF_B2_UB' 110 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, src4, src6); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:110:5: note: in expansion of macro 'VSHF_B2_UB' 110 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, src4, src6); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:112:5: note: in expansion of macro 'ILVR_D2_UB' 112 | ILVR_D2_UB(src2, src0, src6, src4, src0, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:112:5: note: in expansion of macro 'ILVR_D2_UB' 112 | ILVR_D2_UB(src2, src0, src6, src4, src0, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:116:14: error: 'v8u16' undeclared (first use in this function) 116 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:116:20: error: expected ';' before '__msa_srari_h' 116 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:118:12: error: 'v8i16' undeclared (first use in this function) 118 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:118:18: error: expected ';' before '__msa_pckev_b' 118 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:120:14: error: expected ')' before 'res' 120 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:120:14: error: expected ')' before 'res' 120 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:120:14: error: expected ')' before 'res' 120 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:120:14: error: expected ')' before 'res' 120 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:125:20: error: expected ';' before '__msa_srari_h' 125 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:127:18: error: expected ';' before '__msa_pckev_b' 127 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:129:14: error: expected ')' before 'res' 129 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:129:14: error: expected ')' before 'res' 129 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:129:14: error: expected ')' before 'res' 129 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:129:14: error: expected ')' before 'res' 129 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:102:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 102 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:101:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 101 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:100:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 100 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:99:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 99 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:97:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 97 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_4x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:150:5: error: unknown type name 'v16i8' 150 | v16i8 src0, src1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:151:5: error: unknown type name 'v8u16' 151 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:152:5: error: unknown type name 'v4i32' 152 | v4i32 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:153:5: error: unknown type name 'v16i8' 153 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:154:5: error: unknown type name 'v16i8' 154 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:155:5: error: unknown type name 'v16i8' 155 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:156:5: error: unknown type name 'v16u8' 156 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:156:24: error: 'v16u8' undeclared (first use in this function) 156 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:156:31: error: expected ',' or ';' before '__msa_ilvr_b' 156 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:158:12: note: in expansion of macro 'LD_SB' 158 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:158:12: note: in expansion of macro 'LD_SB' 158 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:160:5: note: in expansion of macro 'LD_SB2' 160 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:160:5: note: in expansion of macro 'LD_SB2' 160 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:163:35: error: expected ')' before 'src0' 163 | res_r = __msa_dotp_u_h((v16u8) src0, coeff_vec); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:165:14: error: 'v8u16' undeclared (first use in this function) 165 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:165:20: error: expected ';' before '__msa_srari_h' 165 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:167:12: error: 'v4i32' undeclared (first use in this function) 167 | res = (v4i32) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:167:18: error: expected ';' before '__msa_pckev_b' 167 | res = (v4i32) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:14: error: implicit declaration of function '__msa_copy_u_w' [-Werror=implicit-function-declaration] 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:169:5: note: in expansion of macro 'ST4x2_UB' 169 | ST4x2_UB(res, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:169:14: error: expected ')' before 'res' 169 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:37: note: in definition of macro 'ST4x2_UB' 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:169:14: error: expected ')' before 'res' 169 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:564:37: note: in definition of macro 'ST4x2_UB' 564 | out1_m = __msa_copy_u_w((v4i32) in, 1); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:156:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 156 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:155:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 155 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:154:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 154 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:152:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 152 | v4i32 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_4x4multiple_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:178:5: error: unknown type name 'v16u8' 178 | v16u8 src0, src1, src2, src3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:179:5: error: unknown type name 'v8u16' 179 | v8u16 res0_r, res1_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:180:5: error: unknown type name 'v4i32' 180 | v4i32 res0, res1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:181:5: error: unknown type name 'v16i8' 181 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:182:5: error: unknown type name 'v16i8' 182 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:183:5: error: unknown type name 'v16i8' 183 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:184:5: error: unknown type name 'v16u8' 184 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:184:24: error: 'v16u8' undeclared (first use in this function) 184 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:184:31: error: expected ',' or ';' before '__msa_ilvr_b' 184 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:186:12: note: in expansion of macro 'LD_SB' 186 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:186:12: note: in expansion of macro 'LD_SB' 186 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:189:9: note: in expansion of macro 'LD_UB4' 189 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:189:9: note: in expansion of macro 'LD_UB4' 189 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:189:9: note: in expansion of macro 'LD_UB4' 189 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:189:9: note: in expansion of macro 'LD_UB4' 189 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:192:9: note: in expansion of macro 'VSHF_B2_UB' 192 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:192:9: note: in expansion of macro 'VSHF_B2_UB' 192 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:35: error: 'v8u16' undeclared (first use in this function) 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:193:9: note: in expansion of macro 'DOTP_UB2_UH' 193 | DOTP_UB2_UH(src0, src2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:193:9: note: in expansion of macro 'DOTP_UB2_UH' 193 | DOTP_UB2_UH(src0, src2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:193:9: note: in expansion of macro 'DOTP_UB2_UH' 193 | DOTP_UB2_UH(src0, src2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:198:9: note: in expansion of macro 'SRARI_H2_UH' 198 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:198:9: note: in expansion of macro 'SRARI_H2_UH' 198 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:199:9: note: in expansion of macro 'SAT_UH2_UH' 199 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:199:9: note: in expansion of macro 'SAT_UH2_UH' 199 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:35: error: 'v4i32' undeclared (first use in this function) 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:13: note: in definition of macro 'PCKEV_B2' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:200:9: note: in expansion of macro 'PCKEV_B2_SW' 200 | PCKEV_B2_SW(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:26: note: in expansion of macro 'PCKEV_B2' 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:200:9: note: in expansion of macro 'PCKEV_B2_SW' 200 | PCKEV_B2_SW(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:26: note: in expansion of macro 'PCKEV_B2' 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:200:9: note: in expansion of macro 'PCKEV_B2_SW' 200 | PCKEV_B2_SW(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:202:18: error: expected ')' before 'res0' 202 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:202:18: error: expected ')' before 'res0' 202 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:202:24: error: expected ')' before 'res1' 202 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:202:24: error: expected ')' before 'res1' 202 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:184:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 184 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:183:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 183 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:182:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 182 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:181:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 181 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:180:17: warning: variable 'res1' set but not used [-Wunused-but-set-variable] 180 | v4i32 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:180:11: warning: variable 'res0' set but not used [-Wunused-but-set-variable] 180 | v4i32 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:178:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 178 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:178:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 178 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:178:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 178 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:178:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 178 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_8w_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:226:5: error: unknown type name 'v16u8' 226 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:227:5: error: unknown type name 'v8u16' 227 | v8u16 res0, res1, res2, res3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:228:5: error: unknown type name 'v16i8' 228 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:229:5: error: unknown type name 'v16i8' 229 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:230:5: error: unknown type name 'v16i8' 230 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:231:5: error: unknown type name 'v16u8' 231 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:231:24: error: 'v16u8' undeclared (first use in this function) 231 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:231:31: error: expected ',' or ';' before '__msa_ilvr_b' 231 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:233:12: note: in expansion of macro 'LD_SB' 233 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:233:12: note: in expansion of macro 'LD_SB' 233 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:236:9: note: in expansion of macro 'LD_UB4' 236 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:236:9: note: in expansion of macro 'LD_UB4' 236 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:236:9: note: in expansion of macro 'LD_UB4' 236 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:236:9: note: in expansion of macro 'LD_UB4' 236 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:239:9: note: in expansion of macro 'VSHF_B2_UB' 239 | VSHF_B2_UB(src0, src0, src1, src1, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:239:9: note: in expansion of macro 'VSHF_B2_UB' 239 | VSHF_B2_UB(src0, src0, src1, src1, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:240:9: note: in expansion of macro 'VSHF_B2_UB' 240 | VSHF_B2_UB(src2, src2, src3, src3, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:240:9: note: in expansion of macro 'VSHF_B2_UB' 240 | VSHF_B2_UB(src2, src2, src3, src3, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:35: error: 'v8u16' undeclared (first use in this function) 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:241:9: note: in expansion of macro 'DOTP_UB4_UH' 241 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:241:9: note: in expansion of macro 'DOTP_UB4_UH' 241 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:241:9: note: in expansion of macro 'DOTP_UB4_UH' 241 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:241:9: note: in expansion of macro 'DOTP_UB4_UH' 241 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:241:9: note: in expansion of macro 'DOTP_UB4_UH' 241 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:244:9: note: in expansion of macro 'SRARI_H4_UH' 244 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:244:9: note: in expansion of macro 'SRARI_H4_UH' 244 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:244:9: note: in expansion of macro 'SRARI_H4_UH' 244 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:244:9: note: in expansion of macro 'SRARI_H4_UH' 244 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:245:9: note: in expansion of macro 'SAT_UH4_UH' 245 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:245:9: note: in expansion of macro 'SAT_UH4_UH' 245 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:245:9: note: in expansion of macro 'SAT_UH4_UH' 245 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:245:9: note: in expansion of macro 'SAT_UH4_UH' 245 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:246:9: note: in expansion of macro 'PCKEV_B2_UB' 246 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:246:9: note: in expansion of macro 'PCKEV_B2_UB' 246 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:14: error: implicit declaration of function '__msa_copy_u_d' [-Werror=implicit-function-declaration] 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:247:9: note: in expansion of macro 'ST8x4_UB' 247 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:30: error: 'v2i64' undeclared (first use in this function) 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:247:9: note: in expansion of macro 'ST8x4_UB' 247 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:247:18: error: expected ')' before 'out0' 247 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:37: note: in definition of macro 'ST8x4_UB' 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:247:18: error: expected ')' before 'out0' 247 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:693:37: note: in definition of macro 'ST8x4_UB' 693 | out1_m = __msa_copy_u_d((v2i64) in0, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:247:24: error: expected ')' before 'out1' 247 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:694:37: note: in definition of macro 'ST8x4_UB' 694 | out2_m = __msa_copy_u_d((v2i64) in1, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:247:24: error: expected ')' before 'out1' 247 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:695:37: note: in definition of macro 'ST8x4_UB' 695 | out3_m = __msa_copy_u_d((v2i64) in1, 1); \ | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:253:20: note: in expansion of macro 'LD_UB' 253 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:256:27: error: expected ';' before '__msa_vshf_b' 256 | src0 = (v16u8) __msa_vshf_b(mask, (v16i8) src0, (v16i8) src0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:260:27: error: expected ';' before '__msa_srari_h' 260 | res0 = (v8u16) __msa_srari_h((v8i16) res0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:262:27: error: expected ';' before '__msa_pckev_b' 262 | res0 = (v8u16) __msa_pckev_b((v16i8) res0, (v16i8) res0); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:264:22: error: expected ')' before 'res0' 264 | ST8x1_UB(res0, dst); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:652:37: note: in definition of macro 'ST8x1_UB' 652 | out0_m = __msa_copy_u_d((v2i64) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:230:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 230 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:229:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 229 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:228:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 228 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:226:41: warning: variable 'out1' set but not used [-Wunused-but-set-variable] 226 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:226:35: warning: variable 'out0' set but not used [-Wunused-but-set-variable] 226 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:226:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 226 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:226:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 226 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:226:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 226 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_2x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:275:5: error: unknown type name 'v16i8' 275 | v16i8 src0, src1, src2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:276:5: error: unknown type name 'v16u8' 276 | v16u8 tmp0, tmp1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:277:5: error: unknown type name 'v8i16' 277 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:278:5: error: unknown type name 'v8u16' 278 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:279:5: error: unknown type name 'v16i8' 279 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:280:5: error: unknown type name 'v16i8' 280 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:281:5: error: unknown type name 'v16u8' 281 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:281:24: error: 'v16u8' undeclared (first use in this function) 281 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:281:31: error: expected ',' or ';' before '__msa_ilvr_b' 281 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:27: error: 'v16i8' undeclared (first use in this function) 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:283:5: note: in expansion of macro 'LD_SB3' 283 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:283:5: note: in expansion of macro 'LD_SB3' 283 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:283:5: note: in expansion of macro 'LD_SB3' 283 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:283:5: note: in expansion of macro 'LD_SB3' 283 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1535:25: note: in expansion of macro 'ILVR_B2' 1535 | #define ILVR_B2_UB(...) ILVR_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:285:5: note: in expansion of macro 'ILVR_B2_UB' 285 | ILVR_B2_UB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1535:25: note: in expansion of macro 'ILVR_B2' 1535 | #define ILVR_B2_UB(...) ILVR_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:285:5: note: in expansion of macro 'ILVR_B2_UB' 285 | ILVR_B2_UB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:287:19: error: expected ';' before '__msa_ilvr_d' 287 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp1, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:291:14: error: 'v8u16' undeclared (first use in this function) 291 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:291:20: error: expected ';' before '__msa_srari_h' 291 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:293:12: error: 'v8i16' undeclared (first use in this function) 293 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:293:18: error: expected ';' before '__msa_pckev_b' 293 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:280:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 280 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:279:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 279 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:276:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 276 | v16u8 tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:275:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 275 | v16i8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:275:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 275 | v16i8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:275:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 275 | v16i8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_2x4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:307:5: error: unknown type name 'v16u8' 307 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:308:5: error: unknown type name 'v16u8' 308 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:309:5: error: unknown type name 'v8i16' 309 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:310:5: error: unknown type name 'v8u16' 310 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:311:5: error: unknown type name 'v16i8' 311 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:312:5: error: unknown type name 'v16i8' 312 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:313:5: error: unknown type name 'v16u8' 313 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:313:24: error: 'v16u8' undeclared (first use in this function) 313 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:313:31: error: expected ',' or ';' before '__msa_ilvr_b' 313 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:315:5: note: in expansion of macro 'LD_UB5' 315 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:315:5: note: in expansion of macro 'LD_UB5' 315 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:315:5: note: in expansion of macro 'LD_UB5' 315 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:315:5: note: in expansion of macro 'LD_UB5' 315 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:315:5: note: in expansion of macro 'LD_UB5' 315 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:316:5: note: in expansion of macro 'ILVR_B4_UB' 316 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:316:5: note: in expansion of macro 'ILVR_B4_UB' 316 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:316:5: note: in expansion of macro 'ILVR_B4_UB' 316 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:316:5: note: in expansion of macro 'ILVR_B4_UB' 316 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1609:20: error: expected ';' before '__msa_ilvr_w' 1609 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:318:5: note: in expansion of macro 'ILVR_W2_UB' 318 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1610:20: error: expected ';' before '__msa_ilvr_w' 1610 | out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:318:5: note: in expansion of macro 'ILVR_W2_UB' 318 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:320:19: error: expected ';' before '__msa_ilvr_d' 320 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp2, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:324:14: error: 'v8u16' undeclared (first use in this function) 324 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:324:20: error: expected ';' before '__msa_srari_h' 324 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:327:12: error: 'v8i16' undeclared (first use in this function) 327 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:327:18: error: expected ';' before '__msa_pckev_b' 327 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:329:14: error: expected ')' before 'res' 329 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:329:14: error: expected ')' before 'res' 329 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:329:14: error: expected ')' before 'res' 329 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:329:14: error: expected ')' before 'res' 329 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:312:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 312 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:311:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 311 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:309:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 309 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:308:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 308 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:308:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 308 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:308:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 308 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:307:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 307 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:307:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 307 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:307:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 307 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:307:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 307 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:307:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 307 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_2x8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:5: error: unknown type name 'v16u8' 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:337:5: error: unknown type name 'v16u8' 337 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:338:5: error: unknown type name 'v8i16' 338 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:339:5: error: unknown type name 'v8u16' 339 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:340:5: error: unknown type name 'v16i8' 340 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:341:5: error: unknown type name 'v16i8' 341 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:342:5: error: unknown type name 'v16u8' 342 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:342:24: error: 'v16u8' undeclared (first use in this function) 342 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:342:31: error: expected ',' or ';' before '__msa_ilvr_b' 342 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:344:5: note: in expansion of macro 'LD_UB5' 344 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:344:5: note: in expansion of macro 'LD_UB5' 344 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:344:5: note: in expansion of macro 'LD_UB5' 344 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:344:5: note: in expansion of macro 'LD_UB5' 344 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:344:5: note: in expansion of macro 'LD_UB5' 344 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:346:5: note: in expansion of macro 'LD_UB4' 346 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:346:5: note: in expansion of macro 'LD_UB4' 346 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:346:5: note: in expansion of macro 'LD_UB4' 346 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:346:5: note: in expansion of macro 'LD_UB4' 346 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:348:5: note: in expansion of macro 'ILVR_B4_UB' 348 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:348:5: note: in expansion of macro 'ILVR_B4_UB' 348 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:348:5: note: in expansion of macro 'ILVR_B4_UB' 348 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:348:5: note: in expansion of macro 'ILVR_B4_UB' 348 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1609:20: error: expected ';' before '__msa_ilvr_w' 1609 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:350:5: note: in expansion of macro 'ILVR_W2_UB' 350 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1610:20: error: expected ';' before '__msa_ilvr_w' 1610 | out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:350:5: note: in expansion of macro 'ILVR_W2_UB' 350 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:352:19: error: expected ';' before '__msa_ilvr_d' 352 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp2, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:356:14: error: 'v8u16' undeclared (first use in this function) 356 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:356:20: error: expected ';' before '__msa_srari_h' 356 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:359:12: error: 'v8i16' undeclared (first use in this function) 359 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:359:18: error: expected ';' before '__msa_pckev_b' 359 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:361:14: error: expected ')' before 'res' 361 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:361:14: error: expected ')' before 'res' 361 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:361:14: error: expected ')' before 'res' 361 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:361:14: error: expected ')' before 'res' 361 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:364:5: note: in expansion of macro 'ILVR_B4_UB' 364 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:364:5: note: in expansion of macro 'ILVR_B4_UB' 364 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:364:5: note: in expansion of macro 'ILVR_B4_UB' 364 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:364:5: note: in expansion of macro 'ILVR_B4_UB' 364 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1609:20: error: expected ';' before '__msa_ilvr_w' 1609 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:366:5: note: in expansion of macro 'ILVR_W2_UB' 366 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1610:20: error: expected ';' before '__msa_ilvr_w' 1610 | out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:366:5: note: in expansion of macro 'ILVR_W2_UB' 366 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:368:19: error: expected ';' before '__msa_ilvr_d' 368 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp2, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:372:20: error: expected ';' before '__msa_srari_h' 372 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:375:18: error: expected ';' before '__msa_pckev_b' 375 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:377:14: error: expected ')' before 'res' 377 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:377:14: error: expected ')' before 'res' 377 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:377:14: error: expected ')' before 'res' 377 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:377:14: error: expected ')' before 'res' 377 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:341:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 341 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:340:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 340 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:338:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 338 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:337:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 337 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:337:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 337 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:337:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 337 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:59: warning: variable 'src8' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:336:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 336 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_4x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:399:5: error: unknown type name 'v16u8' 399 | v16u8 src0, src1, src2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:400:5: error: unknown type name 'v16u8' 400 | v16u8 tmp0, tmp1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:401:5: error: unknown type name 'v4i32' 401 | v4i32 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:402:5: error: unknown type name 'v8u16' 402 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:403:5: error: unknown type name 'v16i8' 403 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:404:5: error: unknown type name 'v16i8' 404 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:405:5: error: unknown type name 'v16u8' 405 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:405:24: error: 'v16u8' undeclared (first use in this function) 405 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:405:31: error: expected ',' or ';' before '__msa_ilvr_b' 405 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:407:5: note: in expansion of macro 'LD_UB3' 407 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:407:5: note: in expansion of macro 'LD_UB3' 407 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:407:5: note: in expansion of macro 'LD_UB3' 407 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1535:25: note: in expansion of macro 'ILVR_B2' 1535 | #define ILVR_B2_UB(...) ILVR_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:408:5: note: in expansion of macro 'ILVR_B2_UB' 408 | ILVR_B2_UB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1535:25: note: in expansion of macro 'ILVR_B2' 1535 | #define ILVR_B2_UB(...) ILVR_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:408:5: note: in expansion of macro 'ILVR_B2_UB' 408 | ILVR_B2_UB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:410:19: error: expected ';' before '__msa_ilvr_d' 410 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp1, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:413:14: error: 'v8u16' undeclared (first use in this function) 413 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:413:20: error: expected ';' before '__msa_srari_h' 413 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:415:12: error: 'v4i32' undeclared (first use in this function) 415 | res = (v4i32) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:415:18: error: expected ';' before '__msa_pckev_b' 415 | res = (v4i32) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:417:14: error: expected ')' before 'res' 417 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:37: note: in definition of macro 'ST4x2_UB' 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:417:14: error: expected ')' before 'res' 417 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:564:37: note: in definition of macro 'ST4x2_UB' 564 | out1_m = __msa_copy_u_w((v4i32) in, 1); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:404:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 404 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:403:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 403 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:401:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 401 | v4i32 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:400:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 400 | v16u8 tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:399:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 399 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:399:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 399 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:399:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 399 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_4x4multiple_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:426:5: error: unknown type name 'v16u8' 426 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:427:5: error: unknown type name 'v16u8' 427 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:428:5: error: unknown type name 'v8u16' 428 | v8u16 res0_r, res1_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:429:5: error: unknown type name 'v4i32' 429 | v4i32 res0, res1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:430:5: error: unknown type name 'v16i8' 430 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:431:5: error: unknown type name 'v16i8' 431 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:432:5: error: unknown type name 'v16u8' 432 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:432:24: error: 'v16u8' undeclared (first use in this function) 432 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:432:31: error: expected ',' or ';' before '__msa_ilvr_b' 432 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:434:12: note: in expansion of macro 'LD_UB' 434 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:438:9: note: in expansion of macro 'LD_UB4' 438 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:438:9: note: in expansion of macro 'LD_UB4' 438 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:438:9: note: in expansion of macro 'LD_UB4' 438 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:438:9: note: in expansion of macro 'LD_UB4' 438 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:441:9: note: in expansion of macro 'ILVR_B4_UB' 441 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:441:9: note: in expansion of macro 'ILVR_B4_UB' 441 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:441:9: note: in expansion of macro 'ILVR_B4_UB' 441 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:441:9: note: in expansion of macro 'ILVR_B4_UB' 441 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:443:9: note: in expansion of macro 'ILVR_D2_UB' 443 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:443:9: note: in expansion of macro 'ILVR_D2_UB' 443 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:35: error: 'v8u16' undeclared (first use in this function) 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:444:9: note: in expansion of macro 'DOTP_UB2_UH' 444 | DOTP_UB2_UH(tmp0, tmp2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:444:9: note: in expansion of macro 'DOTP_UB2_UH' 444 | DOTP_UB2_UH(tmp0, tmp2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:444:9: note: in expansion of macro 'DOTP_UB2_UH' 444 | DOTP_UB2_UH(tmp0, tmp2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:449:9: note: in expansion of macro 'SRARI_H2_UH' 449 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:449:9: note: in expansion of macro 'SRARI_H2_UH' 449 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:450:9: note: in expansion of macro 'SAT_UH2_UH' 450 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:450:9: note: in expansion of macro 'SAT_UH2_UH' 450 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:35: error: 'v4i32' undeclared (first use in this function) 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:13: note: in definition of macro 'PCKEV_B2' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:451:9: note: in expansion of macro 'PCKEV_B2_SW' 451 | PCKEV_B2_SW(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:26: note: in expansion of macro 'PCKEV_B2' 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:451:9: note: in expansion of macro 'PCKEV_B2_SW' 451 | PCKEV_B2_SW(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:26: note: in expansion of macro 'PCKEV_B2' 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:451:9: note: in expansion of macro 'PCKEV_B2_SW' 451 | PCKEV_B2_SW(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:453:18: error: expected ')' before 'res0' 453 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:453:18: error: expected ')' before 'res0' 453 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:453:24: error: expected ')' before 'res1' 453 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:453:24: error: expected ')' before 'res1' 453 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:432:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 432 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:431:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 431 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:430:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 430 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:429:17: warning: variable 'res1' set but not used [-Wunused-but-set-variable] 429 | v4i32 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:429:11: warning: variable 'res0' set but not used [-Wunused-but-set-variable] 429 | v4i32 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:427:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 427 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:427:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 427 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:427:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 427 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:427:11: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 427 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:426:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 426 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:426:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 426 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:426:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 426 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:426:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 426 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_8w_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:5: error: unknown type name 'v16u8' 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:479:5: error: unknown type name 'v8u16' 479 | v8u16 res0, res1, res2, res3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:480:5: error: unknown type name 'v16i8' 480 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:481:5: error: unknown type name 'v16i8' 481 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:482:5: error: unknown type name 'v16u8' 482 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:482:24: error: 'v16u8' undeclared (first use in this function) 482 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:482:31: error: expected ',' or ';' before '__msa_ilvr_b' 482 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:484:12: note: in expansion of macro 'LD_UB' 484 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:488:9: note: in expansion of macro 'LD_UB4' 488 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:488:9: note: in expansion of macro 'LD_UB4' 488 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:488:9: note: in expansion of macro 'LD_UB4' 488 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:488:9: note: in expansion of macro 'LD_UB4' 488 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:491:9: note: in expansion of macro 'ILVR_B4_UB' 491 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:491:9: note: in expansion of macro 'ILVR_B4_UB' 491 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:491:9: note: in expansion of macro 'ILVR_B4_UB' 491 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:491:9: note: in expansion of macro 'ILVR_B4_UB' 491 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:35: error: 'v8u16' undeclared (first use in this function) 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:493:9: note: in expansion of macro 'DOTP_UB4_UH' 493 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:493:9: note: in expansion of macro 'DOTP_UB4_UH' 493 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:493:9: note: in expansion of macro 'DOTP_UB4_UH' 493 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:493:9: note: in expansion of macro 'DOTP_UB4_UH' 493 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:493:9: note: in expansion of macro 'DOTP_UB4_UH' 493 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:496:9: note: in expansion of macro 'SRARI_H4_UH' 496 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:496:9: note: in expansion of macro 'SRARI_H4_UH' 496 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:496:9: note: in expansion of macro 'SRARI_H4_UH' 496 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:496:9: note: in expansion of macro 'SRARI_H4_UH' 496 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:497:9: note: in expansion of macro 'SAT_UH4_UH' 497 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:497:9: note: in expansion of macro 'SAT_UH4_UH' 497 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:497:9: note: in expansion of macro 'SAT_UH4_UH' 497 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:497:9: note: in expansion of macro 'SAT_UH4_UH' 497 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:498:9: note: in expansion of macro 'PCKEV_B2_UB' 498 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:498:9: note: in expansion of macro 'PCKEV_B2_UB' 498 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:30: error: 'v2i64' undeclared (first use in this function) 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:500:9: note: in expansion of macro 'ST8x4_UB' 500 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:500:18: error: expected ')' before 'out0' 500 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:37: note: in definition of macro 'ST8x4_UB' 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:500:18: error: expected ')' before 'out0' 500 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:693:37: note: in definition of macro 'ST8x4_UB' 693 | out1_m = __msa_copy_u_d((v2i64) in0, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:500:24: error: expected ')' before 'out1' 500 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:694:37: note: in definition of macro 'ST8x4_UB' 694 | out2_m = __msa_copy_u_d((v2i64) in1, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:500:24: error: expected ')' before 'out1' 500 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:695:37: note: in definition of macro 'ST8x4_UB' 695 | out3_m = __msa_copy_u_d((v2i64) in1, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:482:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 482 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:481:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 481 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:480:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 480 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:47: warning: variable 'out1' set but not used [-Wunused-but-set-variable] 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:41: warning: variable 'out0' set but not used [-Wunused-but-set-variable] 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:478:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 478 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_2x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:513:5: error: unknown type name 'v16u8' 513 | v16u8 src0, src1, src2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:514:5: error: unknown type name 'v8u16' 514 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:515:5: error: unknown type name 'v8i16' 515 | v8i16 res_vert; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:516:5: error: unknown type name 'v16i8' 516 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:517:5: error: unknown type name 'v16i8' 517 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:518:5: error: unknown type name 'v16i8' 518 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:519:5: error: unknown type name 'v16u8' 519 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:519:27: error: 'v16u8' undeclared (first use in this function) 519 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:519:34: error: expected ',' or ';' before '__msa_ilvr_b' 519 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:520:5: error: unknown type name 'v8u16' 520 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:520:28: error: 'v8u16' undeclared (first use in this function) 520 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:520:35: error: expected ',' or ';' before '__msa_fill_h' 520 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:521:10: error: expected ';' before 'coeff_vt_vec1' 521 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:523:12: note: in expansion of macro 'LD_SB' 523 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:523:12: note: in expansion of macro 'LD_SB' 523 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:525:5: note: in expansion of macro 'LD_UB3' 525 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:525:5: note: in expansion of macro 'LD_UB3' 525 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:525:5: note: in expansion of macro 'LD_UB3' 525 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:526:5: note: in expansion of macro 'VSHF_B2_UB' 526 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:526:5: note: in expansion of macro 'VSHF_B2_UB' 526 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:527:5: note: in expansion of macro 'DOTP_UB2_UH' 527 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:527:5: note: in expansion of macro 'DOTP_UB2_UH' 527 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:528:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 528 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:531:22: error: expected ';' before '__msa_srari_h' 531 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:533:17: error: 'v8i16' undeclared (first use in this function) 533 | res_vert = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:533:23: error: expected ';' before '__msa_pckev_b' 533 | res_vert = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:519:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 519 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:518:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 518 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:517:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 517 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:516:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 516 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:513:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 513 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:513:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 513 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:513:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 513 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_2x4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:548:5: error: unknown type name 'v16u8' 548 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:549:5: error: unknown type name 'v16u8' 549 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:550:5: error: unknown type name 'v8u16' 550 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:551:5: error: unknown type name 'v8i16' 551 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:552:5: error: unknown type name 'v16i8' 552 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:553:5: error: unknown type name 'v16i8' 553 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:554:5: error: unknown type name 'v16i8' 554 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:555:5: error: unknown type name 'v16u8' 555 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:555:27: error: 'v16u8' undeclared (first use in this function) 555 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:555:34: error: expected ',' or ';' before '__msa_ilvr_b' 555 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:556:5: error: unknown type name 'v8u16' 556 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:556:28: error: 'v8u16' undeclared (first use in this function) 556 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:556:35: error: expected ',' or ';' before '__msa_fill_h' 556 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:557:10: error: expected ';' before 'coeff_vt_vec1' 557 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:559:12: note: in expansion of macro 'LD_SB' 559 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:559:12: note: in expansion of macro 'LD_SB' 559 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:561:5: note: in expansion of macro 'LD_UB5' 561 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:561:5: note: in expansion of macro 'LD_UB5' 561 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:561:5: note: in expansion of macro 'LD_UB5' 561 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:561:5: note: in expansion of macro 'LD_UB5' 561 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:561:5: note: in expansion of macro 'LD_UB5' 561 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:563:5: note: in expansion of macro 'VSHF_B2_UB' 563 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:563:5: note: in expansion of macro 'VSHF_B2_UB' 563 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:564:5: note: in expansion of macro 'VSHF_B2_UB' 564 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:564:5: note: in expansion of macro 'VSHF_B2_UB' 564 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:565:5: note: in expansion of macro 'ILVR_D2_UB' 565 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:565:5: note: in expansion of macro 'ILVR_D2_UB' 565 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:566:5: note: in expansion of macro 'DOTP_UB2_UH' 566 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:566:5: note: in expansion of macro 'DOTP_UB2_UH' 566 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:567:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 567 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:570:22: error: expected ';' before '__msa_srari_h' 570 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:572:12: error: 'v8i16' undeclared (first use in this function) 572 | res = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:572:18: error: expected ';' before '__msa_pckev_b' 572 | res = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:574:14: error: expected ')' before 'res' 574 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:574:14: error: expected ')' before 'res' 574 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:574:14: error: expected ')' before 'res' 574 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:574:14: error: expected ')' before 'res' 574 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:555:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 555 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:554:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 554 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:553:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 553 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:552:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 552 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:551:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 551 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:549:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 549 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:549:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 549 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:549:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 549 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:549:11: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 549 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:548:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 548 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:548:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 548 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:548:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 548 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:548:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 548 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:548:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 548 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_2x8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:5: error: unknown type name 'v16u8' 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:583:5: error: unknown type name 'v16u8' 583 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:584:5: error: unknown type name 'v8u16' 584 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:585:5: error: unknown type name 'v8i16' 585 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:586:5: error: unknown type name 'v16i8' 586 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:587:5: error: unknown type name 'v16i8' 587 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:588:5: error: unknown type name 'v16i8' 588 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:589:5: error: unknown type name 'v16u8' 589 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:589:27: error: 'v16u8' undeclared (first use in this function) 589 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:589:34: error: expected ',' or ';' before '__msa_ilvr_b' 589 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:590:5: error: unknown type name 'v8u16' 590 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:590:28: error: 'v8u16' undeclared (first use in this function) 590 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:590:35: error: expected ',' or ';' before '__msa_fill_h' 590 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:591:10: error: expected ';' before 'coeff_vt_vec1' 591 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:593:12: note: in expansion of macro 'LD_SB' 593 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:593:12: note: in expansion of macro 'LD_SB' 593 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:595:5: note: in expansion of macro 'LD_UB5' 595 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:595:5: note: in expansion of macro 'LD_UB5' 595 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:595:5: note: in expansion of macro 'LD_UB5' 595 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:595:5: note: in expansion of macro 'LD_UB5' 595 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:595:5: note: in expansion of macro 'LD_UB5' 595 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:597:5: note: in expansion of macro 'LD_UB4' 597 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:597:5: note: in expansion of macro 'LD_UB4' 597 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:597:5: note: in expansion of macro 'LD_UB4' 597 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:597:5: note: in expansion of macro 'LD_UB4' 597 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:599:5: note: in expansion of macro 'VSHF_B2_UB' 599 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:599:5: note: in expansion of macro 'VSHF_B2_UB' 599 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:600:5: note: in expansion of macro 'VSHF_B2_UB' 600 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:600:5: note: in expansion of macro 'VSHF_B2_UB' 600 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:601:5: note: in expansion of macro 'ILVR_D2_UB' 601 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:601:5: note: in expansion of macro 'ILVR_D2_UB' 601 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:602:5: note: in expansion of macro 'VSHF_B2_UB' 602 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:602:5: note: in expansion of macro 'VSHF_B2_UB' 602 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:603:5: note: in expansion of macro 'VSHF_B2_UB' 603 | VSHF_B2_UB(src5, src6, src7, src8, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:603:5: note: in expansion of macro 'VSHF_B2_UB' 603 | VSHF_B2_UB(src5, src6, src7, src8, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:604:5: note: in expansion of macro 'ILVR_D2_UB' 604 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src4, src5); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:604:5: note: in expansion of macro 'ILVR_D2_UB' 604 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src4, src5); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:605:5: note: in expansion of macro 'DOTP_UB2_UH' 605 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:605:5: note: in expansion of macro 'DOTP_UB2_UH' 605 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:606:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 606 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:609:22: error: expected ';' before '__msa_srari_h' 609 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:612:12: error: 'v8i16' undeclared (first use in this function) 612 | res = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:612:18: error: expected ';' before '__msa_pckev_b' 612 | res = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:614:14: error: expected ')' before 'res' 614 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:614:14: error: expected ')' before 'res' 614 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:614:14: error: expected ')' before 'res' 614 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:614:14: error: expected ')' before 'res' 614 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:617:5: note: in expansion of macro 'DOTP_UB2_UH' 617 | DOTP_UB2_UH(src4, src5, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:617:5: note: in expansion of macro 'DOTP_UB2_UH' 617 | DOTP_UB2_UH(src4, src5, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:621:22: error: expected ';' before '__msa_srari_h' 621 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:624:18: error: expected ';' before '__msa_pckev_b' 624 | res = (v8i16) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:626:14: error: expected ')' before 'res' 626 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:626:14: error: expected ')' before 'res' 626 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:626:14: error: expected ')' before 'res' 626 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:626:14: error: expected ')' before 'res' 626 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:589:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 589 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:588:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 588 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:587:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 587 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:586:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 586 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:585:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 585 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:583:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 583 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:583:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 583 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:583:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 583 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:583:11: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 583 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:59: warning: variable 'src8' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:582:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 582 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_4x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:652:5: error: unknown type name 'v16u8' 652 | v16u8 src0, src1, src2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:653:5: error: unknown type name 'v8u16' 653 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:654:5: error: unknown type name 'v16i8' 654 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:655:5: error: unknown type name 'v4i32' 655 | v4i32 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:656:5: error: unknown type name 'v16i8' 656 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:657:5: error: unknown type name 'v16i8' 657 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:658:5: error: unknown type name 'v16u8' 658 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:658:27: error: 'v16u8' undeclared (first use in this function) 658 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:658:34: error: expected ',' or ';' before '__msa_ilvr_b' 658 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:659:5: error: unknown type name 'v8u16' 659 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:659:28: error: 'v8u16' undeclared (first use in this function) 659 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:659:35: error: expected ',' or ';' before '__msa_fill_h' 659 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:660:10: error: expected ';' before 'coeff_vt_vec1' 660 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:662:12: note: in expansion of macro 'LD_SB' 662 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:662:12: note: in expansion of macro 'LD_SB' 662 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:663:5: note: in expansion of macro 'LD_UB3' 663 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:663:5: note: in expansion of macro 'LD_UB3' 663 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:663:5: note: in expansion of macro 'LD_UB3' 663 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:664:5: note: in expansion of macro 'VSHF_B2_UB' 664 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:664:5: note: in expansion of macro 'VSHF_B2_UB' 664 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:665:5: note: in expansion of macro 'DOTP_UB2_UH' 665 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:665:5: note: in expansion of macro 'DOTP_UB2_UH' 665 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:666:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 666 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:669:22: error: expected ';' before '__msa_srari_h' 669 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:671:12: error: 'v4i32' undeclared (first use in this function) 671 | res = (v4i32) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:671:18: error: expected ';' before '__msa_pckev_b' 671 | res = (v4i32) __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:673:14: error: expected ')' before 'res' 673 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:37: note: in definition of macro 'ST4x2_UB' 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:673:14: error: expected ')' before 'res' 673 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:564:37: note: in definition of macro 'ST4x2_UB' 564 | out1_m = __msa_copy_u_w((v4i32) in, 1); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:658:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 658 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:657:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 657 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:656:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 656 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:655:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 655 | v4i32 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:654:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 654 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:652:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 652 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:652:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 652 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:652:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 652 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_4x4multiple_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:685:5: error: unknown type name 'v16u8' 685 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:686:5: error: unknown type name 'v8u16' 686 | v8u16 res_hz0, res_hz1, res_hz2, res_hz3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:687:5: error: unknown type name 'v8u16' 687 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:688:5: error: unknown type name 'v16i8' 688 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:689:5: error: unknown type name 'v16i8' 689 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:690:5: error: unknown type name 'v16i8' 690 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:691:5: error: unknown type name 'v16u8' 691 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:691:27: error: 'v16u8' undeclared (first use in this function) 691 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:691:34: error: expected ',' or ';' before '__msa_ilvr_b' 691 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:692:5: error: unknown type name 'v8u16' 692 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:692:28: error: 'v8u16' undeclared (first use in this function) 692 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:692:35: error: expected ',' or ';' before '__msa_fill_h' 692 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:693:10: error: expected ';' before 'coeff_vt_vec1' 693 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:694:5: error: unknown type name 'v4i32' 694 | v4i32 res0, res1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:694:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:696:12: note: in expansion of macro 'LD_SB' 696 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:696:12: note: in expansion of macro 'LD_SB' 696 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:698:12: note: in expansion of macro 'LD_UB' 698 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:702:9: note: in expansion of macro 'LD_UB4' 702 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:702:9: note: in expansion of macro 'LD_UB4' 702 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:702:9: note: in expansion of macro 'LD_UB4' 702 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:702:9: note: in expansion of macro 'LD_UB4' 702 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:705:9: note: in expansion of macro 'VSHF_B2_UB' 705 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:705:9: note: in expansion of macro 'VSHF_B2_UB' 705 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:706:9: note: in expansion of macro 'VSHF_B2_UB' 706 | VSHF_B2_UB(src2, src3, src3, src4, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:706:9: note: in expansion of macro 'VSHF_B2_UB' 706 | VSHF_B2_UB(src2, src3, src3, src4, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:707:9: note: in expansion of macro 'DOTP_UB4_UH' 707 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:707:9: note: in expansion of macro 'DOTP_UB4_UH' 707 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:707:9: note: in expansion of macro 'DOTP_UB4_UH' 707 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:707:9: note: in expansion of macro 'DOTP_UB4_UH' 707 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:710:23: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 710 | MUL4(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_hz2, | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:710:9: note: in expansion of macro 'MUL4' 710 | MUL4(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_hz2, | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:714:9: note: in expansion of macro 'SRARI_H2_UH' 714 | SRARI_H2_UH(res_vt0, res_vt1, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:714:9: note: in expansion of macro 'SRARI_H2_UH' 714 | SRARI_H2_UH(res_vt0, res_vt1, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:715:9: note: in expansion of macro 'SAT_UH2_UH' 715 | SAT_UH2_UH(res_vt0, res_vt1, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:715:9: note: in expansion of macro 'SAT_UH2_UH' 715 | SAT_UH2_UH(res_vt0, res_vt1, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:35: error: 'v4i32' undeclared (first use in this function) 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:13: note: in definition of macro 'PCKEV_B2' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:716:9: note: in expansion of macro 'PCKEV_B2_SW' 716 | PCKEV_B2_SW(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:26: note: in expansion of macro 'PCKEV_B2' 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:716:9: note: in expansion of macro 'PCKEV_B2_SW' 716 | PCKEV_B2_SW(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1881:26: note: in expansion of macro 'PCKEV_B2' 1881 | #define PCKEV_B2_SW(...) PCKEV_B2(v4i32, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:716:9: note: in expansion of macro 'PCKEV_B2_SW' 716 | PCKEV_B2_SW(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:718:18: error: expected ')' before 'res0' 718 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:718:18: error: expected ')' before 'res0' 718 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:718:24: error: expected ')' before 'res1' 718 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:718:24: error: expected ')' before 'res1' 718 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:694:17: warning: variable 'res1' set but not used [-Wunused-but-set-variable] 694 | v4i32 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:694:11: warning: variable 'res0' set but not used [-Wunused-but-set-variable] 694 | v4i32 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:691:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 691 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:690:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 690 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:689:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 689 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:688:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 688 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:685:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 685 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:685:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 685 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:685:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 685 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:685:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 685 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_8w_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:5: error: unknown type name 'v16u8' 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:748:5: error: unknown type name 'v8u16' 748 | v8u16 res_hz0, res_hz1, res_hz2, res_hz3, res_hz4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:749:5: error: unknown type name 'v8u16' 749 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:750:5: error: unknown type name 'v16i8' 750 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:751:5: error: unknown type name 'v16i8' 751 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:752:5: error: unknown type name 'v16i8' 752 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:753:5: error: unknown type name 'v16u8' 753 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:753:27: error: 'v16u8' undeclared (first use in this function) 753 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:753:34: error: expected ',' or ';' before '__msa_ilvr_b' 753 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:754:5: error: unknown type name 'v8u16' 754 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:754:28: error: 'v8u16' undeclared (first use in this function) 754 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:754:35: error: expected ',' or ';' before '__msa_fill_h' 754 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:755:10: error: expected ';' before 'coeff_vt_vec1' 755 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:757:12: note: in expansion of macro 'LD_SB' 757 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:757:12: note: in expansion of macro 'LD_SB' 757 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:759:12: note: in expansion of macro 'LD_UB' 759 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:762:19: error: expected ';' before '__msa_vshf_b' 762 | src0 = (v16u8) __msa_vshf_b(mask, (v16i8) src0, (v16i8) src0); | ^~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:766:9: note: in expansion of macro 'LD_UB4' 766 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:766:9: note: in expansion of macro 'LD_UB4' 766 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:766:9: note: in expansion of macro 'LD_UB4' 766 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:766:9: note: in expansion of macro 'LD_UB4' 766 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:769:9: note: in expansion of macro 'VSHF_B2_UB' 769 | VSHF_B2_UB(src1, src1, src2, src2, mask, mask, src1, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:769:9: note: in expansion of macro 'VSHF_B2_UB' 769 | VSHF_B2_UB(src1, src1, src2, src2, mask, mask, src1, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:770:9: note: in expansion of macro 'VSHF_B2_UB' 770 | VSHF_B2_UB(src3, src3, src4, src4, mask, mask, src3, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:770:9: note: in expansion of macro 'VSHF_B2_UB' 770 | VSHF_B2_UB(src3, src3, src4, src4, mask, mask, src3, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:771:9: note: in expansion of macro 'DOTP_UB4_UH' 771 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:771:9: note: in expansion of macro 'DOTP_UB4_UH' 771 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:771:9: note: in expansion of macro 'DOTP_UB4_UH' 771 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:771:9: note: in expansion of macro 'DOTP_UB4_UH' 771 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:778:31: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 778 | res_vt0 += (res_hz0 * coeff_vt_vec1); | ^~~~~~~~~~~~~ | coeff_vt_vec0 In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:783:9: note: in expansion of macro 'SRARI_H4_UH' 783 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:783:9: note: in expansion of macro 'SRARI_H4_UH' 783 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:783:9: note: in expansion of macro 'SRARI_H4_UH' 783 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:783:9: note: in expansion of macro 'SRARI_H4_UH' 783 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:784:9: note: in expansion of macro 'SAT_UH4_UH' 784 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:784:9: note: in expansion of macro 'SAT_UH4_UH' 784 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:784:9: note: in expansion of macro 'SAT_UH4_UH' 784 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:784:9: note: in expansion of macro 'SAT_UH4_UH' 784 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:785:9: note: in expansion of macro 'PCKEV_B2_UB' 785 | PCKEV_B2_UB(res_vt1, res_vt0, res_vt3, res_vt2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:785:9: note: in expansion of macro 'PCKEV_B2_UB' 785 | PCKEV_B2_UB(res_vt1, res_vt0, res_vt3, res_vt2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:30: error: 'v2i64' undeclared (first use in this function) 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:786:9: note: in expansion of macro 'ST8x4_UB' 786 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:786:18: error: expected ')' before 'out0' 786 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:37: note: in definition of macro 'ST8x4_UB' 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:786:18: error: expected ')' before 'out0' 786 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:693:37: note: in definition of macro 'ST8x4_UB' 693 | out1_m = __msa_copy_u_d((v2i64) in0, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:786:24: error: expected ')' before 'out1' 786 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:694:37: note: in definition of macro 'ST8x4_UB' 694 | out2_m = __msa_copy_u_d((v2i64) in1, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:786:24: error: expected ')' before 'out1' 786 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:695:37: note: in definition of macro 'ST8x4_UB' 695 | out3_m = __msa_copy_u_d((v2i64) in1, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:752:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 752 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:751:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 751 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:750:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 750 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:749:38: warning: variable 'res_vt3' set but not used [-Wunused-but-set-variable] 749 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:749:29: warning: variable 'res_vt2' set but not used [-Wunused-but-set-variable] 749 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:749:20: warning: variable 'res_vt1' set but not used [-Wunused-but-set-variable] 749 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:749:11: warning: variable 'res_vt0' set but not used [-Wunused-but-set-variable] 749 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:47: warning: variable 'out1' set but not used [-Wunused-but-set-variable] 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:41: warning: variable 'out0' set but not used [-Wunused-but-set-variable] 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:747:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 747 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_and_aver_dst_2x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:800:5: error: unknown type name 'v16i8' 800 | v16i8 src0, src1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:801:5: error: unknown type name 'v16u8' 801 | v16u8 dst_data = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:802:5: error: unknown type name 'v8u16' 802 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:803:5: error: unknown type name 'v16u8' 803 | v16u8 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:804:5: error: unknown type name 'v16i8' 804 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:805:5: error: unknown type name 'v16i8' 805 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:806:5: error: unknown type name 'v16i8' 806 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:807:5: error: unknown type name 'v16u8' 807 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:807:24: error: 'v16u8' undeclared (first use in this function) 807 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:807:31: error: expected ',' or ';' before '__msa_ilvr_b' 807 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:809:12: note: in expansion of macro 'LD_SB' 809 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:809:12: note: in expansion of macro 'LD_SB' 809 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:811:5: note: in expansion of macro 'LD_SB2' 811 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:811:5: note: in expansion of macro 'LD_SB2' 811 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:816:5: note: in expansion of macro 'INSERT_W2_UB' 816 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:816:5: note: in expansion of macro 'INSERT_W2_UB' 816 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:820:35: error: expected ')' before 'src0' 820 | res_r = __msa_dotp_u_h((v16u8) src0, coeff_vec); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:822:14: error: 'v8u16' undeclared (first use in this function) 822 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:822:20: error: expected ';' before '__msa_srari_h' 822 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:825:18: error: expected ';' before '__msa_pckev_b' 825 | res = (v16u8) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:826:16: error: implicit declaration of function '__msa_aver_u_b' [-Werror=implicit-function-declaration] 826 | dst_data = __msa_aver_u_b(res, dst_data); | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:828:28: error: 'v8i16' undeclared (first use in this function) 828 | out0 = __msa_copy_u_h((v8i16) dst_data, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:828:34: error: expected ')' before 'dst_data' 828 | out0 = __msa_copy_u_h((v8i16) dst_data, 0); | ^~~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:829:34: error: expected ')' before 'dst_data' 829 | out1 = __msa_copy_u_h((v8i16) dst_data, 2); | ^~~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:807:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 807 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:806:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 806 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:805:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 805 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:799:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 799 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:799:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 799 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_and_aver_dst_2x4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:840:5: error: unknown type name 'v16u8' 840 | v16u8 src0, src1, src2, src3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:841:5: error: unknown type name 'v16u8' 841 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:842:5: error: unknown type name 'v8u16' 842 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:843:5: error: unknown type name 'v16i8' 843 | v16i8 res, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:844:5: error: unknown type name 'v16i8' 844 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:845:5: error: unknown type name 'v16i8' 845 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:846:5: error: unknown type name 'v16u8' 846 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:846:24: error: 'v16u8' undeclared (first use in this function) 846 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:846:31: error: expected ',' or ';' before '__msa_ilvr_b' 846 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:848:12: note: in expansion of macro 'LD_SB' 848 | mask = LD_SB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:848:12: note: in expansion of macro 'LD_SB' 848 | mask = LD_SB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:850:5: note: in expansion of macro 'LD_UB4' 850 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:850:5: note: in expansion of macro 'LD_UB4' 850 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:850:5: note: in expansion of macro 'LD_UB4' 850 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:850:5: note: in expansion of macro 'LD_UB4' 850 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:851:5: note: in expansion of macro 'LD_UB4' 851 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:851:5: note: in expansion of macro 'LD_UB4' 851 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:851:5: note: in expansion of macro 'LD_UB4' 851 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:851:5: note: in expansion of macro 'LD_UB4' 851 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:853:19: error: expected ';' before '__msa_insve_h' 853 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 1, (v8i16) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:854:19: error: expected ';' before '__msa_insve_h' 854 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 2, (v8i16) dst2); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:855:19: error: expected ';' before '__msa_insve_h' 855 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 3, (v8i16) dst3); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:857:5: note: in expansion of macro 'VSHF_B2_UB' 857 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:857:5: note: in expansion of macro 'VSHF_B2_UB' 857 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:859:19: error: expected ';' before '__msa_ilvr_d' 859 | src0 = (v16u8) __msa_ilvr_d((v2i64) src2, (v2i64) src0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:863:14: error: 'v8u16' undeclared (first use in this function) 863 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:863:20: error: expected ';' before '__msa_srari_h' 863 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:866:11: error: implicit declaration of function '__msa_pckev_b' [-Werror=implicit-function-declaration] 866 | res = __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:866:32: error: expected ')' before 'res_r' 866 | res = __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:867:34: error: expected ')' before 'res' 867 | dst0 = __msa_aver_u_b((v16u8) res, dst0); | ^~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:30: error: 'v8i16' undeclared (first use in this function) 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:869:5: note: in expansion of macro 'ST2x4_UB' 869 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:869:14: error: expected ')' before 'dst0' 869 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:869:14: error: expected ')' before 'dst0' 869 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:869:14: error: expected ')' before 'dst0' 869 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:869:14: error: expected ')' before 'dst0' 869 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:845:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 845 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:844:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 844 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:843:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 843 | v16i8 res, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:843:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 843 | v16i8 res, mask; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:841:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 841 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:841:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 841 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:841:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 841 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:841:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 841 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:840:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 840 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:840:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 840 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:840:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 840 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_and_aver_dst_2x8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:5: error: unknown type name 'v16u8' 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:5: error: unknown type name 'v16u8' 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:878:5: error: unknown type name 'v8u16' 878 | v8u16 res0_r, res1_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:879:5: error: unknown type name 'v16u8' 879 | v16u8 res0, res1, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:880:5: error: unknown type name 'v16i8' 880 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:881:5: error: unknown type name 'v16i8' 881 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:882:5: error: unknown type name 'v16u8' 882 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:882:24: error: 'v16u8' undeclared (first use in this function) 882 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:882:31: error: expected ',' or ';' before '__msa_ilvr_b' 882 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:884:12: note: in expansion of macro 'LD_UB' 884 | mask = LD_UB(&chroma_mask_arr[64]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:886:5: note: in expansion of macro 'LD_UB8' 886 | LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:887:5: note: in expansion of macro 'LD_UB8' 887 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:889:19: error: expected ';' before '__msa_insve_h' 889 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 1, (v8i16) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:890:19: error: expected ';' before '__msa_insve_h' 890 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 2, (v8i16) dst2); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:891:19: error: expected ';' before '__msa_insve_h' 891 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 3, (v8i16) dst3); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:893:19: error: expected ';' before '__msa_insve_h' 893 | dst4 = (v16u8) __msa_insve_h((v8i16) dst4, 1, (v8i16) dst5); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:894:19: error: expected ';' before '__msa_insve_h' 894 | dst4 = (v16u8) __msa_insve_h((v8i16) dst4, 2, (v8i16) dst6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:895:19: error: expected ';' before '__msa_insve_h' 895 | dst4 = (v16u8) __msa_insve_h((v8i16) dst4, 3, (v8i16) dst7); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:897:5: note: in expansion of macro 'VSHF_B2_UB' 897 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:897:5: note: in expansion of macro 'VSHF_B2_UB' 897 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:898:5: note: in expansion of macro 'VSHF_B2_UB' 898 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, src4, src6); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:898:5: note: in expansion of macro 'VSHF_B2_UB' 898 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, src4, src6); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:899:5: note: in expansion of macro 'ILVR_D2_UB' 899 | ILVR_D2_UB(src2, src0, src6, src4, src0, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:899:5: note: in expansion of macro 'ILVR_D2_UB' 899 | ILVR_D2_UB(src2, src0, src6, src4, src0, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:35: error: 'v8u16' undeclared (first use in this function) 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:900:5: note: in expansion of macro 'DOTP_UB2_UH' 900 | DOTP_UB2_UH(src0, src4, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:900:5: note: in expansion of macro 'DOTP_UB2_UH' 900 | DOTP_UB2_UH(src0, src4, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:900:5: note: in expansion of macro 'DOTP_UB2_UH' 900 | DOTP_UB2_UH(src0, src4, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:905:5: note: in expansion of macro 'SRARI_H2_UH' 905 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:905:5: note: in expansion of macro 'SRARI_H2_UH' 905 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:906:5: note: in expansion of macro 'SAT_UH2_UH' 906 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:906:5: note: in expansion of macro 'SAT_UH2_UH' 906 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:907:5: note: in expansion of macro 'PCKEV_B2_UB' 907 | PCKEV_B2_UB(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:907:5: note: in expansion of macro 'PCKEV_B2_UB' 907 | PCKEV_B2_UB(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:908:5: note: in expansion of macro 'AVER_UB2_UB' 908 | AVER_UB2_UB(res0, dst0, res1, dst4, dst0, dst4); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:908:5: note: in expansion of macro 'AVER_UB2_UB' 908 | AVER_UB2_UB(res0, dst0, res1, dst4, dst0, dst4); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:30: error: 'v8i16' undeclared (first use in this function) 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:910:5: note: in expansion of macro 'ST2x4_UB' 910 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:910:14: error: expected ')' before 'dst0' 910 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:910:14: error: expected ')' before 'dst0' 910 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:910:14: error: expected ')' before 'dst0' 910 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:910:14: error: expected ')' before 'dst0' 910 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:912:14: error: expected ')' before 'dst4' 912 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:912:14: error: expected ')' before 'dst4' 912 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:912:14: error: expected ')' before 'dst4' 912 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:912:14: error: expected ')' before 'dst4' 912 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:882:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 882 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:881:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 881 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:880:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 880 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:879:23: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 879 | v16u8 res0, res1, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:879:17: warning: variable 'res1' set but not used [-Wunused-but-set-variable] 879 | v16u8 res0, res1, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:879:11: warning: variable 'res0' set but not used [-Wunused-but-set-variable] 879 | v16u8 res0, res1, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:53: warning: variable 'dst7' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:47: warning: variable 'dst6' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:41: warning: variable 'dst5' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:35: warning: variable 'dst4' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:877:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 877 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:876:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 876 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_and_aver_dst_4x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:937:5: error: unknown type name 'v16i8' 937 | v16i8 src0, src1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:938:5: error: unknown type name 'v16u8' 938 | v16u8 dst_data = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:939:5: error: unknown type name 'v8u16' 939 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:940:5: error: unknown type name 'v16i8' 940 | v16i8 res, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:941:5: error: unknown type name 'v16i8' 941 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:942:5: error: unknown type name 'v16i8' 942 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:943:5: error: unknown type name 'v16u8' 943 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:943:24: error: 'v16u8' undeclared (first use in this function) 943 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:943:31: error: expected ',' or ';' before '__msa_ilvr_b' 943 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:945:12: note: in expansion of macro 'LD_SB' 945 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:945:12: note: in expansion of macro 'LD_SB' 945 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:947:5: note: in expansion of macro 'LD_SB2' 947 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:308:21: note: in expansion of macro 'LD_B2' 308 | #define LD_SB2(...) LD_B2(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:947:5: note: in expansion of macro 'LD_SB2' 947 | LD_SB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:952:5: note: in expansion of macro 'INSERT_W2_UB' 952 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:952:5: note: in expansion of macro 'INSERT_W2_UB' 952 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:956:35: error: expected ')' before 'src0' 956 | res_r = __msa_dotp_u_h((v16u8) src0, coeff_vec); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:958:14: error: 'v8u16' undeclared (first use in this function) 958 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:958:20: error: expected ';' before '__msa_srari_h' 958 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:960:32: error: expected ')' before 'res_r' 960 | res = __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:961:38: error: expected ')' before 'res' 961 | dst_data = __msa_aver_u_b((v16u8) res, dst_data); | ^~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:30: error: 'v4i32' undeclared (first use in this function) 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:963:5: note: in expansion of macro 'ST4x2_UB' 963 | ST4x2_UB(dst_data, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:963:14: error: expected ')' before 'dst_data' 963 | ST4x2_UB(dst_data, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:37: note: in definition of macro 'ST4x2_UB' 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:963:14: error: expected ')' before 'dst_data' 963 | ST4x2_UB(dst_data, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:564:37: note: in definition of macro 'ST4x2_UB' 564 | out1_m = __msa_copy_u_w((v4i32) in, 1); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:943:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 943 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:942:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 942 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:941:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 941 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:940:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 940 | v16i8 res, mask; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:938:11: warning: variable 'dst_data' set but not used [-Wunused-but-set-variable] 938 | v16u8 dst_data = { 0 }; | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:936:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 936 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:936:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 936 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_and_aver_dst_4x4multiple_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:976:5: error: unknown type name 'v16u8' 976 | v16u8 src0, src1, src2, src3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:977:5: error: unknown type name 'v16u8' 977 | v16u8 dst0 = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:978:5: error: unknown type name 'v16u8' 978 | v16u8 dst1 = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:979:5: error: unknown type name 'v8u16' 979 | v8u16 res0_r, res1_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:980:5: error: unknown type name 'v16u8' 980 | v16u8 res0, res1, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:981:5: error: unknown type name 'v16i8' 981 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:982:5: error: unknown type name 'v16i8' 982 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:983:5: error: unknown type name 'v16u8' 983 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:983:24: error: 'v16u8' undeclared (first use in this function) 983 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:983:31: error: expected ',' or ';' before '__msa_ilvr_b' 983 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:985:12: note: in expansion of macro 'LD_UB' 985 | mask = LD_UB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:988:9: note: in expansion of macro 'LD_UB4' 988 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:988:9: note: in expansion of macro 'LD_UB4' 988 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:988:9: note: in expansion of macro 'LD_UB4' 988 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:988:9: note: in expansion of macro 'LD_UB4' 988 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:994:9: note: in expansion of macro 'INSERT_W2_UB' 994 | INSERT_W2_UB(load0, load1, dst0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:994:9: note: in expansion of macro 'INSERT_W2_UB' 994 | INSERT_W2_UB(load0, load1, dst0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:999:9: note: in expansion of macro 'INSERT_W2_UB' 999 | INSERT_W2_UB(load0, load1, dst1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:999:9: note: in expansion of macro 'INSERT_W2_UB' 999 | INSERT_W2_UB(load0, load1, dst1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1001:9: note: in expansion of macro 'VSHF_B2_UB' 1001 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1001:9: note: in expansion of macro 'VSHF_B2_UB' 1001 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, src0, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:35: error: 'v8u16' undeclared (first use in this function) 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1002:9: note: in expansion of macro 'DOTP_UB2_UH' 1002 | DOTP_UB2_UH(src0, src2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1002:9: note: in expansion of macro 'DOTP_UB2_UH' 1002 | DOTP_UB2_UH(src0, src2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1002:9: note: in expansion of macro 'DOTP_UB2_UH' 1002 | DOTP_UB2_UH(src0, src2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1007:9: note: in expansion of macro 'SRARI_H2_UH' 1007 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1007:9: note: in expansion of macro 'SRARI_H2_UH' 1007 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1008:9: note: in expansion of macro 'SAT_UH2_UH' 1008 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1008:9: note: in expansion of macro 'SAT_UH2_UH' 1008 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1009:9: note: in expansion of macro 'PCKEV_B2_UB' 1009 | PCKEV_B2_UB(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1009:9: note: in expansion of macro 'PCKEV_B2_UB' 1009 | PCKEV_B2_UB(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1010:9: note: in expansion of macro 'AVER_UB2_UB' 1010 | AVER_UB2_UB(res0, dst0, res1, dst1, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1010:9: note: in expansion of macro 'AVER_UB2_UB' 1010 | AVER_UB2_UB(res0, dst0, res1, dst1, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:30: error: 'v4i32' undeclared (first use in this function) 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1012:9: note: in expansion of macro 'ST4x4_UB' 1012 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1012:18: error: expected ')' before 'dst0' 1012 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1012:18: error: expected ')' before 'dst0' 1012 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1012:24: error: expected ')' before 'dst1' 1012 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1012:24: error: expected ')' before 'dst1' 1012 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:983:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 983 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:982:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 982 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:981:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 981 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:980:23: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 980 | v16u8 res0, res1, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:980:17: warning: variable 'res1' set but not used [-Wunused-but-set-variable] 980 | v16u8 res0, res1, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:980:11: warning: variable 'res0' set but not used [-Wunused-but-set-variable] 980 | v16u8 res0, res1, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:978:11: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 978 | v16u8 dst1 = { 0 }; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:977:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 977 | v16u8 dst0 = { 0 }; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:976:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 976 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:976:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 976 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:976:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 976 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:976:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 976 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:974:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 974 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:974:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 974 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hz_and_aver_dst_8w_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:5: error: unknown type name 'v16u8' 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1039:5: error: unknown type name 'v8u16' 1039 | v8u16 res0, res1, res2, res3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1040:5: error: unknown type name 'v16u8' 1040 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1041:5: error: unknown type name 'v16i8' 1041 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1042:5: error: unknown type name 'v16i8' 1042 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1043:5: error: unknown type name 'v16i8' 1043 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1044:5: error: unknown type name 'v16u8' 1044 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1044:24: error: 'v16u8' undeclared (first use in this function) 1044 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1044:31: error: expected ',' or ';' before '__msa_ilvr_b' 1044 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1046:12: note: in expansion of macro 'LD_SB' 1046 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1046:12: note: in expansion of macro 'LD_SB' 1046 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1049:9: note: in expansion of macro 'LD_UB4' 1049 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1049:9: note: in expansion of macro 'LD_UB4' 1049 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1049:9: note: in expansion of macro 'LD_UB4' 1049 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1049:9: note: in expansion of macro 'LD_UB4' 1049 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1051:9: note: in expansion of macro 'LD_UB4' 1051 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1051:9: note: in expansion of macro 'LD_UB4' 1051 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1051:9: note: in expansion of macro 'LD_UB4' 1051 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1051:9: note: in expansion of macro 'LD_UB4' 1051 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1052:9: note: in expansion of macro 'VSHF_B2_UB' 1052 | VSHF_B2_UB(src0, src0, src1, src1, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1052:9: note: in expansion of macro 'VSHF_B2_UB' 1052 | VSHF_B2_UB(src0, src0, src1, src1, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1053:9: note: in expansion of macro 'VSHF_B2_UB' 1053 | VSHF_B2_UB(src2, src2, src3, src3, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1053:9: note: in expansion of macro 'VSHF_B2_UB' 1053 | VSHF_B2_UB(src2, src2, src3, src3, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:35: error: 'v8u16' undeclared (first use in this function) 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1054:9: note: in expansion of macro 'DOTP_UB4_UH' 1054 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1054:9: note: in expansion of macro 'DOTP_UB4_UH' 1054 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1054:9: note: in expansion of macro 'DOTP_UB4_UH' 1054 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1054:9: note: in expansion of macro 'DOTP_UB4_UH' 1054 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1054:9: note: in expansion of macro 'DOTP_UB4_UH' 1054 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1057:9: note: in expansion of macro 'SRARI_H4_UH' 1057 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1057:9: note: in expansion of macro 'SRARI_H4_UH' 1057 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1057:9: note: in expansion of macro 'SRARI_H4_UH' 1057 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1057:9: note: in expansion of macro 'SRARI_H4_UH' 1057 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1058:9: note: in expansion of macro 'SAT_UH4_UH' 1058 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1058:9: note: in expansion of macro 'SAT_UH4_UH' 1058 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1058:9: note: in expansion of macro 'SAT_UH4_UH' 1058 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1058:9: note: in expansion of macro 'SAT_UH4_UH' 1058 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1059:9: note: in expansion of macro 'PCKEV_B2_UB' 1059 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1059:9: note: in expansion of macro 'PCKEV_B2_UB' 1059 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1943:20: error: expected ';' before '__msa_pckev_d' 1943 | out0 = (RTYPE) __msa_pckev_d((v2i64) in0, (v2i64) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1946:26: note: in expansion of macro 'PCKEV_D2' 1946 | #define PCKEV_D2_UB(...) PCKEV_D2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1060:9: note: in expansion of macro 'PCKEV_D2_UB' 1060 | PCKEV_D2_UB(dst1, dst0, dst3, dst2, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1944:20: error: expected ';' before '__msa_pckev_d' 1944 | out1 = (RTYPE) __msa_pckev_d((v2i64) in2, (v2i64) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1946:26: note: in expansion of macro 'PCKEV_D2' 1946 | #define PCKEV_D2_UB(...) PCKEV_D2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1060:9: note: in expansion of macro 'PCKEV_D2_UB' 1060 | PCKEV_D2_UB(dst1, dst0, dst3, dst2, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1061:9: note: in expansion of macro 'AVER_UB2_UB' 1061 | AVER_UB2_UB(out0, dst0, out1, dst1, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1061:9: note: in expansion of macro 'AVER_UB2_UB' 1061 | AVER_UB2_UB(out0, dst0, out1, dst1, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:30: error: 'v2i64' undeclared (first use in this function) 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1062:9: note: in expansion of macro 'ST8x4_UB' 1062 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1062:18: error: expected ')' before 'out0' 1062 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:37: note: in definition of macro 'ST8x4_UB' 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1062:18: error: expected ')' before 'out0' 1062 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:693:37: note: in definition of macro 'ST8x4_UB' 693 | out1_m = __msa_copy_u_d((v2i64) in0, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1062:24: error: expected ')' before 'out1' 1062 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:694:37: note: in definition of macro 'ST8x4_UB' 694 | out2_m = __msa_copy_u_d((v2i64) in1, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1062:24: error: expected ')' before 'out1' 1062 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:695:37: note: in definition of macro 'ST8x4_UB' 695 | out3_m = __msa_copy_u_d((v2i64) in1, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1044:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 1044 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1043:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1043 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1042:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1042 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1041:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1041 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1040:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1040 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1040:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1040 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1040:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1040 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1040:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1040 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:41: warning: variable 'out1' set but not used [-Wunused-but-set-variable] 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:35: warning: variable 'out0' set but not used [-Wunused-but-set-variable] 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1038:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1038 | v16u8 src0, src1, src2, src3, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_and_aver_dst_2x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:5: error: unknown type name 'v16i8' 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1074:5: error: unknown type name 'v16u8' 1074 | v16u8 dst_data = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1075:5: error: unknown type name 'v8u16' 1075 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1076:5: error: unknown type name 'v16i8' 1076 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1077:5: error: unknown type name 'v16i8' 1077 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1078:5: error: unknown type name 'v16u8' 1078 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1078:24: error: 'v16u8' undeclared (first use in this function) 1078 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1078:31: error: expected ',' or ';' before '__msa_ilvr_b' 1078 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:27: error: 'v16i8' undeclared (first use in this function) 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1080:5: note: in expansion of macro 'LD_SB3' 1080 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1080:5: note: in expansion of macro 'LD_SB3' 1080 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1080:5: note: in expansion of macro 'LD_SB3' 1080 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1080:5: note: in expansion of macro 'LD_SB3' 1080 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1084:5: note: in expansion of macro 'INSERT_W2_UB' 1084 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1084:5: note: in expansion of macro 'INSERT_W2_UB' 1084 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1536:25: note: in expansion of macro 'ILVR_B2' 1536 | #define ILVR_B2_SB(...) ILVR_B2(v16i8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1086:5: note: in expansion of macro 'ILVR_B2_SB' 1086 | ILVR_B2_SB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1536:25: note: in expansion of macro 'ILVR_B2' 1536 | #define ILVR_B2_SB(...) ILVR_B2(v16i8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1086:5: note: in expansion of macro 'ILVR_B2_SB' 1086 | ILVR_B2_SB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1088:19: error: expected ';' before '__msa_ilvr_d' 1088 | tmp0 = (v16i8) __msa_ilvr_d((v2i64) tmp1, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1089:35: error: expected ')' before 'tmp0' 1089 | res_r = __msa_dotp_u_h((v16u8) tmp0, coeff_vec); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1091:14: error: 'v8u16' undeclared (first use in this function) 1091 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1091:20: error: expected ';' before '__msa_srari_h' 1091 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1093:32: error: expected ')' before 'res_r' 1093 | res = __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1094:38: error: expected ')' before 'res' 1094 | dst_data = __msa_aver_u_b((v16u8) res, dst_data); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1095:28: error: 'v8i16' undeclared (first use in this function) 1095 | out0 = __msa_copy_u_h((v8i16) dst_data, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1095:34: error: expected ')' before 'dst_data' 1095 | out0 = __msa_copy_u_h((v8i16) dst_data, 0); | ^~~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1096:34: error: expected ')' before 'dst_data' 1096 | out1 = __msa_copy_u_h((v8i16) dst_data, 2); | ^~~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1078:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 1078 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1077:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1077 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1076:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1076 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1074:11: warning: variable 'dst_data' set but not used [-Wunused-but-set-variable] 1074 | v16u8 dst_data = { 0 }; | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:41: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:35: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:29: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1073:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1073 | v16i8 src0, src1, src2, tmp0, tmp1, res; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1072:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 1072 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1072:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 1072 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_and_aver_dst_2x4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1108:5: error: unknown type name 'v16i8' 1108 | v16i8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1109:5: error: unknown type name 'v16u8' 1109 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1110:5: error: unknown type name 'v8u16' 1110 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1111:5: error: unknown type name 'v8i16' 1111 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1112:5: error: unknown type name 'v16i8' 1112 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1113:5: error: unknown type name 'v16i8' 1113 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1114:5: error: unknown type name 'v16u8' 1114 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1114:24: error: 'v16u8' undeclared (first use in this function) 1114 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1114:31: error: expected ',' or ';' before '__msa_ilvr_b' 1114 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1115:10: error: expected ';' before 'dst_data' 1115 | v16u8 dst_data = { 0 }; | ^~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:27: error: 'v16i8' undeclared (first use in this function) 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1117:5: note: in expansion of macro 'LD_SB5' 1117 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1117:5: note: in expansion of macro 'LD_SB5' 1117 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1117:5: note: in expansion of macro 'LD_SB5' 1117 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1117:5: note: in expansion of macro 'LD_SB5' 1117 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1117:5: note: in expansion of macro 'LD_SB5' 1117 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1117:5: note: in expansion of macro 'LD_SB5' 1117 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1122:5: error: 'dst_data' undeclared (first use in this function) 1122 | dst_data = (v16u8) __msa_insert_h((v8i16) dst_data, 0, load0); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1122:23: error: expected ';' before '__msa_insert_h' 1122 | dst_data = (v16u8) __msa_insert_h((v8i16) dst_data, 0, load0); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1123:23: error: expected ';' before '__msa_insert_h' 1123 | dst_data = (v16u8) __msa_insert_h((v8i16) dst_data, 1, load1); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1128:23: error: expected ';' before '__msa_insert_h' 1128 | dst_data = (v16u8) __msa_insert_h((v8i16) dst_data, 2, load0); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1129:23: error: expected ';' before '__msa_insert_h' 1129 | dst_data = (v16u8) __msa_insert_h((v8i16) dst_data, 3, load1); | ^~~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1131:5: note: in expansion of macro 'ILVR_B4_UB' 1131 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1131:5: note: in expansion of macro 'ILVR_B4_UB' 1131 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1131:5: note: in expansion of macro 'ILVR_B4_UB' 1131 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1131:5: note: in expansion of macro 'ILVR_B4_UB' 1131 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1609:20: error: expected ';' before '__msa_ilvr_w' 1609 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1133:5: note: in expansion of macro 'ILVR_W2_UB' 1133 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1610:20: error: expected ';' before '__msa_ilvr_w' 1610 | out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1133:5: note: in expansion of macro 'ILVR_W2_UB' 1133 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1135:19: error: expected ';' before '__msa_ilvr_d' 1135 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp2, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1139:14: error: 'v8u16' undeclared (first use in this function) 1139 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1139:20: error: expected ';' before '__msa_srari_h' 1139 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1142:12: error: 'v8i16' undeclared (first use in this function) 1142 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1142:18: error: expected ';' before '__msa_pckev_b' 1142 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1143:18: error: expected ';' before '__msa_aver_u_b' 1143 | res = (v8i16) __msa_aver_u_b((v16u8) res, dst_data); | ^~~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1145:14: error: expected ')' before 'res' 1145 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1145:14: error: expected ')' before 'res' 1145 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1145:14: error: expected ')' before 'res' 1145 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1145:14: error: expected ')' before 'res' 1145 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1113:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1113 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1112:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1112 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1111:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1111 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1109:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 1109 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1109:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 1109 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1109:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1109 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1108:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 1108 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1108:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1108 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1108:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1108 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1108:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1108 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1108:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1108 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1107:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 1107 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1107:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 1107 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_and_aver_dst_2x8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:5: error: unknown type name 'v16i8' 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1155:5: error: unknown type name 'v16u8' 1155 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1156:5: error: unknown type name 'v8i16' 1156 | v8i16 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1157:5: error: unknown type name 'v8u16' 1157 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1158:5: error: unknown type name 'v16i8' 1158 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1159:5: error: unknown type name 'v16i8' 1159 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1160:5: error: unknown type name 'v16u8' 1160 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1160:24: error: 'v16u8' undeclared (first use in this function) 1160 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1160:31: error: expected ',' or ';' before '__msa_ilvr_b' 1160 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1161:10: error: expected ';' before 'dst_data0' 1161 | v16u8 dst_data0 = { 0 }; | ^~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1162:10: error: expected ';' before 'dst_data1' 1162 | v16u8 dst_data1 = { 0 }; | ^~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:27: error: 'v16i8' undeclared (first use in this function) 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1164:5: note: in expansion of macro 'LD_SB5' 1164 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1164:5: note: in expansion of macro 'LD_SB5' 1164 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1164:5: note: in expansion of macro 'LD_SB5' 1164 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1164:5: note: in expansion of macro 'LD_SB5' 1164 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1164:5: note: in expansion of macro 'LD_SB5' 1164 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:332:21: note: in expansion of macro 'LD_B5' 332 | #define LD_SB5(...) LD_B5(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1164:5: note: in expansion of macro 'LD_SB5' 1164 | LD_SB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1166:5: note: in expansion of macro 'LD_SB4' 1166 | LD_SB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1166:5: note: in expansion of macro 'LD_SB4' 1166 | LD_SB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1166:5: note: in expansion of macro 'LD_SB4' 1166 | LD_SB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1166:5: note: in expansion of macro 'LD_SB4' 1166 | LD_SB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1170:5: error: 'dst_data0' undeclared (first use in this function) 1170 | dst_data0 = (v16u8) __msa_insert_h((v8i16) dst_data0, 0, load0); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1170:24: error: expected ';' before '__msa_insert_h' 1170 | dst_data0 = (v16u8) __msa_insert_h((v8i16) dst_data0, 0, load0); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1171:24: error: expected ';' before '__msa_insert_h' 1171 | dst_data0 = (v16u8) __msa_insert_h((v8i16) dst_data0, 1, load1); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1172:24: error: expected ';' before '__msa_insert_h' 1172 | dst_data0 = (v16u8) __msa_insert_h((v8i16) dst_data0, 2, load2); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1173:24: error: expected ';' before '__msa_insert_h' 1173 | dst_data0 = (v16u8) __msa_insert_h((v8i16) dst_data0, 3, load3); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1177:5: error: 'dst_data1' undeclared (first use in this function) 1177 | dst_data1 = (v16u8) __msa_insert_h((v8i16) dst_data1, 0, load0); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1177:24: error: expected ';' before '__msa_insert_h' 1177 | dst_data1 = (v16u8) __msa_insert_h((v8i16) dst_data1, 0, load0); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1178:24: error: expected ';' before '__msa_insert_h' 1178 | dst_data1 = (v16u8) __msa_insert_h((v8i16) dst_data1, 1, load1); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1179:24: error: expected ';' before '__msa_insert_h' 1179 | dst_data1 = (v16u8) __msa_insert_h((v8i16) dst_data1, 2, load2); | ^~~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1180:24: error: expected ';' before '__msa_insert_h' 1180 | dst_data1 = (v16u8) __msa_insert_h((v8i16) dst_data1, 3, load3); | ^~~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1182:5: note: in expansion of macro 'ILVR_B4_UB' 1182 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1182:5: note: in expansion of macro 'ILVR_B4_UB' 1182 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1182:5: note: in expansion of macro 'ILVR_B4_UB' 1182 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1182:5: note: in expansion of macro 'ILVR_B4_UB' 1182 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1609:20: error: expected ';' before '__msa_ilvr_w' 1609 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1185:5: note: in expansion of macro 'ILVR_W2_UB' 1185 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1610:20: error: expected ';' before '__msa_ilvr_w' 1610 | out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1185:5: note: in expansion of macro 'ILVR_W2_UB' 1185 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1187:19: error: expected ';' before '__msa_ilvr_d' 1187 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp2, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1191:14: error: 'v8u16' undeclared (first use in this function) 1191 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1191:20: error: expected ';' before '__msa_srari_h' 1191 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1194:12: error: 'v8i16' undeclared (first use in this function) 1194 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1194:18: error: expected ';' before '__msa_pckev_b' 1194 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1195:18: error: expected ';' before '__msa_aver_u_b' 1195 | res = (v8i16) __msa_aver_u_b((v16u8) res, dst_data0); | ^~~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1197:14: error: expected ')' before 'res' 1197 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1197:14: error: expected ')' before 'res' 1197 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1197:14: error: expected ')' before 'res' 1197 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1197:14: error: expected ')' before 'res' 1197 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1200:5: note: in expansion of macro 'ILVR_B4_UB' 1200 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1200:5: note: in expansion of macro 'ILVR_B4_UB' 1200 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1200:5: note: in expansion of macro 'ILVR_B4_UB' 1200 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1200:5: note: in expansion of macro 'ILVR_B4_UB' 1200 | ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1609:20: error: expected ';' before '__msa_ilvr_w' 1609 | out0 = (RTYPE) __msa_ilvr_w((v4i32) in0, (v4i32) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1203:5: note: in expansion of macro 'ILVR_W2_UB' 1203 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1610:20: error: expected ';' before '__msa_ilvr_w' 1610 | out1 = (RTYPE) __msa_ilvr_w((v4i32) in2, (v4i32) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1612:25: note: in expansion of macro 'ILVR_W2' 1612 | #define ILVR_W2_UB(...) ILVR_W2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1203:5: note: in expansion of macro 'ILVR_W2_UB' 1203 | ILVR_W2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1205:19: error: expected ';' before '__msa_ilvr_d' 1205 | tmp0 = (v16u8) __msa_ilvr_d((v2i64) tmp2, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1209:20: error: expected ';' before '__msa_srari_h' 1209 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1212:18: error: expected ';' before '__msa_pckev_b' 1212 | res = (v8i16) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1213:18: error: expected ';' before '__msa_aver_u_b' 1213 | res = (v8i16) __msa_aver_u_b((v16u8) res, dst_data1); | ^~~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1215:14: error: expected ')' before 'res' 1215 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1215:14: error: expected ')' before 'res' 1215 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1215:14: error: expected ')' before 'res' 1215 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1215:14: error: expected ')' before 'res' 1215 | ST2x4_UB(res, 0, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1159:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1159 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1158:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1158 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1156:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1156 | v8i16 res; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1155:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 1155 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1155:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 1155 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1155:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1155 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:59: warning: variable 'src8' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1154:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1154 | v16i8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1153:35: warning: variable 'load3' set but not used [-Wunused-but-set-variable] 1153 | uint32_t load0, load1, load2, load3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1153:28: warning: variable 'load2' set but not used [-Wunused-but-set-variable] 1153 | uint32_t load0, load1, load2, load3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1153:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 1153 | uint32_t load0, load1, load2, load3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1153:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 1153 | uint32_t load0, load1, load2, load3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_and_aver_dst_4x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1240:5: error: unknown type name 'v16i8' 1240 | v16i8 src0, src1, src2, tmp0, tmp1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1241:5: error: unknown type name 'v16u8' 1241 | v16u8 dst_data = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1242:5: error: unknown type name 'v8u16' 1242 | v8u16 res_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1243:5: error: unknown type name 'v16u8' 1243 | v16u8 res; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1244:5: error: unknown type name 'v16i8' 1244 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1245:5: error: unknown type name 'v16i8' 1245 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1246:5: error: unknown type name 'v16u8' 1246 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1246:24: error: 'v16u8' undeclared (first use in this function) 1246 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1246:31: error: expected ',' or ';' before '__msa_ilvr_b' 1246 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:27: error: 'v16i8' undeclared (first use in this function) 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1248:5: note: in expansion of macro 'LD_SB3' 1248 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1248:5: note: in expansion of macro 'LD_SB3' 1248 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1248:5: note: in expansion of macro 'LD_SB3' 1248 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:316:21: note: in expansion of macro 'LD_B3' 316 | #define LD_SB3(...) LD_B3(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1248:5: note: in expansion of macro 'LD_SB3' 1248 | LD_SB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1253:5: note: in expansion of macro 'INSERT_W2_UB' 1253 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1253:5: note: in expansion of macro 'INSERT_W2_UB' 1253 | INSERT_W2_UB(load0, load1, dst_data); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1536:25: note: in expansion of macro 'ILVR_B2' 1536 | #define ILVR_B2_SB(...) ILVR_B2(v16i8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1254:5: note: in expansion of macro 'ILVR_B2_SB' 1254 | ILVR_B2_SB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1536:25: note: in expansion of macro 'ILVR_B2' 1536 | #define ILVR_B2_SB(...) ILVR_B2(v16i8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1254:5: note: in expansion of macro 'ILVR_B2_SB' 1254 | ILVR_B2_SB(src1, src0, src2, src1, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1256:19: error: expected ';' before '__msa_ilvr_d' 1256 | tmp0 = (v16i8) __msa_ilvr_d((v2i64) tmp1, (v2i64) tmp0); | ^~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1258:35: error: expected ')' before 'tmp0' 1258 | res_r = __msa_dotp_u_h((v16u8) tmp0, coeff_vec); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1260:14: error: 'v8u16' undeclared (first use in this function) 1260 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1260:20: error: expected ';' before '__msa_srari_h' 1260 | res_r = (v8u16) __msa_srari_h((v8i16) res_r, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1262:18: error: expected ';' before '__msa_pckev_b' 1262 | res = (v16u8) __msa_pckev_b((v16i8) res_r, (v16i8) res_r); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:30: error: 'v4i32' undeclared (first use in this function) 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1265:5: note: in expansion of macro 'ST4x2_UB' 1265 | ST4x2_UB(res, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1265:14: error: expected ')' before 'res' 1265 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:37: note: in definition of macro 'ST4x2_UB' 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1265:14: error: expected ')' before 'res' 1265 | ST4x2_UB(res, dst, dst_stride); | ^~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:564:37: note: in definition of macro 'ST4x2_UB' 564 | out1_m = __msa_copy_u_w((v4i32) in, 1); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1246:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 1246 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1245:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1245 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1244:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1244 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1240:35: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1240 | v16i8 src0, src1, src2, tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1240:29: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 1240 | v16i8 src0, src1, src2, tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1240:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1240 | v16i8 src0, src1, src2, tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1240:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1240 | v16i8 src0, src1, src2, tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1240:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1240 | v16i8 src0, src1, src2, tmp0, tmp1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1239:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 1239 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1239:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 1239 | uint32_t load0, load1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_and_aver_dst_4x4mul_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1277:5: error: unknown type name 'v16i8' 1277 | v16i8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1278:5: error: unknown type name 'v16u8' 1278 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1279:5: error: unknown type name 'v16u8' 1279 | v16u8 dst0 = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1280:5: error: unknown type name 'v16u8' 1280 | v16u8 dst1 = { 0 }; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1281:5: error: unknown type name 'v8u16' 1281 | v8u16 res0_r, res1_r; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1282:5: error: unknown type name 'v16u8' 1282 | v16u8 res0, res1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1283:5: error: unknown type name 'v16i8' 1283 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1284:5: error: unknown type name 'v16i8' 1284 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1285:5: error: unknown type name 'v16u8' 1285 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1285:24: error: 'v16u8' undeclared (first use in this function) 1285 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1285:31: error: expected ',' or ';' before '__msa_ilvr_b' 1285 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1287:12: note: in expansion of macro 'LD_SB' 1287 | src0 = LD_SB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1287:12: note: in expansion of macro 'LD_SB' 1287 | src0 = LD_SB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1291:9: note: in expansion of macro 'LD_SB4' 1291 | LD_SB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1291:9: note: in expansion of macro 'LD_SB4' 1291 | LD_SB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1291:9: note: in expansion of macro 'LD_SB4' 1291 | LD_SB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:324:21: note: in expansion of macro 'LD_B4' 324 | #define LD_SB4(...) LD_B4(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1291:9: note: in expansion of macro 'LD_SB4' 1291 | LD_SB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1297:9: note: in expansion of macro 'INSERT_W2_UB' 1297 | INSERT_W2_UB(load0, load1, dst0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1297:9: note: in expansion of macro 'INSERT_W2_UB' 1297 | INSERT_W2_UB(load0, load1, dst0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1340:19: error: expected ';' before '__msa_insert_w' 1340 | out = (RTYPE) __msa_insert_w((v4i32) out, 0, in0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1300:9: note: in expansion of macro 'INSERT_W2_UB' 1300 | INSERT_W2_UB(load0, load1, dst1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1341:19: error: expected ';' before '__msa_insert_w' 1341 | out = (RTYPE) __msa_insert_w((v4i32) out, 1, in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1343:27: note: in expansion of macro 'INSERT_W2' 1343 | #define INSERT_W2_UB(...) INSERT_W2(v16u8, __VA_ARGS__) | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1300:9: note: in expansion of macro 'INSERT_W2_UB' 1300 | INSERT_W2_UB(load0, load1, dst1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1302:9: note: in expansion of macro 'ILVR_B4_UB' 1302 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1302:9: note: in expansion of macro 'ILVR_B4_UB' 1302 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1302:9: note: in expansion of macro 'ILVR_B4_UB' 1302 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1302:9: note: in expansion of macro 'ILVR_B4_UB' 1302 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1304:9: note: in expansion of macro 'ILVR_D2_UB' 1304 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1304:9: note: in expansion of macro 'ILVR_D2_UB' 1304 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, tmp0, tmp2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:35: error: 'v8u16' undeclared (first use in this function) 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1305:9: note: in expansion of macro 'DOTP_UB2_UH' 1305 | DOTP_UB2_UH(tmp0, tmp2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1305:9: note: in expansion of macro 'DOTP_UB2_UH' 1305 | DOTP_UB2_UH(tmp0, tmp2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1305:9: note: in expansion of macro 'DOTP_UB2_UH' 1305 | DOTP_UB2_UH(tmp0, tmp2, coeff_vec, coeff_vec, res0_r, res1_r); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1310:9: note: in expansion of macro 'SRARI_H2_UH' 1310 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1310:9: note: in expansion of macro 'SRARI_H2_UH' 1310 | SRARI_H2_UH(res0_r, res1_r, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1311:9: note: in expansion of macro 'SAT_UH2_UH' 1311 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1311:9: note: in expansion of macro 'SAT_UH2_UH' 1311 | SAT_UH2_UH(res0_r, res1_r, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1312:9: note: in expansion of macro 'PCKEV_B2_UB' 1312 | PCKEV_B2_UB(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1312:9: note: in expansion of macro 'PCKEV_B2_UB' 1312 | PCKEV_B2_UB(res0_r, res0_r, res1_r, res1_r, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1313:9: note: in expansion of macro 'AVER_UB2_UB' 1313 | AVER_UB2_UB(res0, dst0, res1, dst1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1313:9: note: in expansion of macro 'AVER_UB2_UB' 1313 | AVER_UB2_UB(res0, dst0, res1, dst1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:30: error: 'v4i32' undeclared (first use in this function) 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1315:9: note: in expansion of macro 'ST4x4_UB' 1315 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1315:18: error: expected ')' before 'res0' 1315 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1315:18: error: expected ')' before 'res0' 1315 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1315:24: error: expected ')' before 'res1' 1315 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1315:24: error: expected ')' before 'res1' 1315 | ST4x4_UB(res0, res1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1285:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 1285 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1284:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1284 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1283:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1283 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1282:17: warning: variable 'res1' set but not used [-Wunused-but-set-variable] 1282 | v16u8 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1282:11: warning: variable 'res0' set but not used [-Wunused-but-set-variable] 1282 | v16u8 res0, res1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1280:11: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1280 | v16u8 dst1 = { 0 }; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1279:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1279 | v16u8 dst0 = { 0 }; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1278:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 1278 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1278:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 1278 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1278:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1278 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1278:11: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 1278 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1277:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1277 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1277:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1277 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1277:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1277 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1277:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1277 | v16i8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1276:21: warning: variable 'load1' set but not used [-Wunused-but-set-variable] 1276 | uint32_t load0, load1, row; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1276:14: warning: variable 'load0' set but not used [-Wunused-but-set-variable] 1276 | uint32_t load0, load1, row; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_vt_and_aver_dst_8w_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1341:5: error: unknown type name 'v16u8' 1341 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1342:5: error: unknown type name 'v16u8' 1342 | v16u8 out0, out1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1343:5: error: unknown type name 'v8u16' 1343 | v8u16 res0, res1, res2, res3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1344:5: error: unknown type name 'v16u8' 1344 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1345:5: error: unknown type name 'v16i8' 1345 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1346:5: error: unknown type name 'v16i8' 1346 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1347:5: error: unknown type name 'v16u8' 1347 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1347:24: error: 'v16u8' undeclared (first use in this function) 1347 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1347:31: error: expected ',' or ';' before '__msa_ilvr_b' 1347 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1349:12: note: in expansion of macro 'LD_UB' 1349 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1353:9: note: in expansion of macro 'LD_UB4' 1353 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1353:9: note: in expansion of macro 'LD_UB4' 1353 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1353:9: note: in expansion of macro 'LD_UB4' 1353 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1353:9: note: in expansion of macro 'LD_UB4' 1353 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1355:9: note: in expansion of macro 'LD_UB4' 1355 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1355:9: note: in expansion of macro 'LD_UB4' 1355 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1355:9: note: in expansion of macro 'LD_UB4' 1355 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1355:9: note: in expansion of macro 'LD_UB4' 1355 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1356:9: note: in expansion of macro 'ILVR_B4_UB' 1356 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1553:5: note: in expansion of macro 'ILVR_B2' 1553 | ILVR_B2(RTYPE, in0, in1, in2, in3, out0, out1); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1356:9: note: in expansion of macro 'ILVR_B4_UB' 1356 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1532:20: error: expected ';' before '__msa_ilvr_b' 1532 | out0 = (RTYPE) __msa_ilvr_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1356:9: note: in expansion of macro 'ILVR_B4_UB' 1356 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1533:20: error: expected ';' before '__msa_ilvr_b' 1533 | out1 = (RTYPE) __msa_ilvr_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1554:5: note: in expansion of macro 'ILVR_B2' 1554 | ILVR_B2(RTYPE, in4, in5, in6, in7, out2, out3); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1556:25: note: in expansion of macro 'ILVR_B4' 1556 | #define ILVR_B4_UB(...) ILVR_B4(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1356:9: note: in expansion of macro 'ILVR_B4_UB' 1356 | ILVR_B4_UB(src1, src0, src2, src1, src3, src2, src4, src3, | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:35: error: 'v8u16' undeclared (first use in this function) 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:13: note: in definition of macro 'DOTP_UB2' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1358:9: note: in expansion of macro 'DOTP_UB4_UH' 1358 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1358:9: note: in expansion of macro 'DOTP_UB4_UH' 1358 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1358:9: note: in expansion of macro 'DOTP_UB4_UH' 1358 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1358:9: note: in expansion of macro 'DOTP_UB4_UH' 1358 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1358:9: note: in expansion of macro 'DOTP_UB4_UH' 1358 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_vec, coeff_vec, coeff_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1361:9: note: in expansion of macro 'SRARI_H4_UH' 1361 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1361:9: note: in expansion of macro 'SRARI_H4_UH' 1361 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1361:9: note: in expansion of macro 'SRARI_H4_UH' 1361 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1361:9: note: in expansion of macro 'SRARI_H4_UH' 1361 | SRARI_H4_UH(res0, res1, res2, res3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1362:9: note: in expansion of macro 'SAT_UH4_UH' 1362 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1362:9: note: in expansion of macro 'SAT_UH4_UH' 1362 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1362:9: note: in expansion of macro 'SAT_UH4_UH' 1362 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1362:9: note: in expansion of macro 'SAT_UH4_UH' 1362 | SAT_UH4_UH(res0, res1, res2, res3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1363:9: note: in expansion of macro 'PCKEV_B2_UB' 1363 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1363:9: note: in expansion of macro 'PCKEV_B2_UB' 1363 | PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1943:20: error: expected ';' before '__msa_pckev_d' 1943 | out0 = (RTYPE) __msa_pckev_d((v2i64) in0, (v2i64) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1946:26: note: in expansion of macro 'PCKEV_D2' 1946 | #define PCKEV_D2_UB(...) PCKEV_D2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1364:9: note: in expansion of macro 'PCKEV_D2_UB' 1364 | PCKEV_D2_UB(dst1, dst0, dst3, dst2, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1944:20: error: expected ';' before '__msa_pckev_d' 1944 | out1 = (RTYPE) __msa_pckev_d((v2i64) in2, (v2i64) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1946:26: note: in expansion of macro 'PCKEV_D2' 1946 | #define PCKEV_D2_UB(...) PCKEV_D2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1364:9: note: in expansion of macro 'PCKEV_D2_UB' 1364 | PCKEV_D2_UB(dst1, dst0, dst3, dst2, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1365:9: note: in expansion of macro 'AVER_UB2_UB' 1365 | AVER_UB2_UB(out0, dst0, out1, dst1, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1365:9: note: in expansion of macro 'AVER_UB2_UB' 1365 | AVER_UB2_UB(out0, dst0, out1, dst1, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:30: error: 'v2i64' undeclared (first use in this function) 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1366:9: note: in expansion of macro 'ST8x4_UB' 1366 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1366:18: error: expected ')' before 'out0' 1366 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:37: note: in definition of macro 'ST8x4_UB' 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1366:18: error: expected ')' before 'out0' 1366 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:693:37: note: in definition of macro 'ST8x4_UB' 693 | out1_m = __msa_copy_u_d((v2i64) in0, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1366:24: error: expected ')' before 'out1' 1366 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:694:37: note: in definition of macro 'ST8x4_UB' 694 | out2_m = __msa_copy_u_d((v2i64) in1, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1366:24: error: expected ')' before 'out1' 1366 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:695:37: note: in definition of macro 'ST8x4_UB' 695 | out3_m = __msa_copy_u_d((v2i64) in1, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1347:11: warning: unused variable 'coeff_vec' [-Wunused-variable] 1347 | v16u8 coeff_vec = (v16u8) __msa_ilvr_b(coeff_vec0, coeff_vec1); | ^~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1346:11: warning: unused variable 'coeff_vec1' [-Wunused-variable] 1346 | v16i8 coeff_vec1 = __msa_fill_b(coeff1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1345:11: warning: unused variable 'coeff_vec0' [-Wunused-variable] 1345 | v16i8 coeff_vec0 = __msa_fill_b(coeff0); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1344:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1344 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1344:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1344 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1344:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1344 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1344:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1344 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1342:17: warning: variable 'out1' set but not used [-Wunused-but-set-variable] 1342 | v16u8 out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1342:11: warning: variable 'out0' set but not used [-Wunused-but-set-variable] 1342 | v16u8 out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1341:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1341 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1341:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1341 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1341:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1341 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1341:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1341 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_and_aver_dst_2x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1381:5: error: unknown type name 'v16u8' 1381 | v16u8 dst0, dst1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1382:5: error: unknown type name 'v16u8' 1382 | v16u8 src0, src1, src2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1383:5: error: unknown type name 'v8u16' 1383 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1384:5: error: unknown type name 'v16i8' 1384 | v16i8 res, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1385:5: error: unknown type name 'v16i8' 1385 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1386:5: error: unknown type name 'v16i8' 1386 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1387:5: error: unknown type name 'v16u8' 1387 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1387:27: error: 'v16u8' undeclared (first use in this function) 1387 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1387:34: error: expected ',' or ';' before '__msa_ilvr_b' 1387 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1388:5: error: unknown type name 'v8u16' 1388 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1388:28: error: 'v8u16' undeclared (first use in this function) 1388 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1388:35: error: expected ',' or ';' before '__msa_fill_h' 1388 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1389:10: error: expected ';' before 'coeff_vt_vec1' 1389 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1391:12: note: in expansion of macro 'LD_SB' 1391 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1391:12: note: in expansion of macro 'LD_SB' 1391 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1393:5: note: in expansion of macro 'LD_UB3' 1393 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1393:5: note: in expansion of macro 'LD_UB3' 1393 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1393:5: note: in expansion of macro 'LD_UB3' 1393 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1394:5: note: in expansion of macro 'LD_UB2' 1394 | LD_UB2(dst, dst_stride, dst0, dst1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1394:5: note: in expansion of macro 'LD_UB2' 1394 | LD_UB2(dst, dst_stride, dst0, dst1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1395:5: note: in expansion of macro 'VSHF_B2_UB' 1395 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1395:5: note: in expansion of macro 'VSHF_B2_UB' 1395 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1396:5: note: in expansion of macro 'DOTP_UB2_UH' 1396 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1396:5: note: in expansion of macro 'DOTP_UB2_UH' 1396 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1397:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 1397 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1400:22: error: expected ';' before '__msa_srari_h' 1400 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1402:32: error: expected ')' before 'res_vt0' 1402 | res = __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1403:19: error: expected ';' before '__msa_insve_h' 1403 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 1, (v8i16) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1404:34: error: expected ')' before 'res' 1404 | dst0 = __msa_aver_u_b((v16u8) res, dst0); | ^~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1405:28: error: 'v8i16' undeclared (first use in this function) 1405 | out0 = __msa_copy_u_h((v8i16) dst0, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1405:34: error: expected ')' before 'dst0' 1405 | out0 = __msa_copy_u_h((v8i16) dst0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1406:34: error: expected ')' before 'dst0' 1406 | out1 = __msa_copy_u_h((v8i16) dst0, 1); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1387:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 1387 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1386:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 1386 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1385:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 1385 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1384:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1384 | v16i8 res, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1384:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1384 | v16i8 res, mask; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1382:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1382 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1382:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1382 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1382:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1382 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1381:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1381 | v16u8 dst0, dst1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1381:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1381 | v16u8 dst0, dst1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_and_aver_dst_2x4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1420:5: error: unknown type name 'v16u8' 1420 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1421:5: error: unknown type name 'v16u8' 1421 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1422:5: error: unknown type name 'v16u8' 1422 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1423:5: error: unknown type name 'v8u16' 1423 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1424:5: error: unknown type name 'v16i8' 1424 | v16i8 res, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1425:5: error: unknown type name 'v16i8' 1425 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1426:5: error: unknown type name 'v16i8' 1426 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1427:5: error: unknown type name 'v16u8' 1427 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1427:27: error: 'v16u8' undeclared (first use in this function) 1427 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1427:34: error: expected ',' or ';' before '__msa_ilvr_b' 1427 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1428:5: error: unknown type name 'v8u16' 1428 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1428:28: error: 'v8u16' undeclared (first use in this function) 1428 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1428:35: error: expected ',' or ';' before '__msa_fill_h' 1428 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1429:10: error: expected ';' before 'coeff_vt_vec1' 1429 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1431:12: note: in expansion of macro 'LD_SB' 1431 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1431:12: note: in expansion of macro 'LD_SB' 1431 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1433:5: note: in expansion of macro 'LD_UB5' 1433 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1433:5: note: in expansion of macro 'LD_UB5' 1433 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1433:5: note: in expansion of macro 'LD_UB5' 1433 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1433:5: note: in expansion of macro 'LD_UB5' 1433 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1433:5: note: in expansion of macro 'LD_UB5' 1433 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1434:5: note: in expansion of macro 'LD_UB4' 1434 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1434:5: note: in expansion of macro 'LD_UB4' 1434 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1434:5: note: in expansion of macro 'LD_UB4' 1434 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1434:5: note: in expansion of macro 'LD_UB4' 1434 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1435:5: note: in expansion of macro 'VSHF_B2_UB' 1435 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1435:5: note: in expansion of macro 'VSHF_B2_UB' 1435 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1436:5: note: in expansion of macro 'VSHF_B2_UB' 1436 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1436:5: note: in expansion of macro 'VSHF_B2_UB' 1436 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1437:5: note: in expansion of macro 'ILVR_D2_UB' 1437 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1437:5: note: in expansion of macro 'ILVR_D2_UB' 1437 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1438:5: note: in expansion of macro 'DOTP_UB2_UH' 1438 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1438:5: note: in expansion of macro 'DOTP_UB2_UH' 1438 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1439:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 1439 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1442:22: error: expected ';' before '__msa_srari_h' 1442 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1444:32: error: expected ')' before 'res_vt0' 1444 | res = __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1446:19: error: expected ';' before '__msa_insve_h' 1446 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 1, (v8i16) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1447:19: error: expected ';' before '__msa_insve_h' 1447 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 2, (v8i16) dst2); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1448:19: error: expected ';' before '__msa_insve_h' 1448 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 3, (v8i16) dst3); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1449:34: error: expected ')' before 'res' 1449 | dst0 = __msa_aver_u_b((v16u8) res, dst0); | ^~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:30: error: 'v8i16' undeclared (first use in this function) 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1451:5: note: in expansion of macro 'ST2x4_UB' 1451 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1451:14: error: expected ')' before 'dst0' 1451 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1451:14: error: expected ')' before 'dst0' 1451 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1451:14: error: expected ')' before 'dst0' 1451 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1451:14: error: expected ')' before 'dst0' 1451 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1427:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 1427 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1426:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 1426 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1425:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 1425 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1424:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1424 | v16i8 res, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1424:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1424 | v16i8 res, mask; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1422:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1422 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1422:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1422 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1422:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1422 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1422:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1422 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1421:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 1421 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1421:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 1421 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1421:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1421 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1421:11: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 1421 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1420:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 1420 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1420:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1420 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1420:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1420 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1420:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1420 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1420:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1420 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_and_aver_dst_2x8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:5: error: unknown type name 'v16u8' 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:5: error: unknown type name 'v16u8' 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1463:5: error: unknown type name 'v16u8' 1463 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1464:5: error: unknown type name 'v8u16' 1464 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1465:5: error: unknown type name 'v16i8' 1465 | v16i8 res, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1466:5: error: unknown type name 'v16i8' 1466 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1467:5: error: unknown type name 'v16i8' 1467 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1468:5: error: unknown type name 'v16u8' 1468 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1468:27: error: 'v16u8' undeclared (first use in this function) 1468 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1468:34: error: expected ',' or ';' before '__msa_ilvr_b' 1468 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1469:5: error: unknown type name 'v8u16' 1469 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1469:28: error: 'v8u16' undeclared (first use in this function) 1469 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1469:35: error: expected ',' or ';' before '__msa_fill_h' 1469 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1470:10: error: expected ';' before 'coeff_vt_vec1' 1470 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1472:12: note: in expansion of macro 'LD_SB' 1472 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1472:12: note: in expansion of macro 'LD_SB' 1472 | mask = LD_SB(&chroma_mask_arr[48]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1474:5: note: in expansion of macro 'LD_UB5' 1474 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1474:5: note: in expansion of macro 'LD_UB5' 1474 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1474:5: note: in expansion of macro 'LD_UB5' 1474 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:328:5: note: in expansion of macro 'LD_B4' 328 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1474:5: note: in expansion of macro 'LD_UB5' 1474 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:329:12: note: in expansion of macro 'LD_B' 329 | out4 = LD_B(RTYPE, (psrc) + 4 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:331:21: note: in expansion of macro 'LD_B5' 331 | #define LD_UB5(...) LD_B5(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1474:5: note: in expansion of macro 'LD_UB5' 1474 | LD_UB5(src, src_stride, src0, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1476:5: note: in expansion of macro 'LD_UB4' 1476 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1476:5: note: in expansion of macro 'LD_UB4' 1476 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1476:5: note: in expansion of macro 'LD_UB4' 1476 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1476:5: note: in expansion of macro 'LD_UB4' 1476 | LD_UB4(src, src_stride, src5, src6, src7, src8); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1478:5: note: in expansion of macro 'LD_UB8' 1478 | LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1480:19: error: expected ';' before '__msa_insve_h' 1480 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 1, (v8i16) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1481:19: error: expected ';' before '__msa_insve_h' 1481 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 2, (v8i16) dst2); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1482:19: error: expected ';' before '__msa_insve_h' 1482 | dst0 = (v16u8) __msa_insve_h((v8i16) dst0, 3, (v8i16) dst3); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1484:19: error: expected ';' before '__msa_insve_h' 1484 | dst4 = (v16u8) __msa_insve_h((v8i16) dst4, 1, (v8i16) dst5); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1485:19: error: expected ';' before '__msa_insve_h' 1485 | dst4 = (v16u8) __msa_insve_h((v8i16) dst4, 2, (v8i16) dst6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1486:19: error: expected ';' before '__msa_insve_h' 1486 | dst4 = (v16u8) __msa_insve_h((v8i16) dst4, 3, (v8i16) dst7); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1488:5: note: in expansion of macro 'VSHF_B2_UB' 1488 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1488:5: note: in expansion of macro 'VSHF_B2_UB' 1488 | VSHF_B2_UB(src0, src1, src2, src3, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1489:5: note: in expansion of macro 'VSHF_B2_UB' 1489 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1489:5: note: in expansion of macro 'VSHF_B2_UB' 1489 | VSHF_B2_UB(src1, src2, src3, src4, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1490:5: note: in expansion of macro 'ILVR_D2_UB' 1490 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1490:5: note: in expansion of macro 'ILVR_D2_UB' 1490 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1491:5: note: in expansion of macro 'VSHF_B2_UB' 1491 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1491:5: note: in expansion of macro 'VSHF_B2_UB' 1491 | VSHF_B2_UB(src4, src5, src6, src7, mask, mask, tmp0, tmp1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1492:5: note: in expansion of macro 'VSHF_B2_UB' 1492 | VSHF_B2_UB(src5, src6, src7, src8, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1492:5: note: in expansion of macro 'VSHF_B2_UB' 1492 | VSHF_B2_UB(src5, src6, src7, src8, mask, mask, tmp2, tmp3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1636:20: error: expected ';' before '__msa_ilvr_d' 1636 | out0 = (RTYPE) __msa_ilvr_d((v2i64) (in0), (v2i64) (in1)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1493:5: note: in expansion of macro 'ILVR_D2_UB' 1493 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src4, src5); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1637:20: error: expected ';' before '__msa_ilvr_d' 1637 | out1 = (RTYPE) __msa_ilvr_d((v2i64) (in2), (v2i64) (in3)); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1639:25: note: in expansion of macro 'ILVR_D2' 1639 | #define ILVR_D2_UB(...) ILVR_D2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1493:5: note: in expansion of macro 'ILVR_D2_UB' 1493 | ILVR_D2_UB(tmp1, tmp0, tmp3, tmp2, src4, src5); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1494:5: note: in expansion of macro 'DOTP_UB2_UH' 1494 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1494:5: note: in expansion of macro 'DOTP_UB2_UH' 1494 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1495:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 1495 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1498:22: error: expected ';' before '__msa_srari_h' 1498 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1500:32: error: expected ')' before 'res_vt0' 1500 | res = __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1501:34: error: expected ')' before 'res' 1501 | dst0 = __msa_aver_u_b((v16u8) res, dst0); | ^~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:30: error: 'v8i16' undeclared (first use in this function) 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1503:5: note: in expansion of macro 'ST2x4_UB' 1503 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1503:14: error: expected ')' before 'dst0' 1503 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1503:14: error: expected ')' before 'dst0' 1503 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1503:14: error: expected ')' before 'dst0' 1503 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1503:14: error: expected ')' before 'dst0' 1503 | ST2x4_UB(dst0, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1506:5: note: in expansion of macro 'DOTP_UB2_UH' 1506 | DOTP_UB2_UH(src4, src5, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1506:5: note: in expansion of macro 'DOTP_UB2_UH' 1506 | DOTP_UB2_UH(src4, src5, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1510:22: error: expected ';' before '__msa_srari_h' 1510 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1512:32: error: expected ')' before 'res_vt0' 1512 | res = __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1513:34: error: expected ')' before 'res' 1513 | dst4 = __msa_aver_u_b((v16u8) res, dst4); | ^~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1515:14: error: expected ')' before 'dst4' 1515 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:539:37: note: in definition of macro 'ST2x4_UB' 539 | out0_m = __msa_copy_u_h((v8i16) in, (stidx)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1515:14: error: expected ')' before 'dst4' 1515 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:540:37: note: in definition of macro 'ST2x4_UB' 540 | out1_m = __msa_copy_u_h((v8i16) in, (stidx + 1)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1515:14: error: expected ')' before 'dst4' 1515 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:541:37: note: in definition of macro 'ST2x4_UB' 541 | out2_m = __msa_copy_u_h((v8i16) in, (stidx + 2)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1515:14: error: expected ')' before 'dst4' 1515 | ST2x4_UB(dst4, 0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:542:37: note: in definition of macro 'ST2x4_UB' 542 | out3_m = __msa_copy_u_h((v8i16) in, (stidx + 3)); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1468:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 1468 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1467:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 1467 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1466:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 1466 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1465:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1465 | v16i8 res, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1465:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1465 | v16i8 res, mask; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1463:29: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] 1463 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1463:23: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] 1463 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1463:17: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] 1463 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1463:11: warning: variable 'tmp0' set but not used [-Wunused-but-set-variable] 1463 | v16u8 tmp0, tmp1, tmp2, tmp3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:53: warning: variable 'dst7' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:47: warning: variable 'dst6' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:41: warning: variable 'dst5' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:35: warning: variable 'dst4' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1462:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1462 | v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:59: warning: variable 'src8' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1461:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1461 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7, src8; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_and_aver_dst_4x2_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1548:5: error: unknown type name 'v16u8' 1548 | v16u8 src0, src1, src2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1549:5: error: unknown type name 'v16u8' 1549 | v16u8 dst0, dst1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1550:5: error: unknown type name 'v8u16' 1550 | v8u16 res_hz0, res_hz1, res_vt0, res_vt1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1551:5: error: unknown type name 'v16i8' 1551 | v16i8 res, mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1552:5: error: unknown type name 'v16i8' 1552 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1553:5: error: unknown type name 'v16i8' 1553 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1554:5: error: unknown type name 'v16u8' 1554 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1554:27: error: 'v16u8' undeclared (first use in this function) 1554 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1554:34: error: expected ',' or ';' before '__msa_ilvr_b' 1554 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1555:5: error: unknown type name 'v8u16' 1555 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1555:28: error: 'v8u16' undeclared (first use in this function) 1555 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1555:35: error: expected ',' or ';' before '__msa_fill_h' 1555 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1556:10: error: expected ';' before 'coeff_vt_vec1' 1556 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1558:12: note: in expansion of macro 'LD_SB' 1558 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1558:12: note: in expansion of macro 'LD_SB' 1558 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1560:5: note: in expansion of macro 'LD_UB3' 1560 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:312:5: note: in expansion of macro 'LD_B2' 312 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1560:5: note: in expansion of macro 'LD_UB3' 1560 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:313:12: note: in expansion of macro 'LD_B' 313 | out2 = LD_B(RTYPE, (psrc) + 2 * stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:315:21: note: in expansion of macro 'LD_B3' 315 | #define LD_UB3(...) LD_B3(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1560:5: note: in expansion of macro 'LD_UB3' 1560 | LD_UB3(src, src_stride, src0, src1, src2); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1561:5: note: in expansion of macro 'LD_UB2' 1561 | LD_UB2(dst, dst_stride, dst0, dst1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1561:5: note: in expansion of macro 'LD_UB2' 1561 | LD_UB2(dst, dst_stride, dst0, dst1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1562:5: note: in expansion of macro 'VSHF_B2_UB' 1562 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1562:5: note: in expansion of macro 'VSHF_B2_UB' 1562 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1563:5: note: in expansion of macro 'DOTP_UB2_UH' 1563 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:957:26: note: in expansion of macro 'DOTP_UB2' 957 | #define DOTP_UB2_UH(...) DOTP_UB2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1563:5: note: in expansion of macro 'DOTP_UB2_UH' 1563 | DOTP_UB2_UH(src0, src1, coeff_hz_vec, coeff_hz_vec, res_hz0, res_hz1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1564:19: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 1564 | MUL2(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_vt0, res_vt1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1567:22: error: expected ';' before '__msa_srari_h' 1567 | res_vt0 = (v8u16) __msa_srari_h((v8i16) res_vt0, 6); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1569:32: error: expected ')' before 'res_vt0' 1569 | res = __msa_pckev_b((v16i8) res_vt0, (v16i8) res_vt0); | ^~~~~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1570:19: error: expected ';' before '__msa_insve_w' 1570 | dst0 = (v16u8) __msa_insve_w((v4i32) dst0, 1, (v4i32) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1571:34: error: expected ')' before 'res' 1571 | dst0 = __msa_aver_u_b((v16u8) res, dst0); | ^~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:30: error: 'v4i32' undeclared (first use in this function) 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1573:5: note: in expansion of macro 'ST4x2_UB' 1573 | ST4x2_UB(dst0, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1573:14: error: expected ')' before 'dst0' 1573 | ST4x2_UB(dst0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:563:37: note: in definition of macro 'ST4x2_UB' 563 | out0_m = __msa_copy_u_w((v4i32) in, 0); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1573:14: error: expected ')' before 'dst0' 1573 | ST4x2_UB(dst0, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:564:37: note: in definition of macro 'ST4x2_UB' 564 | out1_m = __msa_copy_u_w((v4i32) in, 1); \ | ^~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1554:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 1554 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1553:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 1553 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1552:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 1552 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1551:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1551 | v16i8 res, mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1551:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1551 | v16i8 res, mask; | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1549:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1549 | v16u8 dst0, dst1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1549:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1549 | v16u8 dst0, dst1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1548:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1548 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1548:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1548 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1548:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1548 | v16u8 src0, src1, src2; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_and_aver_dst_4x4mul_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1587:5: error: unknown type name 'v16u8' 1587 | v16u8 src0, src1, src2, src3, src4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1588:5: error: unknown type name 'v16u8' 1588 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1589:5: error: unknown type name 'v8u16' 1589 | v8u16 res_hz0, res_hz1, res_hz2, res_hz3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1590:5: error: unknown type name 'v8u16' 1590 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1591:5: error: unknown type name 'v16i8' 1591 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1592:5: error: unknown type name 'v16i8' 1592 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1593:5: error: unknown type name 'v16i8' 1593 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1594:5: error: unknown type name 'v16u8' 1594 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1594:27: error: 'v16u8' undeclared (first use in this function) 1594 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1594:34: error: expected ',' or ';' before '__msa_ilvr_b' 1594 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1595:5: error: unknown type name 'v8u16' 1595 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1595:28: error: 'v8u16' undeclared (first use in this function) 1595 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1595:35: error: expected ',' or ';' before '__msa_fill_h' 1595 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1596:10: error: expected ';' before 'coeff_vt_vec1' 1596 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1597:10: error: expected ';' before 'res0' 1597 | v16u8 res0, res1; | ^~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1599:12: note: in expansion of macro 'LD_SB' 1599 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1599:12: note: in expansion of macro 'LD_SB' 1599 | mask = LD_SB(&chroma_mask_arr[0]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1601:12: note: in expansion of macro 'LD_UB' 1601 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1605:9: note: in expansion of macro 'LD_UB4' 1605 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1605:9: note: in expansion of macro 'LD_UB4' 1605 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1605:9: note: in expansion of macro 'LD_UB4' 1605 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1605:9: note: in expansion of macro 'LD_UB4' 1605 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1608:9: note: in expansion of macro 'LD_UB4' 1608 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1608:9: note: in expansion of macro 'LD_UB4' 1608 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1608:9: note: in expansion of macro 'LD_UB4' 1608 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1608:9: note: in expansion of macro 'LD_UB4' 1608 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1610:9: note: in expansion of macro 'VSHF_B2_UB' 1610 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1610:9: note: in expansion of macro 'VSHF_B2_UB' 1610 | VSHF_B2_UB(src0, src1, src1, src2, mask, mask, src0, src1); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1611:9: note: in expansion of macro 'VSHF_B2_UB' 1611 | VSHF_B2_UB(src2, src3, src3, src4, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1611:9: note: in expansion of macro 'VSHF_B2_UB' 1611 | VSHF_B2_UB(src2, src3, src3, src4, mask, mask, src2, src3); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1612:9: note: in expansion of macro 'DOTP_UB4_UH' 1612 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1612:9: note: in expansion of macro 'DOTP_UB4_UH' 1612 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1612:9: note: in expansion of macro 'DOTP_UB4_UH' 1612 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1612:9: note: in expansion of macro 'DOTP_UB4_UH' 1612 | DOTP_UB4_UH(src0, src1, src2, src3, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1615:23: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 1615 | MUL4(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_hz2, | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2238:18: note: in definition of macro 'MUL2' 2238 | out0 = in0 * in1; \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1615:9: note: in expansion of macro 'MUL4' 1615 | MUL4(res_hz0, coeff_vt_vec1, res_hz1, coeff_vt_vec0, res_hz2, | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1619:9: note: in expansion of macro 'SRARI_H2_UH' 1619 | SRARI_H2_UH(res_vt0, res_vt1, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2193:26: note: in expansion of macro 'SRARI_H2' 2193 | #define SRARI_H2_UH(...) SRARI_H2(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1619:9: note: in expansion of macro 'SRARI_H2_UH' 1619 | SRARI_H2_UH(res_vt0, res_vt1, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1620:9: note: in expansion of macro 'SAT_UH2_UH' 1620 | SAT_UH2_UH(res_vt0, res_vt1, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1735:25: note: in expansion of macro 'SAT_UH2' 1735 | #define SAT_UH2_UH(...) SAT_UH2(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1620:9: note: in expansion of macro 'SAT_UH2_UH' 1620 | SAT_UH2_UH(res_vt0, res_vt1, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1621:57: error: 'res0' undeclared (first use in this function) 1621 | PCKEV_B2_UB(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:5: note: in definition of macro 'PCKEV_B2' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1621:9: note: in expansion of macro 'PCKEV_B2_UB' 1621 | PCKEV_B2_UB(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1621:9: note: in expansion of macro 'PCKEV_B2_UB' 1621 | PCKEV_B2_UB(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1621:63: error: 'res1' undeclared (first use in this function) 1621 | PCKEV_B2_UB(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:5: note: in definition of macro 'PCKEV_B2' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1621:9: note: in expansion of macro 'PCKEV_B2_UB' 1621 | PCKEV_B2_UB(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1621:9: note: in expansion of macro 'PCKEV_B2_UB' 1621 | PCKEV_B2_UB(res_vt0, res_vt0, res_vt1, res_vt1, res0, res1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1623:23: error: expected ';' before '__msa_insve_w' 1623 | dst0 = (v16u8) __msa_insve_w((v4i32) dst0, 1, (v4i32) dst1); | ^~~~~~~~~~~~~~ | ; /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1624:23: error: expected ';' before '__msa_insve_w' 1624 | dst1 = (v16u8) __msa_insve_w((v4i32) dst2, 1, (v4i32) dst3); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1626:9: note: in expansion of macro 'AVER_UB2_UB' 1626 | AVER_UB2_UB(res0, dst0, res1, dst1, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1626:9: note: in expansion of macro 'AVER_UB2_UB' 1626 | AVER_UB2_UB(res0, dst0, res1, dst1, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:30: error: 'v4i32' undeclared (first use in this function) 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1628:9: note: in expansion of macro 'ST4x4_UB' 1628 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1628:18: error: expected ')' before 'dst0' 1628 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:587:37: note: in definition of macro 'ST4x4_UB' 587 | out0_m = __msa_copy_u_w((v4i32) in0, idx0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1628:18: error: expected ')' before 'dst0' 1628 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:588:37: note: in definition of macro 'ST4x4_UB' 588 | out1_m = __msa_copy_u_w((v4i32) in0, idx1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1628:24: error: expected ')' before 'dst1' 1628 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:589:37: note: in definition of macro 'ST4x4_UB' 589 | out2_m = __msa_copy_u_w((v4i32) in1, idx2); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1628:24: error: expected ')' before 'dst1' 1628 | ST4x4_UB(dst0, dst1, 0, 1, 0, 1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:590:37: note: in definition of macro 'ST4x4_UB' 590 | out3_m = __msa_copy_u_w((v4i32) in1, idx3); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1594:11: warning: unused variable 'coeff_hz_vec' [-Wunused-variable] 1594 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1593:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 1593 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1592:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 1592 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1591:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1591 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1588:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1588 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1588:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1588 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1588:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1588 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1588:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1588 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1587:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1587 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1587:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1587 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1587:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1587 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1587:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1587 | v16u8 src0, src1, src2, src3, src4; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avc_chroma_hv_and_aver_dst_8w_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:5: error: unknown type name 'v16u8' 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1663:5: error: unknown type name 'v8u16' 1663 | v8u16 res_hz0, res_hz1, res_hz2; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1664:5: error: unknown type name 'v8u16' 1664 | v8u16 res_hz3, res_hz4; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1665:5: error: unknown type name 'v8u16' 1665 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1666:5: error: unknown type name 'v16u8' 1666 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1667:5: error: unknown type name 'v16i8' 1667 | v16i8 mask; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1668:5: error: unknown type name 'v16i8' 1668 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1669:5: error: unknown type name 'v16i8' 1669 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1670:5: error: unknown type name 'v16u8' 1670 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1670:27: error: 'v16u8' undeclared (first use in this function) 1670 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1670:34: error: expected ',' or ';' before '__msa_ilvr_b' 1670 | v16u8 coeff_hz_vec = (v16u8) __msa_ilvr_b(coeff_hz_vec0, coeff_hz_vec1); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1671:5: error: unknown type name 'v8u16' 1671 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1671:28: error: 'v8u16' undeclared (first use in this function) 1671 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1671:35: error: expected ',' or ';' before '__msa_fill_h' 1671 | v8u16 coeff_vt_vec0 = (v8u16) __msa_fill_h(coef_ver0); | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1672:10: error: expected ';' before 'coeff_vt_vec1' 1672 | v8u16 coeff_vt_vec1 = (v8u16) __msa_fill_h(coef_ver1); | ^~~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:25: error: 'v16i8' undeclared (first use in this function) 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1674:12: note: in expansion of macro 'LD_SB' 1674 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:32:20: note: in expansion of macro 'LD_B' 32 | #define LD_SB(...) LD_B(v16i8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1674:12: note: in expansion of macro 'LD_SB' 1674 | mask = LD_SB(&chroma_mask_arr[32]); | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:31:20: note: in expansion of macro 'LD_B' 31 | #define LD_UB(...) LD_B(v16u8, __VA_ARGS__) | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1676:12: note: in expansion of macro 'LD_UB' 1676 | src0 = LD_UB(src); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1679:19: error: expected ';' before '__msa_vshf_b' 1679 | src0 = (v16u8) __msa_vshf_b(mask, (v16i8) src0, (v16i8) src0); | ^~~~~~~~~~~~~ | ; In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1683:9: note: in expansion of macro 'LD_UB4' 1683 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1683:9: note: in expansion of macro 'LD_UB4' 1683 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1683:9: note: in expansion of macro 'LD_UB4' 1683 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1683:9: note: in expansion of macro 'LD_UB4' 1683 | LD_UB4(src, src_stride, src1, src2, src3, src4); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1686:9: note: in expansion of macro 'LD_UB4' 1686 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1686:9: note: in expansion of macro 'LD_UB4' 1686 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1686:9: note: in expansion of macro 'LD_UB4' 1686 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1686:9: note: in expansion of macro 'LD_UB4' 1686 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1687:9: note: in expansion of macro 'VSHF_B2_UB' 1687 | VSHF_B2_UB(src1, src1, src2, src2, mask, mask, src1, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1687:9: note: in expansion of macro 'VSHF_B2_UB' 1687 | VSHF_B2_UB(src1, src1, src2, src2, mask, mask, src1, src2); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:875:20: error: expected ';' before '__msa_vshf_b' 875 | out0 = (RTYPE) __msa_vshf_b((v16i8) mask0, (v16i8) in1, (v16i8) in0); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1688:9: note: in expansion of macro 'VSHF_B2_UB' 1688 | VSHF_B2_UB(src3, src3, src4, src4, mask, mask, src3, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:876:20: error: expected ';' before '__msa_vshf_b' 876 | out1 = (RTYPE) __msa_vshf_b((v16i8) mask1, (v16i8) in3, (v16i8) in2); \ | ^~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:878:25: note: in expansion of macro 'VSHF_B2' 878 | #define VSHF_B2_UB(...) VSHF_B2(v16u8, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1688:9: note: in expansion of macro 'VSHF_B2_UB' 1688 | VSHF_B2_UB(src3, src3, src4, src4, mask, mask, src3, src4); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1689:9: note: in expansion of macro 'DOTP_UB4_UH' 1689 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:963:5: note: in expansion of macro 'DOTP_UB2' 963 | DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1689:9: note: in expansion of macro 'DOTP_UB4_UH' 1689 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:954:20: error: expected ';' before '__msa_dotp_u_h' 954 | out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1689:9: note: in expansion of macro 'DOTP_UB4_UH' 1689 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:955:20: error: expected ';' before '__msa_dotp_u_h' 955 | out1 = (RTYPE) __msa_dotp_u_h((v16u8) mult1, (v16u8) cnst1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:964:5: note: in expansion of macro 'DOTP_UB2' 964 | DOTP_UB2(RTYPE, mult2, mult3, cnst2, cnst3, out2, out3); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:966:26: note: in expansion of macro 'DOTP_UB4' 966 | #define DOTP_UB4_UH(...) DOTP_UB4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1689:9: note: in expansion of macro 'DOTP_UB4_UH' 1689 | DOTP_UB4_UH(src1, src2, src3, src4, coeff_hz_vec, coeff_hz_vec, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1696:31: error: 'coeff_vt_vec1' undeclared (first use in this function); did you mean 'coeff_vt_vec0'? 1696 | res_vt0 += (res_hz0 * coeff_vt_vec1); | ^~~~~~~~~~~~~ | coeff_vt_vec0 In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1701:9: note: in expansion of macro 'SRARI_H4_UH' 1701 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2198:5: note: in expansion of macro 'SRARI_H2' 2198 | SRARI_H2(RTYPE, in0, in1, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1701:9: note: in expansion of macro 'SRARI_H4_UH' 1701 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2190:19: error: expected ';' before '__msa_srari_h' 2190 | in0 = (RTYPE) __msa_srari_h((v8i16) in0, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1701:9: note: in expansion of macro 'SRARI_H4_UH' 1701 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2191:19: error: expected ';' before '__msa_srari_h' 2191 | in1 = (RTYPE) __msa_srari_h((v8i16) in1, shift); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2199:5: note: in expansion of macro 'SRARI_H2' 2199 | SRARI_H2(RTYPE, in2, in3, shift); \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:2201:26: note: in expansion of macro 'SRARI_H4' 2201 | #define SRARI_H4_UH(...) SRARI_H4(v8u16, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1701:9: note: in expansion of macro 'SRARI_H4_UH' 1701 | SRARI_H4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 6); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1702:9: note: in expansion of macro 'SAT_UH4_UH' 1702 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1740:5: note: in expansion of macro 'SAT_UH2' 1740 | SAT_UH2(RTYPE, in0, in1, sat_val); \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1702:9: note: in expansion of macro 'SAT_UH4_UH' 1702 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1732:19: error: expected ';' before '__msa_sat_u_h' 1732 | in0 = (RTYPE) __msa_sat_u_h((v8u16) in0, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1702:9: note: in expansion of macro 'SAT_UH4_UH' 1702 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1733:19: error: expected ';' before '__msa_sat_u_h' 1733 | in1 = (RTYPE) __msa_sat_u_h((v8u16) in1, sat_val); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1741:5: note: in expansion of macro 'SAT_UH2' 1741 | SAT_UH2(RTYPE, in2, in3, sat_val) \ | ^~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1743:25: note: in expansion of macro 'SAT_UH4' 1743 | #define SAT_UH4_UH(...) SAT_UH4(v8u16, __VA_ARGS__) | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1702:9: note: in expansion of macro 'SAT_UH4_UH' 1702 | SAT_UH4_UH(res_vt0, res_vt1, res_vt2, res_vt3, 7); | ^~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1875:20: error: expected ';' before '__msa_pckev_b' 1875 | out0 = (RTYPE) __msa_pckev_b((v16i8) in0, (v16i8) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1704:9: note: in expansion of macro 'PCKEV_B2_UB' 1704 | PCKEV_B2_UB(res_vt1, res_vt0, res_vt3, res_vt2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1876:20: error: expected ';' before '__msa_pckev_b' 1876 | out1 = (RTYPE) __msa_pckev_b((v16i8) in2, (v16i8) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1879:26: note: in expansion of macro 'PCKEV_B2' 1879 | #define PCKEV_B2_UB(...) PCKEV_B2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1704:9: note: in expansion of macro 'PCKEV_B2_UB' 1704 | PCKEV_B2_UB(res_vt1, res_vt0, res_vt3, res_vt2, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1943:20: error: expected ';' before '__msa_pckev_d' 1943 | out0 = (RTYPE) __msa_pckev_d((v2i64) in0, (v2i64) in1); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1946:26: note: in expansion of macro 'PCKEV_D2' 1946 | #define PCKEV_D2_UB(...) PCKEV_D2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1705:9: note: in expansion of macro 'PCKEV_D2_UB' 1705 | PCKEV_D2_UB(dst1, dst0, dst3, dst2, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1944:20: error: expected ';' before '__msa_pckev_d' 1944 | out1 = (RTYPE) __msa_pckev_d((v2i64) in2, (v2i64) in3); \ | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:1946:26: note: in expansion of macro 'PCKEV_D2' 1946 | #define PCKEV_D2_UB(...) PCKEV_D2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1705:9: note: in expansion of macro 'PCKEV_D2_UB' 1705 | PCKEV_D2_UB(dst1, dst0, dst3, dst2, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1706:9: note: in expansion of macro 'AVER_UB2_UB' 1706 | AVER_UB2_UB(out0, dst0, out1, dst1, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1706:9: note: in expansion of macro 'AVER_UB2_UB' 1706 | AVER_UB2_UB(out0, dst0, out1, dst1, out0, out1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:30: error: 'v2i64' undeclared (first use in this function) 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1707:9: note: in expansion of macro 'ST8x4_UB' 1707 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1707:18: error: expected ')' before 'out0' 1707 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:692:37: note: in definition of macro 'ST8x4_UB' 692 | out0_m = __msa_copy_u_d((v2i64) in0, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1707:18: error: expected ')' before 'out0' 1707 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:693:37: note: in definition of macro 'ST8x4_UB' 693 | out1_m = __msa_copy_u_d((v2i64) in0, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1707:24: error: expected ')' before 'out1' 1707 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:694:37: note: in definition of macro 'ST8x4_UB' 694 | out2_m = __msa_copy_u_d((v2i64) in1, 0); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1707:24: error: expected ')' before 'out1' 1707 | ST8x4_UB(out0, out1, dst, dst_stride); | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:695:37: note: in definition of macro 'ST8x4_UB' 695 | out3_m = __msa_copy_u_d((v2i64) in1, 1); \ | ^~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1669:11: warning: unused variable 'coeff_hz_vec1' [-Wunused-variable] 1669 | v16i8 coeff_hz_vec1 = __msa_fill_b(coef_hor1); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1668:11: warning: unused variable 'coeff_hz_vec0' [-Wunused-variable] 1668 | v16i8 coeff_hz_vec0 = __msa_fill_b(coef_hor0); | ^~~~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1667:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1667 | v16i8 mask; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1666:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1666 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1666:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1666 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1666:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1666 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1666:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1666 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1665:38: warning: variable 'res_vt3' set but not used [-Wunused-but-set-variable] 1665 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1665:29: warning: variable 'res_vt2' set but not used [-Wunused-but-set-variable] 1665 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1665:20: warning: variable 'res_vt1' set but not used [-Wunused-but-set-variable] 1665 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1665:11: warning: variable 'res_vt0' set but not used [-Wunused-but-set-variable] 1665 | v8u16 res_vt0, res_vt1, res_vt2, res_vt3; | ^~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:47: warning: variable 'out1' set but not used [-Wunused-but-set-variable] 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:41: warning: variable 'out0' set but not used [-Wunused-but-set-variable] 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1662:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1662 | v16u8 src0, src1, src2, src3, src4, out0, out1; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'copy_width8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:5: error: unknown type name 'v16u8' 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:27: error: 'v16u8' undeclared (first use in this function) 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1724:13: note: in expansion of macro 'LD_UB8' 1724 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1728:36: error: 'v2i64' undeclared (first use in this function) 1728 | out0 = __msa_copy_u_d((v2i64) src0, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1728:42: error: expected ')' before 'src0' 1728 | out0 = __msa_copy_u_d((v2i64) src0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1729:42: error: expected ')' before 'src1' 1729 | out1 = __msa_copy_u_d((v2i64) src1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1730:42: error: expected ')' before 'src2' 1730 | out2 = __msa_copy_u_d((v2i64) src2, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1731:42: error: expected ')' before 'src3' 1731 | out3 = __msa_copy_u_d((v2i64) src3, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1732:42: error: expected ')' before 'src4' 1732 | out4 = __msa_copy_u_d((v2i64) src4, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1733:42: error: expected ')' before 'src5' 1733 | out5 = __msa_copy_u_d((v2i64) src5, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1734:42: error: expected ')' before 'src6' 1734 | out6 = __msa_copy_u_d((v2i64) src6, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1735:42: error: expected ')' before 'src7' 1735 | out7 = __msa_copy_u_d((v2i64) src7, 0); | ^~~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1742:13: note: in expansion of macro 'LD_UB4' 1742 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1742:13: note: in expansion of macro 'LD_UB4' 1742 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1742:13: note: in expansion of macro 'LD_UB4' 1742 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1742:13: note: in expansion of macro 'LD_UB4' 1742 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1745:42: error: expected ')' before 'src0' 1745 | out0 = __msa_copy_u_d((v2i64) src0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1746:42: error: expected ')' before 'src1' 1746 | out1 = __msa_copy_u_d((v2i64) src1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1747:42: error: expected ')' before 'src2' 1747 | out2 = __msa_copy_u_d((v2i64) src2, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1748:42: error: expected ')' before 'src3' 1748 | out3 = __msa_copy_u_d((v2i64) src3, 0); | ^~~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:354:5: note: in expansion of macro 'LD_B4' 354 | LD_B4(RTYPE, (psrc), stride, out0, out1, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:355:5: note: in expansion of macro 'LD_B4' 355 | LD_B4(RTYPE, (psrc) + 4 * stride, stride, out4, out5, out6, out7); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:357:21: note: in expansion of macro 'LD_B8' 357 | #define LD_UB8(...) LD_B8(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1755:13: note: in expansion of macro 'LD_UB8' 1755 | LD_UB8(src, src_stride, | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1759:42: error: expected ')' before 'src0' 1759 | out0 = __msa_copy_u_d((v2i64) src0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1760:42: error: expected ')' before 'src1' 1760 | out1 = __msa_copy_u_d((v2i64) src1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1761:42: error: expected ')' before 'src2' 1761 | out2 = __msa_copy_u_d((v2i64) src2, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1762:42: error: expected ')' before 'src3' 1762 | out3 = __msa_copy_u_d((v2i64) src3, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1763:42: error: expected ')' before 'src4' 1763 | out4 = __msa_copy_u_d((v2i64) src4, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1764:42: error: expected ')' before 'src5' 1764 | out5 = __msa_copy_u_d((v2i64) src5, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1765:42: error: expected ')' before 'src6' 1765 | out6 = __msa_copy_u_d((v2i64) src6, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1766:42: error: expected ')' before 'src7' 1766 | out7 = __msa_copy_u_d((v2i64) src7, 0); | ^~~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1775:13: note: in expansion of macro 'LD_UB4' 1775 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1775:13: note: in expansion of macro 'LD_UB4' 1775 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1775:13: note: in expansion of macro 'LD_UB4' 1775 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1775:13: note: in expansion of macro 'LD_UB4' 1775 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1777:42: error: expected ')' before 'src0' 1777 | out0 = __msa_copy_u_d((v2i64) src0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1778:42: error: expected ')' before 'src1' 1778 | out1 = __msa_copy_u_d((v2i64) src1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1779:42: error: expected ')' before 'src2' 1779 | out2 = __msa_copy_u_d((v2i64) src2, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1780:42: error: expected ')' before 'src3' 1780 | out3 = __msa_copy_u_d((v2i64) src3, 0); | ^~~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1787:13: note: in expansion of macro 'LD_UB2' 1787 | LD_UB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1787:13: note: in expansion of macro 'LD_UB2' 1787 | LD_UB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1789:42: error: expected ')' before 'src0' 1789 | out0 = __msa_copy_u_d((v2i64) src0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1790:42: error: expected ')' before 'src1' 1790 | out1 = __msa_copy_u_d((v2i64) src1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:53: warning: variable 'src7' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:47: warning: variable 'src6' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:41: warning: variable 'src5' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:35: warning: variable 'src4' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1720:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1720 | v16u8 src0, src1, src2, src3, src4, src5, src6, src7; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avg_width4_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1806:5: error: unknown type name 'v16u8' 1806 | v16u8 src0, src1, src2, src3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1807:5: error: unknown type name 'v16u8' 1807 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:27: error: 'v16u8' undeclared (first use in this function) 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1811:13: note: in expansion of macro 'LD_UB4' 1811 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1811:13: note: in expansion of macro 'LD_UB4' 1811 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1811:13: note: in expansion of macro 'LD_UB4' 1811 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1811:13: note: in expansion of macro 'LD_UB4' 1811 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1811:13: note: in expansion of macro 'LD_UB4' 1811 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1814:13: note: in expansion of macro 'LD_UB4' 1814 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1814:13: note: in expansion of macro 'LD_UB4' 1814 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1814:13: note: in expansion of macro 'LD_UB4' 1814 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1814:13: note: in expansion of macro 'LD_UB4' 1814 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:798:5: note: in expansion of macro 'AVER_UB2' 798 | AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1816:13: note: in expansion of macro 'AVER_UB4_UB' 1816 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:798:5: note: in expansion of macro 'AVER_UB2' 798 | AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1816:13: note: in expansion of macro 'AVER_UB4_UB' 1816 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:799:5: note: in expansion of macro 'AVER_UB2' 799 | AVER_UB2(RTYPE, in4, in5, in6, in7, out2, out3) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1816:13: note: in expansion of macro 'AVER_UB4_UB' 1816 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:799:5: note: in expansion of macro 'AVER_UB2' 799 | AVER_UB2(RTYPE, in4, in5, in6, in7, out2, out3) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1816:13: note: in expansion of macro 'AVER_UB4_UB' 1816 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1819:36: error: 'v4i32' undeclared (first use in this function) 1819 | out0 = __msa_copy_u_w((v4i32) dst0, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1819:42: error: expected ')' before 'dst0' 1819 | out0 = __msa_copy_u_w((v4i32) dst0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1820:42: error: expected ')' before 'dst1' 1820 | out1 = __msa_copy_u_w((v4i32) dst1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1821:42: error: expected ')' before 'dst2' 1821 | out2 = __msa_copy_u_w((v4i32) dst2, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1822:42: error: expected ')' before 'dst3' 1822 | out3 = __msa_copy_u_w((v4i32) dst3, 0); | ^~~~~ | ) In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1828:13: note: in expansion of macro 'LD_UB2' 1828 | LD_UB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1828:13: note: in expansion of macro 'LD_UB2' 1828 | LD_UB2(src, src_stride, src0, src1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1831:13: note: in expansion of macro 'LD_UB2' 1831 | LD_UB2(dst, dst_stride, dst0, dst1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:307:21: note: in expansion of macro 'LD_B2' 307 | #define LD_UB2(...) LD_B2(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1831:13: note: in expansion of macro 'LD_UB2' 1831 | LD_UB2(dst, dst_stride, dst0, dst1); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1833:13: note: in expansion of macro 'AVER_UB2_UB' 1833 | AVER_UB2_UB(src0, dst0, src1, dst1, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:793:26: note: in expansion of macro 'AVER_UB2' 793 | #define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1833:13: note: in expansion of macro 'AVER_UB2_UB' 1833 | AVER_UB2_UB(src0, dst0, src1, dst1, dst0, dst1); | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1835:42: error: expected ')' before 'dst0' 1835 | out0 = __msa_copy_u_w((v4i32) dst0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1836:42: error: expected ')' before 'dst1' 1836 | out1 = __msa_copy_u_w((v4i32) dst1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1807:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1807 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1807:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1807 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1807:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1807 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1807:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1807 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1806:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1806 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1806:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1806 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1806:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1806 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1806:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1806 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c: In function 'avg_width8_msa': /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1851:5: error: unknown type name 'v16u8' 1851 | v16u8 src0, src1, src2, src3; | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1852:5: error: unknown type name 'v16u8' 1852 | v16u8 dst0, dst1, dst2, dst3; | ^~~~~ In file included from /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:21: /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:27: error: 'v16u8' undeclared (first use in this function) 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:30: note: in definition of macro 'LD_B' 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1855:9: note: in expansion of macro 'LD_UB4' 1855 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1855:9: note: in expansion of macro 'LD_UB4' 1855 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1855:9: note: in expansion of macro 'LD_UB4' 1855 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1855:9: note: in expansion of macro 'LD_UB4' 1855 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1855:9: note: in expansion of macro 'LD_UB4' 1855 | LD_UB4(src, src_stride, src0, src1, src2, src3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1857:9: note: in expansion of macro 'LD_UB4' 1857 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:320:5: note: in expansion of macro 'LD_B2' 320 | LD_B2(RTYPE, (psrc), stride, out0, out1); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1857:9: note: in expansion of macro 'LD_UB4' 1857 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:304:12: note: in expansion of macro 'LD_B' 304 | out0 = LD_B(RTYPE, (psrc)); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1857:9: note: in expansion of macro 'LD_UB4' 1857 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:30:37: error: expected expression before ')' token 30 | #define LD_B(RTYPE, psrc) *((RTYPE *)(psrc)) | ^ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:305:12: note: in expansion of macro 'LD_B' 305 | out1 = LD_B(RTYPE, (psrc) + stride); \ | ^~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:321:5: note: in expansion of macro 'LD_B2' 321 | LD_B2(RTYPE, (psrc) + 2 * stride , stride, out2, out3); \ | ^~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:323:21: note: in expansion of macro 'LD_B4' 323 | #define LD_UB4(...) LD_B4(v16u8, __VA_ARGS__) | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1857:9: note: in expansion of macro 'LD_UB4' 1857 | LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); | ^~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:798:5: note: in expansion of macro 'AVER_UB2' 798 | AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1859:9: note: in expansion of macro 'AVER_UB4_UB' 1859 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:798:5: note: in expansion of macro 'AVER_UB2' 798 | AVER_UB2(RTYPE, in0, in1, in2, in3, out0, out1) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1859:9: note: in expansion of macro 'AVER_UB4_UB' 1859 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:790:20: error: expected ';' before '__msa_aver_u_b' 790 | out0 = (RTYPE) __msa_aver_u_b((v16u8) in0, (v16u8) in1); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:799:5: note: in expansion of macro 'AVER_UB2' 799 | AVER_UB2(RTYPE, in4, in5, in6, in7, out2, out3) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1859:9: note: in expansion of macro 'AVER_UB4_UB' 1859 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:791:20: error: expected ';' before '__msa_aver_u_b' 791 | out1 = (RTYPE) __msa_aver_u_b((v16u8) in2, (v16u8) in3); \ | ^~~~~~~~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:799:5: note: in expansion of macro 'AVER_UB2' 799 | AVER_UB2(RTYPE, in4, in5, in6, in7, out2, out3) \ | ^~~~~~~~ /home/fate/ffmpeg/libavutil/mips/generic_macros_msa.h:801:26: note: in expansion of macro 'AVER_UB4' 801 | #define AVER_UB4_UB(...) AVER_UB4(v16u8, __VA_ARGS__) | ^~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1859:9: note: in expansion of macro 'AVER_UB4_UB' 1859 | AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, | ^~~~~~~~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1862:32: error: 'v2i64' undeclared (first use in this function) 1862 | out0 = __msa_copy_u_d((v2i64) dst0, 0); | ^~~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1862:38: error: expected ')' before 'dst0' 1862 | out0 = __msa_copy_u_d((v2i64) dst0, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1863:38: error: expected ')' before 'dst1' 1863 | out1 = __msa_copy_u_d((v2i64) dst1, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1864:38: error: expected ')' before 'dst2' 1864 | out2 = __msa_copy_u_d((v2i64) dst2, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1865:38: error: expected ')' before 'dst3' 1865 | out3 = __msa_copy_u_d((v2i64) dst3, 0); | ^~~~~ | ) /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1852:29: warning: variable 'dst3' set but not used [-Wunused-but-set-variable] 1852 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1852:23: warning: variable 'dst2' set but not used [-Wunused-but-set-variable] 1852 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1852:17: warning: variable 'dst1' set but not used [-Wunused-but-set-variable] 1852 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1852:11: warning: variable 'dst0' set but not used [-Wunused-but-set-variable] 1852 | v16u8 dst0, dst1, dst2, dst3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1851:29: warning: variable 'src3' set but not used [-Wunused-but-set-variable] 1851 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1851:23: warning: variable 'src2' set but not used [-Wunused-but-set-variable] 1851 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1851:17: warning: variable 'src1' set but not used [-Wunused-but-set-variable] 1851 | v16u8 src0, src1, src2, src3; | ^~~~ /home/fate/ffmpeg/libavcodec/mips/h264chroma_msa.c:1851:11: warning: variable 'src0' set but not used [-Wunused-but-set-variable] 1851 | v16u8 src0, src1, src2, src3; | ^~~~ cc1: some warnings being treated as errors make: *** [/home/fate/ffmpeg/common.mak:57: libavcodec/mips/h264chroma_msa.o] Error 1