[vlc-devel] [PATCH 3/12] esformat: fix ORIENT_LEFT_BOTTOM and ORIENT_RIGHT_TOP descriptions

Rémi Denis-Courmont remi at remlab.net
Sat Sep 26 19:17:42 CEST 2020


Le lauantaina 26. syyskuuta 2020, 19.48.21 EEST Romain Vimont a écrit :
> > Left-bottom means the top row is stored in the left column and the left
> > column is stored in the bottom row.
> 
> This is not what I understand from the comment:
> > ORIENT_TOP_LEFT = 0, /**< Top line represents top, left column left. */)
> 
> (the fact that this comment applies on a NORMAL orientation does not
> help)
> 
> There are two sources of confusions for me.
> 
> Does video_orientation_t represent:
>  1. how the image has been rotated before storage, or
>  2. how the stored data must be rotated for display?

It represents how the the orientation of the encoded image.

> What is the meaning of ORIENT_XXX_YYY?

Names are the same as in EXIF.
We also have macros to convert to/from EXIF values.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list