Revision a6624e21 libavcodec/i386/h264dsp_mmx.c

View differences:

libavcodec/i386/h264dsp_mmx.c
892 892

  
893 893

  
894 894
#define H264_CHROMA_OP(S,D)
895
#define H264_CHROMA_OP4(S,D,T)
895 896
#define H264_CHROMA_MC8_TMPL put_h264_chroma_mc8_mmx
897
#define H264_CHROMA_MC4_TMPL put_h264_chroma_mc4_mmx
898
#define H264_CHROMA_MC8_MV0 put_pixels8_mmx
896 899
#include "dsputil_h264_template_mmx.c"
897 900
#undef H264_CHROMA_OP
901
#undef H264_CHROMA_OP4
898 902
#undef H264_CHROMA_MC8_TMPL
903
#undef H264_CHROMA_MC4_TMPL
904
#undef H264_CHROMA_MC8_MV0
899 905

  
900 906
#define H264_CHROMA_OP(S,D) "pavgb " #S ", " #D " \n\t"
907
#define H264_CHROMA_OP4(S,D,T) "movd  " #S ", " #T " \n\t"\
908
                               "pavgb " #T ", " #D " \n\t"
901 909
#define H264_CHROMA_MC8_TMPL avg_h264_chroma_mc8_mmx2
910
#define H264_CHROMA_MC4_TMPL avg_h264_chroma_mc4_mmx2
911
#define H264_CHROMA_MC8_MV0 avg_pixels8_mmx2
902 912
#include "dsputil_h264_template_mmx.c"
903 913
#undef H264_CHROMA_OP
914
#undef H264_CHROMA_OP4
904 915
#undef H264_CHROMA_MC8_TMPL
916
#undef H264_CHROMA_MC4_TMPL
917
#undef H264_CHROMA_MC8_MV0
905 918

  
906 919
#define H264_CHROMA_OP(S,D) "pavgusb " #S ", " #D " \n\t"
920
#define H264_CHROMA_OP4(S,D,T) "movd " #S ", " #T " \n\t"\
921
                               "pavgusb " #T ", " #D " \n\t"
907 922
#define H264_CHROMA_MC8_TMPL avg_h264_chroma_mc8_3dnow
923
#define H264_CHROMA_MC4_TMPL avg_h264_chroma_mc4_3dnow
924
#define H264_CHROMA_MC8_MV0 avg_pixels8_3dnow
908 925
#include "dsputil_h264_template_mmx.c"
909 926
#undef H264_CHROMA_OP
927
#undef H264_CHROMA_OP4
910 928
#undef H264_CHROMA_MC8_TMPL
929
#undef H264_CHROMA_MC4_TMPL
930
#undef H264_CHROMA_MC8_MV0
911 931

  
912 932
/***********************************/
913 933
/* weighted prediction */

Also available in: Unified diff