Commit 136b33b8 authored by kostya's avatar kostya

Edge emulation should be used in B-frame MC in mspel mode with

mv_x < 1 or mv_y < 1.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19255 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6c54bfcf
......@@ -860,8 +860,8 @@ static void vc1_interp_mc(VC1Context *v)
}
if(v->rangeredfrm
|| (unsigned)src_x > s->h_edge_pos - (mx&3) - 16 - s->mspel*3
|| (unsigned)src_y > s->v_edge_pos - (my&3) - 16 - s->mspel*3){
|| (unsigned)(src_x - s->mspel) > s->h_edge_pos - (mx&3) - 16 - s->mspel*3
|| (unsigned)(src_y - s->mspel) > s->v_edge_pos - (my&3) - 16 - s->mspel*3){
uint8_t *uvbuf= s->edge_emu_buffer + 19 * s->linesize;
srcY -= s->mspel * (1 + s->linesize);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment