XVideo output device.
More...
#include <X11/Xlib.h>
#include <X11/extensions/Xv.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xvlib.h>
#include <sys/shm.h>
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avdevice.h"
Go to the source code of this file.
XVideo output device.
TODO:
- add support to more formats
- add support to window id specification
Definition in file xv.c.
Definition at line 188 of file xv.c.
Definition at line 58 of file xv.c.
Definition at line 143 of file xv.c.
Definition at line 177 of file xv.c.
Initial value:= {
{ NULL }
}
static const char * window_title
offset must point to two consecutive integers
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
Definition at line 189 of file xv.c.
Initial value:= {
.class_name = "xvideo outdev",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ctx)
Return the context name.
const OptionDef options[]
Definition at line 199 of file xv.c.
Initial value:= {
.name = "xv",
}
static int xv_write_header(AVFormatContext *s)
static const AVClass xv_class
static int xv_write_packet(AVFormatContext *s, AVPacket *pkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int write_trailer(AVFormatContext *s1)
static int xv_write_trailer(AVFormatContext *s)
static void write_header(FFV1Context *f)
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition at line 206 of file xv.c.