Mercurial > libavcodec.hg
comparison h264.h @ 11147:9673c7b54598 libavcodec
Skip some more code that isnt needed for direct MBs.
author | michael |
---|---|
date | Sat, 13 Feb 2010 18:23:46 +0000 |
parents | 8805efb4c3fd |
children | dad947e53c52 |
comparison
equal
deleted
inserted
replaced
11146:e8461dae9672 | 11147:9673c7b54598 |
---|---|
1024 *(uint32_t*)h->mv_cache [list][scan8[7 ]+1]= | 1024 *(uint32_t*)h->mv_cache [list][scan8[7 ]+1]= |
1025 *(uint32_t*)h->mv_cache [list][scan8[13]+1]= //FIXME remove past 3 (init somewhere else) | 1025 *(uint32_t*)h->mv_cache [list][scan8[13]+1]= //FIXME remove past 3 (init somewhere else) |
1026 *(uint32_t*)h->mv_cache [list][scan8[4 ]]= | 1026 *(uint32_t*)h->mv_cache [list][scan8[4 ]]= |
1027 *(uint32_t*)h->mv_cache [list][scan8[12]]= 0; | 1027 *(uint32_t*)h->mv_cache [list][scan8[12]]= 0; |
1028 | 1028 |
1029 if( CABAC ) { | 1029 if( CABAC && !IS_DIRECT(mb_type)) { |
1030 /* XXX beurk, Load mvd */ | 1030 /* XXX beurk, Load mvd */ |
1031 if(USES_LIST(top_type, list)){ | 1031 if(USES_LIST(top_type, list)){ |
1032 const int b_xy= h->mb2b_xy[top_xy] + 3*h->b_stride; | 1032 const int b_xy= h->mb2b_xy[top_xy] + 3*h->b_stride; |
1033 AV_COPY128(h->mvd_cache[list][scan8[0] + 0 - 1*8], h->mvd_table[list][b_xy + 0]); | 1033 AV_COPY128(h->mvd_cache[list][scan8[0] + 0 - 1*8], h->mvd_table[list][b_xy + 0]); |
1034 }else{ | 1034 }else{ |