committed by
Jean-Baptiste Kempf
4 changed files with 71 additions and 31 deletions
@ -0,0 +1,67 @@ |
|||
/*****************************************************************************
|
|||
* libvlc_video.h: libvlc video-related enumerations |
|||
***************************************************************************** |
|||
* Copyright (C) 1998-2010 VLC authors and VideoLAN |
|||
* Copyright (C) 2023 Videolabs |
|||
* |
|||
* Authors: Filippo Carone <littlejohn@videolan.org> |
|||
* Pierre d'Herbemont <pdherbemont@videolan.org> |
|||
* Alexandre Janniaux <ajanni@videolabs.io> |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify it |
|||
* under the terms of the GNU Lesser General Public License as published by |
|||
* the Free Software Foundation; either version 2.1 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU Lesser General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU Lesser General Public License |
|||
* along with this program; if not, write to the Free Software Foundation, |
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
|||
*****************************************************************************/ |
|||
#ifndef VLC_LIBVLC_VIDEO_H |
|||
#define VLC_LIBVLC_VIDEO_H 1 |
|||
|
|||
# ifdef __cplusplus |
|||
extern "C"{ |
|||
# endif |
|||
|
|||
typedef enum libvlc_video_orient_t |
|||
{ |
|||
libvlc_video_orient_top_left, /**< Normal. Top line represents top, left column left. */ |
|||
libvlc_video_orient_top_right, /**< Flipped horizontally */ |
|||
libvlc_video_orient_bottom_left, /**< Flipped vertically */ |
|||
libvlc_video_orient_bottom_right, /**< Rotated 180 degrees */ |
|||
libvlc_video_orient_left_top, /**< Transposed */ |
|||
libvlc_video_orient_left_bottom, /**< Rotated 90 degrees clockwise (or 270 anti-clockwise) */ |
|||
libvlc_video_orient_right_top, /**< Rotated 90 degrees anti-clockwise */ |
|||
libvlc_video_orient_right_bottom /**< Anti-transposed */ |
|||
} libvlc_video_orient_t; |
|||
|
|||
typedef enum libvlc_video_projection_t |
|||
{ |
|||
libvlc_video_projection_rectangular, |
|||
libvlc_video_projection_equirectangular, /**< 360 spherical */ |
|||
|
|||
libvlc_video_projection_cubemap_layout_standard = 0x100, |
|||
} libvlc_video_projection_t; |
|||
|
|||
typedef enum libvlc_video_multiview_t |
|||
{ |
|||
libvlc_video_multiview_2d, /**< No stereoscopy: 2D picture. */ |
|||
libvlc_video_multiview_stereo_sbs, /**< Side-by-side */ |
|||
libvlc_video_multiview_stereo_tb, /**< Top-bottom */ |
|||
libvlc_video_multiview_stereo_row, /**< Row sequential */ |
|||
libvlc_video_multiview_stereo_col, /**< Column sequential */ |
|||
libvlc_video_multiview_stereo_frame, /**< Frame sequential */ |
|||
libvlc_video_multiview_stereo_checkerboard, /**< Checkerboard pattern */ |
|||
} libvlc_video_multiview_t; |
|||
|
|||
# ifdef __cplusplus |
|||
} // extern "C"
|
|||
# endif |
|||
|
|||
#endif |
|||
Loading…
Reference in new issue