comparison h264.h @ 11298:b79f22337b6f libavcodec

Move init of right side of ref_cache from fill_caches() to init_the_darn_decoder().
author michael
date Fri, 26 Feb 2010 03:27:52 +0000
parents b5836ef8e74e
children 1f512abdf680
comparison
equal deleted inserted replaced
11297:b5836ef8e74e 11298:b79f22337b6f
1035 1035
1036 if((mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2)) && !FRAME_MBAFF) 1036 if((mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2)) && !FRAME_MBAFF)
1037 continue; 1037 continue;
1038 1038
1039 if(!(mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2))) { 1039 if(!(mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2))) {
1040 h->ref_cache[list][scan8[5 ]+1] =
1041 h->ref_cache[list][scan8[7 ]+1] =
1042 h->ref_cache[list][scan8[13]+1] = //FIXME remove past 3 (init somewhere else)
1043 h->ref_cache[list][scan8[4 ]] = 1040 h->ref_cache[list][scan8[4 ]] =
1044 h->ref_cache[list][scan8[12]] = PART_NOT_AVAILABLE; 1041 h->ref_cache[list][scan8[12]] = PART_NOT_AVAILABLE;
1045 AV_ZERO32(h->mv_cache [list][scan8[4 ]]); 1042 AV_ZERO32(h->mv_cache [list][scan8[4 ]]);
1046 AV_ZERO32(h->mv_cache [list][scan8[12]]); 1043 AV_ZERO32(h->mv_cache [list][scan8[12]]);
1047 1044