#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"
Go to the source code of this file.
libSDL2 output device
Definition in file sdl2.c.
◆ OFFSET
◆ compute_texture_rect()
◆ sdl2_write_trailer()
◆ sdl2_write_header()
◆ sdl2_write_packet()
◆ sdl_texture_format_map
◆ options
Initial value:
Definition at line 339 of file sdl2.c.
◆ sdl2_class
Initial value:= {
.class_name = "sdl2 outdev",
}
Definition at line 350 of file sdl2.c.
◆ ff_sdl2_muxer
Initial value:= {
.name = "sdl,sdl2",
}
Definition at line 358 of file sdl2.c.
#define AV_PIX_FMT_RGB32_1
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
static const AVClass sdl2_class
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
#define AV_PIX_FMT_0BGR32
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define AV_PIX_FMT_BGR32_1
static const char * window_title
#define LIBAVUTIL_VERSION_INT
static int write_trailer(AVFormatContext *s1)
@ AV_PIX_FMT_YUYV422
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
@ AV_OPT_TYPE_IMAGE_SIZE
offset must point to two consecutive integers
const char * av_default_item_name(void *ptr)
Return the context name.
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
@ AV_PIX_FMT_RGB8
packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define AV_PIX_FMT_BGR555
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static const AVOption options[]
#define AV_PIX_FMT_RGB555
#define AV_PIX_FMT_BGR565
#define AV_PIX_FMT_RGB565
@ AV_PIX_FMT_0BGR
packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined
#define AV_PIX_FMT_0RGB32
@ AV_PIX_FMT_UYVY422
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
static int sdl2_write_header(AVFormatContext *s)
static int sdl2_write_trailer(AVFormatContext *s)
#define flags(name, subs,...)
@ AV_PIX_FMT_0RGB
packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined
static int sdl2_write_packet(AVFormatContext *s, AVPacket *pkt)
static void write_header(FFV1Context *f)
#define AV_PIX_FMT_RGB444