Interlaced field pictures can have one or two reference pictures, signaled by NUMREF syntax element. For single reference pictures, reference picture is determined by REFFIELD syntax element.
Unified · Split
| @@ -794,6 +794,7 @@ static void vc1_mc_4mv_chroma(VC1Context *v, int dir) · 793 unmodified lines | ||
| 794 | 794 | /* calculate chroma MV vector from four luma MVs */ |
| 795 | 795 | if (!v->field_mode || (v->field_mode && !v->numref)) { |
| 796 | 796 | valid_count = get_chroma_mv(mvx, mvy, intra, 0, &tx, &ty); |
| 797 | + chroma_ref_type = v->reffield; | |
| 797 | 798 | if (!valid_count) { |
| 798 | 799 | s->current_picture.f.motion_val[1][s->block_index[0] + v->blocks_off][0] = 0; |
| 799 | 800 | s->current_picture.f.motion_val[1][s->block_index[0] + v->blocks_off][1] = 0; |