Revision d2bf4289 libavcodec/h264pred_template.c

View differences:

libavcodec/h264pred_template.c
695 695
{
696 696
    pixel *src = (pixel*)_src;
697 697
    int stride = _stride/sizeof(pixel);
698
    pixel4 a;
698 699

  
699 700
    PREDICT_8x8_LOAD_LEFT;
700
#define ROW(y) ((pixel4*)(src+y*stride))[0] =\
701
               ((pixel4*)(src+y*stride))[1] = PIXEL_SPLAT_X4(l##y)
701
#define ROW(y) a = PIXEL_SPLAT_X4(l##y); \
702
               AV_WN4PA(src+y*stride, a); \
703
               AV_WN4PA(src+y*stride+4, a);
702 704
    ROW(0); ROW(1); ROW(2); ROW(3); ROW(4); ROW(5); ROW(6); ROW(7);
703 705
#undef ROW
704 706
}

Also available in: Unified diff