mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-12 19:18:44 +02:00
9e445a5be2
changes since v2: * fixed label changes since v1: * remove vex intruction on sse4 path * some load/pack marcos use less intructions * fixed some typos yuv2gbrp_full_X_4_512_c: 12757.6 yuv2gbrp_full_X_4_512_sse2: 8946.6 yuv2gbrp_full_X_4_512_sse4: 5138.6 yuv2gbrp_full_X_4_512_avx2: 3889.6 yuv2gbrap_full_X_4_512_c: 15368.6 yuv2gbrap_full_X_4_512_sse2: 11916.1 yuv2gbrap_full_X_4_512_sse4: 6294.6 yuv2gbrap_full_X_4_512_avx2: 3477.1 yuv2gbrp9be_full_X_4_512_c: 14381.6 yuv2gbrp9be_full_X_4_512_sse2: 9139.1 yuv2gbrp9be_full_X_4_512_sse4: 5150.1 yuv2gbrp9be_full_X_4_512_avx2: 2834.6 yuv2gbrp9le_full_X_4_512_c: 12990.1 yuv2gbrp9le_full_X_4_512_sse2: 9118.1 yuv2gbrp9le_full_X_4_512_sse4: 5132.1 yuv2gbrp9le_full_X_4_512_avx2: 2833.1 yuv2gbrp10be_full_X_4_512_c: 14401.6 yuv2gbrp10be_full_X_4_512_sse2: 9133.1 yuv2gbrp10be_full_X_4_512_sse4: 5126.1 yuv2gbrp10be_full_X_4_512_avx2: 2837.6 yuv2gbrp10le_full_X_4_512_c: 12718.1 yuv2gbrp10le_full_X_4_512_sse2: 9106.1 yuv2gbrp10le_full_X_4_512_sse4: 5120.1 yuv2gbrp10le_full_X_4_512_avx2: 2826.1 yuv2gbrap10be_full_X_4_512_c: 18535.6 yuv2gbrap10be_full_X_4_512_sse2: 33617.6 yuv2gbrap10be_full_X_4_512_sse4: 6264.1 yuv2gbrap10be_full_X_4_512_avx2: 3422.1 yuv2gbrap10le_full_X_4_512_c: 16724.1 yuv2gbrap10le_full_X_4_512_sse2: 11787.1 yuv2gbrap10le_full_X_4_512_sse4: 6282.1 yuv2gbrap10le_full_X_4_512_avx2: 3441.6 yuv2gbrp12be_full_X_4_512_c: 13723.6 yuv2gbrp12be_full_X_4_512_sse2: 9128.1 yuv2gbrp12be_full_X_4_512_sse4: 7997.6 yuv2gbrp12be_full_X_4_512_avx2: 2844.1 yuv2gbrp12le_full_X_4_512_c: 12257.1 yuv2gbrp12le_full_X_4_512_sse2: 9107.6 yuv2gbrp12le_full_X_4_512_sse4: 5142.6 yuv2gbrp12le_full_X_4_512_avx2: 2837.6 yuv2gbrap12be_full_X_4_512_c: 18511.1 yuv2gbrap12be_full_X_4_512_sse2: 12156.6 yuv2gbrap12be_full_X_4_512_sse4: 6251.1 yuv2gbrap12be_full_X_4_512_avx2: 3444.6 yuv2gbrap12le_full_X_4_512_c: 16687.1 yuv2gbrap12le_full_X_4_512_sse2: 11785.1 yuv2gbrap12le_full_X_4_512_sse4: 6243.6 yuv2gbrap12le_full_X_4_512_avx2: 3446.1 yuv2gbrp14be_full_X_4_512_c: 13690.6 yuv2gbrp14be_full_X_4_512_sse2: 9120.6 yuv2gbrp14be_full_X_4_512_sse4: 5138.1 yuv2gbrp14be_full_X_4_512_avx2: 2843.1 yuv2gbrp14le_full_X_4_512_c: 14995.6 yuv2gbrp14le_full_X_4_512_sse2: 9119.1 yuv2gbrp14le_full_X_4_512_sse4: 5126.1 yuv2gbrp14le_full_X_4_512_avx2: 2843.1 yuv2gbrp16be_full_X_4_512_c: 12367.1 yuv2gbrp16be_full_X_4_512_sse2: 8233.6 yuv2gbrp16be_full_X_4_512_sse4: 4820.1 yuv2gbrp16be_full_X_4_512_avx2: 2666.6 yuv2gbrp16le_full_X_4_512_c: 10904.1 yuv2gbrp16le_full_X_4_512_sse2: 8214.1 yuv2gbrp16le_full_X_4_512_sse4: 4824.1 yuv2gbrp16le_full_X_4_512_avx2: 2629.1 yuv2gbrap16be_full_X_4_512_c: 26569.6 yuv2gbrap16be_full_X_4_512_sse2: 10884.1 yuv2gbrap16be_full_X_4_512_sse4: 5488.1 yuv2gbrap16be_full_X_4_512_avx2: 3272.1 yuv2gbrap16le_full_X_4_512_c: 14010.1 yuv2gbrap16le_full_X_4_512_sse2: 10562.1 yuv2gbrap16le_full_X_4_512_sse4: 5463.6 yuv2gbrap16le_full_X_4_512_avx2: 3255.1 yuv2gbrpf32be_full_X_4_512_c: 14524.1 yuv2gbrpf32be_full_X_4_512_sse2: 8552.6 yuv2gbrpf32be_full_X_4_512_sse4: 4636.1 yuv2gbrpf32be_full_X_4_512_avx2: 2474.6 yuv2gbrpf32le_full_X_4_512_c: 13060.6 yuv2gbrpf32le_full_X_4_512_sse2: 9682.6 yuv2gbrpf32le_full_X_4_512_sse4: 4298.1 yuv2gbrpf32le_full_X_4_512_avx2: 2453.1 yuv2gbrapf32be_full_X_4_512_c: 18629.6 yuv2gbrapf32be_full_X_4_512_sse2: 11363.1 yuv2gbrapf32be_full_X_4_512_sse4: 15201.6 yuv2gbrapf32be_full_X_4_512_avx2: 3727.1 yuv2gbrapf32le_full_X_4_512_c: 16677.6 yuv2gbrapf32le_full_X_4_512_sse2: 10221.6 yuv2gbrapf32le_full_X_4_512_sse4: 5693.6 yuv2gbrapf32le_full_X_4_512_avx2: 3656.6 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
87 lines
3.4 KiB
Makefile
87 lines
3.4 KiB
Makefile
# libavcodec tests
|
|
# subsystems
|
|
AVCODECOBJS-$(CONFIG_AUDIODSP) += audiodsp.o
|
|
AVCODECOBJS-$(CONFIG_BLOCKDSP) += blockdsp.o
|
|
AVCODECOBJS-$(CONFIG_BSWAPDSP) += bswapdsp.o
|
|
AVCODECOBJS-$(CONFIG_FLACDSP) += flacdsp.o
|
|
AVCODECOBJS-$(CONFIG_FMTCONVERT) += fmtconvert.o
|
|
AVCODECOBJS-$(CONFIG_G722DSP) += g722dsp.o
|
|
AVCODECOBJS-$(CONFIG_H264DSP) += h264dsp.o
|
|
AVCODECOBJS-$(CONFIG_H264PRED) += h264pred.o
|
|
AVCODECOBJS-$(CONFIG_H264QPEL) += h264qpel.o
|
|
AVCODECOBJS-$(CONFIG_LLVIDDSP) += llviddsp.o
|
|
AVCODECOBJS-$(CONFIG_LLVIDENCDSP) += llviddspenc.o
|
|
AVCODECOBJS-$(CONFIG_VP8DSP) += vp8dsp.o
|
|
AVCODECOBJS-$(CONFIG_VIDEODSP) += videodsp.o
|
|
|
|
# decoders/encoders
|
|
AVCODECOBJS-$(CONFIG_AAC_DECODER) += aacpsdsp.o \
|
|
sbrdsp.o
|
|
AVCODECOBJS-$(CONFIG_ALAC_DECODER) += alacdsp.o
|
|
AVCODECOBJS-$(CONFIG_DCA_DECODER) += synth_filter.o
|
|
AVCODECOBJS-$(CONFIG_EXR_DECODER) += exrdsp.o
|
|
AVCODECOBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuvdsp.o
|
|
AVCODECOBJS-$(CONFIG_JPEG2000_DECODER) += jpeg2000dsp.o
|
|
AVCODECOBJS-$(CONFIG_OPUS_DECODER) += opusdsp.o
|
|
AVCODECOBJS-$(CONFIG_PIXBLOCKDSP) += pixblockdsp.o
|
|
AVCODECOBJS-$(CONFIG_HEVC_DECODER) += hevc_add_res.o hevc_idct.o hevc_sao.o hevc_pel.o
|
|
AVCODECOBJS-$(CONFIG_UTVIDEO_DECODER) += utvideodsp.o
|
|
AVCODECOBJS-$(CONFIG_V210_DECODER) += v210dec.o
|
|
AVCODECOBJS-$(CONFIG_V210_ENCODER) += v210enc.o
|
|
AVCODECOBJS-$(CONFIG_VP9_DECODER) += vp9dsp.o
|
|
|
|
CHECKASMOBJS-$(CONFIG_AVCODEC) += $(AVCODECOBJS-yes)
|
|
|
|
# libavfilter tests
|
|
AVFILTEROBJS-$(CONFIG_AFIR_FILTER) += af_afir.o
|
|
AVFILTEROBJS-$(CONFIG_BLEND_FILTER) += vf_blend.o
|
|
AVFILTEROBJS-$(CONFIG_COLORSPACE_FILTER) += vf_colorspace.o
|
|
AVFILTEROBJS-$(CONFIG_EQ_FILTER) += vf_eq.o
|
|
AVFILTEROBJS-$(CONFIG_GBLUR_FILTER) += vf_gblur.o
|
|
AVFILTEROBJS-$(CONFIG_HFLIP_FILTER) += vf_hflip.o
|
|
AVFILTEROBJS-$(CONFIG_THRESHOLD_FILTER) += vf_threshold.o
|
|
AVFILTEROBJS-$(CONFIG_NLMEANS_FILTER) += vf_nlmeans.o
|
|
|
|
CHECKASMOBJS-$(CONFIG_AVFILTER) += $(AVFILTEROBJS-yes)
|
|
|
|
# swscale tests
|
|
SWSCALEOBJS += sw_gbrp.o sw_rgb.o sw_scale.o
|
|
|
|
CHECKASMOBJS-$(CONFIG_SWSCALE) += $(SWSCALEOBJS)
|
|
|
|
# libavutil tests
|
|
AVUTILOBJS += av_tx.o
|
|
AVUTILOBJS += fixed_dsp.o
|
|
AVUTILOBJS += float_dsp.o
|
|
|
|
CHECKASMOBJS-$(CONFIG_AVUTIL) += $(AVUTILOBJS)
|
|
|
|
CHECKASMOBJS-$(ARCH_AARCH64) += aarch64/checkasm.o
|
|
CHECKASMOBJS-$(HAVE_ARMV5TE_EXTERNAL) += arm/checkasm.o
|
|
CHECKASMOBJS-$(HAVE_X86ASM) += x86/checkasm.o
|
|
|
|
CHECKASMOBJS += $(CHECKASMOBJS-yes) checkasm.o
|
|
CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))
|
|
|
|
-include $(CHECKASMOBJS:.o=.d)
|
|
|
|
CHECKASMDIRS := $(sort $(dir $(CHECKASMOBJS)))
|
|
$(CHECKASMOBJS): | $(CHECKASMDIRS)
|
|
OUTDIRS += $(CHECKASMDIRS)
|
|
|
|
tests/checkasm/checkasm.o: CFLAGS += -Umain
|
|
|
|
CHECKASM := tests/checkasm/checkasm$(EXESUF)
|
|
|
|
$(CHECKASM): $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS)
|
|
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS) $(EXTRALIBS-avcodec) $(EXTRALIBS-avfilter) $(EXTRALIBS-avformat) $(EXTRALIBS-avutil) $(EXTRALIBS-swresample) $(EXTRALIBS)
|
|
|
|
checkasm: $(CHECKASM)
|
|
|
|
testclean:: checkasmclean
|
|
|
|
checkasmclean:
|
|
$(RM) $(CHECKASM) $(CLEANSUFFIXES:%=tests/checkasm/%) $(CLEANSUFFIXES:%=tests/checkasm/$(ARCH)/%)
|
|
|
|
.PHONY: checkasm
|