video: Document UL_LR / UR_LL video orientation methods correctly

They're not flipping along the diagonal axis but a flip and rotation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6936>
This commit is contained in:
Sebastian Dröge 2024-05-28 11:52:39 +03:00 committed by GStreamer Marge Bot
parent d024ee4303
commit c14a2d7d6d
2 changed files with 4 additions and 4 deletions

View file

@ -12889,10 +12889,10 @@ operation of video-sources or operators.</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h">Flip vertically</doc>
</member>
<member name="ul_lr" value="6" c:identifier="GST_VIDEO_ORIENTATION_UL_LR" glib:nick="ul-lr">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h">Flip across upper left/lower right diagonal</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h">Rotate counter-clockwise 90 degrees and flip vertically</doc>
</member>
<member name="ur_ll" value="7" c:identifier="GST_VIDEO_ORIENTATION_UR_LL" glib:nick="ur-ll">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h">Flip across upper right/lower left diagonal</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h">Rotate clockwise 90 degrees and flip vertically</doc>
</member>
<member name="auto" value="8" c:identifier="GST_VIDEO_ORIENTATION_AUTO" glib:nick="auto">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h">Select flip method based on image-orientation tag</doc>

View file

@ -68,8 +68,8 @@ struct _GstVideoAlignment
* @GST_VIDEO_ORIENTATION_90L: Rotate counter-clockwise 90 degrees
* @GST_VIDEO_ORIENTATION_HORIZ: Flip horizontally
* @GST_VIDEO_ORIENTATION_VERT: Flip vertically
* @GST_VIDEO_ORIENTATION_UL_LR: Flip across upper left/lower right diagonal
* @GST_VIDEO_ORIENTATION_UR_LL: Flip across upper right/lower left diagonal
* @GST_VIDEO_ORIENTATION_UL_LR: Rotate counter-clockwise 90 degrees and flip vertically
* @GST_VIDEO_ORIENTATION_UR_LL: Rotate clockwise 90 degrees and flip vertically
* @GST_VIDEO_ORIENTATION_AUTO: Select flip method based on image-orientation tag
* @GST_VIDEO_ORIENTATION_CUSTOM: Current status depends on plugin internal setup
*