Mixing intra-frame and inter-frame deinterlacing