Revision 7bc9090a libavcodec/motion_est_template.c

View differences:

libavcodec/motion_est_template.c
897 897
    int map_generation;
898 898
    const int penalty_factor= s->me.penalty_factor;
899 899
    const int size=0;
900
    const int ref_mv_stride= s->mb_width+2;
901
    const int ref_mv_xy= 1 + s->mb_x + (s->mb_y + 1)*ref_mv_stride;
900
    const int ref_mv_stride= s->mb_stride;
901
    const int ref_mv_xy= s->mb_x + s->mb_y*ref_mv_stride;
902 902
    me_cmp_func cmp, chroma_cmp;
903 903
    LOAD_COMMON(s->mb_x*16, s->mb_y*16);
904 904
    
......
1009 1009
    int map_generation;
1010 1010
    const int penalty_factor= s->me.penalty_factor;
1011 1011
    const int size=1;
1012
    const int ref_mv_stride= s->mb_width+2;
1013
    const int ref_mv_xy= 1 + s->mb_x + (s->mb_y + 1)*ref_mv_stride;
1012
    const int ref_mv_stride= s->mb_stride;
1013
    const int ref_mv_xy= s->mb_x + s->mb_y *ref_mv_stride;
1014 1014
    me_cmp_func cmp, chroma_cmp;
1015 1015
    LOAD_COMMON((s->mb_x*2 + (block&1))*8, (s->mb_y*2 + (block>>1))*8);
1016 1016
    

Also available in: Unified diff