FFmpeg
ffplay_renderer.h
Go to the documentation of this file.
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 FFTOOLS_FFPLAY_RENDERER_H
20 #define FFTOOLS_FFPLAY_RENDERER_H
21 
22 #include <SDL.h>
23 
24 #include "libavutil/frame.h"
25 
26 typedef struct VkRenderer VkRenderer;
27 
29 
31  AVDictionary *opt);
32 
34 
36 
38 
40 
41 #endif /* FFTOOLS_FFPLAY_RENDERER_H */
vk_renderer_create
int vk_renderer_create(VkRenderer *renderer, SDL_Window *window, AVDictionary *opt)
Definition: ffplay_renderer.c:811
vk_renderer_destroy
void vk_renderer_destroy(VkRenderer *renderer)
Definition: ffplay_renderer.c:832
AVFrame
This structure describes decoded (raw) audio or video data.
Definition: frame.h:344
vk_renderer_resize
int vk_renderer_resize(VkRenderer *renderer, int width, int height)
Definition: ffplay_renderer.c:827
AVDictionary
Definition: dict.c:34
window
static SDL_Window * window
Definition: ffplay.c:364
width
#define width
vk_get_renderer
VkRenderer * vk_get_renderer(void)
Definition: ffplay_renderer.c:804
renderer
static SDL_Renderer * renderer
Definition: ffplay.c:365
frame
static AVFrame * frame
Definition: demux_decode.c:54
VkRenderer
Definition: ffplay_renderer.c:48
frame.h
height
#define height
vk_renderer_display
int vk_renderer_display(VkRenderer *renderer, AVFrame *frame)
Definition: ffplay_renderer.c:822
vk_renderer_get_hw_dev
int vk_renderer_get_hw_dev(VkRenderer *renderer, AVBufferRef **dev)
Definition: ffplay_renderer.c:817
AVBufferRef
A reference to a data buffer.
Definition: buffer.h:82