comparison h264.c @ 7525:2f159f961f3a libavcodec

Do not execute the part of fill_caches() for the loopfilter that overwrites reference indexes and motion vectors. Fixes at least: CVMAQP2_Sony_G
author michael
date Sun, 10 Aug 2008 00:38:41 +0000
parents 919182093931
children 3749f13a0d02
comparison
equal deleted inserted replaced
7524:919182093931 7525:2f159f961f3a
389 h->ref_cache[list][cache_idx ]= 389 h->ref_cache[list][cache_idx ]=
390 h->ref_cache[list][cache_idx+8]= left_type[i] ? LIST_NOT_USED : PART_NOT_AVAILABLE; 390 h->ref_cache[list][cache_idx+8]= left_type[i] ? LIST_NOT_USED : PART_NOT_AVAILABLE;
391 } 391 }
392 } 392 }
393 393
394 if((for_deblock || (IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred)) && !FRAME_MBAFF) 394 if(for_deblock || ((IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred) && !FRAME_MBAFF))
395 continue; 395 continue;
396 396
397 if(USES_LIST(topleft_type, list)){ 397 if(USES_LIST(topleft_type, list)){
398 const int b_xy = h->mb2b_xy[topleft_xy] + 3 + h->b_stride + (topleft_partition & 2*h->b_stride); 398 const int b_xy = h->mb2b_xy[topleft_xy] + 3 + h->b_stride + (topleft_partition & 2*h->b_stride);
399 const int b8_xy= h->mb2b8_xy[topleft_xy] + 1 + (topleft_partition & h->b8_stride); 399 const int b8_xy= h->mb2b8_xy[topleft_xy] + 1 + (topleft_partition & h->b8_stride);