[FFmpeg-devel] [PATCH] lavu/cpu: Use consistent av_cpu_ prefix for all functions

Thilo Borgmann thilo.borgmann at mail.de
Tue Jul 20 00:13:50 EEST 2021


Am 19.07.21 um 22:53 schrieb Andreas Rheinhardt:
> Thilo Borgmann:
>> ---
>>  fftools/cmdutils.c                          |  8 ++++----
>>  libavcodec/x86/aacencdsp_init.c             |  2 +-
>>  libavcodec/x86/aacpsdsp_init.c              |  2 +-
>>  libavcodec/x86/ac3dsp_init.c                |  4 ++--
>>  libavcodec/x86/alacdsp_init.c               |  2 +-
>>  libavcodec/x86/audiodsp_init.c              |  2 +-
>>  libavcodec/x86/blockdsp_init.c              |  2 +-
>>  libavcodec/x86/bswapdsp_init.c              |  2 +-
>>  libavcodec/x86/cavsdsp.c                    |  2 +-
>>  libavcodec/x86/celt_pvq_init.c              |  2 +-
>>  libavcodec/x86/cfhddsp_init.c               |  2 +-
>>  libavcodec/x86/cfhdencdsp_init.c            |  2 +-
>>  libavcodec/x86/dcadsp_init.c                |  2 +-
>>  libavcodec/x86/dct_init.c                   |  2 +-
>>  libavcodec/x86/dirac_dwt_init.c             |  2 +-
>>  libavcodec/x86/diracdsp_init.c              |  2 +-
>>  libavcodec/x86/dnxhdenc_init.c              |  2 +-
>>  libavcodec/x86/exrdsp_init.c                |  2 +-
>>  libavcodec/x86/fdctdsp_init.c               |  2 +-
>>  libavcodec/x86/fft_init.c                   |  2 +-
>>  libavcodec/x86/flacdsp_init.c               |  2 +-
>>  libavcodec/x86/fmtconvert_init.c            |  2 +-
>>  libavcodec/x86/g722dsp_init.c               |  2 +-
>>  libavcodec/x86/h263dsp_init.c               |  2 +-
>>  libavcodec/x86/h264_intrapred_init.c        |  2 +-
>>  libavcodec/x86/h264_qpel.c                  |  2 +-
>>  libavcodec/x86/h264chroma_init.c            |  2 +-
>>  libavcodec/x86/h264dsp_init.c               |  2 +-
>>  libavcodec/x86/hevcdsp_init.c               |  2 +-
>>  libavcodec/x86/hpeldsp_init.c               |  2 +-
>>  libavcodec/x86/huffyuvdsp_init.c            |  2 +-
>>  libavcodec/x86/huffyuvencdsp_init.c         |  2 +-
>>  libavcodec/x86/idctdsp_init.c               |  2 +-
>>  libavcodec/x86/jpeg2000dsp_init.c           |  2 +-
>>  libavcodec/x86/lossless_audiodsp_init.c     |  2 +-
>>  libavcodec/x86/lossless_videodsp_init.c     |  2 +-
>>  libavcodec/x86/lossless_videoencdsp_init.c  |  2 +-
>>  libavcodec/x86/lpc.c                        |  2 +-
>>  libavcodec/x86/mdct15_init.c                |  2 +-
>>  libavcodec/x86/me_cmp_init.c                |  2 +-
>>  libavcodec/x86/mlpdsp_init.c                |  2 +-
>>  libavcodec/x86/mpegaudiodsp.c               |  2 +-
>>  libavcodec/x86/mpegvideo.c                  |  2 +-
>>  libavcodec/x86/mpegvideodsp.c               |  2 +-
>>  libavcodec/x86/mpegvideoenc.c               |  2 +-
>>  libavcodec/x86/mpegvideoencdsp_init.c       |  2 +-
>>  libavcodec/x86/opusdsp_init.c               |  2 +-
>>  libavcodec/x86/pixblockdsp_init.c           |  2 +-
>>  libavcodec/x86/pngdsp_init.c                |  2 +-
>>  libavcodec/x86/proresdsp_init.c             |  2 +-
>>  libavcodec/x86/qpeldsp_init.c               |  2 +-
>>  libavcodec/x86/rv34dsp_init.c               |  2 +-
>>  libavcodec/x86/rv40dsp_init.c               |  2 +-
>>  libavcodec/x86/sbcdsp_init.c                |  2 +-
>>  libavcodec/x86/sbrdsp_init.c                |  2 +-
>>  libavcodec/x86/snowdsp.c                    |  2 +-
>>  libavcodec/x86/svq1enc_init.c               |  2 +-
>>  libavcodec/x86/synth_filter_init.c          |  2 +-
>>  libavcodec/x86/takdsp_init.c                |  2 +-
>>  libavcodec/x86/ttadsp_init.c                |  2 +-
>>  libavcodec/x86/ttaencdsp_init.c             |  2 +-
>>  libavcodec/x86/utvideodsp_init.c            |  2 +-
>>  libavcodec/x86/v210-init.c                  |  2 +-
>>  libavcodec/x86/v210enc_init.c               |  2 +-
>>  libavcodec/x86/vc1dsp_init.c                |  2 +-
>>  libavcodec/x86/videodsp_init.c              |  2 +-
>>  libavcodec/x86/vorbisdsp_init.c             |  2 +-
>>  libavcodec/x86/vp3dsp_init.c                |  2 +-
>>  libavcodec/x86/vp6dsp_init.c                |  2 +-
>>  libavcodec/x86/vp8dsp_init.c                |  4 ++--
>>  libavcodec/x86/vp9dsp_init.c                |  2 +-
>>  libavcodec/x86/vp9dsp_init_16bpp.c          |  2 +-
>>  libavcodec/x86/vp9dsp_init_16bpp_template.c |  2 +-
>>  libavcodec/x86/xvididct_init.c              |  2 +-
>>  libavfilter/x86/af_afir_init.c              |  2 +-
>>  libavfilter/x86/af_anlmdn_init.c            |  2 +-
>>  libavfilter/x86/af_volume_init.c            |  2 +-
>>  libavfilter/x86/avf_showcqt_init.c          |  2 +-
>>  libavfilter/x86/colorspacedsp_init.c        |  2 +-
>>  libavfilter/x86/scene_sad_init.c            |  2 +-
>>  libavfilter/x86/vf_atadenoise_init.c        |  2 +-
>>  libavfilter/x86/vf_blend_init.c             |  2 +-
>>  libavfilter/x86/vf_bwdif_init.c             |  2 +-
>>  libavfilter/x86/vf_convolution_init.c       |  2 +-
>>  libavfilter/x86/vf_framerate_init.c         |  2 +-
>>  libavfilter/x86/vf_gblur_init.c             |  2 +-
>>  libavfilter/x86/vf_gradfun_init.c           |  2 +-
>>  libavfilter/x86/vf_hflip_init.c             |  2 +-
>>  libavfilter/x86/vf_idet_init.c              |  2 +-
>>  libavfilter/x86/vf_limiter_init.c           |  2 +-
>>  libavfilter/x86/vf_maskedclamp_init.c       |  2 +-
>>  libavfilter/x86/vf_maskedmerge_init.c       |  2 +-
>>  libavfilter/x86/vf_noise.c                  |  2 +-
>>  libavfilter/x86/vf_overlay_init.c           |  2 +-
>>  libavfilter/x86/vf_psnr_init.c              |  2 +-
>>  libavfilter/x86/vf_ssim_init.c              |  2 +-
>>  libavfilter/x86/vf_threshold_init.c         |  2 +-
>>  libavfilter/x86/vf_transpose_init.c         |  2 +-
>>  libavfilter/x86/vf_v360_init.c              |  2 +-
>>  libavfilter/x86/vf_w3fdif_init.c            |  2 +-
>>  libavfilter/x86/vf_yadif_init.c             |  2 +-
>>  libavutil/cpu.c                             |  8 ++++----
>>  libavutil/cpu.h                             | 12 ++++++------
>>  libavutil/x86/cpu.c                         |  2 +-
>>  libavutil/x86/fixed_dsp_init.c              |  2 +-
>>  libavutil/x86/float_dsp_init.c              |  2 +-
>>  libavutil/x86/imgutils_init.c               |  2 +-
>>  libavutil/x86/lls_init.c                    |  2 +-
>>  libavutil/x86/pixelutils_init.c             |  2 +-
>>  libavutil/x86/tx_float_init.c               |  2 +-
>>  libswresample/resample.c                    |  2 +-
>>  libswresample/x86/audio_convert_init.c      |  2 +-
>>  libswresample/x86/rematrix_init.c           |  2 +-
>>  libswresample/x86/resample_init.c           |  2 +-
>>  libswscale/swscale.c                        |  4 ++--
>>  libswscale/utils.c                          |  2 +-
>>  libswscale/x86/rgb2rgb.c                    |  2 +-
>>  libswscale/x86/swscale.c                    |  2 +-
>>  libswscale/x86/yuv2rgb.c                    |  2 +-
>>  119 files changed, 133 insertions(+), 133 deletions(-)
> 
> Btw: You only changed the usages of this function in x86 code, not the
> other arches (which this patch would break). Did you change the
> declaration and perform all the modifications necessitated by compiler
> errors manually?

Realized that as well. Sed should make friends with me 0:-)

-Thilo


More information about the ffmpeg-devel mailing list