Mercurial > libavcodec.hg
diff h264.c @ 2535:e0bf024629cf libavcodec
vismv didn't display 8x8 mvs in H.264
author | lorenm |
---|---|
date | Thu, 03 Mar 2005 07:21:23 +0000 |
parents | 0fbbba9a52bc |
children | 943b0615fc93 |
line wrap: on
line diff
--- a/h264.c Thu Mar 03 06:57:17 2005 +0000 +++ b/h264.c Thu Mar 03 07:21:23 2005 +0000 @@ -582,7 +582,7 @@ if(IS_INTER(mb_type) || (IS_DIRECT(mb_type) && h->direct_spatial_mv_pred)){ int list; for(list=0; list<2; list++){ - if((!IS_8X8(mb_type)) && !USES_LIST(mb_type, list) && !IS_DIRECT(mb_type) && !for_deblock){ + if(!USES_LIST(mb_type, list) && !IS_DIRECT(mb_type) && !for_deblock){ /*if(!h->mv_cache_clean[list]){ memset(h->mv_cache [list], 0, 8*5*2*sizeof(int16_t)); //FIXME clean only input? clean at all? memset(h->ref_cache[list], PART_NOT_AVAILABLE, 8*5*sizeof(int8_t)); @@ -1239,7 +1239,7 @@ for(list=0; list<2; list++){ int y; - if((!IS_8X8(mb_type)) && !USES_LIST(mb_type, list)){ + if(!USES_LIST(mb_type, list)){ if(1){ //FIXME skip or never read if mb_type doesnt use it for(y=0; y<4; y++){ *(uint64_t*)s->current_picture.motion_val[list][b_xy + 0 + y*h->b_stride]=