#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/frame.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavformat/mux.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.
◆ OFFSET
Definition at line 360 of file xv.c.
◆ xv_get_tag_from_format()
◆ xv_write_trailer()
◆ xv_write_header()
Definition at line 104 of file xv.c.
◆ compute_display_area()
◆ xv_repaint()
◆ write_picture()
◆ xv_write_packet()
Definition at line 323 of file xv.c.
◆ xv_write_frame()
Definition at line 340 of file xv.c.
◆ xv_control_message()
Definition at line 349 of file xv.c.
◆ tag_codec_map
◆ options
Initial value:
Definition at line 361 of file xv.c.
◆ xv_class
Initial value:= {
.class_name = "xvideo outdev",
}
Definition at line 372 of file xv.c.
◆ ff_xv_muxer
Initial value:
Definition at line 380 of file xv.c.
static int xv_control_message(AVFormatContext *s, int type, void *data, size_t data_size)
static const AVOption options[]
static int xv_write_packet(AVFormatContext *s, AVPacket *pkt)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
static const char * window_title
static int xv_write_frame(AVFormatContext *s, int stream_index, AVFrame **frame, unsigned flags)
#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
#define AV_OPT_FLAG_ENCODING_PARAM
A generic parameter which can be set by the user for muxing or encoding.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int xv_write_trailer(AVFormatContext *s)
static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
static const AVClass xv_class
@ AV_PIX_FMT_UYVY422
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
#define MKTAG(a, b, c, d)
static void write_header(FFV1Context *f)
static int xv_write_header(AVFormatContext *s)