Mercurial > libavcodec.hg
comparison vc1.c @ 3453:e3f5377bddb2 libavcodec
Check if 4-MV MB should not be decoded.
author | kostya |
---|---|
date | Sun, 09 Jul 2006 03:00:57 +0000 |
parents | f024ca7c768b |
children | ad66c11aeab4 |
comparison
equal
deleted
inserted
replaced
3452:f024ca7c768b | 3453:e3f5377bddb2 |
---|---|
2494 } | 2494 } |
2495 if(i == 4) vc1_mc_4mv_chroma(v); | 2495 if(i == 4) vc1_mc_4mv_chroma(v); |
2496 v->mb_type[0][s->block_index[i]] = is_intra[i]; | 2496 v->mb_type[0][s->block_index[i]] = is_intra[i]; |
2497 if(!coded_inter) coded_inter = !is_intra[i] & is_coded[i]; | 2497 if(!coded_inter) coded_inter = !is_intra[i] & is_coded[i]; |
2498 } | 2498 } |
2499 // if there are no coded blocks then don't do anything more | |
2500 if(!intra_count && !coded_inter) return 0; | |
2499 dst_idx = 0; | 2501 dst_idx = 0; |
2500 GET_MQUANT(); | 2502 GET_MQUANT(); |
2501 s->current_picture.qscale_table[mb_pos] = mquant; | 2503 s->current_picture.qscale_table[mb_pos] = mquant; |
2502 /* test if block is intra and has pred */ | 2504 /* test if block is intra and has pred */ |
2503 { | 2505 { |