FFmpeg
Classes | Macros | Variables
sdl2.c File Reference

libSDL2 output device More...

#include <SDL.h>
#include <SDL_thread.h>
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "avdevice.h"

Classes

struct  SDLContext
 
struct  sdl_texture_format_entry
 

Macros

#define SDL_BASE_FLAGS   (SDL_SWSURFACE|SDL_WINDOW_RESIZABLE)
 
#define OFFSET(x)   offsetof(SDLContext,x)
 

Variables

AVOutputFormat ff_sdl2_muxer
 

Detailed Description

libSDL2 output device

Variable Documentation

§ ff_sdl2_muxer

AVOutputFormat ff_sdl2_muxer
Initial value:
= {
.name = "sdl,sdl2",
.long_name = NULL_IF_CONFIG_SMALL("SDL2 output device"),
.priv_data_size = sizeof(SDLContext),
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
.write_header = sdl2_write_header,
.write_packet = sdl2_write_packet,
.write_trailer = sdl2_write_trailer,
.priv_class = &sdl2_class,
}
Definition: sdl2.c:37
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:465
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:472