comparison x86/dsputil_mmx.c @ 9440:daee921fb6bb libavcodec

VC1: add and use avg_no_rnd chroma MC functions
author conrad
date Tue, 14 Apr 2009 23:56:10 +0000
parents ef3a7b711cc0
children e14cd3ac3806
comparison
equal deleted inserted replaced
9439:ef3a7b711cc0 9440:daee921fb6bb
2788 SET_QPEL_FUNCS(avg_2tap_qpel, 1, 8, mmx2); 2788 SET_QPEL_FUNCS(avg_2tap_qpel, 1, 8, mmx2);
2789 2789
2790 c->avg_rv40_chroma_pixels_tab[0]= avg_rv40_chroma_mc8_mmx2; 2790 c->avg_rv40_chroma_pixels_tab[0]= avg_rv40_chroma_mc8_mmx2;
2791 c->avg_rv40_chroma_pixels_tab[1]= avg_rv40_chroma_mc4_mmx2; 2791 c->avg_rv40_chroma_pixels_tab[1]= avg_rv40_chroma_mc4_mmx2;
2792 2792
2793 c->avg_no_rnd_vc1_chroma_pixels_tab[0]= avg_vc1_chroma_mc8_mmx2_nornd;
2794
2793 c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_mmx2_rnd; 2795 c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_mmx2_rnd;
2794 c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_mmx2; 2796 c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_mmx2;
2795 c->avg_h264_chroma_pixels_tab[2]= avg_h264_chroma_mc2_mmx2; 2797 c->avg_h264_chroma_pixels_tab[2]= avg_h264_chroma_mc2_mmx2;
2796 c->put_h264_chroma_pixels_tab[2]= put_h264_chroma_mc2_mmx2; 2798 c->put_h264_chroma_pixels_tab[2]= put_h264_chroma_mc2_mmx2;
2797 c->h264_v_loop_filter_luma= h264_v_loop_filter_luma_mmx2; 2799 c->h264_v_loop_filter_luma= h264_v_loop_filter_luma_mmx2;
2938 H264_QPEL_FUNCS(3, 0, ssse3); 2940 H264_QPEL_FUNCS(3, 0, ssse3);
2939 H264_QPEL_FUNCS(3, 1, ssse3); 2941 H264_QPEL_FUNCS(3, 1, ssse3);
2940 H264_QPEL_FUNCS(3, 2, ssse3); 2942 H264_QPEL_FUNCS(3, 2, ssse3);
2941 H264_QPEL_FUNCS(3, 3, ssse3); 2943 H264_QPEL_FUNCS(3, 3, ssse3);
2942 c->put_no_rnd_vc1_chroma_pixels_tab[0]= put_vc1_chroma_mc8_ssse3_nornd; 2944 c->put_no_rnd_vc1_chroma_pixels_tab[0]= put_vc1_chroma_mc8_ssse3_nornd;
2945 c->avg_no_rnd_vc1_chroma_pixels_tab[0]= avg_vc1_chroma_mc8_ssse3_nornd;
2943 c->put_h264_chroma_pixels_tab[0]= put_h264_chroma_mc8_ssse3_rnd; 2946 c->put_h264_chroma_pixels_tab[0]= put_h264_chroma_mc8_ssse3_rnd;
2944 c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_ssse3_rnd; 2947 c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_ssse3_rnd;
2945 c->put_h264_chroma_pixels_tab[1]= put_h264_chroma_mc4_ssse3; 2948 c->put_h264_chroma_pixels_tab[1]= put_h264_chroma_mc4_ssse3;
2946 c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_ssse3; 2949 c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_ssse3;
2947 c->add_png_paeth_prediction= add_png_paeth_prediction_ssse3; 2950 c->add_png_paeth_prediction= add_png_paeth_prediction_ssse3;