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 "libavutil/imgutils.h"
#include "libavformat/internal.h"
#include "avdevice.h"
Go to the source code of this file.
XVideo output device.
TODO:
- add support to more formats
Definition in file xv.c.
Definition at line 353 of file xv.c.
Definition at line 103 of file xv.c.
Definition at line 322 of file xv.c.
Definition at line 333 of file xv.c.
Definition at line 342 of file xv.c.
Initial value:= {
}
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define MKTAG(a, b, c, d)
Definition at line 70 of file xv.c.
Referenced by xv_get_tag_from_format().
Initial value:= {
}
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
static const char * window_title
offset must point to two consecutive integers
Definition at line 354 of file xv.c.
Initial value:= {
.class_name = "xvideo outdev",
}
static const AVOption options[]
#define LIBAVUTIL_VERSION_INT
Definition at line 365 of file xv.c.
Initial value:= {
.name = "xv",
}
static int xv_write_header(AVFormatContext *s)
static int xv_write_frame(AVFormatContext *s, int stream_index, AVFrame **frame, unsigned flags)
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_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
static int xv_control_message(AVFormatContext *s, int type, void *data, size_t data_size)
static void write_header(FFV1Context *f)
Definition at line 373 of file xv.c.