On Sat, Jun 18, 2011 at 01:33:03PM -0400, Daniel Kang wrote: > Mainly ported from 8-bit H.264 weight/biweight. > --- > libavcodec/x86/Makefile | 1 + > libavcodec/x86/h264_weight_10bit.asm | 298 > ++++++++++++++++++++++++++++++++++ > libavcodec/x86/h264dsp_mmx.c | 61 +++++++ > 3 files changed, 360 insertions(+), 0 deletions(-) > create mode 100644 libavcodec/x86/h264_weight_10bit.asm > > --- a/libavcodec/x86/h264dsp_mmx.c > +++ b/libavcodec/x86/h264dsp_mmx.c > @@ -454,6 +478,24 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int > bit_depth) > > + c->weight_h264_pixels_tab[0]= ff_h264_weight_16x16_10_sse2; > + c->weight_h264_pixels_tab[1]= ff_h264_weight_16x8_10_sse2; > + c->weight_h264_pixels_tab[2]= ff_h264_weight_8x16_10_sse2; > + c->weight_h264_pixels_tab[3]= ff_h264_weight_8x8_10_sse2; > + c->weight_h264_pixels_tab[4]= ff_h264_weight_8x4_10_sse2; > + c->weight_h264_pixels_tab[5]= ff_h264_weight_4x8_10_sse2; > + c->weight_h264_pixels_tab[6]= ff_h264_weight_4x4_10_sse2; > + c->weight_h264_pixels_tab[7]= ff_h264_weight_4x2_10_sse2;
nit: space before '=', same below Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
