#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <linux/fb.h>
#include "libavutil/pixdesc.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavformat/avformat.h"
#include "fbdev_common.h"
#include "avdevice.h"
Go to the source code of this file.
◆ OFFSET
◆ ENC
◆ fbdev_write_header()
◆ fbdev_write_packet()
◆ fbdev_write_trailer()
◆ fbdev_get_device_list()
◆ options
Initial value:= {
{
"xoffset",
"set x coordinate of top left corner",
OFFSET(xoffset),
AV_OPT_TYPE_INT, {.i64 = 0}, INT_MIN, INT_MAX,
ENC },
{
"yoffset",
"set y coordinate of top left corner",
OFFSET(yoffset),
AV_OPT_TYPE_INT, {.i64 = 0}, INT_MIN, INT_MAX,
ENC },
}
Definition at line 194 of file fbdev_enc.c.
◆ fbdev_class
Initial value:= {
.class_name = "fbdev outdev",
}
Definition at line 200 of file fbdev_enc.c.
◆ ff_fbdev_muxer
static int fbdev_write_packet(AVFormatContext *h, AVPacket *pkt)
static av_cold int fbdev_write_trailer(AVFormatContext *h)
static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_list)
#define LIBAVUTIL_VERSION_INT
static int write_trailer(AVFormatContext *s1)
const char * av_default_item_name(void *ptr)
Return the context name.
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static av_cold int fbdev_write_header(AVFormatContext *h)
static const AVOption options[]
#define flags(name, subs,...)
static void write_header(FFV1Context *f)
static const AVClass fbdev_class