FFmpeg
4.0
|
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/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.
Data Structures | |
struct | FBDevContext |
Macros | |
#define | OFFSET(x) offsetof(FBDevContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static av_cold int | fbdev_read_header (AVFormatContext *avctx) |
static int | fbdev_read_packet (AVFormatContext *avctx, AVPacket *pkt) |
static av_cold int | fbdev_read_close (AVFormatContext *avctx) |
static int | fbdev_get_device_list (AVFormatContext *s, AVDeviceInfoList *device_list) |
Variables | |
static const AVOption | options [] |
static const AVClass | fbdev_class |
AVInputFormat | ff_fbdev_demuxer |
Linux framebuffer input device, inspired by code from fbgrab.c by Gunnar Monell.
Definition in file fbdev_dec.c.
#define OFFSET | ( | x | ) | offsetof(FBDevContext, x) |
Definition at line 220 of file fbdev_dec.c.
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 221 of file fbdev_dec.c.
|
static |
Definition at line 65 of file fbdev_dec.c.
|
static |
Definition at line 151 of file fbdev_dec.c.
|
static |
Definition at line 205 of file fbdev_dec.c.
|
static |
Definition at line 215 of file fbdev_dec.c.
|
static |
Definition at line 222 of file fbdev_dec.c.
|
static |
Definition at line 227 of file fbdev_dec.c.
AVInputFormat ff_fbdev_demuxer |
Definition at line 235 of file fbdev_dec.c.