Linux framebuffer input device, inspired by code from fbgrab.c by Gunnar Monell.
More...
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <time.h>
#include <linux/fb.h>
#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavformat/internal.h"
#include "avdevice.h"
#include "fbdev_common.h"
Go to the source code of this file.
Linux framebuffer input device, inspired by code from fbgrab.c by Gunnar Monell.
- See Also
- http://linux-fbdev.sourceforge.net/
Definition in file fbdev_dec.c.
Initial value:= {
{ NULL },
}
offset must point to AVRational
Definition at line 210 of file fbdev_dec.c.
Initial value:= {
.class_name = "fbdev indev",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ctx)
Return the context name.
const OptionDef options[]
Definition at line 215 of file fbdev_dec.c.
Initial value:= {
.name = "fbdev",
}
static const AVClass fbdev_class
static av_cold int read_close(AVFormatContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt)
static av_cold int fbdev_read_close(AVFormatContext *avctx)
static int read_header(FFV1Context *f)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static av_cold int fbdev_read_header(AVFormatContext *avctx)
Definition at line 222 of file fbdev_dec.c.