FFmpeg
|
#include <fcntl.h>
#include <unistd.h>
#include <drm.h>
#include <drm_fourcc.h>
#include <drm_mode.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_drm.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/pixfmt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
Go to the source code of this file.
Data Structures | |
struct | KMSGrabContext |
Macros | |
#define | OFFSET(x) offsetof(KMSGrabContext, x) |
#define | FLAGS AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static void | kmsgrab_free_desc (void *opaque, uint8_t *data) |
static void | kmsgrab_free_frame (void *opaque, uint8_t *data) |
static int | kmsgrab_read_packet (AVFormatContext *avctx, AVPacket *pkt) |
static av_cold int | kmsgrab_read_header (AVFormatContext *avctx) |
static av_cold int | kmsgrab_read_close (AVFormatContext *avctx) |
Variables | |
struct { | |
enum AVPixelFormat pixfmt | |
uint32_t drm_format | |
} | kmsgrab_formats [] |
static const AVOption | options [] |
static const AVClass | kmsgrab_class |
AVInputFormat | ff_kmsgrab_demuxer |
#define OFFSET | ( | x | ) | offsetof(KMSGrabContext, x) |
#define FLAGS AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 68 of file kmsgrab.c.
Referenced by kmsgrab_read_packet().
|
static |
Definition at line 77 of file kmsgrab.c.
Referenced by kmsgrab_read_packet().
|
static |
|
static |
|
static |
enum AVPixelFormat pixfmt |
Definition at line 202 of file kmsgrab.c.
Referenced by alloc_frame(), fill_iplimage_from_frame(), find_best(), is_native_endian(), kmsgrab_read_header(), match_pixfmt(), opencl_get_plane_format(), rfc4175_parse_format(), v4l2_get_raw_format(), and v4l2_try_raw_format().
const { ... } kmsgrab_formats[] |
Referenced by kmsgrab_read_header().
|
static |
|
static |
AVInputFormat ff_kmsgrab_demuxer |