Revision 2cf0d46d libavcodec/h264_loopfilter.c

View differences:

libavcodec/h264_loopfilter.c
439 439

  
440 440
    if(v){
441 441
        if(h->ref_cache[0][b_idx] != h->ref_cache[1][bn_idx] |
442
           h->mv_cache[0][b_idx][0] - h->mv_cache[1][bn_idx][0] + 3 >= 7U |
443
           FFABS( h->mv_cache[0][b_idx][1] - h->mv_cache[1][bn_idx][1] ) >= mvy_limit)
442
           h->ref_cache[1][b_idx] != h->ref_cache[0][bn_idx])
444 443
            return 1;
445
        if(h->ref_cache[1][b_idx] != h->ref_cache[0][bn_idx] |
444
        return
445
           h->mv_cache[0][b_idx][0] - h->mv_cache[1][bn_idx][0] + 3 >= 7U |
446
           FFABS( h->mv_cache[0][b_idx][1] - h->mv_cache[1][bn_idx][1] ) >= mvy_limit |
446 447
           h->mv_cache[1][b_idx][0] - h->mv_cache[0][bn_idx][0] + 3 >= 7U |
447
           FFABS( h->mv_cache[1][b_idx][1] - h->mv_cache[0][bn_idx][1] ) >= mvy_limit)
448
            return 1;
449
        return 0;
448
           FFABS( h->mv_cache[1][b_idx][1] - h->mv_cache[0][bn_idx][1] ) >= mvy_limit;
450 449
    }
451 450
    }
452 451

  

Also available in: Unified diff