Revision ff8dc81b libavcodec/motion_est_template.c

View differences:

libavcodec/motion_est_template.c
1023 1023
    dmin= cmp(s, 0, 0, 0, 0, size, h, ref_index, src_index, cmpf, chroma_cmpf, flags);
1024 1024
    map[0]= map_generation;
1025 1025
    score_map[0]= dmin;
1026
    if(s->flags&CODEC_FLAG_MV0)
1027
        dmin += (mv_penalty[pred_x] + mv_penalty[pred_y])*penalty_factor;
1026 1028

  
1027 1029
    /* first line */
1028 1030
    if (s->first_slice_line) {

Also available in: Unified diff