World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
stereo3d.h
См. документацию.
1 /*
2  * Copyright (c) 2013 Vittorio Giovara <vittorio.giovara@gmail.com>
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
26 #ifndef AVUTIL_STEREO3D_H
27 #define AVUTIL_STEREO3D_H
28 
29 #include <stdint.h>
30 
31 #include "frame.h"
32 
56 
68 
80 
93 
105 
118 
130 
142 };
143 
152 
157 
162 };
163 
167 #define AV_STEREO3D_FLAG_INVERT (1 << 0)
168 
176 typedef struct AVStereo3D {
181 
185  int flags;
186 
191 } AVStereo3D;
192 
200 
209 
217 const char *av_stereo3d_type_name(unsigned int type);
218 
226 int av_stereo3d_from_name(const char *name);
227 
233 #endif /* AVUTIL_STEREO3D_H */
AV_STEREO3D_VIEW_LEFT
@ AV_STEREO3D_VIEW_LEFT
Definition: stereo3d.h:156
AV_STEREO3D_SIDEBYSIDE_QUINCUNX
@ AV_STEREO3D_SIDEBYSIDE_QUINCUNX
Definition: stereo3d.h:117
AV_STEREO3D_VIEW_RIGHT
@ AV_STEREO3D_VIEW_RIGHT
Definition: stereo3d.h:161
AV_STEREO3D_SIDEBYSIDE
@ AV_STEREO3D_SIDEBYSIDE
Definition: stereo3d.h:67
AVStereo3D
Definition: stereo3d.h:176
AV_STEREO3D_VIEW_PACKED
@ AV_STEREO3D_VIEW_PACKED
Definition: stereo3d.h:151
AV_STEREO3D_2D
@ AV_STEREO3D_2D
Definition: stereo3d.h:55
AVStereo3D
struct AVStereo3D AVStereo3D
AV_STEREO3D_FRAMESEQUENCE
@ AV_STEREO3D_FRAMESEQUENCE
Definition: stereo3d.h:92
AV_STEREO3D_LINES
@ AV_STEREO3D_LINES
Definition: stereo3d.h:129
AVStereo3D::view
enum AVStereo3DView view
Definition: stereo3d.h:190
type
EGLenum type
Definition: SDL_egl.h:850
AV_STEREO3D_CHECKERBOARD
@ AV_STEREO3D_CHECKERBOARD
Definition: stereo3d.h:104
AVStereo3D::flags
int flags
Definition: stereo3d.h:185
frame.h
AV_STEREO3D_TOPBOTTOM
@ AV_STEREO3D_TOPBOTTOM
Definition: stereo3d.h:79
name
EGLImageKHR EGLint * name
Definition: SDL_egl.h:1497
av_stereo3d_alloc
AVStereo3D * av_stereo3d_alloc(void)
AV_STEREO3D_COLUMNS
@ AV_STEREO3D_COLUMNS
Definition: stereo3d.h:141
AVStereo3D::type
enum AVStereo3DType type
Definition: stereo3d.h:180
av_stereo3d_create_side_data
AVStereo3D * av_stereo3d_create_side_data(AVFrame *frame)
AVStereo3DView
AVStereo3DView
Definition: stereo3d.h:147
AVStereo3DType
AVStereo3DType
Definition: stereo3d.h:51
av_stereo3d_type_name
const char * av_stereo3d_type_name(unsigned int type)
AVFrame
Definition: frame.h:295
av_stereo3d_from_name
int av_stereo3d_from_name(const char *name)