deinterlace greedy, improve quality

scanlines->m1 = same line of the previous field scanlines->t0 = line above of the current field scanlines->b0 = line below of the current field scanlines->mp = same line of the next field

Deinterlacing a field weaved frame: When deinterlacing the top field, the next bottom field is available (part of the same frame). but when deinterlacing the bottom field, the next top field (part of the next frame) is not available and scanlines->mp equals NULL.

In this case it's better to use greedy algorithm using the prevous field (twice) rather then linear interpolation of the current field.

Merge request reports