[vlc-devel] [PATCH 0/1] Support over-under videos for 3D anaglyph

Rémi Denis-Courmont remi at remlab.net
Sun Jan 13 10:27:10 CET 2019


Le lauantaina 12. tammikuuta 2019, 11.13.10 EET Tom Murphy a écrit :
> This patch adds support for over-under 3D videos with the "anaglyph" filter.
> Previously the filter only supported side-by-side (i.e. video for the left
> eye is on the left half of the video; right is on the right).
> 
> This is my first VLC patch and although the patch works for me, it may need
> fixing. Specifically, I'm not sure that I've always correctly chosen
> between pitch and visible_pitch.

i_pitch is the byte size of a scan line within the plane.

Visible pitch is a hysterical raisin that is supposed to be pixel_pitch 
multiplied by visible width. It may be smaller than pitch due to padding and/
or cropping. If you need to know the visible width, preferrably use 
format.i_visible_width.

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





More information about the vlc-devel mailing list