[vlc-devel] [PATCH 3/7] video_format: add a interlaced flag in the video format

Rémi Denis-Courmont remi at remlab.net
Mon Nov 9 12:27:55 CET 2020


Le maanantaina 9. marraskuuta 2020, 9.47.26 EET Steve Lhomme a écrit :
> It is currently designed for a pull system. This existing code doesn't
> even deinterlace the first interlaced frame. So I don't think the
> current design should tell us how it should be done in pull model.

You mean push model? I don't particularly like the current system. The 
structure belongs in picture_t at least in the case that one picture_t is one 
field. I agree however that the interlacing could be notionally in the video 
format.

Still, the patch looks like the worse of both worlds. On one hand, we lose the 
flexibility to change the interlacing parameter per picture, and on the other 
hand, we don't seem to gain the ability to pass interlacing infos from the 
demuxer (which is why it's broken in V4L at the moment).

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list