comparison dsputil.c @ 9439:ef3a7b711cc0 libavcodec

Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
author conrad
date Tue, 14 Apr 2009 23:55:39 +0000
parents 8aa2e86549cd
children daee921fb6bb
comparison
equal deleted inserted replaced
9438:7f84bce8dd26 9439:ef3a7b711cc0
1677 H264_CHROMA_MC(put_ , op_put) 1677 H264_CHROMA_MC(put_ , op_put)
1678 H264_CHROMA_MC(avg_ , op_avg) 1678 H264_CHROMA_MC(avg_ , op_avg)
1679 #undef op_avg 1679 #undef op_avg
1680 #undef op_put 1680 #undef op_put
1681 1681
1682 static void put_no_rnd_h264_chroma_mc8_c(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y){ 1682 static void put_no_rnd_vc1_chroma_mc8_c(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y){
1683 const int A=(8-x)*(8-y); 1683 const int A=(8-x)*(8-y);
1684 const int B=( x)*(8-y); 1684 const int B=( x)*(8-y);
1685 const int C=(8-x)*( y); 1685 const int C=(8-x)*( y);
1686 const int D=( x)*( y); 1686 const int D=( x)*( y);
1687 int i; 1687 int i;
4487 c->put_h264_chroma_pixels_tab[1]= put_h264_chroma_mc4_c; 4487 c->put_h264_chroma_pixels_tab[1]= put_h264_chroma_mc4_c;
4488 c->put_h264_chroma_pixels_tab[2]= put_h264_chroma_mc2_c; 4488 c->put_h264_chroma_pixels_tab[2]= put_h264_chroma_mc2_c;
4489 c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_c; 4489 c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_c;
4490 c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_c; 4490 c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_c;
4491 c->avg_h264_chroma_pixels_tab[2]= avg_h264_chroma_mc2_c; 4491 c->avg_h264_chroma_pixels_tab[2]= avg_h264_chroma_mc2_c;
4492 c->put_no_rnd_h264_chroma_pixels_tab[0]= put_no_rnd_h264_chroma_mc8_c; 4492 c->put_no_rnd_vc1_chroma_pixels_tab[0]= put_no_rnd_vc1_chroma_mc8_c;
4493 4493
4494 c->weight_h264_pixels_tab[0]= weight_h264_pixels16x16_c; 4494 c->weight_h264_pixels_tab[0]= weight_h264_pixels16x16_c;
4495 c->weight_h264_pixels_tab[1]= weight_h264_pixels16x8_c; 4495 c->weight_h264_pixels_tab[1]= weight_h264_pixels16x8_c;
4496 c->weight_h264_pixels_tab[2]= weight_h264_pixels8x16_c; 4496 c->weight_h264_pixels_tab[2]= weight_h264_pixels8x16_c;
4497 c->weight_h264_pixels_tab[3]= weight_h264_pixels8x8_c; 4497 c->weight_h264_pixels_tab[3]= weight_h264_pixels8x8_c;