Revision 55c54371 libavcodec/h264_loopfilter.c
libavcodec/h264_loopfilter.c | ||
---|---|---|
498 | 498 |
if( (edge&1) && IS_8x8DCT(mb_type) ) |
499 | 499 |
continue; |
500 | 500 |
|
501 |
if( IS_INTRA(mb_type) || |
|
502 |
IS_INTRA(mbn_type) ) { |
|
503 |
int value; |
|
501 |
if( IS_INTRA(mb_type|mbn_type)) { |
|
502 |
*(uint64_t*)bS= 0x0003000300030003ULL; |
|
504 | 503 |
if (edge == 0) { |
505 |
if ( (!IS_INTERLACED(mb_type) && !IS_INTERLACED(mbm_type))
|
|
504 |
if ( (!IS_INTERLACED(mb_type|mbm_type))
|
|
506 | 505 |
|| ((FRAME_MBAFF || (s->picture_structure != PICT_FRAME)) && (dir == 0)) |
507 |
) { |
|
508 |
value = 4; |
|
509 |
} else { |
|
510 |
value = 3; |
|
511 |
} |
|
512 |
} else { |
|
513 |
value = 3; |
|
506 |
) |
|
507 |
*(uint64_t*)bS= 0x0004000400040004ULL; |
|
514 | 508 |
} |
515 |
bS[0] = bS[1] = bS[2] = bS[3] = value; |
|
516 | 509 |
} else { |
517 | 510 |
int i, l; |
518 | 511 |
int mv_done; |
Also available in: Unified diff