World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
buffersrc.h
См. документацию.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVFILTER_BUFFERSRC_H
20 #define AVFILTER_BUFFERSRC_H
21 
28 #include "avfilter.h"
29 
36 enum {
37 
42 
47 
54 
55 };
56 
65 
73 typedef struct AVBufferSrcParameters {
78  int format;
83 
87  int width, height;
88 
93 
101 
107 
112 
118 
124 
139 
153 av_warn_unused_result
155 
174 av_warn_unused_result
176 
192 av_warn_unused_result
194  AVFrame *frame, int flags);
195 
203 int av_buffersrc_close(AVFilterContext *ctx, int64_t pts, unsigned flags);
204 
209 #endif /* AVFILTER_BUFFERSRC_H */
AVFilterContext
Definition: avfilter.h:338
AVBufferSrcParameters::frame_rate
AVRational frame_rate
Definition: buffersrc.h:100
av_buffersrc_add_frame
av_warn_unused_result int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame)
AVBufferSrcParameters::width
int width
Definition: buffersrc.h:87
int64_t
__int64 int64_t
Definition: alext.h:31
uint64_t
unsigned __int64 uint64_t
Definition: alext.h:32
AV_BUFFERSRC_FLAG_PUSH
@ AV_BUFFERSRC_FLAG_PUSH
Definition: buffersrc.h:46
AVBufferSrcParameters::time_base
AVRational time_base
Definition: buffersrc.h:82
param
GLfloat param
Definition: SDL_opengl_glext.h:373
av_buffersrc_close
int av_buffersrc_close(AVFilterContext *ctx, int64_t pts, unsigned flags)
ctx
EGLContext ctx
Definition: SDL_egl.h:952
av_buffersrc_parameters_alloc
AVBufferSrcParameters * av_buffersrc_parameters_alloc(void)
AVBufferRef
Definition: buffer.h:81
AV_BUFFERSRC_FLAG_KEEP_REF
@ AV_BUFFERSRC_FLAG_KEEP_REF
Definition: buffersrc.h:53
av_buffersrc_parameters_set
int av_buffersrc_parameters_set(AVFilterContext *ctx, AVBufferSrcParameters *param)
av_buffersrc_add_frame_flags
av_warn_unused_result int av_buffersrc_add_frame_flags(AVFilterContext *buffer_src, AVFrame *frame, int flags)
AVBufferSrcParameters::sample_aspect_ratio
AVRational sample_aspect_ratio
Definition: buffersrc.h:92
AVBufferSrcParameters
Definition: buffersrc.h:73
AVBufferSrcParameters
struct AVBufferSrcParameters AVBufferSrcParameters
AVBufferSrcParameters::height
int height
Definition: buffersrc.h:87
flags
EGLSyncKHR EGLint flags
Definition: SDL_egl.h:898
avfilter.h
av_buffersrc_get_nb_failed_requests
unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src)
AVRational
Definition: rational.h:58
AVBufferSrcParameters::channel_layout
uint64_t channel_layout
Definition: buffersrc.h:116
av_buffersrc_write_frame
av_warn_unused_result int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame)
AVFrame
Definition: frame.h:295
AVBufferSrcParameters::hw_frames_ctx
AVBufferRef * hw_frames_ctx
Definition: buffersrc.h:106
AVBufferSrcParameters::format
int format
Definition: buffersrc.h:78
AVBufferSrcParameters::sample_rate
int sample_rate
Definition: buffersrc.h:111
AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT
@ AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT
Definition: buffersrc.h:41