diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2005-03-03 07:21:23 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2005-03-03 07:21:23 +0000 |
commit | b75e10d52c4e7728d2e44ed25b198e9689f2d089 (patch) | |
tree | d8ece53236ce7b7f4bfe8cbe844d4c890eb5a30b /libavcodec/h264.c | |
parent | e21f3983782a439060d9f200144c4e6fd7d62af0 (diff) | |
download | ffmpeg-b75e10d52c4e7728d2e44ed25b198e9689f2d089.tar.gz |
vismv didn't display 8x8 mvs in H.264
Originally committed as revision 4000 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 45c5eaf9d0..67744397a3 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -582,7 +582,7 @@ static inline void fill_caches(H264Context *h, int mb_type, int for_deblock){ 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 @@ static inline void write_back_motion(H264Context *h, int mb_type){ 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]= |