[vlc-devel] [PATCH v2 01/19] display: specify if vout_display_PlacePicture() alignment is top/bottom-left

Alexandre Janniaux ajanni at videolabs.io
Wed Aug 26 10:34:08 CEST 2020


On Wed, Aug 26, 2020 at 09:26:11AM +0200, Romain Vimont wrote:
> The fact that OpenGL stores pictures upside-down is an internal detail,
> and everything (including placements) should be vflipped internally by
> the OpenGL vout.

Just a side not apart, the issue Steve is mentionning is not
about the storage of the picture being vflipped, since it would
not change any size/alignment anyway, but about the coordinate
system itself being vflipped. ;)

> In particular, if the OpenGL module calls vout_display_PlacePicture(),
> it should vflip the placement too (the vout_display_place_t rectangle),
> so in the end it will be correct.
> Even if the OpenGL vout stored the image rotated by 90 degrees (or any
> other inversible transformation), as long as the placement is correctly
> converted, it would also work.
> Regards
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list