FFmpeg
|
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/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "avdevice.h"
#include "libavformat/internal.h"
Go to the source code of this file.
Data Structures | |
struct | rgb_pixfmt_map_entry |
struct | FBDevContext |
Macros | |
#define | OFFSET(x) offsetof(FBDevContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static enum AVPixelFormat | get_pixfmt_from_fb_varinfo (struct fb_var_screeninfo *varinfo) |
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) |
Variables | |
static struct rgb_pixfmt_map_entry | rgb_pixfmt_map [] |
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.c.
#define OFFSET | ( | x | ) | offsetof(FBDevContext, x) |
#define DEC AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 64 of file fbdev.c.
Referenced by fbdev_read_header().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
AVInputFormat ff_fbdev_demuxer |